﻿/*-------------------------------------------------------------------------------------*/
/* 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 ----- */ 
html { 
	background:#f7f6ec url('images/bg-html.jpg') repeat-x 50% top;
	width:100%;
	}
	
body { 
	background:url("images/bg-body.jpg") center top no-repeat;
	text-align:center; 
	font:12px/14px Arial, Helvetica, sans-serif; 
	color:#5a5a5a;
	}

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

h1, h2, h3	{ font-size:1.0em; color:#5a5a5a; }

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

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

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

.clear {
	clear:both;
	}

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

p.back-to-top {
	text-align:right;
	display:block;
	}
	
#column-left h2.no-space { margin-bottom:0; }
	
img.img-left { 
	float:left; 
	margin:0; 
	}
	
img.img-right { 
	float:right; 
	margin:0; 
	}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}
	
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
	
/* ----- global form elements ----- */ 

form {
	width:205px;
	margin:0 0 18px 0;
	}

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

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

input, textarea, select,
#wp_commentform input, #wp_commentform textarea, #wp_commentform select { 
	background-color:#FFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #b0af97;
	color:#414141;
	width:200px; /* 5 pixels 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:11px;
	}
	
#wp_searchform input { 
	background-color:#FFF !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #b0af97;
	color:#414141;
	width:200px; /* 5 pixels 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:11px;
	}
	
select { width:205px; padding:0; } /* same width as form - !important */

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

#contact-business { display: none; } /* do not remove */ 


/* ----- main contact form ----- */ 
 
#contact-main, #wp_commentform { margin:0 0 18px 0; }

#contact-main label, #wp_commentform 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,
#wp_commentform label input, #wp_commentform label textarea, #wp_commentform label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}
	
#contact-main label select,
#wp_commentform label select { width:177px; }
	
#contact-main label textarea,
#wp_commentform label textarea { height:100px; overflow:auto; }

#contact-business-main { display: none; } /* do not remove */ 


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

input.submit, input.submit-contact-main, input#wp_searchsubmit { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}
	
input#wp_submit {
	width:110px;
	height:20px;
	cursor:pointer;
	padding:0;
	}

input.submit-contact-main, input#wp_submit { margin:85px 0 5px 242px; }


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

#wrap {
	background:url("images/bg-wrap.jpg") repeat-y;
	width:911px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("images/masthead.gif");
	height:83px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:39px;
		width:353px;
		top:8px;
		height:74px; 
		}
	#masthead a span {
		display:none;
		}

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

#column-left {
	background:url("images/bg-left.jpg") no-repeat;
	width:649px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl, #column-left ol {
		margin:0 20px 18px 37px;
		}
		
	#column-left img { margin:-2px 10px 5px 32px; }
	#column-left #case img { margin:0; }
		
	#column-left form { margin-left:37px; }
	
	/* single column list */
	#column-left ul { padding-left:15px; }
		#column-left ul li { 
			background:transparent url("images/bullet.jpg") 0px 4px no-repeat;
			padding-left:13px; /* pushes text to the right to display bg img */
			}
			
	#column-left ul li ul { margin:0 0 0 5px; }
	
	#column-left ol { padding-left:32px; }
		#column-left ol li {
			list-style-type:decimal;
			}

	/* multi column list */
	#column-left ul.multi { padding:0; margin-bottom:18px; } 
		#column-left ul.multi li { 
			background:transparent url("images/bullet.jpg") 0px 4px no-repeat;
			padding-left:13px;  /* pushes text to the right to display bg img */
			float:left;
			width:180px;
			line-height:16px;
			}
	
	/* definition list */
	#column-left dl { padding-left:15px; }
		#column-left dl dt {
			font-weight:bold;
			}
		#column-left dl dd {
			background:transparent url("images/bullet.jpg") 0px 4px no-repeat;
			padding-left:13px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
#column-left ul.wp_navigation li { background:none; }
			  
/* ----- column-right ----- */

#column-right {
	width:262px;
	float:right;
	}

#column-right #right-col-spacer { height:185px; }

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right ul, #column-right dl {
		margin:0 35px 18px 20px;
		}
	#column-right form { margin-left:20px; }
	 
	/* single column list */
	#column-right ul { padding-left:15px;}
		#column-right ul li { 
			background:transparent url("images/bullet-right.jpg") 0px 4px no-repeat;
			padding-left:13px;  /* pushes text to the right to display bg img */
			}

	#column-right ul li ul { margin:0 0 0 5px; }

	/* definition list */
	#column-right dl { padding-left:15px; }
		#column-right dl dt {
			font-weight:bold;
			}
		#column-right dl dd {
			background:transparent url("images/bullet-right.jpg") 0px 4px no-repeat;
			padding-left:13px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}
			
	#column-right #blog-sidebar {
		margin:0 15px 18px 0;
		border:1px solid #000;
		padding-top:15px;
		}
		#column-right #blog-sidebar ul { padding-left:0; }
		#column-right #blog-sidebar p, 
		#column-right #blog-sidebar h1, 
		#column-right #blog-sidebar h2, 
		#column-right #blog-sidebar h3, 
		#column-right #blog-sidebar ul, 
		#column-right #blog-sidebar dl { margin:0 15px 15px 15px; }
		
	
/* ----- bottom-wrap ----- */
 
body#index #bottom-wrap {
	clear:both;
	width:911px;
	}

#bottom-wrap {
	clear:both;
	width:911px;
	}
	
#content-wrap {
	background:url("images/bottom-wrap-sub.jpg") bottom right no-repeat;
	padding-bottom:9px;
	}

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

#header-graphic { height:238px; background:url("images/header.jpg"); } 

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

#subhead { height:51px; } /* sets height for all non-flash subheads */

	body#index #subhead { background:url("images/subhead-index.jpg"); }
	body#about-us #subhead { background:url("images/subhead-about.jpg"); }
	body#services #subhead { background:url("images/subhead-services.jpg"); }
	body#technology #subhead { background:url("images/subhead-technology.jpg"); }
	body#hearing-loss #subhead { background:url("images/subhead-hearing-loss.jpg"); }
	body#general #subhead { background:url("images/subhead-general.jpg"); }
	body#hearing-aids #subhead { background:url("images/subhead-hearing-aids.jpg"); }
	body#hearing-test #subhead { background:url("images/subhead-hearing-test.jpg"); }
	body#library #subhead { background:url("images/subhead-library.jpg"); }
	body#clinical-studies #subhead { background:url("images/subhead-clinical-studies.jpg"); }
	body#contact #subhead { background:url("images/subhead-contact.jpg"); }
	body#thankyou #subhead { background:url("images/subhead-thankyou.jpg"); }
	body#links #subhead { background:url("images/subhead-links.jpg"); }
	body#tooth-whitening #subhead { background:url("images/subhead-teeth-whitening.jpg"); }


/* ------------------------ title framework with varying heights ------------------------- */
#title-dental-spa {
	height:53px;
	background:url("images/title-dental-spa.jpg") ;
	}
	
#title-hearing-test{
	height:53px;
	background:url("images/title-hearing-test.jpg") ;
	}
	
#title-smile-makeovers {
	height:72px;
	background:url("images/title-smile-makeovers.jpg") ;
	}

#title-ftrd-technology {
	height:98px;
	background:url("images/title-ftrd-technology.jpg") ;
	}

#title-qcontact {
	height:65px;
	background:url("images/title-qcontact.jpg") ;
	}
	
#title-qnews {
	height:65px;
	background:url("images/title-qnews.jpg") ;
	}


/* ------------------------------------- Buttons ---------------------------------------- */
#btn-ftrd-patient {
	width:262px;
	height:191px;
	display:block;
	background:url("images/btn-ftrd-patient.gif") no-repeat;	
	}

	#btn-ftrd-patient span { display:none; }


/* footer
 * ------------------------------------------------------------------------- */
 
#footer-wrap {
	background:#3c6478 url("images/bg-footer.jpg") top repeat-x;
	width:100%;
	padding:25px 0 5px 0;
	clear:both;
	}

#footer {
	width:911px;
	margin:0 auto;
	text-align:center;
	color:#fff;
	}
	
#footer a { color:#fff; }

#footer p {
	margin:0 20px 18px 20px;
	}

#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;
	display: inline;
	border-left: 1px solid #fff;
	}

	#footer li.first { border: none; }

/* Horizontal Sprite Nav
 * ------------------------------------------------------------------------- */

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

#nav span { display: none; }

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

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

#nav-01 { width: 85px;}
#nav-02 { width: 76px;}
#nav-03 { width: 83px;}
#nav-04 { width: 89px;}
#nav-05 { width: 77px;}
#nav-06 { width: 91px;}
#nav-07 { width: 85px;}
#nav-08 { width: 85px;}
#nav-09 { width: 85px;}
#nav-10 { width: 56px;}
#nav-11 { width: 95px;}


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("images/nav.jpg") 0px -51px no-repeat; }
#nav-02 a:hover { background:url("images/nav.jpg") -85px -51px no-repeat; }
#nav-03 a:hover { background:url("images/nav.jpg") -161px -51px no-repeat; }
#nav-04 a:hover { background:url("images/nav.jpg") -244px -51px no-repeat; }
#nav-05 a:hover { background:url("images/nav.jpg") -333px -51px no-repeat; }
#nav-06 a:hover { background:url("images/nav.jpg") -410px -51px no-repeat; }
#nav-07 a:hover { background:url("images/nav.jpg") -501px -51px no-repeat; }
#nav-08 a:hover { background:url("images/nav.jpg") -586px -51px no-repeat; }
#nav-09 a:hover { background:url("images/nav.jpg") -671px -51px no-repeat; }
#nav-10 a:hover { background:url("images/nav.jpg") -756px -51px no-repeat; }
#nav-11 a:hover { background:url("images/nav.jpg") -812px -51px no-repeat; }


/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#index #nav-01 { background:url("images/nav.jpg") 0px -51px no-repeat; }
body#about-us #nav-02 { background:url("images/nav.jpg") -85px -51px no-repeat; }
body#services #nav-03 { background:url("images/nav.jpg") -161px -51px no-repeat; }
body#hearing-loss #nav-04 { background:url("images/nav.jpg") -244px -51px no-repeat; }
body#hearing-aids #nav-05 { background:url("images/nav.jpg") -333px -51px no-repeat; }
body#hearing-test #nav-06 { background:url("images/nav.jpg") -410px -51px no-repeat; }
body#technology #nav-07 { background:url("images/nav.jpg") -501px -51px no-repeat; }
body#library #nav-08 { background:url("images/nav.jpg") -586px -51px no-repeat; }
body#clinical-studies #nav-09 { background:url("images/nav.jpg") -671px -51px no-repeat; }
body#links #nav-10 { background:url("images/nav.jpg") -756px -51px no-repeat; }
body#contact #nav-11 { background:url("images/nav.jpg") -816px -51px no-repeat; }

/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:0; /* Fixes one px spacing for border-right in FF */
	background-color:#e1dfbd;	/* 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 #305265;
	border-top:none;
	background-color:#e1dfbd;
	}	

#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:#000;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-07 ul li a:hover { 
	background-image:none;
	background-color:#f8f7ed;
	color:#000;
	text-decoration:none;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-07 ul li { width:100px; }

/* Media Snippet
 * ------------------------------------------------------------------------- */
 
#media-snippet {
	background:url("images/bg-snippet.jpg") top no-repeat;
	height:125px;
	}
	
	#media-snippet ul { position:relative; }
		#media-snippet li.snippet-mc { 
			position:absolute;
			width:135px;
			left:36px;
			top:55px; 
			}
		#media-snippet li.snippet-gallery { 
			position:absolute;
			width:135px;
			left:333px;
			top:55px; 
			}
		#media-snippet li.snippet-ctc { 
			position:absolute;
			width:135px;
			left:637px;
			top:55px; 
			}

/* Featured Videos
 * ------------------------------------------------------------------------- */
 
#featured-videos {
 	background:url("images/bg-ftrd-videos.jpg") no-repeat;
	height:282px;
	}
	
/* Banner
 * ------------------------------------------------------------------------- */

#banner-better-smile {
	background:url("images/banner-better-smile.jpg");
	height:112px;
	}

/* Index Procedure Pods
 * ------------------------------------------------------------------------- */

#pods-procedures {
	background:url("images/bg-pods.jpg");
	width:649px;
	}
	
	#column-left #pods-procedures p,
	#column-left #pods-procedures h1,
	#column-left #pods-procedures h2,
	#column-left #pods-procedures h3 {
		margin:0 0 18px 0;
		}
		
	
	.pod-left {
		width:246px;
		float:left;
		padding:0 30px 0 55px;
		}
		
	.pod-right {
		width:258px;
		float:left;
		padding:0 35px 0 25px;
		}
		
/* Gallery On-page layout
 * ------------------------------------------------------------------------------------- */
#wrap-gallery {
	width:615px;
	margin:0 0 0 28px;
	padding:0;
	}
	
	#procedure-list { display:none; }

#procedure-list ul { padding-left:5px; } 
		#procedure-list ul li { 
			background:transparent url("images/bullet.gif") 0px 10px no-repeat;
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}

#procedure-subhead { /* DO NOT change the name of this id.  It is linked to the gallery.php page */
	margin:0 0 10px 10px;
	}

	#procedure-subhead p.h1 {
		padding:0;
		margin:0;
		text-align:left;
		font-size:1.2em;
		font-weight:bold;
		color:#000;
		}

#nav-gallery {
	}

#selection {
	float:left;
	padding:0 10px 0 10px;
	width:145px;
	}

	#selection select {
		background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
		border:1px solid #000;
		color:#000;
		width:200px; /* 5 pixles smaller than form width !important */
		height:22px;
		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:2px; /* horizontally position text in input/textarea field */
		font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; 
		font-size:1.0em;
		}

#case {
	margin:0 auto;
	}

#caption p {
	margin:0 20px 10px 20px;
	text-align:center;
	}
