/* HTML, BODY ---------- */
html {height: 100%;}
body {background: #8FA753 url(../images/tile.jpg) repeat-x 0 0; margin: 0;}
* {margin:0; padding:0;}

/* TEXT ---------- */
body {color: #544915; font: 12px/20px Tahoma, Helvetica, sans-serif; text-align:left;}
p {padding: 0px 0 15px 0px;}

/* HEADERS ---------- */
#social {
	position: absolute;
	top: 64px;
	left: 1px;
}
/* jcIR Styles --------- */
h1.jcir {/* standard styles for your headings if image replacement not-available */
color: #cd890c; font-family:century Gothic, Arial, sans-serif; font-size: 30px; line-height: 36px;}
h1.replaced {/* jcIR plugin wraps text in div named replaced and hides it */overflow: hidden; text-indent: -999em; background-repeat: no-repeat;}	
h2{color: #506618; padding: 0 0 10px 0; font-size: 16px;}
h3{	color: #cd890c; padding: 0; font-size:14px;}

/* LISTS ---------- */
ol, ul {padding:0 0 10px 20px;}

/* LINKS ---------- */
a {color: #ab730d; text-decoration: underline; text-transform:none;}
a:visited {color: #ab730d; text-decoration: underline; }
a:hover {color: #ab730d; text-decoration: none; text-transform:none;}
#logo {position:absolute; top:66px; left:250px; width: 299px; height: 78px; display: block; background: url(../images/logo.gif) no-repeat; }
#logo a{width: 299px; height: 78px; display: block;}
#facebook {position:absolute; top:670px; left:45px; width: 130px; height: 50px; display: block; background: url(../images/logos/facebook.png) no-repeat 0 0; z-index:100; }
*html #facebook {background-image: url(../images/logos/facebook.gif); }
#facebook a{width: 130px; height: 50px; display: block;}
#patient-login {position:absolute; top:530px; left:45px; width: 130px; height: 50px; display: block; z-index:100; }
#patient-login a:hover {background: url(../images/pt-login2.png) no-repeat 0 0;}
*html #patient-login {background-image: url(../images/pt-login.gif); }
#patient-login a{width: 130px; height: 50px; display: block; background: url(../images/pt-login.png) no-repeat 0 0;}
#dr-login a{width: 130px; height: 50px; display: block; background: url(../images/dr-login.png) no-repeat 0 0;}
#dr-login {position:absolute; top:600px; left:45px; width: 130px; height: 50px; display: block; z-index:100; }
#dr-login a:hover {background: url(../images/dr-login2.png) no-repeat 0 0;}

#footer a {color: #754c24; font-style:normal;}

/* nav ---------- */
#nav{position:absolute; top:191px; left:1; padding-top:17px; width:223px; display:block; z-index: 100; background:url(../images/nav-bg.gif) no-repeat top left;min-height:841px; _height: 841px;}
#nav a {display: block;  height: 30px; overflow: hidden; text-indent: -999px; width: 222px;}
#nav ul{padding:0;}
#new-patients {background: url(../images/nav/new-patients.gif) 0 0;}
#testimonials {background: url(../images/nav/testimonials.gif) 0 0;}
#about-orthodontics {background: url(../images/nav/about-orthodontics.gif) 0 0; }
#faq {background: url(../images/nav/faq.gif) 0 0;}
#about-braces {background: url(../images/nav/about-braces.gif) 0 0; }
#treatment-options {background: url(../images/nav/treatment-options.gif) 0 0;}
#emergency-care {background: url(../images/nav/emergency-care.gif) 0 0;}
#contact-us {background: url(../images/nav/contact-us.gif) 0 0; }
#home {background: url(../images/nav/home.gif) 0 0;}
#nav ul li:hover a, #nav li.sfhover a,#nav a:hover, #nav .active {background-position: -222px 0;}
#nav li.active a {background-position: -222px 0;}

/* DROP-DOWN-NAVIGATION ----------------*/
#nav li {display: inline; z-index:100; margin:0; padding:0;}
#nav li ul { /* second-level lists */margin: -30px 0 0 222px; padding:0; width: 160px; position: absolute;background: #a9c16b; left: -999em; line-height: 28px; font-size: 12px; height: auto; border: 1px solid #544915;}
#nav li ul a {list-style-image:none; padding: 0 0 0 10px;width: 150px; color: #000; text-indent: 0;text-decoration: none; height: auto;}
#nav li:hover ul, #nav li.sfhover ul {left: auto;display:block;z-index:100;}
#nav li:hover ul a:hover, #nav li.sfhover ul a:hover {background: #e1fba0;}

/* SUBNAV ----------------*/
#subnav{color: #ab730d;}
#subnav ul{list-style:none; padding: 0 0 20px 0; margin-left: -7px;}
#subnav li{display:inline; white-space:nowrap;float: left; margin: 0; list-style:none;}
#subnav li a{color: #ab730d; text-decoration: underline; padding: 0 7px 0 7px; border-right: 1px solid #ab730d;}
#subnav li a:visited {text-decoration: underline; }
#subnav li a:hover, .subnav li a.active {font-weight:normal; text-decoration:none;}
#subnav li.last a{padding-right: 0; border-right: none;}

/* TEXT NAV ----------------*/
.text_nav {line-height: 18px;}
.text_nav a{color: #754c24; text-decoration: none; font-style:normal; text-transform: uppercase;}
.text_nav a:visited {text-decoration: none; font-style:normal; }
.text_nav a:hover, .sub_nav a.active {font-weight:normal; text-decoration:underline; font-style:normal;}

/* LAYOUT ---------- */
.clear{clear:both;}
.hide {display:none;}
.flash-replaced .alt {display: none;}
div.hr { background: #3c362e; clear: both; height: 1px; margin: 20px 0; width: 100%; }
div.hr hr { display: none; }
#main {position: relative; background: url(../images/main-tile.gif) repeat-y; width: 778px; margin: 0 auto;	border-right: 1px solid #754c24; border-bottom: 5px solid #754c24; border-left: 1px solid #754c24;}
#header {height: 190px; width: 778px; display:block; background: url(../images/header-bg.jpg) no-repeat 0 0; border-bottom: 1px solid #506618;}
#office-address{position: absolute; top: 23px; left: 589px; font-size: 11px; line-height:16px; color:#cd890c; width: 145px; text-align:right;}
#office-address a{text-decoration: none; color:#cd890c;}
#office-address a:visited{text-decoration: none; color:#cd890c;}
#office-address a:hover{text-decoration: underline; color:#cd890c;}
#call-us{overflow:hidden; text-align:left; width: 170px; height: 33px; padding-bottom: 9px; font-weight: bold; font-size: 14px;}
#toll-free{overflow:hidden; text-align:left; width: 185px; height: 33px; padding-bottom: 20px; font-weight: bold; font-size: 14px;}	
#address{text-align:left;}
.home #text{ min-height:543px; _height: 543px; padding-top: 0px;}
#text{width:498px; padding: 30px 0 30px 250px; min-height:812px; _height: 812px;}
#spotlight{width:555px; border-top: 2px solid #506618; background-color:#506618; height: 266px; margin-left: 223px;}
#flash-home{border:none; z-index:1;}
#footer {color: #754c24; font-size: 11px; padding: 22px 0 25px 0; text-align: left; width:740px; line-height:14px; margin: 0 auto;}
#footer p{padding:5px;}
#after-hour { text-align:center; font-size:20px;}
#ah-hour { font-size:28px; margin-top:30px; line-height:30px;}
/* Shortcuts ----------*/
/* Image Replacement -- add class="replace" to root element, i.e. <p> and add a bg image*/
.replace {letter-spacing : -1000em;line-height: 0;overflow: hidden;line-height: 0;text-indent: -999em;}
/* Just for Opera, but hide from MacIE */

/*\*/html>body .replace {	letter-spacing : normal;text-indent : -999em;overflow : hidden;}
/* End of hack */

/* RESOURCES ---------- */
dl.logos, dl.logos dt, dl.logos dd {list-style:none;margin:0;padding:0;}
dl.logos {padding:10px;}
dl.logos dd {border-bottom:1px solid #CCC;margin:0;padding:10px 0 5px 0;width:50%;}
dl.logos span {font-size: 16px; font-weight:bold;}

/* IMAGES ---------- */
img {border:none;}

/*right and left floating image with border*/
.right {float:right; border: 2px solid #506618; margin-left:10px; margin-bottom:10px;}
.left {float:left; border: 2px solid #506618; margin-right:10px; margin-bottom:10px;}
img.center {display:block; margin:0 auto 10px auto;}
iframe {border: 2px solid #506618; margin-bottom:20px;}

/* THE GAME ROOM ---------- */
div#sesame-game {line-height: 0; margin: 10px 0px 18px 0px; text-align: center;  width: 400px;background: #000;}
ul#sesame-games {list-style: none;}
ul#sesame-games li {clear: both; text-indent:none;}
ul#sesame-games img {border: 0; float:right;}
ul#sesame-games a.button {float:right; height:85px; width:200px; margin-right:10px; padding: 0 0 10px 10px;}/*THIS IS WHERE YOU MAKE PADDING ADJUSTMENTS TO THE GAMES IMG*/
ul#sesame-games p {	padding:0 10px 10px 0;}
	
/* MEDIA CENTER ---------- */
h2.media-center {background:#000033; color:#FFF; margin:0; padding:5px;}
div.media-center {background:#336699; color:#FFF; margin-bottom:10px; padding:10px;}
div.media-center a {color:#FFF;}
div.media-center img {border:1px solid #FFF;}
.flash {border: solid 1px #ccc;}
#flash-in-ovation {width: 320px;height: 266px;}
#flash-ibraces-1 {width: 320px; height: 266px;}
#flash-ibraces-2, #flash-ibraces-3 {width: 352px; height: 266px;}