/*--------------------- 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:#fff url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px  Arial, Helvetica, sans-serif; 
	color:#5d5033;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.2em; color:#5d5033; }
h2	{ font-size:1.1em; color:#849c02; }
h3	{ font-size:1.0em; color:#000; }
h3	{ font-size:1.0em; color:#e5ce97; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#000; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#5d5033; text-decoration:underline; outline:none; }

/* ------------------------ 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; 
	}
p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
p.more-info {
	text-align:right;
	display:block;
	}
img.img-left { 
	float:left; 
	margin:0px 0px 0px 0px;
	}

img.img-right { 
	float:right; 
	margin:0px 0px 0px 0px; 
	}

/* ------------------------ 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:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #404040;
	color:#414141;
	width:190px; /* 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:z Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}

select { width:150px; height: 20px; 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; }

/* ------------------------ 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 */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	/*background:url("../images/btn-submit.jpg");*/
	width:64px;
	height:20px;
	border: 1px solid #404040; 
	cursor:pointer;
	}
/* ----------------------------- BMI calc ------------------*/
#bmi_calc {width: 200px; margin: 10px 0px 10px 0px;}
	#column-left #bmi_calc p { 
		float: left;
		width: 67px;
		margin: 0px;
		}
	#column-left #bmi_calc p.result {width: 100px;} 
	#column-left #bmi_calc p.bmi-bold {font-weight: bold; width: 60px; margin-bottom: -2px;}
	
	#bmi_calc input { width: 38px;}
		#bmi_calc input.result-bmi_calc {width: 58px;}
		#bmi_calc input.submit-bmi_calc {
			width: 120px; 
			height: 21px;
			clear: both; 
			font-size: 11px; 
			margin: 5px 30px 10px 60px;
			}
/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:808px;
	margin:0 auto;
	text-align:left;
	}


/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:85px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:10px;
	width:373px;
	top:20px;
	height:60px;
		}
	#masthead a span {
		display:none;
		}
body#bmi-calculator #masthead {
	position:relative;
	background:url("../images/masthead-bmi.jpg");
	height:53px;
	}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:225px;
	float:left;
	margin: 0px 0px 0px 17px;
	_display: inline;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 10px 10px 15px;
		}

	#column-left form { padding-left:15px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			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 */
			}


/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:542px;
	float:left;
	margin: 0px 17px 0px 7px;
	_display: inline;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 15px 10px 15px;
		}

	#column-right form { margin-left:0px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 3px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:14px;  /* pushes text to the right to display bg img */
			margin-bottom: 5px;
			}

	/* multi column list */
	#column-right ul.multi { padding-left:5px; } 
		#column-right ul.multi li { 
			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 */
			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; /* 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;
			}

/* ------------------------ header framework ------------------------ */
#header-graphic { 
	height:367px;
	width: 566px;
	float: left;
	 } 
	 #header-graphic a {
	margin: 322px 0px 0px 35px;
	display: block;
	height: 31px;
	width: 102px;
		}

	body#index #header-graphic { background:url("../images/header-index.jpg"); }
	body#about #header-graphic { background:url("../images/header-index.jpg"); }
	body#surgery #header-graphic { background:url("../images/header-index.jpg"); }
	body#benefits #header-graphic { background:url("../images/header-index.jpg"); }
	body#candidate #header-graphic { background:url("../images/header-index.jpg"); }
	body#roux-en-y #header-graphic { background:url("../images/header-index.jpg"); }
	body#before-roux-en-y #header-graphic { background:url("../images/header-index.jpg"); }
	body#after-roux-en-y #header-graphic { background:url("../images/header-index.jpg"); }
	body#lap-band #header-graphic { background:url("../images/header-index.jpg"); }
	body#before-lap-band #header-graphic { background:url("../images/header-index.jpg"); }
	body#after-lap-band #header-graphic { background:url("../images/header-index.jpg"); }
	body#gastric #header-graphic { background:url("../images/header-index.jpg"); }
	body#revision #header-graphic { background:url("../images/header-index.jpg"); }
	body#obesity #header-graphic { background:url("../images/header-index.jpg"); }
	body#problems #header-graphic { background:url("../images/header-index.jpg"); }
	body#counseling #header-graphic { background:url("../images/header-index.jpg"); }
	body#gallery #header-graphic { background:url("../images/header-index.jpg"); }
	body#faqs #header-graphic { background:url("../images/header-index.jpg"); }
	body#testimonials #header-graphic { background:url("../images/header-index.jpg"); }
	body#insurance #header-graphic { background:url("../images/header-index.jpg"); }
	body#seminars #header-graphic { background:url("../images/header-index.jpg"); }
	body#contact #header-graphic { background:url("../images/header-index.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-index.jpg"); }
	body#sitemap #header-graphic { background:url("../images/header-index.jpg"); }


/* ------------------------ subhead framework ------------------------ */
#subhead { height:75px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#surgery #subhead { background:url("../images/subhead-surgery.jpg"); }
	body#benefits #subhead { background:url("../images/subhead-benefits.jpg"); }
	body#candidate #subhead { background:url("../images/subhead-candidate.jpg"); }
	body#roux-en-y #subhead { background:url("../images/subhead-roux-en-y.jpg"); }
	body#before-roux-en-y #subhead { background:url("../images/subhead-before-roux-en-y.jpg"); }
	body#after-roux-en-y #subhead { background:url("../images/subhead-after-roux-en-y.jpg"); }
	body#lap-band #subhead { background:url("../images/subhead-lap-band.jpg"); }
	body#before-lap-band #subhead { background:url("../images/subhead-before-lap-band.jpg"); }
	body#after-lap-band #subhead { background:url("../images/subhead-after-lap-band.jpg"); }
	body#gastric #subhead { background:url("../images/subhead-gastric.jpg"); }
	body#revision #subhead { background:url("../images/subhead-revision.jpg"); }
	body#obesity #subhead { background:url("../images/subhead-obesity.jpg"); }
	body#problems #subhead { background:url("../images/subhead-problems.jpg"); }
	body#counseling #subhead { background:url("../images/subhead-counseling.jpg"); }
	body#gallery #subhead { background:url("../images/subhead-gallery.jpg"); }
	body#faqs #subhead { background:url("../images/subhead-faqs.jpg"); }
	body#testimonials #subhead { background:url("../images/subhead-testimonials.jpg"); }
	body#insurance #subhead { background:url("../images/subhead-insurance.jpg"); }
	body#seminars #subhead { background:url("../images/subhead-seminars.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 ------------------------ */
#meet-dr-barnes {
	background: #a7eeff url("../images/meet-dr-barnes.jpg") top no-repeat;
	padding: 68px 0px 10px 0px;
	width: 272px;
	float: left;
	border-top: 7px solid #fff;
	border-bottom: 7px solid #fff;
	}
#img-dr {
	background: #fff url("../images/img-barnes.jpg") top no-repeat;
	border: 7px solid #fff;
	border-left: none; 
	height: 450px;
	width: 263px;
	float: left;
}
	#meet-dr img {border-right: 7px solid #fff; margin-right: 10px; float: left;}
	#column-right #meet-dr p { margin: 0px 10px 0px 10px;}
/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	padding:62px 0px 10px 0px;
	background: #b7d132 url("../images/title-contact.jpg") top no-repeat ;
	}
#title-bmi{
	padding: 74px 0px 10px 0px;
	background: #eddd57 url("../images/title-bmi.jpg") top no-repeat;
	border-top: 7px solid #fff;
}

#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.jpg") ;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
#click-to-call {
		height:100px;
		display:block;
		background:#e5ce97 url("../images/click-to-call.jpg") top left no-repeat;
		position:relative;	
		}
		#click-to-call a {
			position:absolute;
			top: 0px;
			left: 0px;
			height: 100px;
			width: 225px;
		}
		#click-to-call a:hover {
				background:url("../images/click-to-call.jpg") -225px 0 no-repeat; /* -242px = horizontal img shift, 0px = vertical shift from top */
				}
		#click-to-call span { display:none; }


/* ------------------------ 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:18px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer-bg {
	background: #e5ce97 url("../images/footer-bg.jpg") top repeat-x;
	width: auto;
	margin: 0px;
}
#footer {
	width:808px;
	margin:0 auto;
	text-align:center;
	padding: 40px 0px 10px 0px;
	}

#footer p {
	color:#5d5033;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#5d5033; text-decoration: none; }
#footer a:hover, #footer a:active { color:#000; text-decoration: underline; }

#footer ul {margin-bottom:10px;}
	#footer li { /* if your li's float, you can adjust border height w/ line-height */
		padding:0 11px 0 9px; /* adjusts the spacing between each li display and border-left */
		display: inline;
		line-height: 18px;
		}

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */

/* ------------------------ vertical sprite nav ------------------------ */
#nav {
	background:url("../images/nav.jpg") top left no-repeat;					
	width:242px;	/* Width of buttons, not entite image (or half of entire image) */
	height:367px;	 /* Height of entire image */
	margin:0;
	padding:0;
	float: left;
	}

#nav li span { display: none; }

#nav li { float:left; list-style:none; position:relative; }

#nav li, #nav a { 
	height:19px;	/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav should begin */
#nav-01 { margin-top:12px; width:242px; }

/* margin-top if there is a spacing between each nav button */
#nav-02, #nav-03, #nav-04, #nav-05, #nav-06,
#nav-07, #nav-08, #nav-09, #nav-10, #nav-11, #nav-12,
#nav-13, #nav-14, #nav-15, #nav-16, #nav-17, #nav-18  { margin-top:0; width:242px; }

#nav-01 a:hover { background:url("../images/nav.jpg") -242px -12px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -242px -31px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -242px -50px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -242px -69px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -242px -88px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -242px -107px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -242px -126px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -242px -145px no-repeat; }
#nav-09 a:hover { background:url("../images/nav.jpg") -242px -164px no-repeat; }
#nav-10 a:hover { background:url("../images/nav.jpg") -242px -183px no-repeat; }
#nav-11 a:hover { background:url("../images/nav.jpg") -242px -202px no-repeat; }
#nav-12 a:hover { background:url("../images/nav.jpg") -242px -221px no-repeat; }
#nav-13 a:hover { background:url("../images/nav.jpg") -242px -240px no-repeat; }
#nav-14 a:hover { background:url("../images/nav.jpg") -242px -259px no-repeat; }
#nav-15 a:hover { background:url("../images/nav.jpg") -242px -278px no-repeat; }
#nav-16 a:hover { background:url("../images/nav.jpg") -242px -297px no-repeat; }
#nav-17 a:hover { background:url("../images/nav.jpg") -242px -316px no-repeat; }
#nav-18 a:hover { background:url("../images/nav.jpg") -242px -335px no-repeat; }



/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg") -242px  -12px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -242px  -31px no-repeat; }
body#surgery #nav-03 { background:url("../images/nav.jpg") -242px  -50px no-repeat; }
body#benefits #nav-04 { background:url("../images/nav.jpg") -242px  -69px no-repeat; }
body#candidate #nav-05 { background:url("../images/nav.jpg") -242px -88px no-repeat; }
body#roux-en-y #nav-06 { background:url("../images/nav.jpg") -242px -107px no-repeat; }
body#lap-band #nav-07 { background:url("../images/nav.jpg") -242px  -126px no-repeat; }
body#gastric #nav-08 { background:url("../images/nav.jpg") -242px  -145px no-repeat; }
body#revision #nav-09 { background:url("../images/nav.jpg") -242px  -164px no-repeat; }
body#obesity #nav-10 { background:url("../images/nav.jpg") -242px  -183px no-repeat; }
body#problems #nav-11 { background:url("../images/nav.jpg") -242px -202px no-repeat; }
body#counseling #nav-12 { background:url("../images/nav.jpg") -242px -221px no-repeat; }
body#gallery #nav-13 { background:url("../images/nav.jpg") -242px  -240px no-repeat; }
body#faqs #nav-14 { background:url("../images/nav.jpg") -242px  -259px no-repeat; }
body#testimonials #nav-15 { background:url("../images/nav.jpg") -242px  -278px no-repeat; }
body#insurance #nav-16 { background:url("../images/nav.jpg") -242px  -297px no-repeat; }
body#seminars #nav-17 { background:url("../images/nav.jpg") -242px -316px no-repeat; }
body#contact #nav-18 { background:url("../images/nav.jpg") -242px -335px no-repeat; }

/* ------------------------ son of suckerfish: vertical sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	background-color:#E5CE98;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	margin-left:242px; /* Set to same width as in #nav */
	margin-top:-19px; /* Set to each button height, same as used above */
	}

#nav li ul li {
	height:20px; /* Height of each drop down nav item */
	border:1px solid #ffffff;
	border-top:none;
	padding-right: 1px;
	}

#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;
	padding-right: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-06 ul a:hover, #nav-07 ul a:hover { 
	background-image:none;
	background-color:#48B6CD;
	color:#FFFFFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-06 ul, #nav-06 li { width:250px; }		
#nav-07 ul, #nav-07 li { width:250px; }	
