/* HTML Overrides
=========================================================== */

body{
  text-align: center;
  margin: 0;
  background: #FFF;
  
  /* 
    to use a 1px background image do it like this: 
    background:url('../images/mypixel.jpg');
  */
  
}

a, a:visited{
  color: #000;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}


/* Page Layout
=========================================================== */

#wrapper{
  background: url(../images/DrHansen_BG.jpg) center 0 no-repeat;
  min-width: 960px;
  min-height: 1250px;
  position:relative;
}

#page{
  position:relative;
  margin: 0 auto;
  text-align:left;
  width: 960px;
  height: 1250px;
}

#blackBG{
  position:absolute;
  background:#000;
  background-repeat:repeat-x;
  width:100%;
  height:120px;
  top:0px;
  z-index:-50;
}

#preloads {
	display:block;
	position: absolute;
	z-index: 50;
	left:-1000px;
	top:-1000px;
}

#video-container{
	position:absolute;
	top: 472px;
	left: 0px;
}

#audioContainer {
	position: absolute;
	top: 695px; 
	left: 175px;
	z-index: 50;
}

/* Slideshow
============================================================= */

#slideshowTop{
  position:absolute;
  top: 130px;
  left: 0px;
  width: 960px;
  height: 320px;
  overflow: hidden;
}

#slideshow-nav{ 
  z-index: 50;
  position:absolute;
  top: 432px;
  right: 5px;
}

#slideshow-nav a{
  display:block;
  float:left;
  width: 8px;
  height: 8px;
  background:url('../images/dots.png') 0 -8px no-repeat;
  margin: 5px 0 0 5px;
  text-indent: -999px;
  overflow: hidden;
  font-size: 0;
}

#slideshow-nav a.activeSlide{
  background-position: 0 0;
}

#slideshowBA{
  position:absolute;
  top: 792px;
  left: 21px;
  width: 270px;
  height: 200px;
  overflow: hidden;
}


/* Other Links
=============================================================*/


/* Checkout Form
=============================================================*/

table#checkout-form{
  position:absolute;
  top: 790px;
  left: 693px;
  width: 240px;
  font-size: 11px;
  color: #000;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  line-height: 1.1em;
}

#checkout-form td{
  padding: 3px 0; 
}

#checkout-form th{
  padding: 0px 28px 0 10px;
  font-weight: bold;
  font-size: 12px;
  line-height: 1em;
}

#checkout-form #submit-wrapper{
  /* Change padding on this element to realign the submit button
     padding and margin go: top right bottom left */
  padding: 10px 0px 0 0;
}

#submit{
  display:block;
  border:0 none;
  background: url(../images/submit_button.png) repeat scroll 0 0 transparent;
  cursor: pointer;
  width: 240px;
  height: 50px;
  text-indent: -500px;
  font-size: 0;
  line-height: 0;
  overflow:hidden;
}

#submit:hover{
  background: url(../images/submit_button_hover.png) repeat scroll 0 0 transparent;
}

input[type="text"],
select{
  border: 1px #000 solid;
  
  /*
  padding: 2px;
  line-height: 25px;
  height: 25px;
  */
  
  padding: 2px;
  box-sizing: initial;
  margin: 0;
  *padding: 1px;
  
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  
  font-size: 12px;
  
  width: 120px;
}


/* Hide Canadian states by default
#ShippingState option.ca{
   display:none;
}
*/

input[type="text"].invalid,
select.invalid{
  border: 1px red solid;
}


/* Links
-----------------------------*/

#links{
	position:absolute;
	margin: 0;
	padding: 0;
	bottom: 35px;
	width: 960px;
	color:#000;
	font-size: 11px;
	text-align:center;
	list-style:none;
}

#links li{
  display:inline;
  padding: 0 1em;
  border-left: 1px #622E7D solid;
}

#links li.first{ /* Remove left border from first link */
  border-left: 0 none;
}

/* Footer
-----------------------------*/


#footer h1{
  font-size: 1em;
  margin: 0 0 .5em;
  line-height: 1.2em;
}


/* Overlay Popup
=========================================================== */

#exposeMask{
  background-color: #000000 !important;
  opacity: 0.7 !important;
}

/* CSS Document */
.apple_overlay {
	display:none;
	background-image:url(../images/white.png);
	width:630px;
	padding:35px;
	font-size:11px;
}
.apple_overlay.with-close .close {
	background-image:url(../images/close.png);
	position:absolute;
	right: 5px;
	top: 7px;
	cursor:pointer;
	height:35px;
	width:35px;
}
/* use a semi-transparent image for the overlay */
#overlay {
	background-image:url(../images/white.png);
	z-index:10000;
	color:#efefef;
	height:600px;
}
/* error message */
.error_old {
	/* supply height to ensure consistent positioning for every browser */
	height:15px;
	background-color:#FFFE36;
	border:1px solid #E1E16D;
	font-size:11px;
	color:#000;
	padding:3px 10px;
	margin-left:-2px;
}
.error_old p {
	padding: 0px;
	margin: 0px;
}
.invalid {
	border:2px solid #F00;	
}
