/*--------------------- Last Modified  2006.11.10 ---------------------*/
/*-------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------
  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
/*------------------------------------------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,:link img,:visited img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:'';}


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#EFECCA url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#000;
	}

blockquote { 
	margin-left:20px; 
	margin-right:20px; 
	}

h1	{ font-size:1.2em; color:#000; }
h2	{ font-size:1.1em; color:#046481; }
h3	{ font-size:1.0em; color:#000; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#07A7C6; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#07A7C6; text-decoration:none; outline:none; }

/* ----- classes ----- */

.clear {
	clear:both;
	}

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	}

p.heading { font-size:1.7em; text-align:center; padding:5px 0 5px 0;}

p.h1	{ font-size:14px; color:#000; font-weight:bold; }
p.h2	{ font-size:12px; color:#046481; font-weight:bold; }
p.h3	{ font-size:12px; color:#000; font-weight:bold; }
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:-3px 0 0 0; 
	}
	
.about-img-right {
	float:right;
	margin: 0 15px 2px 2px;
	}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
.bna { margin-left:58px; }
#column-left .tn-bna-text { margin-left:120px; }
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	
/* ----- global form elements ----- */ 

form {
	width:350px;
	margin:0 0 18px 0;
	}

form label	{ font-size:.95em; }

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#F9F7E8 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #046684;
	color:#0A4C69;
	width:155px; /* 5 pixels 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:11px;
	}
	
select { width:165px; padding:0; } /* same width as form - !important */

textarea { height:93px; overflow:auto; }

#contact-business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main { margin:0 0 18px 0; }

#contact-main label { 
	width:220px; 
	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:177px; }
	
#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:0px; 
	margin-bottom:40px;
	}

input.submit-contact-main { margin:85px 0 5px 243px; }

/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:850px;
	margin:0 auto;
	text-align:left;
	}
	
/* ----- column-left ----- */

#column-left {
	width:523px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 19px 18px 57px;
		}

	#column-left form { margin-left:40px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }

	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			}
		#column-left 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;
			}
			
/* ----- column-right ----- */

#column-right {
	width:327px;
	float:left;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 54px 18px 29px;
		}
	 
	/* 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 */
			}

	#column-right ul li ul { margin:0 0 0 5px; }

	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			}
		#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:35px;
	clear:both;
	width:100%; 
	}

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic { height:339px; background:url("../images/header-graphic.jpg"); } 

/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:64px; } /* sets height for all non-flash subheads */

	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#face #subhead { background:url("../images/subhead-face.jpg"); }
	body#body #subhead { background:url("../images/subhead-body.jpg"); }
	body#other #subhead { background:url("../images/subhead-other.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg"); }


/* ------------------------ subhead framework with varying heights ------------------------ */
#subhead-meet {
	height:61px;
	background:url("../images/subhead-meet.jpg");
	}

/* ------------------------ title framework with varying heights ------------------------- */
#title-qcontact {
	height:83px;
	background:url("../images/title-qcontact.jpg") no-repeat;
	}

body#contact #title-qcontact, body#thankyou #title-qcontact {
	height:83px;
	background:url("../images/title-location.jpg") no-repeat;
	}

#title-featured-procedures {
	height:64px;
	background:url("../images/title-featured-procedures.jpg") ;
	}

#title-featured-cases {
	height:59px;
	background:url("../images/title-featured-cases.jpg") ;
	}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:850px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	margin:0 40px 18px 40px;
	}
	
#footer a { color:#000; }

#footer ul {margin-bottom:18px;}

#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 #000;
	}

	#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */
#portuguese a {
	background-image:url("../images/btn-portuguese.jpg");
	width:324px;
	height:64px;
	display:block;
	}
	
#portuguese a:hover, #portuguese a:active {
	background:url("../images/btn-portuguese.jpg") 0 -64px no-repeat;
	width:324px;
	height:64px;
	display:block;
	}
	
#portuguese span { display:none; }

#nav li.home-link {
	position:absolute;
	width:233px;
	left:554px;
	top:30px;
	}
	
	#nav li.home-link a {
		height:67px;
		}

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:850px; 
	height:99px; 
	margin:0;
	padding:0;
	position:relative; 
	}

#nav span { display: none; }

#nav li, #nav a { height:99px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 67px; margin-left: 36px;}
#nav-02 { width: 120px;}
#nav-03 { width: 53px;}
#nav-04 { width: 55px;}
#nav-05 { width: 116px;}
#nav-06 { width: 83px;}


/*-------------- (-79px) X position of button / (-99px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -36px -99px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -103px -99px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -223px -99px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -276px -99px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -331px -99px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -447px -99px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -36px -99px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -103px -99px no-repeat; }
body#face #nav-03 { background:url("../images/nav.jpg") -223px -99px no-repeat; }
body#body #nav-04 { background:url("../images/nav.jpg") -276px -99px no-repeat; }
body#other #nav-05 { background:url("../images/nav.jpg") -331px -99px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -447px -99px no-repeat; }


/*-------------- Homepage Banner ------------- */

#banner-embrace {
	background:url("../images/banner-embrace.jpg");
	height:163px;
	}
	
/*-------------- Contact Structure ------------- */

#wrap-contact {
	background:url("../images/bg-contact.jpg") no-repeat;
	width:603px;
	height:162px; /* contact section was designed not to be scalable */
	position:relative;
	font-size:11px;
	color:#363527;
	padding-left:250px;
	}
	
	#wrap-contact form {
	position:absolute;
	left:467px;
	top:10px;
	height: 149px;
		}
	
	#wrap-contact dl{ width:165px; float:left; margin:0; padding:0; }
	
	img.img-map {
		position:absolute;
		top:0;
		left:439px;
		}

/* Vertical Sprite Nav Procedures
 * ------------------------------------------------------------------------- */

#column-right ul#nav-procedures { padding:0px; margin:0; }
	#column-right ul#nav-procedures li { 
		background:none;
		padding-left:0;  
		}

#nav-procedures {
	background:url("../images/nav-procedures.jpg") top left no-repeat;					
	width:327px;		/* Width of buttons, not entite image (or half of entire image) */
	height:335px;		/* Height of entire image */
	margin:0;
	padding:0;
	}

#nav-procedures li span { display: none; }

#nav-procedures li { float:left; list-style:none; position:relative; }

#nav-procedures li, #nav-procedures a { 
	height:83px;			/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav-procedures should begin */
#nav-procedures-01 { margin-top:3px; width:327px; }

/* margin-top if there is a spacing between each nav-procedures button */
#nav-procedures-02, #nav-procedures-03, #nav-procedures-04 { margin-top:0; width:327px; }

#nav-procedures-01 a:hover { background:url("../images/nav-procedures.jpg") -327px  -3px no-repeat; }
#nav-procedures-02 a:hover { background:url("../images/nav-procedures.jpg") -327px  -86px no-repeat; }
#nav-procedures-03 a:hover { background:url("../images/nav-procedures.jpg") -327px  -169px no-repeat; }
#nav-procedures-04 a:hover { background:url("../images/nav-procedures.jpg") -327px  -252px no-repeat; }
