html, body { height: 100%; }
body { background: #045783 url(img/bg.png) repeat-x center -120px; margin: 0; padding: 0; color: #fff; text-align: center; font-family: Tahoma, Geneva, Verdana, sans-serif; }

#wrapper { width: 900px; min-height: 100%; text-align: left; margin: 0 auto -70px; background: url(img/bg_logo.png) no-repeat 102px 30px; }
#head { width: 840px; padding: 0 30px; height: 80px; }
#main { float: right; width: 520px; padding: 50px 30px 0 0; }
#side { float: left; width: 280px; padding: 130px 0 0 30px; }
#push { height: 70px; clear: both; }
#foot { width: 840px; margin: 0 auto; padding: 19px 30px; text-align: right; background: url(img/bg_foot.png) no-repeat center top; }
#logos { margin: 0 0 1em; text-align: center; }

#home { background: #045783 url(img/bg.png) repeat-x center top; }
#home #wrapper { background: url(img/bg_head.jpg) no-repeat 306px 108px; }
#home #head { width: 840px; padding: 0 30px; height: 222px; }
#home #main { width: 480px; padding: 168px 30px 0 0; }
#home #side { width: 328px; padding: 0 0 0 26px; text-align: center; }
#home #logo { margin: 30px 0 0 54px; }

a { color: #fff; }
a:hover, a:focus { color: #fc3; }

h1, h2, h3, h4, legend { margin: 1em 0 0.25em; font-weight: normal; font-family: Arial, Helvetica, sans-serif; text-shadow: 0 1px 1px #777; }
h1 { font-size: 1.875em; margin: 0 0 40px; color: #045783; text-shadow: 0 2px 1px #ccc; }
#home h1 { font-size: 1.875em; margin: 0; color: #fff; text-shadow: 0 1px 1px #777; }
h2 { font-size: 1.25em; }
h3 { font-size: 1.125em; }

p, address, ul, ol, table { margin-top: 0; font-size: 0.8125em; font-style: normal; line-height: 1.5em; }
address { margin: 0 0 1em; line-height: 1.375em; }
#home address strong { font-size: 150%; font-weight: normal; }
ul ul, ul ol, ol ol, ol ul { font-size: 1em; }
abbr { border-bottom: 1px dotted; cursor: help; }

#products h2 { font-size: 1.5em; padding: 5px 10px; color: #045783; text-shadow: none; }
#sanitizers { background: #39C2D2; }
.sanitizers { color: #39c2d2; }
#algaecide { background: #A3D39A; }
.algaecide { color: #a3d39a; }
#enhancers { background: #963C97; }
.enhancers { color: #963c97; }
#balancers { background: #FDB94F; }
.balancers { color: #FDB94F; }
#shocks { background: #F89B6C; }
.shocks { color: #F89B6C; }
#troubleshooters { background: #E1393D; }
.troubleshooters { color: #E1393D; }
#gentleSpa { background: #929DCF; }
.gentleSpa { color: #929DCF; }
#products p, #products ul { line-height: 1.25em; }
#products ul { margin: 0 0 1em; padding: 0; }
#products ul li { margin-left: 1.25em; padding-left: 0; }

#products #subnav { margin: 0; padding: 0; list-style: none; font: 1em/1em Arial, Helvetica, sans-serif; }
#products #subnav li {	margin: 0;	padding: 0; }
#products #subnav li a { display: block; padding: 5px 10px; text-decoration: none; color: #fff; border-bottom: 1px solid #045783; }
#products #subnav li a:hover { border-bottom: 1px solid #fff; }
#products #subnav li.sanitizers a { background: #39C2D2; }
#products #subnav li.sanitizers a:hover { color: #fff; background: #2697A4; }
#products #subnav li.algaecide a { background: #A3D39A; }
#products #subnav li.algaecide a:hover { color: #fff; background: #5BAE4D; }
#products #subnav li.enhancers a { background: #963C97; }
#products #subnav li.enhancers a:hover { color: #fff; background: #532154; }
#products #subnav li.balancers a { background: #FDB94F; }
#products #subnav li.balancers a:hover { color: #fff; background: #C17502; }
#products #subnav li.shocks a { background: #F89B6C; }
#products #subnav li.shocks a:hover { color: #fff; background: #8F7468; }
#products #subnav li.troubleshooters a { background: #E1393D; }
#products #subnav li.troubleshooters a:hover { color: #fff; background: #A0181C; }
#products #subnav li.gentleSpa a { background: #929DCF; }
#products #subnav li.gentleSpa a:hover { color: #fff; background: #5868B6; }
#products #subnav li a:focus { color: #fc3; }

img { border: 0; }
img.imgCtr { display: block; margin: 1.5em auto; }
img.imgLeft { float: left; margin: 0.25em 1.5em 1em 0; }
img.imgRight { float: right; margin: 0.25em 0 1em 1.5em; }
img.frame252x280 { padding: 12px 14px 16px; background: url(img/bg_252x280.png); }
img.frame252x189 { padding: 12px 14px 16px; background: url(img/bg_252x189.png); margin-bottom: 1em; }
hr { background: url(img/bg_foot.png); border: none; height: 2px; margin: 1em 0; clear: both; }
.sm { font-size: 70%; }
.ctr { text-align: center; }
.block { display: block; }
.right { float: right; }
img.right { float: right; margin: 0 0 1em 1em;; }
ul.pdf li, li.pdf { background: url(img/pdf.png) no-repeat left top; padding-left: 24px; list-style: none; margin: 0 0 0 -24px; }
#products li.pdf { background: url(img/pdf.png) no-repeat left top; padding-left: 24px; list-style: none; margin: 0; }

#menu { float: right; height: 80px; padding-right: 2px; }
#nav { height: 80px; margin: 0; padding: 0; list-style: none; text-transform: uppercase; font: bold 0.875em/1em Arial, Helvetica, sans-serif; }
#nav li {	float: left;	margin: 0;	padding: 0; }
#nav li a { display: block; padding: 33px 16px; text-decoration: none; color: #045783; background: url(img/bg_nav.png) repeat 0 -240px; }
#nav li a:hover { color: #efefef; background: url(img/bg_nav.png) repeat 0 0;}
#home #nav li a.home, #services #nav li a.services, #pools #nav li a.pools, #products #nav li a.products, #contact #nav li a.contact { color: #fff; background: url(img/bg_nav.png) repeat 0 -120px; }
#home #nav li a.homme:hover, #services #nav li a.services:hover, #pools #nav li a.pools:hover, #products #nav li a.products:hover, #contact #nav li a.contact:hover { color: #fff; background: url(img/bg_nav.png) repeat 0 0; }
#nav li a:focus { color: #fc3; }

#foot p { font-size: 0.6825em; line-height: 32px; color: #0275a6; margin: 0; }
#foot a { color: #0275a6; text-decoration: none; }
#foot a:hover, #foot a:focus { color: #fc3; text-decoration: underline; }

form { font-size: 0.75em; line-height: 1em; margin-bottom: 1.25em; clear: both; }
form div { padding: 4px 0 8px; }
fieldset { padding: 0 30px 30px; border: 1px solid #000; }
legend { font-size: 1.5em; color: #fff; padding: 1em 0.5em; margin: 0; }
/* Form Validation */
label.error { float: none; color: #f55; padding-left: 20px; background: url(img/icons.png) no-repeat 0 -32px; margin-left: 6px; }
label.checked { background: url(img/icons.png) no-repeat 0 0; height: 16px; width: 16px; margin-left: 6px; }

iframe { border: 1px solid #000; margin: 1em 0 0; }

#slideShow { width: 300px; height: 240px; margin: 0; padding: 0; }
#frame { width: 300px; height: 240px; margin: 0 0 1.25em; padding: 12px 14px 16px; background: url(img/bg_frame.png); text-align: left; }

table.data { width: 100%; background: #e1e1e1; margin-bottom: 1em; }
table.data th { font-size: 0.9375em; font-weight: bold; color: #045783; text-align: left; }
table.data td { background: #045783; }

/* Replaced visibility: hidden => display: none AND visibility: visible => display: inline PER http://www.dynamicdrive.com/forums/showthread.php?t=32265 */
.anylinkcss { position: absolute; display: none; border: 1px solid #000; border-bottom-width: 0; z-index: 100; top:-9999px; left:-9999px; background: #0089ba; width: 210px; }
.anylinkcss ul { margin: 0; padding: 0; list-style-type: none; text-align: left; }
.anylinkcss ul li a { display: block; border-bottom: 1px solid #000; padding: 5px 10px; text-decoration: none; }
.anylinkcss a:hover { background: #045783; color: #fc3; }

ul.gallery { margin: 0 0 1em; padding: 0; width: 280px; overflow: hidden; list-style: none; }
ul.gallery li { margin: 0; padding: 0; float: left; display: inline; width: 50%; text-align: center; }
ul.gallery li img { padding: 5px; background: #fff; border: 1px solid #000; }

/* Lightbox */
#jquery-overlay {	position: absolute;	top: 0;	left: 0;	z-index: 90;	width: 100%;	height: 500px; }
#jquery-lightbox {	position: absolute;	top: 0;	left: 0;	width: 100%;	z-index: 100;	text-align: center;	line-height: 0; }
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {	position: relative;	background-color: #fff;	width: 250px;	height: 250px;	margin: 0 auto; }
#lightbox-container-image { padding: 10px; }
#lightbox-loading {	position: absolute;	top: 40%;	left: 0%;	height: 25%;	width: 100%;	text-align: center;	line-height: 0; }
#lightbox-nav {	position: absolute;	top: 0;	left: 0;	height: 100%;	width: 100%;	z-index: 10; }
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext { width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#lightbox-nav-btnPrev { left: 0; float: left; }
#lightbox-nav-btnNext { right: 0; float: right; }
#lightbox-container-image-data-box { color: #000;	font: 10px Verdana, Helvetica, sans-serif;	background-color: #fff;	margin: 0 auto;	line-height: 1.4em;	overflow: auto;	width: 100%;	padding: 0 10px 0; }
#lightbox-container-image-data {	padding: 0 10px; color: #666; }
#lightbox-container-image-data #lightbox-image-details { width: 70%; float: left; text-align: left; }	
#lightbox-image-details-caption { color: #000; font-weight: bold; }
#lightbox-image-details-currentNumber {	display: block; clear: left; padding-bottom: 1.0em;	}			
#lightbox-secNav-btnClose {	width: 66px; float: right;	padding-bottom: 0.7em;	}
