/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2005. 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 { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }

span {display:none;}

/* global elements
 * ------------------------------------------------------------------------- */

body { 
	background: #FFF8E5 url(../images/index/bg_body.jpg) top left repeat-x;
	text-align:center; 
	font:12px/18px "Trebuchet MS", "Bitstream Vera Sans", Arial, Verdana, Helvetica, sans-serif; 
	color:#5E2F00; 
	}

p, ul, ol, dl, pre, blockquote	{ margin-bottom:10px; }

blockquote { 
	margin-left: 10px; 
	margin-right: 10px; 
	}

h1,h2,h3 { margin-bottom:8px; }

h1	{ font-size:14px; color:#F1973F; }
h2	{ font-size:13px; color:#657A8D; }
h3	{ font-size:12px; color:#657A8D; }
h4	{ font-size:11px; color:#657A8D; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#5E332A; text-decoration:underline; }
a:hover,a:active	{ color:#F1973F; text-decoration:underline; }

/* global classes
 * ------------------------------------------------------------------------- */

div.clear	{ clear:both; height:.01em; overflow:hidden; }

img.img-left { float:left; margin:2px 12px 12px 0; }
img.img-right { float: right; margin: 0px 0 12px 12px; }
	 
p.top { text-align:right; display:block; font-size:10px; } 
p.top a:hover,a:active { color:#E5994E; text-decoration:underline; } /* back to top hover */

.req {font-size:10px;}
	
/* main framework
 * ------------------------------------------------------------------------- */

#wrap { background:url(../images/index/bg_wrap.jpg) repeat-y; width:733px; margin:0 auto; text-align:left;}
#masthead { position:relative; background:url(../images/index/masthead.jpg) left top no-repeat; width:733px; height:82px;}
#masthead-btn a { position:absolute; width:289px; height:72px; top:0px; left:0px;}/* home link within header */
#header-graphic { background:url(../images/index/header_graphic.jpg); width:733px; height:175px;}
	
#column-left { width:170px; float:left;} /* left column */
		#column-left p {margin:5px 10px 5px 10px; color:#763E05; }
		#column-left a:hover, #column-right a:active { color:#FFF; text-decoration:underline; }
	#title-featured-procedures { background:url(../images/index/title_featured_procedures.jpg); height:65px;}
	
#column-middle { width:393px; float:left; } /* middle column */
		#column-middle p, #column-middle h1, #column-middle h2, #column-middle h3, #column-middle h4 { padding:5px 10px 5px 19px; }
		
		#column-middle table { margin-left:19px; width:370px; }
		
		#column-middle table td { vertical-align:top; padding: 0 4px 10px 4px; }
		
	#container-middle { width:393px; float:left; } 
	#title-welcome { background:url(../images/index/title_welcome.jpg) left top no-repeat; width:393px;}
		#title-welcome h1.intro { padding-top:60px; padding-right:180px; }
		#title-welcome p.intro { padding-right:180px; }
		#title-welcome p { padding:5px 10px 5px 19px; }
		#bg-banner { position:relative; background:url(../images/index/bg_middle_column.jpg) left top no-repeat; width:393px; height:343px;}
		#btn01 a { position:absolute; width:206px; height:123px; top:50px; left:154px;}/* home link within header */
		#btn02 a { position:absolute; width:199px; height:72px; top:235px; left:33px;}/* home link within header */
		
		#grant { background:url("../images/index/bg-grant.jpg"); width:393px;}
		#bottom-grant { background:url("../images/index/bg-bottom-grant.jpg") bottom no-repeat; padding-bottom:10px; }
		#subhead-grant { background:url("../images/index/subhead-ivf-grant.jpg"); width: 393px; height:63px; }
		#grant p { margin-right:120px; margin-bottom:10px; }

#column-right { width:170px; float:left;} /* right column */
		#column-right p { margin: 5px 5px 5px 15px; }
		#column-right a:hover, #column-right a:active	{ color:#FFF; text-decoration:underline; }
	#title-quick-contact { background:url(../images/index/title_quick_contact.jpg) left top no-repeat; height:91px; }

#page-footer { background:url(../images/index/page_footer.jpg) no-repeat; width:733px; height:16px; clear:both; overflow:hidden;}
	 

/* inside sub pages framework
 * ------------------------------------------------------------------------- */
 
#subhead { height:50px; }/* sets height for all subheads */
	body#contact #subhead { background:url(../images/sub/subhead_contact.jpg); }
	body#about #subhead { background:url(../images/sub/subhead_about.jpg); }
	body#doctors #subhead { background:url(../images/sub/subhead_doctors.jpg); }
	body#donation #subhead { background:url(../images/sub/subhead_donation.jpg); }
	body#gender #subhead { background:url(../images/sub/subhead_gender.jpg); }
	body#sitemap #subhead { background:url(../images/sub/subhead_sitemap.jpg); }
	body#statistics #subhead { background:url(../images/sub/subhead_statistics.jpg); }
	body#technologies #subhead { background:url(../images/sub/subhead_technologies.jpg); }
	body#testing #subhead { background:url(../images/sub/subhead_testing.jpg); height:70px; }
	body#treatments #subhead { background:url(../images/sub/subhead_treatments.jpg); }
	body#vitro #subhead { background:url(../images/sub/subhead_vitro.jpg); }
	body#thankyou #subhead { background:url(../images/sub/subhead_thankyou.jpg); }

/* background image list items */
#column-left ul.list { margin: 0 10px;}
#column-left ul.list li { background:transparent url(../images/index/list_style.gif) 0px 6px no-repeat; padding-left:10px;}

/* background image list items */
#column-middle ul.list { margin-left:15px; margin-right:10px; width:365px;}
#column-middle ul.list li { background:transparent url(../images/index/list_style.gif) 0px 6px no-repeat; padding-left:10px;}

#quick-links { width:100px; float:right; padding:0px 0px 5px 5px; }



/* Vert Nav
 * ------------------------------------------------------------------------- */
 
#nav {
	position: relative;
	background: url(../images/index/nav.jpg) top left no-repeat;					
	width: 170px;		/* Width of buttons, not entite image (or half of entire image) */
	height: 347px;		/* Height of entire image */
	margin:0;
	padding:0;
	}

#nav li span {display: none;}
#nav li {margin: 0; padding: 0; list-style: none; position: absolute;}

#nav li, #nav a {height: 25px; display: block;}

/* Fix IE5.01Win jumping bug - Hide from IE Mac \*/
* html #nav li { height:1% }
/* End */

/* Increments of each button height defined above */
/* Fix IE5.01Win jumping bug - Hide from IE Mac \*/
* html #nav li { height:1% }
/* End */

/* Increments of each button height defined above */
#nav-01 { top:   9px }
#nav-02 { top:  34px }
#nav-03 { top:  59px }
#nav-04 { top:  84px }
#nav-04 a {height: 36px;}
#nav-05 { top:  120px }
#nav-05 a {height: 37px;}
#nav-06 { top:  157px }
#nav-06 a {height: 37px;}
#nav-07 { top:  194px }
#nav-07 a {height: 36px;}
#nav-08 { top:  230px }
#nav-09 { top:  257px }
#nav-09 a {height: 36px;}
#nav-10 { top:  293px }
#nav-11 { top:  318px }

/* width set here should be same width set in #nav */
#nav-01, #nav-02, #nav-03, #nav-04, #nav-05, #nav-06, #nav-07, #nav-08, #nav-09, #nav-10, #nav-11  { left: 0px; width: 170px; }

/* Changed values should match "top" numbers specified above */
#nav-01 a:hover { background: transparent url(../images/index/nav.jpg) -170px   -9px no-repeat; }
#nav-02 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -34px no-repeat; }
#nav-03 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -59px no-repeat; }
#nav-04 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -84px no-repeat; }
#nav-05 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -120px no-repeat; }
#nav-06 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -157px no-repeat; }
#nav-07 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -194px no-repeat; }
#nav-08 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -230px no-repeat; }
#nav-09 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -257px no-repeat; }
#nav-10 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -293px no-repeat; }
#nav-11 a:hover { background: transparent url(../images/index/nav.jpg) -170px  -318px no-repeat; }

/* Footer
 * ------------------------------------------------------------------------- */
 
#footer { width:733px; text-align:center; margin:0 auto; color:#000; }
#footer a:link, #footer a:visited { text-decoration:underline; color:#000; }
#footer a:hover, #footer a:active { text-decoration:underline; color:#454545; }

#footer ul { margin-bottom:5px; }
#footer li { padding: 0 5px 0 7px; display:inline; border-left: 1px solid #000; }
#footer li.first { border: none; }


/* Quick Contact Form
 * ------------------------------------------------------------------------- */

form {
	width:143px;
	padding:10px 0 15px 13px;
	}

form label	{ font-size:.95em; }

form br { 
	line-height:0; /* defaults vertical spacing between fields */
	}  

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #D8B48D;
	color:#000;
	width:140px; /* 5 pixles smaller than form width !important */
	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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
	
select { 
	width:143px; /* same width as form !important */
	padding:0;
	}

textarea { 
	height:90px; 
	overflow:auto; 
	}
	
input.submit, input.submit-contact-main { 
	width:60px; 
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:85px 0 20px 242px; }

input.submit-image { 
	background:url("../images/btn-submit.jpg");
	width:63px;
	height:15px;
	border:none;
	cursor:pointer;
	}

#contact_business { display: none; } /* do not remove */ 
  


/* ----- main contact form ----- */ 
 
#contact-main { 
	padding:20px 0 10px 13px; 
	}
	
#contact-main label { 
	width:150px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1em;
	}
	
#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:150px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select {
	width:155px;
	}
	
#contact-main label textarea { height:100px; }
