/*--------------------- 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:#7dabc7 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#2d373c;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.2em; color:#2d373c; }
h2	{ font-size:1.1em; color:#173878; }
h3	{ font-size:1.0em; color:#dc4d2f; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#173878; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#000; 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:10px;
	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 10px 5px 0px;
	}

img.img-right { 
	float:right; 
	margin:0px 0px 0px 4px; 
	}

/* ------------------------ form elements ------------------------ */
form {
	width:150px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}
	
body#index form#contact-quick { 
	width:385px;
	}

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 #c4cbd0;
	color:#2d373c;
	width:177px; /* 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:95px; overflow:auto; }

#contact_business { display: none; } /* do not remove */ 

form div.two-column {width: 185px; float: left; margin: 0;}
#column-right p.two-column {width: 160px; float: left; display: inline;}
#column-right p.two-column-right {width: 160px; float: left; display: inline; text-align:right;}

/* ------------------------ 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:57px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 243px; } /* defines placement of contact-main submit button */

/*-------- BMI Calculator --------*/
form#bmi-form {
	margin: 0 0 0  20px;
	width: 150px;
	}
form#bmi-form input {height: 17px; width: 27px;}
form#bmi-form input#calculate { width: 100px; height: 22px;}


/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:848px;
	margin:0 auto;
	text-align:left;
	}
body#index #wrap {
	background:url("../images/bg-wrap-index.jpg") repeat-y;
	}
/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:98px;
	}
	/* index page link within #masthead */		
	#masthead a {
	position:absolute;
	left:10px;
	width:436px;
	top:14px;
	height:66px;
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:557px;
	float:left;
	padding-left: 17px;
	}
body#index #column-left {
	width:407px;
	}
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 20px 10px 20px;
		}

	#column-left form { margin-left:0px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 3px 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-bottom: 3px;
			}

	/* multi column list */
	#column-left ul.multi { padding-left:5px; } 
		#column-left ul.multi li { 
			background:transparent url("../images/bullet.jpg") 0px 3px 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; 
			}

	/* 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 3px 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:257px;
	float:left;
	padding-right: 17px;
	}
body#index #column-right {
	width:407px;
	}
	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 20px 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 3px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			}


/* ------------------------ header framework ------------------------ */
#header-graphic { height:308px; 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:54px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#about #subhead { background:url("../images/subhead-about.jpg"); }
	body#obesity #subhead { background:url("../images/subhead-obesity.jpg"); }
	body#bariatric #subhead { background:url("../images/subhead-bariatric.jpg"); }
	body#espanol #subhead { background:url("../images/subhead-espanol.jpg"); }
	body#contact #subhead { background:url("../images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg"); }
	body#metabolic-surgery #subhead { background:url("../images/subhead-metabolic.jpg"); }

/*------- BMI home page section ---------------*/

#bmi {
	background: url("../images/bmi-wrap.jpg") repeat-y;
	width: 814px;
	float: left;
	margin: 0 17px 0 17px;
	display:inline;
	}
#bmi-bottom {
	height: 21px;
	background: url("../images/bmi-bottom.jpg") bottom no-repeat;
	clear: both;
	}
#bmi-means {
	width: 271px;
	float: left;
	background: url("../images/bmi-means.jpg") top no-repeat;
	padding-top: 41px;
	display:inline;
	}
#bmi-calc {
	width: 272px;
	float: left;
	background: url("../images/bmi-calc.jpg") top no-repeat;
	padding-top: 41px;
	display:inline;
	}
#bmi-candidate {
	width: 271px;
	float: left;
	background: url("../images/bmi-candidate.jpg") top no-repeat;
	padding-top: 41px;
	display:inline;
	}
#bmi p { margin: 0 85px 5px 20px;}

#gallery-launch {
	background: url("../images/btn-gallery-launch.jpg") top no-repeat;
	height: 77px;
	padding-top: 48px;
	}
  #column-right #gallery-launch p {
  	font-weight: bold;
	color: #ffffff;
	text-align:center;
	margin: 0px 28px 10px 28px;
  	}
	  #column-right #gallery-launch p a:link, #column-right #gallery-launch p a:visited  { color: #dc4d2f; }
	  #column-right #gallery-launch p a:hover, #column-right #gallery-launch p a:active  { color: #ffffff; }

#gallery-launch-spanish {
	background: url("../images/btn-gallery-spanish.jpg") top no-repeat;
	height: 77px;
	padding-top: 48px;
	}
  #column-right #gallery-launch-spanish p {
  	font-weight: bold;
	color: #ffffff;
	text-align:center;
	margin: 0px 28px 8px 28px;
  	}
	  #column-right #gallery-launch-spanish p a:link, #column-right #gallery-launch-spanish p a:visited  { color: #dc4d2f; }
	  #column-right #gallery-launch-spanish p a:hover, #column-right #gallery-launch-spanish p a:active  { color: #ffffff; }/* ------------------------ subhead framework with varying heights ------------------------ */
#innovative-people {
	height:75px;
	width: 814px;
	clear: both;
	background:url("../images/innovative-people.jpg") ;
	margin: 0px 17px 0px 17px;
	}
body#index #life-after-surgery {
	background: url("../images/life-after-surgery.jpg") top no-repeat;
	padding-top: 42px;
	width: 407px;
	float: left;
	margin-left: 17px;
	display:inline;
	}
#bariatric-procedures {
	background: url("../images/bariatric-procedures2.jpg") top no-repeat;
	padding-top: 42px;
	width: 407px;
	float: left;
	margin-right: 17px;
	display:inline;
	}
#life-after-surgery p, #life-after-surgery h2 {
	margin: 0 125px 10px 20px;
	}
#bariatric-procedures p, #bariatric-procedures h2, #bariatric-procedures ul {
	margin: 0 170px 10px 20px;
	}
	#bariatric-procedures li {
		background:transparent url("../images/bullet.jpg") 0px 3px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
		padding-left:10px;  /* pushes text to the right to display bg img */
		}
/* --------------- INDEX CONTACT ---------------------*/
#index-contact {
	background: url("../images/wrap-no-div.jpg") repeat-y;
	width: 814px;
	margin-left: 17px;
	}
	#index-contact p, #index-contact h2 {
		margin: 10px 20px 10px 20px;
		}


/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	height:54px;
	background:url("../images/title-contact.jpg") ;
	}
body#index #title-contact {
	height:54px;
	background:url("../images/title-contact-index.jpg") ;
	}
#title-call {
	height:54px;
	background:url("../images/title-call.jpg") ;
	}
#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.jpg") ;
	}

/* ------------------------ 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:35px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer {
	width:848px;
	margin:0 auto;
	text-align:center;
	padding-top: 10px;
	}

#footer p {
	color:#000;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#000; }
#footer a:hover, #footer a:active { color:#000; 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 #000;
		}
	#footer li.first { border: none; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:848px; 
	height:31px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:31px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; _display:inline; position:relative; }

#nav-01 { width: 64px; margin-left: 17px;}
#nav-02 { width: 128px;}
#nav-03 { width: 300px;}
#nav-04 { width: 186px;}
#nav-05 { width: 63px;}
#nav-06 { width: 73px;}


/*-------------- (-79px) X position of button / (-31px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -17px -31px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -81px -31px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -209px -31px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -509px -31px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -695px -31px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -758px -31px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -17px -31px no-repeat; }
body#about #nav-02 { background:url("../images/nav.jpg") -81px -31px no-repeat; }
body#obesity #nav-03 { background:url("../images/nav.jpg") -209px -31px no-repeat; }
body#bariatric #nav-04 { background:url("../images/nav.jpg") -509px -31px no-repeat; }
body#espanol #nav-05 { background:url("../images/nav.jpg") -695px -31px no-repeat; }
body#contact #nav-06 { background:url("../images/nav.jpg") -758px -31px 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:#2153A2;	/* 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 #FFF;
	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:#FFF;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-03 ul a:hover, #nav-04 ul a:hover, #nav-06 ul a:hover { 
	background-image:none;
	background-color:#DC4D2F;
	color:#FFFFFF;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-04 ul, #nav-04 li { width:150px; }

