/*--------------------- 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 ------------------------ */
html {	background:#dcdcdc url("../images/bg.jpg") center repeat;}
body { 
	background: url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#494949;
	}

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

h1	{ font-size:1.2em; color:#494949; padding-top:15px; }
h2	{ font-size:1.1em; color:#132c4c; }
h3	{ font-size:1.0em; color:#000; }

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

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

body#gallery h2 {margin-bottom:15px; }

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

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	

.clear {clear: both;}

div.clear	{ 
	height:.01em; 
	clear:both;
	overflow:hidden; 
	}
div.clear-h2	{ 
	height:10px; 
	clear:both;
	overflow:hidden; 
	}

div.line	{ 
	background:url("../images/line.jpg") no-repeat;
	height:10px; 
	clear:both;
	overflow:hidden;
	padding:15px 0 0px 0px;
	margin:5px 0 0 25px;
	}
	

	
body#gallery em {font-size:1.0em; }


body#gallery p.test {width:570px;}
	
body#gallery p.back-to-top {margin-bottom:30px;}


p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.gif") right no-repeat;
	}
p.more-info {
	text-align:right;
	display:block;
	}
p span.test {font-weight:bold; font-style:italic; font-size:.9em; }	



img.img-left { 
	float:left; 
	margin:0px 15px 0px 0px;
	}

img.img-right { 
	float:right; 
	margin:0px 0px 0px 15px; 
	}

/* ------------------------ form elements ------------------------ */
form {
	width:150px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}

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

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

input, textarea, select { 
	background-color:#a7a7a7 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #ffffff;
	color:#ffffff;
	width:198px; /* 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:1.0em;
	}

select { width:150px; padding:0; } /* same width as form - !important */

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

#contact_business { display: none; } /* do not remove */ 


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

/* ------------------------ main contact form ------------------------ */
#contact-main { margin:20px 0 10px 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:175px; } /* fixes display issue - 5px larger than input field */

#contact-main label textarea { height:100px; overflow:auto; }

/* ------------------------ bmi form elements ------------------------ */

#bmi-bg {
	height:320px;
	width: 257px;
	background:url("../images/bmi-bg.gif") top no-repeat ;
	color: #16478A;
	padding-top: 97px;
	margin-left:200px;
	margin-top:20px;
	}
#bmi-bg p { margin: 0 45px 0px 25px; font-size:.95em;}
#bmi-bg form {	
margin: 5px 0 0 50px;
width: 180px;
text-align: left;
}

#bmi-bg form input {
background-color: #fff !important;
width: 47px;
height: 16px;
border: solid #aeaeae 1px;
text-align: left;
margin-left:20px;
color:#174384;
			
}
#bmi-bg form input.bmi {  margin-left: 38px; width: 70px; clear: both;  }
#bmi-bg form input.calc {  /* REMOVE IF NOT USED */
	background:url("../images/btn-calc.jpg") no-repeat;
	width:82px;
	height:32px;
	border:none;
	cursor:pointer;
	margin-left: 45px;
	clear:both;
	}

#bmi-bg img {margin:0px 0 0 15px;}

#bmi-bg img.weight {margin:8px 0 0 15px;}






/* ------------------------ 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 243px; } /* defines placement of contact-main submit button */




/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

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

#wrap-img {
	background:url("../images/bottom-image.jpg") bottom no-repeat;
	width:938px;
	margin:0 auto;
	text-align:left;
	padding-bottom:50px;
	}
	

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:127px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:307px;
	width:307px;
	top:10px;
	height:93px;
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:636px;
	float:left;
	padding-left: 39px;
	background: url("../images/col-left-bg.jpg") top no-repeat;
	}
body#thankyou #column-left { height: 700px;}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 21px 10px 25px;
		}

	#column-left form { margin-left:25px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:15px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.gif") 0px 3px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:11px; /* pushes text to the right to display bg img */
			}
		#column-left ul li.indent { 
			background:transparent url("../images/bullet.gif") 0px 3px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:11px; /* pushes text to the right to display bg img */
			margin: 0 0 2px 18px;
			}

	/* multi column list */
	#column-left ul.multi { padding-left:5px; } 
		#column-left ul.multi li { 
			background:transparent url("../images/bullet.gif") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px; /* sets the width of each column */
			line-height:20px; 
			}

#column-left ul li.top {margin-top:-10px;}

	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-left dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}



/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:247px;
	float:left;
	padding-right: 16px;
	background: url("../images/col-right-bg.jpg") top no-repeat;
	padding-top: 80px;
	padding-bottom:132px;
	}
body#thankyou #column-right { height: 300px; }
body#contact #column-right, body#thankyou #column-right {
	background: url("../images/col-right-bg-contact.jpg") top no-repeat;
	}

 #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 25px 10px 25px;
		}

#column-right p {margin:0px 25px 10px 25px; }

	#column-right form { padding-left:25px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.gif") 0px 3px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:15px;  /* pushes text to the right to display bg img */
			
			}

/* ------------------------ header framework ------------------------ */
#header-graphic { height:228px; background:url("../images/header-graphic.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 { height:37px; margin: 30px 0 10px 0;} /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.gif"); }
	body#about #subhead { background:url("../images/subhead-about.gif"); }
	body#qualify #subhead { background:url("../images/subhead-qualify.gif"); }
	body#surgeries #subhead { background:url("../images/subhead-surgeries.gif"); }
	body#colorectal #subhead { background:url("../images/subhead-colorectal.gif"); }
	body#results #subhead { background:url("../images/subhead-results.gif"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.gif"); }
	body#contact #subhead { background:url("../images/subhead-contact.gif"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.gif"); }
	body#sitemap #subhead { background:url("../images/subhead-sitemap.gif"); }
	body#doctor #subhead { background:url("../images/subhead-doctor.jpg"); }
	body#candidate #subhead { background:url("../images/subhead-candidate.jpg"); }
	body#colonoscopy #subhead { background:url("../images/subhead-colonoscopy.jpg"); }
	body#cancer #subhead { background:url("../images/subhead-cancer.jpg"); }
	body#gastric #subhead { background:url("../images/subhead-gastric.jpg"); }
	body#lap #subhead { background:url("../images/subhead-lap.jpg"); }
	body#roux #subhead { background:url("../images/subhead-roux.jpg"); }
	body#after #subhead { background:url("../images/subhead-after.jpg"); }
/* ------------------------ subhead framework with varying heights ------------------------ */
#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.jpg") ;
	}

/* ------------------------ title framework with varying heights ------------------------- */
#weight-hold-back{
	height:188px;
	background:url("../images/weight-hold-back.jpg") ;
	position:relative;
	}
	#weight-hold-back a {
	position: absolute;
	top: 101px;
	left: 302px;
	width: 300px;
	height: 60px;
		}
#title-gallery {
	height:60px;
	background:url("../images/title-gallery.jpg") ;
	}
	
body#gallery #title-gallery	{
	height:60px;
	background:url("../images/title-gallery.gif") ;
	}
	
#title-health-plans {
	width: 318px;
	float: left;
	padding-top: 70px;
	background: url("../images/title-health-plans.jpg") top no-repeat;
	display:inline;
	}
#title-about {
	width: 318px;
	float: left;
	padding-top: 70px;
	background: url("../images/title-about.jpg") top no-repeat;
	display:inline;
	}
#title-health-plans p {
	margin: 0 12px 10px 30px;
	}
#title-about p {
	margin: 0 15px 10px 20px;
	}	
#title-about-practice {
	padding-top: 50px;
	background: url("../images/title-about-practice.jpg") top no-repeat;
	}	

/* ------------------------------------- Buttons ---------------------------------------- */
#click-to-call {
		height:186px;
		display:block;
		background:url("../images/click-to-call.jpg") no-repeat;	
		position: relative;
		}
		#click-to-call a {
			position: absolute;
			top: px;
			left: px;
			width: px;
			height: px;
			}
		#click-to-call a:hover {
				background:url("../images/click-to-call.jpg") -100px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#click-to-call span { display:none; }

#btn-forms {
	position:relative;
	background:url("../images/btn-patient-forms.jpg") top no-repeat;
	height:132px;
	width:240px;
	}
#btn-forms a{
	position:absolute;
	background:url("../images/btn-patient-forms.jpg") 0px 0px no-repeat;
	top: 0px;
	left: 0px;
	height:132px;
	width:240px;
	}

#btn-forms a:hover{
	position:absolute;
	background:url("../images/btn-patient-forms.jpg") -263px 0px no-repeat;
	height:132px;
	}



/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	width:100%; /* fix for Safar */
	height:20px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer {
	width:938px;
	margin:0 auto;
	text-align:center;
	background: url("../images/footer.jpg") top no-repeat;
	padding-top: 20px;
	}

#footer p {
	color:#132c4c;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#132c4c; }
#footer a:hover, #footer a:active { color:#132c4c; 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; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #132c4c;
		}
	#footer li.first { border: none; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:938px; 
	height:38px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

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

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

#nav-01 { width: 110px; margin-left: 16px;}
#nav-02 { width: 96px;}
#nav-03 { width: 179px;}
#nav-04 { width: 218px;}
#nav-05 { width: 180px;}
#nav-06 { width: 121px;}


/*-------------- (-79px) X position of button / (-38px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -16px -38px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -126px -38px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -222px -38px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -401px -38px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -619px -38px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -799px -38px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -16px -38px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -126px -38px no-repeat; }
body#doctor #nav-02 { background:url("../images/nav.jpg") -126px -38px no-repeat; }
body#qualify #nav-03 { background:url("../images/nav.jpg") -222px -38px no-repeat; }
body#candidate #nav-03 { background:url("../images/nav.jpg") -222px -38px no-repeat; }
body#after #nav-03 { background:url("../images/nav.jpg") -222px -38px no-repeat; }
body#lap #nav-03 { background:url("../images/nav.jpg") -222px -38px no-repeat; }
body#roux #nav-03 { background:url("../images/nav.jpg") -222px -38px no-repeat; }
body#gastric #nav-03 { background:url("../images/nav.jpg") -222px -38px no-repeat; }
body#colorectal #nav-04 { background:url("../images/nav.jpg") -401px -38px no-repeat; }
body#cancer #nav-04 { background:url("../images/nav.jpg") -401px -38px no-repeat; }
body#colonoscopy #nav-04 { background:url("../images/nav.jpg") -401px -38px no-repeat; }
body#gallery #nav-05 { background:url("../images/nav.jpg") -619px -38px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -799px -38px no-repeat; }

/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px; /* Fixes one px spacing for border-right in FF */
	background-color:#7c7f94;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	}

#nav li ul li { 
	height:20px; /* Height of each drop down nav item */
	border:1px solid #ffffff;
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:20px;	/* Height of each drop down nav item, should match above */
	line-height:20px;	 /* Height of each drop down nav item again, should match above */
	}

#nav li ul li a span {
	display:block;
	padding-left:5px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	color:#FFFFFF;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-02 ul a:hover, #nav-03 ul a:hover, #nav-04 ul a:hover, #nav-05 ul a:hover { 
	background-image:none;
	background-color:#375578;
	color:#FFFFFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li { width:115px; }
#nav-03 ul, #nav-03 li { width:215px; }	
#nav-04 ul, #nav-04 li { width:218px; }	
#nav-05 ul, #nav-05 li { width:190px; }		
