/*
-----------------------------------------------
Grey Box Method - Layout CSS
----------------------------------------------- */

body {
	background: #ddd url(http://hapcoinc.com/images/layout/bg7.jpg) repeat-x fixed;
	/*border-top: 10px solid #ddd;*/
	padding: 10px 0 0 0;
	color: #333;
	font-size: 11px;
	padding: 0 0 40px;
}

.noshow {
display: none;
}


/* anchors
----------------------------------------------- */
a {
	color: #000;
	font-weight:bold;
	text-decoration: none;
}
a:hover {
  color:#333;
}


/* 960 grid system container background
----------------------------------------------- */
.container_12 {
	background:#000;
}


/* headings
----------------------------------------------- */
h2, h3, h4, h5, h6 {line-height:1.2em; margin-bottom:.3em;}
h2 {margin-top:1em;}
h5 {font-size:1.2em;}
h6 {font-size:1em; text-transform:uppercase;}


h1 a {
	font-weight:normal;
}


/* Header logo branding
----------------------------------------------- */

h1#branding {
	float: left;
	font-weight: normal;
	text-align: left;
	background: #000;
	color: #ffffff;
	padding:.7em 1em;
	margin-bottom:0;
	font-size:1em;
	text-align: left;

}



#address, #address a, #address a:hover {
	float: right;
	font-weight: bold;
	font-size: 1em;
	text-align: right;
	background: #000;
	color: #ffffff;
	padding: 2.2em .2em 0 0;
	margin-bottom: 0;
	text-transform: uppercase;
}




/* page heading
----------------------------------------------- */
h2#page-heading {
	font-weight:normal;
	padding:.5em;
	margin:0 0 10px 0;
	border-bottom:1px solid #ccc;
}


/* boxes
----------------------------------------------- */
.box {
	background:#ddd;
	margin-bottom:20px;
	padding:10px 10px 1px 10px;
}
.box h2 {
	font-size:1em;
	font-weight:normal;
	text-transform:uppercase;
	color:#fff;
	background:#333;
	margin:-10px -10px 0 -10px;
	padding:6px 12px;
}
.box h2 a,
.box h2 a.visible {
	color:#fff;
	background:#333 url("http://hapcoinc.com/images/layout/switch_minus.gif") 96% 50% no-repeat;
	display:block;
	padding:6px 12px;
	margin:-6px -12px;
	border:none;
}
.grid_4 .box h2 a {
  background-position: 97% 50%;
}
.grid_5 .box h2 a {
  background-position: 98% 50%;
}
.grid_12 .box h2 a {
  background-position: 99% 50%;
}


.box h2 a.hidden,
.box h2 a.hidden:hover {
	background-image: url("http://hapcoinc.com/images/layout/switch_plus.gif");
}
.box h2 a:hover {
	background-color:#111;
}
.block {
	padding-top:10px;
}
div.menu {
  padding:0;
}
div.menu h2 {
  margin:0;
}
div.menu .block {
	padding-top:0;
}


/* paragraphs, quotes and lists
----------------------------------------------- */
p {
  margin-bottom:1em;
}
blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size:1.2em;
  padding-left:1em;
  border-left:4px solid #ccc;
}
blockquote cite {
  font-size:.9em;
}
ul, ol {
  padding-top:0;
}


/* menus
----------------------------------------------- */
ul.menu {
  list-style:none;
  border-top:1px solid #bbb;
}
ul.menu li {
  margin:0;
}
ul.menu li a {
  display:block;
  padding:4px 10px;
  border-bottom:1px solid #bbb;
}
ul.menu li a:hover {
  background:#eee;
}
ul.menu li a:active {
  background:#ccc;
}


ul.fmenu {
  color: #fff;
  list-style:none;
  border-top:1px solid #bbb;
}
ul.fmenu li {
  margin:0;
}
ul.fmenu li a {
  display:block;
  padding:4px 10px;
}
ul.fmenu li a:hover {
  background:#eee;
}
ul.fmenu li a:active {
  background:#ccc;
}

/* livesearch
----------------------------------------------- */

.LSRe {
  list-style:none;
  border-top:1px solid #bbb;
}
.LSRo {
  margin:0;
}
.LSRo a {
  display:block;
  padding:4px 10px;
  border-bottom:1px solid #bbb;
}
.LSRo a:hover {
  background:#eee;
}
.LSRo a:active {
  background:#ccc;
}


/* submenus
----------------------------------------------- */
ul.menu ul {
  list-style:none;
  margin:0;
}
ul.menu ul li a {
  padding-left:30px;
}


/* section menus
----------------------------------------------- */
ul.section {
  border-top:0;
  margin-bottom:0;
}
ul.section li {
  text-transform:uppercase;
}
ul.section li a {
  background:#bbb;
}
ul.section li a:hover {
  background:#aaa;
}
ul.section li a:active {
  color:#fff;
  background:#666;
}
ul.section li li a {
  background:#ddd;
}
ul.section li li a:hover {
  background:#ccc;
}
ul.section li li a:active {
  color:#000;
  background:#fff;
}
ul.section ul li {
  text-transform:none;
}
ul.section li.current a {
  background:#eee;
}
ul.section li.current a:hover {
  background:#ddd;
}
ul.section li.current a:active {
  background:#fff;
}
ul.section li.current > a {
  color:#fff;
  background:#666;
}
ul.section li.current > a:hover {
  background:#555;
}
ul.section li.current > a:active {
  background:#444;
}
ul.section li.current a.active {
  background:#fff;
  cursor:default;
}
ul.section li.current > a.active,
ul.section li.current > a.active:hover {
  color:#fff;
  background:#666;
  cursor:default;
}


/* table
----------------------------------------------- */
table {
  width: 100%;
  border:1px solid #bbb;
  margin-bottom:10px;
}

th, td {
  padding:.2em .8em;
  text-align:left;
}
thead th {
  border-bottom:2px solid #888;
  background:#bbb;
  padding:.3em .9em .2em;
}
thead th.table-head {
	font-size:1em;
	font-weight:normal;
	text-transform:uppercase;
	color:#fff;
	background:#555;
	border:1px solid #555;
}
tbody th,
tbody td {
  border-right:1px solid #bbb;
  border-top:1px solid #bbb;
  border-bottom:1px solid #bbb;
  background:#eee;
}
tbody tr.odd th,
tbody tr.odd td {
  background:#fff;
}
td.red {
  background:#DD9B9B;
}
td.green {
  background:#66FF66;
}
td.heads {
  background:#FFFF9B;
  font-weight: bold;
}

tfoot th,
tfoot td {
  border-top:2px solid #666;
  background:#eee;
}
tfoot tr.total th,
tfoot tr.total td {
  border-top:6px double #666;
}
tfoot tr.total th {
  text-transform:uppercase;
}
th.currency,
td.currency {
  text-align:right;
}


/* forms
----------------------------------------------- */

form {

	text-align: left;
}







fieldset {
	margin: 0;
	border: 1px #000 solid;
	padding: 10px;
}

legend {
	display: none;
}

form h3 {
	clear: both;
	padding: 5px 0px 5px 0px;
	font-size: 14px;
}

form label {
	display: block;
	width: 310px;
	font-size: 12px;
	line-height: 14px;
	padding: 0px 0px 12px 0px;
}


form label.field-first,
form label.field-address,
form label.field-city,
form label.field-email {
	clear: left;
}


form label.field-first,
form label.field-last,
form label.field-city,
form label.field-email,
form label.field-phone {
	float: left;
	margin: 0px 10px 0px 0px;
	width: 150px;
}

form label.field-first input,
form label.field-last input,
form label.field-email input,
form label.field-city input,
form label.field-phone input {
	float: left;
	width: 150px;
	padding: 0px;
}

form select {
	float: left;
	display: block;
}

form label.field-state {
	float: left;
	margin-right: 10px;
	width: 60px;
}

form label.field-state select {
	width: 60px;
	float: left;
	margin-top: 3px;
}

form label.field-zip {
	float: left;
	width: 80px;
}

form label.field-zip input {
	float: left;
	width: 80px;
}

form label.field-address {
	float: left;
	width: 310px;
	margin: 0px 0px 0px 0px;
}

form label.field-address input {
	float: left;
	width: 310px;
	padding: 0px;
}

form input#radiobutton_1,
form input#radiobutton_2,
form input#radiobutton_3,
form input#radiobutton_4,
form input#radiobutton_5 {
	clear: left;
	float: left;
	padding: 0px;
	margin: 0px 0px 0px 0px;
}

form label.radioitem {
	clear: none;
	margin: 0px 0px 0px 25px;
	padding: 0px 0px 15px 0px;
}


textarea {
	display: block;
}

form textarea {
	margin-top: 10px;
	width: 400px;
}



/* articles
----------------------------------------------- */
.articles {
  padding:0;
}
.articles h2 {
  margin:0;
}
#articles {
  padding-top:0;
}
.article {
  border-top:1px solid #666;
  padding-top:.5em;
}
.box .article {
  border-top:3px solid #fff;
  padding:13px 10px 0 10px;
}
.article h2 {
	font-size:2em;
	font-weight:normal;
	text-transform:none;
	color:#333;
	background:transparent;
	padding:0;
	margin:0;
	border:none;
}
.article h3 {
  margin-bottom:.2em;
  font-size:1.6em;
}
.box .first {
  border-top:none;
}
.article h4 {
  font-size:1.2em;
  text-transform:uppercase;
  margin-bottom:.5em;
}
.article a.image {
  float:left; 
  margin:3px 10px 3px 0; 
  padding:4px;
  border:1px solid #bbb;
  background:#fff;
}
.article a.image:hover {
  border:1px solid #666;
}
.article a.image img {
  float:left; 
}
.article p.meta {
  color:#666;
  border-top:1px dotted #999;
  border-bottom:1px dotted #999;
  padding:.3em 0;
  margin-bottom:.8em;
}


/* site information
----------------------------------------------- */
#site_info .box {
  color:#fff;
  background:#666;
  margin-bottom:10px;
}


/* AJAX sliding shelf
----------------------------------------------- */
#loading {float:right; margin-right:16px;}
.block {padding-bottom:1px;}


/* Accordian
----------------------------------------------- */
.toggler {
	color: #222;
	margin: 0;
	padding: 2px 5px;
	background: #eee;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-top: 1px solid #f5f5f5;
	border-left: 1px solid #f5f5f5;
	font-size:1.1em;
	font-weight: normal;
}
.element h4 {
	margin: 0;
	padding:4px;
	line-height:1.2em;
}
.element p {
	margin: 0;
	padding: 4px;
}
.float-right {
	text-align: right;
	padding:10px 20px;
	float:right;
}

#accordion-block {
  padding-bottom:10px;
}


#product-view a { 
display:block; 
width: 100%;
height:100%;
	/*z-index: 10;*/
}

#product-view a:hover { 

} 

.float-left {
	padding:10px 20px;
	float:left;
}





ul.product-list {font-size:2.2em; line-height:140%; letter-spacing:-0.05em; font-weight:bold; font-family:Arial, sans-serif; list-style:none;}
ul.product-list li {background:#e51837;}
ul.product-list li:hover {background:#f46278;}
ul.product-list li a {color:#fff; padding:0 10px;}
ul.product-list li a:hover {background:#f46278;}

.searchf {
	padding: 3px;
	height: 20px;
	width: 150px;
	background: transparent url(http://hapcoinc.com/images/layout/search_input.gif) no-repeat fixed;
	border: 0;
}

form>input.searchf {
	background: transparent url(http://hapcoinc.com/images/layout/search_input.gif) no-repeat; 
}

.searchb {
	padding: 3px;
	color: #000;
	font-size: 10px;
	font-weight: normal;
	background: url(http://hapcoinc.com/images/layout/search.gif) no-repeat;
	height: 20px;
	width: 61px;
	border: none;
}

.searchb:hover {
	color: #000;
	background: url(http://hapcoinc.com/images/layout/search.gif) 0 -20px no-repeat;
	cursor: pointer;
 }
