/* @override 
	http://rmwebsite.com/dariencosmeticdentistry/css/layout.css
	http://www.dariencosmeticdentistry.com/css/layout.css
*/

/* 
 ----------------------------------------------------------------------------
  Copyright Rosemont Media 2009. 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:#000 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/17px Arial, Helvetica, sans-serif; 
	color:#fff;
	}

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

h1	{ font-size:1.2em; color:#fff; }
h2	{ font-size:1.1em; color:#6DCCAF; }
h3	{ font-size:1.0em; color:#FFFCBA; }

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

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

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

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

p.back-to-top {
	text-align:right;
	display:block;
	padding: 0px 15px 2px 0;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 5px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:0px 0 5px 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:#EEFDFF !important; /* to prevent highlighting by Google Toolbar */
	border:0px solid #B4790C;
	color:#2A5B46;
	width:180px; /* 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:5px; /* vertically position text in input/textarea field */
	padding-left:7px; /* 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:57px; overflow:auto; }

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


/* ----- main contact form ----- */ 
 
#contact-main { margin:20px 0px 10px 10px; }

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:15px;
	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:177px; }
	
#contact-main label textarea { height:100px; overflow:auto; }


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

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

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

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


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

#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:760px;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:142px;
	}
	/* index page link within #masthead */		
	#masthead a {	
		position:absolute;
		left:47px;
		width:330px;
		top:40px;
		height:50px; 
		}
	#masthead a span {
		display:none;
		}

/* ----- content-left ----- */

#column-left {
	width:245px;
	float:left;
	}
	
	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left dl {
		margin:0 15px 10px 45px;
		}
	#column-left form { margin-left:45px; }
	
	/* single column list */
	#column-left ul { padding-left:0px; }
		#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 */
			}

	#procedures{
		background:url("../images/procedures.jpg") top no-repeat;
		padding:64px 0 0 50px;
		}
	#contact-us{
		background:url("../images/contactus.jpg") top no-repeat;
		padding-top:62px;
		}

			
/* ----- content-right ----- */

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

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right dl {
		margin:0 50px 10px 30px;
		}
	#column-right h1 {
		padding-top:75px;
		}
	#column-right h1.second-header{margin-top: -50px;}
	
	#column-right form { margin-left:15px; }
	
	#column-right ul { padding:0 0 10px 35px; }
	#column-right ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:12px; /* pushes text to the right to display bg img */
			}
			
	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#6DCCAF;
			margin-bottom: 8px;
			clear:both;
			}
		#column-right dl dd {
			margin: 0 0 10px 5px;
			width: 200px;
			float:left;
			}

	 
	/* multi column list */
	#location ul.locations { margin:64px 0 0 125px; } 
		#location ul.locations li { 
			background:none;
			float:left;
			width:160px;
			line-height:20px;
			}
			
	#subnav ul { padding:0 0 10px 10px; }
	#subnav ul li { 
			background:transparent url("../images/bullet.jpg") 0px 4px no-repeat;
			padding-left:12px; /* pushes text to the right to display bg img */
			margin-bottom:5px;
			}

	#subnav{
		float:right;
		background:url("../images/subnav.jpg") top no-repeat; 
		padding-top:43px; 
		width:176px; 
		margin:55px 35px 0 10px;
		}	
			#subnav a:link, #subnav a:visited{ color:#FFFCBA;}
			#subnav a:hover, #subnav a:active{ color:#EDA7A0;}
	
	#welcome{
		background:url("../images/subhead-welcome.jpg") top no-repeat;
		}
		#welcome h1.welcome{margin-right:190px;}
		#index-img-padd{ 
			margin:0 240px 0 30px; 
			}
	#sub-wrap{
		background:url("../images/sub-wrap.jpg") repeat-y;
		float:left;
		padding:0 30px 0 25px;
		}
		
	#meetdr{
		width:210px;
		float:left;
		}
	#results{
		width:200px;
		padding:25px 0 0 25px;
		float:left;
		}
	#location{
		background:url("../images/location.jpg") top no-repeat;
		float:left;
		clear:both;
		width:515px;
		}

#patient-forms{
		background:url("../images/bkgdPatientForms.jpg") top no-repeat;
		float:left;
		clear:both;
		width:515px;
		position: relative;
}
#patient-forms p {
	width: 175px;	
	margin: 80px 0 0 21px;
}

#adultForm {
	position: absolute;
	top: 44px;
	left: 248px;
}

#pediatricForm {
	position: absolute;
	top: 44px;
	left: 354px;
}

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	height:68px;
	clear:both;
	width:100%; /* fix for Safar */
	}

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

	body#index #header-graphic { background:url("../images/header-index.jpg") top no-repeat; height:245px; }
	#smile #header-graphic { background:url("../images/header-gallery.jpg"); height:194px; }
	#header-graphic { background:url("../images/header-inside.jpg"); height:194px; }
	#restorative #header-graphic { background:url("../images/header-restorative.jpg"); height:194px; }
	#cosmetic #header-graphic { background:url("../images/header-cosmetic.jpg"); height:194px; }
	#meet #header-graphic { background:url("../images/header-office.jpg"); height:194px; }
	#pediatric #header-graphic { background:url("../images/header-office.jpg"); height:194px; }

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

#subhead { } /* sets height for all subheads */

	body#meet #subhead { background:url("../images/subhead-meet.jpg") top no-repeat; }
	body#blog #subhead { background:url("../images/subhead-blog.jpg") top no-repeat; padding-top: 90px;}
	body#about #subhead { background:url("../images/subhead-about.jpg") top no-repeat; }
	body#cosmetic #subhead { background:url("../images/subhead-cosmetic.jpg") top no-repeat; }
	body#restorative #subhead { background:url("../images/subhead-restorative.jpg") top no-repeat; }
	body#general #subhead { background:url("../images/subhead-general.jpg") top no-repeat; }
	body#smile #subhead { background:url("../images/subhead-smile.jpg") top no-repeat; }
	body#contact #subhead { background:url("../images/subhead-contactus.jpg") top no-repeat; }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.jpg") top no-repeat; padding-top:75px;}
	body#sitemap #subhead { background:url("../images/subhead-sitemap.jpg") top no-repeat; }
	body#pediatric #subhead { background:url("../images/subhead-pediatric.jpg") top no-repeat; }



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

#subhead-contact {
	padding-top: 122px;
	background:url("../images/subhead-contact.jpg") top no-repeat;
	}
#subhead-location {
	height:150px;
	padding: 75px 0 0 15px;
	background:url("../images/subhead-location.jpg") top no-repeat;
	}
#locateus{
	padding-top:75px;
	background:url("../images/locateus.jpg") top no-repeat;
	}

/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	background:#2C5D4B;
	width:708px;
	margin-left:26px;
	text-align:center;
	padding: 10px 0 10px 0;
	}

#footer p {
	color:#6DCCAF;
	margin: 0 5px 10px 5px;
	}

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

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

#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 #ffffff;
	}

	#footer li.first { border: none; }

/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */
#nav { 
	background:url("../images/nav-inside.jpg") no-repeat; 
	width:760px; 
	height:51px; 
	margin:0;
	padding:0; 
}

#nav li, #nav a {
	display:block;
	text-align: center;
	color: #fff;
	text-decoration: none;
	height: 21px;
	line-height: 21px;
}

#nav li {
	float:left;
	list-style:none;
	display:inline;
	border-right: 1px solid;
	margin: 15px 0px;
	position: relative;
}

#nav li#nav-01 {
	width: 71px;
	margin-left: 26px;
}

#nav li:last-child {
	border: none;
}

#nav-02 { width: 118px;}
#nav-03 { width: 74px;}
#nav-04 { width: 72px;}
#nav-05 { width: 94px;}
#nav-06 { width: 92px;}
#nav-07 { width: 88px;}
#nav-08 { width: 90px;}

/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;
	background-color:#60af92;
}

#nav li ul li { 
	height:30px;
	border:1px solid #305f4d;
	border-top:none;
	margin: 0;
}

#nav li ul li:last-child {
	border:1px solid #305f4d;
	border-top:none;
}

#nav li ul li a {
	width:100%;
	height:30px;
	line-height:30px;
	text-align: left;
	text-indent: 15px;
}

#nav li ul li a span {
	display:block;
	padding-left:5px;
}

#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: 0px; }

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

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


/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */
#nav-inside { 
	background:url("../images/nav-inside.jpg") no-repeat; 
	width:760px; 
	height:51px; 
	margin:0;
	padding:0; 
}

#nav-inside li, #nav-inside a {
	display:block;
	text-align: center;
	color: #fff;
	text-decoration: none;
	height: 21px;
	line-height: 21px;
}

#nav-inside li {
	float:left;
	list-style:none;
	display:inline;
	border-right: 1px solid;
	margin: 15px 0px;
	position: relative;
}

#nav-inside li#nav-inside-01 {
	width: 71px;
	margin-left: 26px;
}

#nav-inside li:last-child {
	border: none;
}

#nav-inside-02 { width: 118px;}
#nav-inside-03 { width: 74px;}
#nav-inside-04 { width: 72px;}
#nav-inside-05 { width: 94px;}
#nav-inside-06 { width: 92px;}
#nav-inside-07 { width: 88px;}
#nav-inside-08 { width: 90px;}

/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav-inside li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px;
	background-color:#60af92;
}

#nav-inside li ul li { 
	height:30px;
	border:1px solid #305f4d;
	border-top:none;
	margin: 0;
}

#nav-inside li ul li:last-child {
	border:1px solid #305f4d;
	border-top:none;
}

#nav-inside li ul li a {
	width:100%;
	height:30px;
	line-height:30px;
	text-align: left;
	text-indent: 15px;
}

#nav-inside li ul li a span {
	display:block;
	padding-left:5px;
}

#nav-inside a:link, #nav-inside a:visited, #nav-inside a:hover, #nav-inside a:active {
	font-size:1.0em;
	color:#fff;
	text-decoration:none;
}

#nav-inside li:hover ul, #nav-inside li.sfHover ul { left: 0px; }

/* Hover styles for drop down items */
#nav-inside li ul li a:hover { 
	background-image:none;
	background-color:#305f4d;
	color:#fff;
	text-decoration:none;
}

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

#btnContactHome {
	display:inline;
	width:203px;
	height:58px;
	text-indent:-9999px;
	background:url(../images/btnContact.png) top left no-repeat;
	margin: 20px 0 0 40px;
	float: left;
}

#btnContact {
	display:inline;
	width:203px;
	height:58px;
	text-indent:-9999px;
	background:url(../images/btnContact.png) top left no-repeat;
	margin: 20px 0 0 -7px;
	float: left;
}

#btnContact:hover, #btnContactHome:hover { background:url(../images/btnContact.png) bottom left no-repeat; }

#btnFacebook {display:inline;
width:203px;
height:76px;
text-indent:-9999px;
background:url(../images/facebook.jpg) top left no-repeat;
margin: 20px 0 0 -7px;
float: left;}

#index #btnFacebook {margin: 20px 0 0 40px}