
/* ---------------------------------------------------------------------------------------------------------

Summerbrook Dental
http://www.summerbrookdental.com/

Code, Database Structure, Interactivity, and Management: Thomas Bright and Tony Scialdone
http://www.dotcomonomics.com/

Design by Matt Wallen
http://www.formandfunctionvisual.com/

--------------------------------------------------------------------------------------------------------- */

/* Universal Declarations */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent; }
body * { position: relative; }
html { background : url(null) fixed no-repeat; } 			/* this fixes an IE problem. Scrolling some pages causes corruption in the rendering. */
:focus { outline: 0; } 								/* remember to define focus styles! */
table { border-collapse: collapse; border-spacing: 0; } 		/* tables still need cellspacing="0" in the markup */

/* Colors

header blue 374b63

*/

/* Block Level Elements */

body {
	margin: 0;
	padding: 0 0 77px 0;
	background: #fff url(../images/bg_body.jpg) repeat-x left top;
	font-size: 100.01%;
	border-top: 1px solid #374b63; }

#header {
	margin: -2px auto 0 auto;
	width: 955px;
	height: 360px;
	background: url(../images/bg_header.jpg) no-repeat center top; }

#nav {
	top: 213px;
	margin: 0 auto;
	width: 798px;
	height: 52px;
	text-align: center; }

#wrap {
	top: -14px;
	margin: 0 auto;
	width: 955px;
	background: url(../images/bg_content.jpg) repeat-y left 42px;
	font: 0.7em/1.5em verdana, arial, sans-serif; }

*:first-child+html #wrap { top: 1px; } /* this is an IE7 hack */
#wrap { _top: 1px; } /* this is an IE6 hack */


#contentwrap {
	margin: -90px auto 0 auto;
	padding: 7px 0 49px 0;
	width: 800px; }

#primary {
	float: left;
	top: -43px; 
	left: 3px;
	padding-bottom: 77px;
	width: 499px; }

#secondary {
	float: right;
	top: -43px; 
	right: 21px;
	padding-top: 14px;
	width: 250px; }

#footer {
	clear: both;
	margin: 0 auto;
	width: 865px;
	height: 83px;
	background: url(../images/bg_footer.jpg) no-repeat center top; }


/* Nav Styles */

#nav li {
	list-style-type: none;
	display: block;
	display: inline;
	margin: 49px 0 0 0;
	padding: 0 14px;
	line-height: 46px;
	border-right: 1px solid #fff; }
#nav a:link,
#nav a:visited,
#nav a:active {
	text-decoration: none;
	font-size: 118%;
	font-weight: bold;
	color: #c0c0c0;
	text-transform: uppercase;
	letter-spacing: -1px; }
#nav a:hover { color: #fff; }

#nav li.home {
	margin-left: 0;
	border-left: 1px solid #fff; }

*:first-child+html #nav li { line-height: 18px; } /* this is an IE7 hack */
#nav li { _line-height: 18px; } /* this is an IE6 hack */


a:link,
a:visited,
a:active {
	text-decoration: underline;
	font-size: 100%;
	color: #00f; }
a:hover {
	text-decoration: none;
	color: #f00; }

#contactBlock a:link,
#contactBlock a:visited,
#contactBlock a:active {
	font-size: 85%;
	font-weight: bold;
	color: #fff;
	text-decoration: none; }

#contentBlock a:hover { color: #9cc3e1; }

a#login {
	color: #fff;
	text-decoration: none; }
	
a#sitemap {
	display: block; display: inline;
	margin-left: 28px; 
	color: #fff; }
	
#dco {
	display: block;
	margin: 21px auto; 
	text-align: center; }

/* Branding */

#branding {
	top: -8px; left: 2px;
	width: 798px;
	height: 320px; }

#brandingImg {
	display: block;
	float: left; }
	
#dco_rotate {
	margin: 4px 0 0 21px; 
	width: 500px;
	height:211px; }

#branding ul {
	list-style-type: none;
	list-style-position: inside;
	float: right;
	right: 15px;
	margin: 28px 0 0 0;
	padding: 0;
	width: 250px; }

#branding li {
	margin: 0 0 7px 0;
	text-align: center; }

#branding li.invitation {
	font-weight: bold;
	font-size: 118%;
	color: #374b63; }

#branding li.phone {
	font-size: 244%;
	color: #374b63; }

#divider {
	clear: both;
	margin: 0;
	width: 100%;
	height: 71px;
	background: url(../images/bg_divider.jpg) no-repeat left top;
	font-size: 200%;
	line-height: 71px;
	color: #fff;
	text-indent: 49px; }

#contactBlock {
	float: right;
	padding-top: 14px;
	width: 222px;
	height: 152px;
	background: url(../images/bg_contact.jpg) no-repeat left top; }

*:first-child+html #contactBlock { padding-top: 28px; } /* this is an IE7 hack */
#contactBlock { _padding-top: 28px; } /* this is an IE6 hack */


/* Headlines */

h1 {
	margin: 14px 0 0 28px;
	font: bold 200%/1.5em arial, sans-serif;
	color: #374b63;
	letter-spacing: -1px; }

h2 {
	margin: 35px 0 0 28px;
	font: normal 164%/1.5em arial, sans-serif;
	color: #374b63; }
	
h2#divider { margin: 0 0 0 0; text-indent: 28px; }

h3 {
	margin: 21px 0 0 28px;
	font: bold 145%/1.5em arial, sans-serif;
	color: #374b63;
	letter-spacing: -1px;	}
h4 {
	margin: 21px 0 0 28px;
	font: bold 136%/1.5em arial, sans-serif;
	color: #374b63;
	letter-spacing: -1px;	}
h5 {
	margin: 21px 0 0 28px;
	font: bold 136%/1.5em arial, sans-serif;
	color: #374b63;
	letter-spacing: -1px; }

h1+h2 { margin-top: 14px; }

h1+p, h1+ul, h1+ol, h1+dl,
h2+p, h2+ul, h2+ol, h2+dl,
h3+p, h3+ul, h3+ol, h3+dl,
h4+p, h4+ul, h4+ol, h4+dl,
h5+p, h5+ul, h5+ol, h5+dl { margin-top: 4px; }



/* Paragraphs */

p {
	margin: 1.5em 14px 0 28px;
	line-height: 1.5em;
	text-align: justify; }

#footer p {
	margin: 0;
	padding: 0;
	height: 83px;
	line-height: 72px;
	color: #fff;
	text-align: center; }

.pMargin { margin-top: 1.5em; }



/* Definition Lists */

dl {
	list-style-position: inside;
	margin: 1.5em 28px 0 35px; }

dt {
	font-weight: bold;
	font-size: 1.18em; }

dd {
	margin-left: 35px; }

dl#address {
	clear: both;
	float: right;
	right: 11px;
	margin: 0;
	padding: 0;
	width: 200px;
	color: #374b63; }

dl#address dt { color: #374b63; }

dl#address dd { margin-left: 0; }


/* Ordered Lists */

ol {
	list-style-position: inside;
	margin: 1.5em 28px 0 42px; }

ol li { text-align: justify; }

/* Unordered Lists */

ul { margin: 14px 49px; }
p+ul { margin-top: 4px; }



/* Blockquotes */

blockquote {
	margin: 1.37em 21px 0 21px;
	border-top: .015em solid #666; border-bottom: .015em solid #666; }

blockquote p {
	margin: 0;
	padding: 1.5em;
	background: url(../images/quotes.gif) no-repeat 5px 10px;
	font-weight: bold;
	color: #374b63; }

/* Forms */

form {
	margin: 21px;
	border: 1px solid #666; }

#contactform { 
	width: 100%; 
	color: #666; 
	border: 0; }

#contactform strong { color: #374b63; }
	
#leftside { 
	display: block;
	float: left;
	margin-bottom: 21px;
	width: 250px; 
	border-left: 1px solid #ddd; }
#contactform #leftside label {
	margin: 0 0 7px 0; }	
	
#toprightfields {
	display: block;
	clear: both;
	margin-bottom: 21px;
	padding-left: 49px; 
	width: 250px; 
	border-left: 1px solid #ddd; }
	
#toprightfields input { 
	margin: 0 0 7px 0;
	border: 0; }
	
#bottomrightfields { 
	display: block;
	float: right;
	right: 14px;
	width: 200px; }	
#bottomrightfields input { 
	display: block; 
	border: 0; }
	
#preferredDay, 
#preferredTime { 
	clear: both;
	display: block;
	margin: 28px 0 0 0; }

#preferredDay label, #preferredTime label { 
	display: inline;
	float: left; }
	
#preferredDay label.instructions, #preferredTime label.instructions { display: block; }
label.break { clear: both; float: left; }
	
#contactform #preferredDay span, #contactform #preferredTime span { 
	display: block;
	float: left;
	margin-left: 21px; 
	width: auto; }
	
#preferredDay input, #preferredTime input {
	display: block; 
	float: left;
	margin: 2px 7px 0 7px; 
	width: auto; }
	
#contactform label {
	display: block;
	margin: 0px 0 0 0;
	height: 25px; }

#contactform label span {
	display: block;
	float: left;
	width: 90px;
	line-height: 20px;
	text-align: right; }

input {
	display: block;
	float: right;
	width: 140px;
	height: 18px;
	font: 100%/18px arial, sans-serif; 
	color: #374b63; }

#desc {
	display: block;
	margin-top: 28px; 
	height: auto; }
	
#desc textarea {
	clear: both;
	display: block;
	margin: 0;
	padding: 4px;
	height: 100px;
	width: 500px;
	font: 118%/18px arial, sans-serif;
	color: #374b63; 
	overflow: auto; }

input.submit {
	clear: both;
	display: block; 
	float: left;
	margin: 14px 0 0 14px; 
	width: auto;
	height: auto; }
	
	
form#invisalignContact {	
	margin: 21px 0 21px 14px; 
	border: 0; }
	
form#invisalignContact p {
	margin: 0 0 14px 0;
	padding: 0;
	text-align: left; }
	
form#invisalignContact label {
	clear: both;
	display: block; 
	margin: 14px 0 0 0; }
	
form#invisalignContact input.button {
	clear: both;
	display: block; 
	float: right;
	margin: 14px 0 0 14px; 
	padding: 7px 14px;
	vertical-align: middle;
	width: auto; 
	height: auto; }
	
form#invisalignContact input.radio {
	float: left; 
	top: -4px; 
	width: auto; }
	
form#invisalignContact label.horiz {
	clear: none;
	float: left;
	width: auto; }

form#invisalignContact label.clear { clear: both; margin-top: 42px; }
	
form#invisalignContact label.yes { margin-right: 7px; }

form#invisalignContact select { margin: 0 0 21px 0; }


/* Tables */

table {
	table-layout: fixed;
	width: 100%;
	overflow: hidden; }


/* Classes and Stuff */

.bold { font-weight: bold; }
em { font-style: italic; }
.right { text-align: right; }
.left { text-align: left; }



