/* Play nice with the WWW, validate me! */
/* clear floats */
* {
	margin: 0;
	padding: 0;
}/* sets all elements margin and padding to 0 */

.clear:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clear {
    display: inline-block;
}

html[xmlns] .clear {
    display: block;
}

* html .clear {/* For IE =< 6 */
    height: 1%;
}


.image-float-left {
	float: left;
	clear: left;
	display: block;
}
.image-float-right {
	float: right;
	clear: right;
	display: block;
	margin-bottom: 5px;
	margin-left: 10px;
	margin-right: 5px;
}
.image-float-sub {
	float: right;
	clear: right;
	display: inline;
	margin-right: 30px;
	margin-bottom: 10px;
}


/* Image Replacement -- add class="replace" to root element, i.e. <p> and add a bg image*/

.replace { letter-spacing : -1000em; }
/* Just for Opera, but hide from MacIE */
/*\*/html>body .replace { letter-spacing : normal; text-indent : -999em; overflow : hidden;}
/* End of hack */

.replace ul, .replace ul li {letter-spacing: 0; text-indent: 0; overflow: auto;}


html {
     /*overflow: -moz-scrollbars-vertical;*/
}


body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-image: url(images/bkd.gif);
	background-repeat: repeat-x;
	background-color: #ffffff;	
}
p{
	margin-top: 2px;
	margin-bottom:15px;
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;
	font-weight: normal;
}
#main li{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-left: 40px;
	list-style: outside;
	line-height:19px;
}
#main ul{
	margin-bottom:15px;
}
#main ol{
	margin-bottom:15px;
}
a:link, a:visited{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}
 a:hover{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}
.welcome{color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 17px;
	font-weight: bold;
	line-height: 19px;}
.welcomesmall{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 19px;
	font-weight: bold;
}

#footer{
	width: 100%;
	clear: both;
	min-height: 152px;
	background: #d3d3d3 url(images/footer_bkd2.gif) 0 0 repeat-x;
	padding-bottom: 25px;
}

#footernav {
	width: 760px;
	margin: 10px auto;
	height:152px;
	padding: 0px;
}
#footernav .inner {
	padding-top:56px;
}
.footerguide {
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
		font-weight: normal;
	text-align:left;
	line-height: 12px;
}
.footerguide a:link, .footerguide a:visited{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height: 12px;
		font-weight: normal;
	text-align:left;
	text-decoration: none;
}
.footerguide a:hover{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: normal;
	text-align:left;
	text-decoration: underline;
}			
.footertext {color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 13px;
	text-align:left;
	margin-top:0px;
}
#design a:link, #design a:visited{
	color: #000000;
	line-height: 9px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-align:left;
	text-decoration:none;
}

#design a:hover{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	text-align:left;
	text-decoration:underline;
}
h1{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
		color: #000000;
	font-weight: bold;
	overflow: hidden;
	position: relative;
	text-transform: uppercase;
	behavior: url(iepngfix.htc);
}
h1 span{
background-repeat: no-repeat; 
height: 100%; 
position: absolute; 
width: 100%;
}
/* headings */#h-office,#h-doc,#h-team,#h-policies,#h-tour,#h-events,#h-ortho,#h-why,#h-adults,#h-child,#h-phase,#h-treat,#h-dento,#h-dic,#h-ask,#h-resources,#h-braces,#h-life,#h-types,#h-apps,#h-expander,#h-diagram,#h-painter,#h-brush,#h-retainers,#h-invis,#h-inovation,#h-surg,#h-care,#h-game,#h-contact,#h-location,#h-comment,#h-appt,#h-site,#h-blog{
	line-height: 0px;
	height: 68px;
	width: 550px;
	margin-bottom:15px;
}
#h-office{background: url(images/title_office.jpg);}
#h-doc{background: url(images/title_doc.jpg);}
#h-team{background: url(images/title_team.jpg);}
#h-policies{background: url(images/title_policy.jpg);}
#h-tour{background: url(images/title_tour.jpg);}
#h-events{background: url(images/title_events.jpg);}
#h-ortho{background: url(images/title_ortho.jpg);}
#h-why{background: url(images/title_why.jpg);}
#h-adults{background: url(images/title_adults.jpg);}
#h-child{background: url(images/title_child.jpg);}
#h-phase{background: url(images/title_phase.jpg);}
#h-treat{background: url(images/title_treat.jpg);}
#h-dento{background: url(images/title_dento.jpg);}
#h-dic{background: url(images/title_dic.jpg);}
#h-ask{background: url(images/title_ask.jpg);}
#h-resources{background: url(images/title_resources.jpg);}
#h-braces{background: url(images/title_braces.jpg);}
#h-life{background: url(images/title_life.jpg);}
#h-types{background: url(images/title_types.jpg);}
#h-apps{background: url(images/title_apps.jpg);}
#h-expander{background: url(images/title_expander.jpg);}
#h-diagram{background: url(images/title_diagram.jpg);}
#h-painter{background: url(images/title_painter.jpg);}
#h-brush{background: url(images/title_brushing.jpg);}
#h-retainers{background: url(images/title_retainers.jpg);}
#h-invis{background: url(images/title_invis.jpg);}
#h-inovation{background: url(images/title_inovation.jpg);}
#h-surg{background: url(images/title_surg.jpg);}
#h-care{background: url(images/title_care.jpg);}
#h-game{background: url(images/title_game.jpg);}
#h-contact{background: url(images/title_contact.jpg);}
#h-location{background: url(images/title_location.jpg);}
#h-comment{background: url(images/title_comment.jpg);}
#h-appt{background: url(images/title_appt.jpg);}
#h-site{background: url(images/title_site.jpg);}
#h-blog{background: url(images/title_blog.jpg);}



h2{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000000;
	font-weight: bold;
}
h3{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
		color: #003399;
	font-weight: bold;
}
blockquote{margin-left:35px;}


#sidebar {
	width: 184px;
	height:123px;
	float: left;
	background-image: url(images/sidebar_home.jpg);
	background-repeat: no-repeat;
}
#sidebar .inner {
}
#sidebar ul li{list-style:none;}
#sidebar a {
display: block;
overflow: hidden; 
text-indent: -999em; /* Indents the rich-text so it does not show */
}

#social-icons {
text-align:center;
margin-top:18px;
}
#social-icons a, #social-icons img {
display:inline;
text-indent:0;
border:none;
}

#banner_appt {
	width: 184px;
	height:118px;
	margin-top:-3px;
	background-image: url(images/banner_appt.jpg);
	background-repeat: no-repeat;
}
#banner_appt2 {
	width: 184px;
	height:118px;
	margin-top:-3px;
	background-image: url(images/banner_appt2.jpg);
	background-repeat: no-repeat;
}
#banner_images{
	width: 184px;
	/*height:170px;*/
	height:330px;
	margin-top:-2px;
	background-image: url(images/banner_images.jpg);
	background-repeat: no-repeat;
}
#sidebar p {
margin-left:12px;
	color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 13px;
	font-weight: bold;
}
.arrow{
float:left;
position:relative;
margin-top:-98px;
margin-left:12px;}

#nav-column {
	width: 760px;
	height: 37px;
	float: left;
	margin: 0;
}
#nav-column .inner {
	margin: 0;
}

ul#nav, #nav ul  {
width: 760px;
	height: 37px;
list-style: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
}

ul#nav a {
	display: block;
}
ul#nav li {
	position: relative;
	float: left;
	z-index:10;
}
ul#nav li ul {
	position: absolute;
	left: -999em;
	top: 37px;
	width:150px;
	z-index:10;
}

ul#nav ul li a {
	font-size:11px;
	background: #d5d4d4;
	padding: 4px 4px 5px 8px;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	width:150px;
}
ul#nav ul li a:hover {
background:#000e2a;
	color: #ffffff;
}
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}
#office, #braces, #care, #ortho, #contact, #games, #home {
	overflow: hidden; 
	text-indent: -999em; /* Indents the rich-text so it does not show */
	height: 37px;
	cursor: pointer;
}
/* Set the image for each nav item */
#office {background: url(images/office.jpg);
width:136px;}
#braces {background: url(images/braces.jpg);
width:90px;}
#care {background: url(images/care.jpg);
width:128px;}
#ortho {background: url(images/ortho.jpg);
width:154px;}
#contact {background: url(images/contact.jpg);
width:90px;}
#games {background: url(images/game.jpg);
width:116px;}
#home {background: url(images/home.jpg);
width:46px;}

/* Shift the image position up to show the active state */
#nav a:hover, #nav .active{
	background-position:0px -37px
}

/* Set the cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}


/* Image Replacement */


#container{
	width: 760px;
	margin:auto auto 15px;
}
#content {
width: 760px;
min-height:390px;
_height: 390px; /* for IE6 */
}

#main {
	float: right;
	width: 550px;
	min-height:250px;
}
#main .inner {
	margin: 0px;
	padding-top: 17px;
}
#header{
	width: 760px;
	height:145px;
	
}
.tagline{
	float:right;
	height: 145px;
	width: 307px;
}

#logo {
float:left;
clear:right;
	width: 331px;
	height: 145px;
	
}
#logo a {
	display: block;
	width: 331px;
	height: 145px;
	text-indent: -999em;
	background-image: url(images/logo.png);
	background-repeat: no-repeat;
	cursor:pointer;	
}
#forms {
	float: right;
	clear: right;
	display: block;
	background-color: #dfdede;
	width: 200px;
	margin-top: 15px;
	margin-left: 10px;
	margin-right: 4px;
	border: 4px solid #003399;
}
#forms li{
color: #000000;
text-align:left;
}
.formtext{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height: 16px;
	margin-left: 11px;
	margin-right: 10px;
	display: block;
}
h5{font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
		color: #000000;
	font-weight: bold;
	margin-top:5px;
	margin-left:5px;}

ul.formlist,.formlist ul{
	margin-bottom:9px;
	margin-left:6px;
	margin-top:4px;
}

.formlist a:link, .formlist a:visited{
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height:20px;
	font-weight: bold;
	text-decoration: underline;
}

.formlist a:hover{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	line-height:20px;
	text-decoration: underline;
}
.top{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:link, .top a:visited{
	color: #003399;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
.top a:hover{
		color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: right;
	font-weight: bold;
	text-decoration: underline;
}
hr{
	color: #003399;
	margin-bottom:10px;
}
#home_movie{margin-bottom:6px;
background:url(images/millerLathe_flashBG.jpg) no-repeat top left transparent;
width:538px;
height:233px;}

div#sesame-game {
background: #000;
line-height: 0;
margin: 10px auto;
text-align: center;
width: 400px}

ul#sesame-games {
list-style: none;
margin: 0;
padding: 0}

ul#sesame-games li {
list-style: none;
clear: both;
margin-left:0px;
display: inline-block}

ul#sesame-games img {
border: 0;
float: right;
margin: 0 0 10px 10px}

ul#sesame-games p {
padding-bottom: 1em}
.left {
float:left;
margin:0 10px 10px 0;}
img.right {
float:right;
margin:0 0 10px 10px;}
.clear {
clear:both;}
h2.media-center {
background:#000033;
color:#FFF;
margin:0;
padding:5px;}
h3.media-center {
color:#FFF;
padding-bottom:7px;
}
div.media-center {
background:#336699;
color:#FFF;
display:inline-block;
margin-bottom:10px;
padding:10px;
width:530px;}

div.media-center a {
color:#FFF;}
div.media-center img {
border:1px solid #FFF;}

p.flashalert	{
background:#fff4a7;
border:#ffe538 1px solid;
padding:7px;
}
#sub  {
	width:429px;
	height:145px;
	overflow: hidden;
	float:right;
	background-image: url(images/header_bkd2.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}
ul#navsub {
	height: 21px;
	list-style: none;
	float:right;
	display:inline;
	margin-right:55px;
}

/*  Makes the list items sit next to each other */
#navsub li {
	float: left;
}

/*  Sets styles for all links that are inside the ul id="nav" */
#navsub a {
display: block;
height: 21px;
overflow: hidden; 
text-indent: -999em; /* Indents the rich-text so it does not show */
}

/* Set the image for each nav item */
#login {background-image: url(images/login.jpg);
width:125px;
height:21px;
margin-right:44px;
}
#doclogin {background-image: url(images/doclogin.jpg);
width:124px;
height:21px;
}

/* Shift the image position up to show the active state */
#navsub a:hover, #navsub .active {
	background-position:0px -21px;
}

/* Set the cursor to default arrow so link does not appear clickable */
#navsub .active {cursor: default}
