/* HTML, BODY ---------- */
html {height: 100%;}
body {background: #fffdfc url(../images/body-bg.jpg) repeat-x 0 0; margin: 0;}
* {margin:0; padding:0;}

/* TEXT ---------- */
body {color: #594537; font: 11px/18px Verdana, Helvetica, sans-serif; text-align:left;}
p {padding: 0px 0 20px 0px;}

/* HEADERS ---------- */
/* jcIR Styles --------- */
h1.jcir {/* standard styles for your headings if image replacement not-available */font-family: "Times New Roman", Times, serif;}
/*-- IE6 Hack ---*/
*html .homejcir h1.jcir{padding-bottom: 35px;}
h1.replaced {/* jcIR plugin wraps text in div named replaced and hides it */overflow: hidden; text-indent: -999em; background-repeat: no-repeat;}
h2 {color: #2a4457; padding: 0 0 20px 0; font-size: 15px;}
h3 {padding: 0 0 20px 0; font-size: 13px;}

/* LISTS ---------- */
ol, ul {padding:0 0 20px 35px; list-style-image: url(../images/disc.gif);}
li{padding-bottom: 10px;}
#logo-list ul{display:inline; list-style:none;}
#logo-list li{float: left;}
/* LINKS ---------- */
a {color: #a80329; text-decoration: none; font-weight: bold;}
a:visted {color: #a80329; text-decoration: none; font-weight:bold;}
a:hover {color: #a80329; text-decoration: underline; font-weight: bold;}
#logo {position:absolute; top:0; left:0; width: 227px; height: 106px; display: block; background: url(../images/logo.gif) no-repeat;}
#logo a {width: 227px; height: 106px; display: block;}

/* util ---------- */
#util {position: absolute; top: 223px; left: 264px; width: 350px; z-index: 90;}
#util ul {list-style: none; padding: 0;}
#util li {float: left; display:inline;}
#util a {height: 30px; display: block; overflow: hidden; text-indent: -999em;}
#patient-login {background: url(../images/patient-login.gif) 0 0; width:175px;}
#doctor-login {background: url(../images/doctor-login.gif) 0 0; width:175px;}
#util ul li:hover a, #util li.sfhover a,#util a:hover, #util .active {background-position: 0 -30px;}
#util li.active a{background-position: 0 -30px;}
	
/* nav ---------- */
#nav{position:absolute; top:324px; left:0; padding:0; width:227px; height: 551px; background: url(../images/doctor-drawing.gif) no-repeat bottom left; display:block; z-index: 100;}
#nav a {display: block; overflow: hidden; text-indent: -999px; width: 227px;}
#nav ul{padding:0;}
#patient-information {background: url(../images/nav/patient.gif) 0 0; height:35px;}
#about-orthodontics {background: url(../images/nav/ortho.gif) 0 0; height:36px;}
#faq {background: url(../images/nav/faq.gif) 0 0; height:36px;}
#about-braces {background: url(../images/nav/braces.gif) 0 0; height:36px;}
#treatment-options {background: url(../images/nav/treatment.gif) 0 0; height:36px;}
#emergency-care {background: url(../images/nav/care.gif) 0 0; height:36px;}
#contact-us {background: url(../images/nav/contact.gif) 0 0; height:36px;}
#home {background: url(../images/nav/home.gif) 0 0; height:31px;}
#nav ul li:hover a, #nav li.sfhover a,#nav a:hover, #nav .active {background-position: -227px 0;}
#nav li.active a {background-position: -227px 0;}

/* DROP-DOWN-NAVIGATION ----------------*/
#nav li {display: inline; z-index:100; margin:0; padding:0;}
#nav li ul { /* second-level lists */margin: -35px 0 0 227px; padding:0; width: 176px; position: absolute; background: #e3d8cf; left: -999em; line-height: 24px; font-size: 11px; font-weight:normal; height: auto; border: 1px solid #d4c4b8;}
#nav li ul a {list-style-image:none; padding: 0 0 0 10px; width: 160px; font-weight:normal; text-indent: 0;	text-decoration: none; height: auto; border: 1px solid #d4c4b8; margin: 2px; background:#fff; color:#2a4457;}
#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 {color: #fff; background: #2a4457;}

/* SUBNAV ----------------*/
.sub_nav {background: url(../images/sub_nav_line.gif) no-repeat bottom left; width: 490px; color:#d2c1b5;padding-bottom: 8px; margin-bottom: 20px;}
.sub_nav a{color: #a80329; text-decoration: none; font-weight:normal;}
.sub_nav a:visited {color: #a80329;text-decoration: none; font-weight:normal;}
.sub_nav a:hover {color: #a80329;font-weight:normal; text-decoration:underline; }
.sub_nav a.active {color:#594537 ;font-weight:bold; text-decoration:none;}
#titlepadding {display: block; height: 15px;}

/* FOOTERNAV ----------------*/
.text_nav {font-weight: bold;}
.text_nav a{color: #fff; text-decoration: none;}
.text_nav a:visited{color: #fff; text-decoration: none;}
.text_nav a:hover{color: #fff; text-decoration: underline;}

/* LAYOUT ---------- */
.clear{clear:both;}
.hide {display:none;}
.flash-replaced .alt {display: block; width: 0px; height: 0px; position: absolute; overflow: hidden;}
div.hr { background: #e3d8cf; clear: both; height: 1px; margin: 20px 0; width: 100%; }
div.hr hr { display: none; }
#main {position: relative; width: 780px; margin: 0 auto; padding: 330px 0 0 0;}
#office-address{background: url(../images/office-address.gif) no-repeat; display: block; width: 203px; height: 64px; position: absolute; top: 134px; left: 12px;}
#mid{background: #f2efdc url(../images/nav-tile.gif) repeat-y 0 0;}
#text{width:490px; padding: 0 0 15px 257px; min-height: 540px; _height: 540px;}
#flashholder{position: absolute; top: 0; left: 227px; border:none; z-index:1; background: url(../images/flashholder.jpg) no-repeat 0 0; display: block; width: 510px; height: 222px;}
#bottom{background: url(../images/footer-tile.jpg) repeat 0 0; width: 100%;}
#footer {background: url(../images/footer-bg.jpg) repeat-x 0 0; color: #fff; font-size: 11px; line-height:15px;padding: 51px 0 0 11px; text-align: left; width:100%; min-height:276px; _height: 276px;}
#footer-inner{width: 780px; margin: 0 auto;}
.column{width: 165px; padding-right: 25px; float: left;}
.column h2 {font-size:12px; font-weight:bold; color:#fff; padding-bottom: 5px;}
.column ul{list-style-image: none; list-style:disc; color:#fff; padding-left: 15px;}
.column li {padding-bottom:0;}
.column li a{font-weight: normal; color:#fff;}
.column li a:visited{font-weight: normal; color:#fff;}
.column li a:hover{font-weight: normal; color:#fff;}

/* 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: 1px solid #e3d8cf; margin-left:10px;margin-bottom:10px;}
.left {float:left; border: 1px solid #e3d8cf; margin-right:10px; margin-bottom:10px;}
img.center {display:block; margin:0 auto 10px auto;}
.place_image { float:right; border: 1px solid #e3d8cf; margin: 0 0 20px 20px; padding:9px; background:#fff; }
.staff-imgs {float: right;  border: 1px solid #e3d8cf; margin: 0 0 10px 10px; padding:9px; background:#fff; }
.teampic {border: 1px solid #e3d8cf; margin: 0 0 10px 0px; padding:9px; background:#fff; }
iframe {border: 1px solid #e3d8cf; 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;}


/* jQuery Cycle Before and After */
#before-after-container {
  width: 488px;
  line-height: 18px;
  margin: 0 0 18px 0;
  padding: 10px 0 10px 10px;
  background-color: #46657a; /* Customize me */
  border: solid 1px #333; /* Customize me */
  border-radius: 5px; /* Optional - you may customize or remove */
  -moz-border-radius: 5px; /* Optional - you may customize or remove */
  -webkit-border-radius: 5px; /* Optional - you may customize or remove */
}
#before-after-container ul.slideshow {
  list-style: none; 
  margin: 0; 
  padding: 0;
  width: 488px;
  height: 182px;
  overflow: hidden;
}
ul#before-after-cycle li img {
  width: 232px;
  float: left;
  margin-right: 10px;
  border: solid 1px #333; /* Customize me */
}
#before-after-container p {
  float: left;
  width: 50%;
  margin: 0 0 10px 0;
  color:#FFFFFF;
}
#before-after-container div.cycle-detail {
  min-height: 70px; /* Increase this number to accomodate longer or shorter description text and to prevent "bumping" of lower content */
  clear: both;
  background-color: #fff; /* Customize me */
  padding: 10px;
  margin: 0 10px 0 0;
  border: solid 1px #333; /* Customize me */
  border-radius: 0 0 5px 5px; /* Optional - you may customize or remove */ 
  -moz-border-radius: 0 0 5px 5px; /* Optional - you may customize or remove */ 
  -webkit-border-bottom-left-radius: 5px; /* Optional - you may customize or remove */ 
  -webkit-border-bottom-right-radius: 5px; /* Optional - you may customize or remove */
}
#before-after-container .before-after-nav {
  background: #fff; /* Customize me */
  margin: 0 10px 10px 0;
  padding: 5px 3px;
  border: solid 1px #333; /* Customize me */
  border-radius: 5px 5px 0 0; /* Optional - you may customize or remove */
  -moz-border-radius: 5px 5px 0 0; /* Optional - you may customize or remove */
  -webkit-border-top-left-radius: 5px; /* Optional - you may customize or remove */
  -webkit-border-top-right-radius: 5px; /* Optional - you may customize or remove */
}
#before-after-container .before-after-nav a {
  text-decoration: none; 
  font-size: 12px; 
  padding: 5px; 
  margin: 0 3px; 
  outline: none;
  color: #333; /* Customize me */
}
#before-after-container .before-after-nav a.activeSlide, #before-after-container .before-after-nav a:hover {color: #850320;} /* Customize me */

#logo-list {padding-top:20px;}
