/*--------------------- Last Modified  2006.03.25 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  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
 * ------------------------------------------------------------------------- */

/* 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,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#093E50;
	text-align:center; 
	font:12px/16px Verdana, Arial, Helvetica, sans-serif;
	color:#F9CD97;
	}

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

h1	{ font-size:1.2em; color:#3BC7FF; }
body#index h2 { font-size:1.1em; color:#3BC7FF; }
h2	{ font-size:1.1em; color:#FFAD4B; }
h3	{ font-size:1.0em; color:#F9CD97; }

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

a:link,a:visited	{ color:#F9CD97; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#3BC7FF; text-decoration:underline; outline:none; }

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

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:10px;
	background:url("../images/bullet.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

	
/* ----- global form elements ----- */ 

form {
	width:150px;
	margin:10px 0 15px 0;
	}

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

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

input, textarea, select { 
	background-color:#006B90 !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #006B90;
	color:#88E0FF;
	width:145px; /* 5 pixles smaller than form width !important */
	height:19px;
	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:Verdana, Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
	
select { width:150px; padding:0; } /* same width as form - !important */

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

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


/* ----- 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; }
	
#contact-main label textarea { height:100px; overflow:auto; }


/* ----- submit button form elements ----- */ 

input.submit-contact-main { margin:95px 0 0 243px; }

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:#093E50 url("../images/btn-submit.jpg") no-repeat;
	width:64px;
	height:18px;
	border:none;
	cursor:pointer;
	}

#column-left input#wp_searchsubmit {
	width:64px;
	height:18px;
	border:none;
	cursor:pointer;
	}

/* framework
 * ------------------------------------------------------------------------- */

#main-wrap {
	background:#013648;
	width:796px;
	margin:0 auto;
	text-align: center;
	}
	
#wrap {
	background:#013648;
	width:760px;
	margin:0 auto;
	text-align: left;
	}
	
#masthead {
	background:url("../images/masthead.jpg");
	height:320px;
	width:760px;
	}
	
	
/* ------------------------ header framework ------------------------ */
#masthead { height:320px; } /* sets height for all non-flash headers */

	body#index #masthead { background:url("../images/header-home.jpg"); }
	body#about #masthead { background:url("../images/header-about.jpg"); }
	body#cosmetic #masthead { background:url("../images/header-cosmetic.jpg"); }
	body#general #masthead { background:url("../images/header-general.jpg"); }
	body#implants #masthead { background:url("../images/header-implants.jpg"); }
	body#sedation #masthead { background:url("../images/header-sedation.jpg"); }
	body#tmj #masthead { background:url("../images/header-tmj.jpg"); }
	body#blog #masthead { background:url("../images/header-cosmetic.jpg"); }
	body#contact #masthead { background:url("../images/header-email.jpg"); }
	body#thankyou #masthead { background:url("../images/header-email.jpg"); }
	body#sitemap #masthead { background:url("../images/header-email.jpg"); }

/* ----- column-left ----- */

#column-left {
	width:234px;
	float:left;
	margin:0;
	padding:0;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0 14px 10px 0;
		}
	#column-left form { margin-left:0px; }
	
	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-left ul.multi { padding-left:5px; } 
		#column-left ul.multi li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			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;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
/* ----- column-center ----- */

#column-center {
	width:289px;
	float:left;
	margin:0;
	padding:0;
	}
	
	#column-center p, #column-center h1, #column-center h2, #column-center h3, #column-center ul, #column-center dl {
		margin:0 17px 10px 14px;
		}
	#column-center h1.top {margin-top:30px;}
	
	/* single column list */
	#column-center ul { padding-left:5px; }
		#column-center ul li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-center ul.multi { padding-left:5px; } 
		#column-center ul.multi li { 
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}
	
	/* definition list */
	#column-center dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-center dl dd {
			background:transparent url("../images/bullet.jpg") 0px 6px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
/* ----- column-right ----- */

body#index #column-right {
	width:237px;
	float:left;
	margin:0;
	padding:0;
	}

#column-right {
	width:526px;
	float:left;
	}

	body#index #column-right p, body#index #column-right h1, body#index #column-right h2, body#index #column-right h3, body#index #column-right ul, body#index #column-right dl {
		margin:0 0 10px 17px;
		}
	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 17px 10px 14px;
		}
	body#index #column-right form { margin-left:17px; }
	#column-right form { margin-left:14px; }
	#column-right ul li ul {margin:0 17px 0px 0px;}
	 
	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 5px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

	/* 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;
			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;
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}


body#index #btn-blog {
	position:relative;
	background:url("../images/sub-btn-blog.jpg");
	height:94px;
	margin: 30px 0px 10px 15px;
	}
	/* index page link within #masthead */		
	body#index #btn-blog a {
	position:absolute;
	left:0px;
	width:224px;
	top:0px;
	height:90px;
		}
	body#index #btn-blog a span {
		display:none;
		}


		

#btn-blog {
	position:relative;
	background:url("../images/sub-btn-blog.jpg");
	height:94px;
	margin: 30px 0px 10px 0px;
	}
	/* index page link within #masthead */		
	#btn-blog a {
	position:absolute;
	left:0px;
	width:224px;
	top:0px;
	height:90px;
		}
	#btn-blog a span {
		display:none;
		}



	
/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	height:20px;
	clear:both;
	width:100%; /* fix for Safar */
	}


/* subhead framework
 * ------------------------------------------------------------------------- */

#subhead { height:43px; width:526px; } /* sets height for all subheads */

	body#about #subhead { background:url("../images/subheaders/subhead-about-dr.jpg"); }
	body#practice #subhead { background:url("../images/subheaders/subhead-about.jpg"); }
	body#general #subhead { background:url("../images/subheaders/subhead-general.jpg"); }
	body#laser-dentistry #subhead { background:url("../images/subheaders/subhead-laser-dentistry.jpg"); }
	body#invisalign #subhead { background:url("../images/subheaders/subhead-invisalign.jpg"); }
	body#sleep-apnea #subhead { background:url("../images/subheaders/subhead-sleep-apnea.jpg"); }
	body#cosmetic #subhead { background:url("../images/subheaders/subhead-cosmetic.jpg"); }
	body#teeth-whitening #subhead { background:url("../images/subheaders/subhead-teeth-whitening.jpg"); }
	body#veneers #subhead { background:url("../images/subheaders/subhead-veneers.jpg"); }
	body#implants #subhead { background:url("../images/subheaders/subhead-implants.jpg"); }
	body#implant-restoration #subhead { background:url("../images/subheaders/subhead-implant-restoration.jpg"); }
	body#sedation #subhead { background:url("../images/subheaders/subhead-sedation.jpg"); }
	body#tmj-treatment #subhead { background:url("../images/subheaders/subhead-tmj.jpg"); }
	body#tmj #subhead { background:url("../images/subheaders/subhead-tmj-disorder.jpg"); }
	body#blog #subhead { background:url("../images/subheaders/subhead-blog.jpg"); }
	body#contact #subhead { background:url("../images/subheaders/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("../images/subheaders/subhead-thankyou.jpg"); }
	body#sitemap #subhead { background:url("../images/subheaders/subhead-sitemap.jpg"); }


/* ----- subhead framework with varying heights ----- */

#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.jpg") ;
	}


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

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

#footer a:link, #footer a:visited { color:#C7EDFA; }

#footer a:hover, #footer a:active { color:#F9CD97; }

#footer ul {margin-top:10px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 5px 0 7px;
	display: inline;
	border-left: 1px solid #0087B1;
	}

	#footer li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:760px; 
	height:88px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

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

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

#nav-01 { width: 40px; margin-left: 224px;}
#nav-02 { width: 60px;}
#nav-03 { width: 55px;}
#nav-04 { width: 61px;}
#nav-05 { width: 60px;}
#nav-06 { width: 94px;}
#nav-07 { width: 114px;}
#nav-08 { width: 52px;}

/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg") -224px -88px no-repeat; }
#nav-02 a:hover { background:url("../images/nav.jpg") -264px -88px no-repeat; }
#nav-03 a:hover { background:url("../images/nav.jpg") -324px -88px no-repeat; }
#nav-04 a:hover { background:url("../images/nav.jpg") -379px -88px no-repeat; }
#nav-05 a:hover { background:url("../images/nav.jpg") -440px -88px no-repeat; }
#nav-06 a:hover { background:url("../images/nav.jpg") -500px -88px no-repeat; }
#nav-07 a:hover { background:url("../images/nav.jpg") -594px -88px no-repeat; }
#nav-08 a:hover { background:url("../images/nav.jpg") -708px -88px no-repeat; }

/* ------------------------ son of suckerfish: vertical sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;
	background-color:#16B4DB;	/* 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;
	}

#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:#fcfaf5;
	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-04 ul a:hover, #nav-03 ul a:hover, #nav-05 ul a:hover, #nav-06 ul a:hover { 
	background-image:none;
	background-color:#FFF;
	color:#16B4DB;
	text-decoration:none;
	}
	
#nav-02 ul, #nav-02 li { width: 125px; }
#nav-03 ul, #nav-03 li { width: 105px; }
#nav-04 ul, #nav-04 li { width: 110px; }
#nav-05 ul, #nav-05 li { width: 135px; }
#nav-06 ul, #nav-06 li { width: 90px; }


/* --- social media ---- */
ul#social-media {
	width:212px;
	height:299px;
	background:url("../images/social.jpg") no-repeat;
	margin:20px 0 0px 15px;
	}
	 ul#social-media li,  ul#social-media li a {
		display:block;
		width:60px;
		height:80px;
		float:left;
	}	
 ul#social-media li.media-top {
		margin:30px 0 0 21px;
		padding:0 0 0 0;
	}
	ul#social-media li.media-bottom {
		margin:10px 0 0 23px;
		padding:0 0 0 0;
	}
	ul#social-media li.media-blog {
		margin:10px 0 0 64px;
		padding:0 0 0 0;
	}
	ul#social-media li {
		background-image:none;
	}
	#social-media span {
		display:none;
	}		