/*--------------------- 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-color:#FFFFFF;
	text-align:center; 
	font:12px/16px "Trebuchet MS", Arial, Helvetica, sans-serif; 
	color:#000;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#000;}
h2	{ font-size:1.1em; color:#000;}
h3	{ font-size:1.0em; color:#000;}

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#258FBB; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#021C26; text-decoration:none; outline:none; }

/* ------------------------ classes ------------------------ */
.bold {
	font-weight: bold;
	}

div.clear { 
	clear:both;
	height:.01em; 
	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;
	}

img.img-left { 
	float:left; 
	margin:2px 10px 10px 0px;
	}

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}

/* ------------------------ form elements ------------------------ */
form {
	width:163px;
	margin:10px 0 15px 0; /* set margin left and right below */
	}

form label	{ font-size:.95em; color:#066790;} 

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#FAEEDF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #92CADE;
	color:#614841;
	width:158px; /* 5 pixles smaller than form width !important */
	height:20px;
	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:"Trebuchet MS", Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}

select { width:163px; padding:0; } /* same width as form - !important */

textarea { height:90px; overflow:auto; }

#contact_business { display: none; } /* do not remove */ 


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

/* ------------------------ main contact form ------------------------ */
#contact-main { margin:20px 0 10px 0px;}

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	margin-left:40px;
	}

#contact-quick {
	padding:0 0 0 38px;
	}

#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; }

/* ------------------------ RATE MY SMILE contact form ------------------------ */
#ratemysmile { margin:20px 0 10px 150px;}

#ratemysmile label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	margin-left:40px;
	}

#ratemysmile label input, #ratemysmile label textarea, #ratemysmile label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}

#ratemysmile select { width:175px; } /* fixes display issue - 5px larger than input field */

input.ratemysmilebutton {width:12px !important; background:none !important; border:none; }

#ratemysmile label textarea { height:38px; overflow:auto; }






/* ------------------------ submit button form elements ------------------------ */

input.submit, input.submit-contact-main, input.submit-ratemysmile{ 
	width:60px;
	height:20px;
	line-height:18px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 5px 281px; } /* defines placement of contact-main submit button */
input.submit-ratemysmile { margin:0px 0 0 281px; } 

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#inside-wrap {
	background:url("../images/inside/inside-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}	
	
#wrap-flower-bottom {
	background:url("../images/wrap-flower-bottom.jpg") bottom right no-repeat;
	width:760px;
	float:left;
	}	


/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:202px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:0px;
		width:448px;
		top:0px;
		height:70px; 
		}
	#masthead a span {
		display:none;
		}

/* ------------------------ HOMEPAGE ELEMENTS ------------------------ */

#left-col-repeat {	
	background:url("../images/index/left-col-repeat.jpg") repeat-y;
	}
#left-col-flower-bottom {
	background:url("../images/index/left-col-flower-bottom.jpg") bottom no-repeat; 
	width:525px; 
	padding-bottom:10px;
	}
#left-col-subhead-feat {
	background:url("../images/index/left-col-subhead-feat.jpg") top no-repeat; 
	width:525px; 
	height:78px;
	}
#left-col-subhead-precedures {
	background:url("../images/index/left-col-subhead-procedure.jpg") top no-repeat; 
	width:525px; 
	height:67px;
	}
#left-col-subhead-smile {
	background:url("../images/index/left-col-subhead-smile.jpg") top no-repeat; 
	width:525px; 
	height:75px;
	}	
.left-col-sub-repeat{
	background:url("../images/index/left-col-sub-repeat.jpg") repeat-y; 
	}
.left-col-bottoms {
	background:url("../images/index/left-col-bottoms.jpg") bottom no-repeat; 
	width:525px; 
	height:8px;
	clear:both;
	}

/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:525px;
	float:left;
	}


	#column-left p, #column-left h1, #column-left h2, #column-left h3,  #column-left dl {
		margin:0px 36px 10px 44px;
		color:#066790;
		}

	#column-left form { margin-left:0px; } /* set form margin here */



.stretch {height:80px;}


	/* multi column list */
	#column-left ul { padding-left:60px; padding-top:10px; padding-bottom:10px; float:left; color:#066790;} 
		#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 */
			float:left;
			width:200px; /* 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 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 {
	background:url("../images/right-col-top.jpg") top no-repeat; 	
	width:235px;
	float:left;
	}
	
	#CTC {
	width:235px;
	height:81px;
	float:left;
	position: relative;
	padding-bottom:10px;
	}
	

	#feat-case {
	background:url("../images/feat-case.jpg") top no-repeat; 
	margin:15px 0 0 0;
	float:left;
	width:235px;
	height:43px;	
	}


	
	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0px 25px 10px 38px;
		color:#066790;
		}
		
		.addresss {padding-bottom:15px;}
		.bna {margin-left:38px;}
		
	#column-right form { margin-left:0px; }
	
	
	
/* ------------------------ header framework ------------------------ */
#header-flash { height:300px; } /* sets height for the flash header - REMOVE IF NOT USED */
#active-x {height:300px;}
#header-graphic { height:300px; } /* sets height for all non-flash headers */

	
	body#ourpractice #masthead { background:url("../images/header-ourpractice.jpg"); }
	body#drmachnowski #masthead { background:url("../images/header-drmachnowski.jpg"); }
	body#cosmetic #masthead { background:url("../images/header-cosmetic.jpg"); }
	body#general #masthead { background:url("../images/header-general.jpg"); }
	body#smile #masthead { background:url("../images/header-smile.jpg"); }				
	body#contact #masthead { background:url("../images/header-contact.jpg"); }
	body#thankyou #masthead { background:url("../images/header-thankyou.jpg"); }
	body#sitemap #masthead { background:url("../images/masthead.jpg"); }


/* ------------------------ subhead framework ------------------------ */
#subhead { height:74px; padding-bottom:0px;} /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-index.jpg"); }
	body#ourpractice #subhead { background:url("../images/subhead-ourpractice.jpg"); }
	body#drmachnowski #subhead { background:url("../images/subhead-drmachnowski.jpg"); }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg"); }
	body#general #subhead { background:url("../images/subhead-general.jpg"); }
	body#smile #subhead { background:url("../images/subhead-smile.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-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.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:70px;
	clear:both; /* important - do not remove */
	}
	
#bottom-wrap a:link, #bottom-wrap a:visited { color:#066790; text-decoration:underline; font-weight:bold; }
#bottom-wrap a:hover, #bottom-wrap a:active { color:#066790; text-decoration:none; font-weight:bold;}

#bottom-wrap ul {	padding:35px 0 0 15px;}
	#bottom-wrap 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 #066790;
		}
	#bottom-wrap li.first { border: none; }
	
	
#inside-bottom-wrap {
	background:url("../images/inside/inside-bottom-wrap.jpg");
	width:100%; /* fix for Safar */
	height:70px;
	clear:both; /* important - do not remove */
	}
	
#inside-bottom-wrap a:link, #inside-bottom-wrap a:visited { color:#066790; text-decoration:underline; font-weight:bold; }
#inside-bottom-wrap a:hover, #inside-bottom-wrap a:active { color:#066790; text-decoration:none; font-weight:bold;}

#inside-bottom-wrap ul {	padding:35px 0 0 15px;}
	#inside-bottom-wrap 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 #066790;
		}
	#inside-bottom-wrap li.first { border: none; }	
	
	
	

/* ------------------------footer framework ------------------------ */
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	padding-top:17px;
	}

#footer p {

	color:#066790;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#066790; text-decoration:underline; }
#footer a:hover, #footer a:active { color:#066790; text-decoration:none;}



/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */
/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:760px; 
	height:26px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:26px; display:block; } /* change height here also */

#nav li { float:left; list-style:none; display:inline; }

#nav-01 { width: 79px; margin-left: 0px;}
#nav-02 { width: 92px;}
#nav-03 { width: 114px;}
#nav-04 { width: 130px;}
#nav-05 { width: 130px;}
#nav-06 { width: 113px;}
#nav-07 { width: 102px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -0px -26px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -79px -26px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -171px -26px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -285px -26px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -415px -26px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -545px -26px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -658px -26px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#index #nav-01 { background:url("../images/nav.jpg")  -0px -26px no-repeat; }
body#ourpractice #nav-02 { background:url("../images/nav.jpg") -79px -26px no-repeat; }
body#drmacnowski #nav-03 { background:url("../images/nav.jpg") -171px -26px no-repeat; }
body#consmetic #nav-04 { background:url("../images/nav.jpg") -285px -26px no-repeat; }
body#general #nav-05 { background:url("../images/nav.jpg") -415px -26px no-repeat; }
body#smile #nav-06 { background:url("../images/nav.jpg") -545px -26px no-repeat; }
body#contact #nav-07 { background:url("../images/nav.jpg") -658px -26px no-repeat; }




/* ------------------------ RIGHT COL nav ------------------------ */
#right-col-nav {
	background:url("../images/right-col-nav.jpg") top left no-repeat;					
	width:163px;	/* Width of buttons, not entite image (or half of entire image) */
	height:121px;	/* Height of entire image */
	margin:0;
	padding:0px;
	}

#right-col-nav li span { display: none; }

#right-col-nav li {
	float:left;
	list-style:none;
	}

#right-col-nav li, #right-col-nav a { 
	height:40px;	/* Each button must have the same height, define it here */
	display:block;
	}

/* margin-top to set where the nav should begin */
#right-col-nav-01, #right-col-nav-02 { margin-top:0px; width:163px; }

/* margin-top if there is a spacing between each nav button */
#right-col-nav-03 { margin-top:0; width:163px; }

#right-col-nav-01 a:hover { background:url("../images/right-col-nav.jpg") -163px  -0px no-repeat; }
#right-col-nav-02 a:hover { background:url("../images/right-col-nav.jpg") -163px  -40px no-repeat; }
#right-col-nav-03 a:hover { background:url("../images/right-col-nav.jpg") -163px  -80px no-repeat; }
