/*--------------------- Last Modified  2006.03.25 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2006. Used with Permission.                             
  May not be duplicated or reproduced.

  Please check for cross-browser compatibility prior to making changes
  MINIMUM BROWSER CHECK :: IE5.x/IE6/Firefox/Safari

  CSS Document - layout.css
 ---------------------------------------------------------------------------- 
*/


/* undo some default styling of common (X)HTML browsers
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#40000B url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/15px Verdana, Arial, Helvetica, sans-serif; 
	color:#F2DADE;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#F2DADE; }
h2	{ font-size:1.1em; color:#E9B968; }
h3	{ font-size:1.0em; color:#FFFFFF; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#E9B968; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#F2DADE; text-decoration:underline; outline:none; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}
div.clear-h2	{ 
	clear:both;
	height:10px; 
	overflow:hidden; 
	}
p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 10px 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:150px;
	margin:10px 0 15px 0;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#FFFFFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #720015;
	color:#45000C;
	width:204px; /* 5 pixles smaller than form width !important */
	height:18px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:4px; /* sets vertical spacing between fields */
	padding-top:1px; /* vertically position text in input/textarea field */
	padding-left:4px; /* horizontally position text in input/textarea field */
	font-family: Arial, Helvetica, sans-serif; 
	font-size:.95em;
	}
	
select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:90px; overflow:auto; }

#contact-business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:240px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}
	
#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select { width:175px; }
	
#contact-main label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


/* ----- submit button form elements ----- */ 

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 263px; }

/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:864px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:105px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:50px;
		width:425px;
		top:0px;
		height:105px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- column-left ----- */

#column-left {
	width:588px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 20px 10px 50px;
		}
	#column-left form { margin-left:50px; }
	
	/* multi column list */
	#column-left ul { padding-left:5px; } 
		#column-left ul li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat;
			padding-left:20px;  /* pushes text to the right to display bg img */
			}

			
/* ----- column-right ----- */

body#index #column-right {
	background: url("../images/contact-rt.jpg") no-repeat top;
	padding-top: 61px;
	width:276px;
	float:left;
	}
body#contact #column-right, body#thankyou #column-right {
	background: url("../images/locate-rt.jpg") no-repeat top;
	padding-top: 195px;
	width:276px;
	float:left;
	position: relative;
	
	}
	body#contact #column-right a.map, body#thankyou #column-right a.map {
		position: absolute;
		top: 54px;
		height: 126px;
		left: 17px;
		width: 212px;
		}
	
#column-right {
	background: url("../images/contact-rt-inside.jpg") no-repeat top;
	padding-top: 61px;
	width:276px;
	float:left;
	}
	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 50px 10px 20px;
		}
	#column-right form { margin-left:20px; }
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-right ul { padding-left:5px; } 
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}
	
	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-right dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:20px;
	clear:both;
	width:100%; /* fix for Safar */
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-flash { height:300px; } /* sets height for the flash header - REMOVE IF NOT USED */
#active-x {height:300px;}
#header-graphic { height:240px; background:url("../images/header-index.jpg"); } /* sets height for all non-flash headers */
/*
	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-about.jpg"); }
	body#contact #header-graphic { background:url("../images/header-contact.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-thankyou.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-sitemap.jpg"); }
*/
/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { } /* sets height for all subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg") top no-repeat; height:61px; }
	body#about #subhead { background:url("../images/subhead-about.jpg") top no-repeat; padding-top:61px; }
	body#prevention-page #subhead { background:url("../images/subhead-prevention.jpg") top no-repeat; padding-top:61px; }
	body#braces-page #subhead { background:url("../images/subhead-braces.jpg") top no-repeat; padding-top:61px; }
	body#faqs #subhead { background:url("../images/subhead-faqs.jpg") top no-repeat; padding-top:61px; }
	body#contact #subhead { background:url("../images/subhead-contact.jpg") top no-repeat; padding-top:61px; }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg") top no-repeat; padding-top:61px; }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg") top no-repeat; padding-top:61px; }


/* ----- subhead framework with varying heights ----- */

#subhead-meet-doc {
	height:41px;
	background:url("../images/meet-doc.jpg") ;
	}
#pods {
	padding-top:72px;
	/* ----- replaced the original height code with min-height -- this code fixes overlapping issues found in ie7 ----- */
	min-height: 149px; height:auto !important; height: 149px; 
	background:url("../images/subhead-prevent-braces.jpg") top no-repeat ;
	}
	#pods2 {
	padding-top:72px;
	height: 221px;
	width:432px;
	background:url("../images/pod2.jpg") top no-repeat ;
	float:left
	}
	
.prevention {
	width: 372px;
	background: #340008 url("../images/prevention-index-bottom.jpg") bottom no-repeat;
	margin-left: 50px;
	float: left;
	padding-bottom:20px;
	display:inline;
	}
	.prevention p{ margin: 0 0 10px 20px;}
#braces {
	width: 372px;
	background: #340008 url("../images/braces-index-bottom.jpg") bottom no-repeat;
	margin-left: 21px;
	float: left;
	padding-bottom:20px;
	display:inline;
	}
	#braces p{ margin: 0 0 10px 20px;}
/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:864px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#FFFFFF;
	margin:0px 60px 10px 60px;
	}

#footer a:link, #footer a:visited { color:#FFFFFF; }

#footer a:hover, #footer a:active { color:#F2DADE; text-decoration: none;}

#footer ul {margin-bottom:10px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 5px 0 7px;
	display: inline;
	border-left: 1px solid #FFFFFF;
	}

	#footer li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:864px; 
	height:70px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:70px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; display:inline; }

#nav-01 { width: 109px; margin-left: 72px;}
#nav-02 { width: 125px;}
#nav-03 { width: 133px;}
#nav-04 { width: 114px;}
#nav-05 { width: 103px;}
#nav-06 { width: 134px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -72px -70px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -181px -70px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -306px -70px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -439px -70px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -553px -70px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -656px -70px no-repeat; }
