/* general ----------------------------------------*/
* {margin: 0; padding: 0;}
html, body {height: 100%;}

body {
background: #1b95bc url(../images/bg.jpg) top center repeat-x;
margin: 0;
font: normal 12px/18px verdana, arial, helvetica, sans-serif;
color: #fff;
}

table { border-collapse: collapse; border-spacing: 0; }

td, th { 
padding: 0; 
vertical-align: top;
font: normal 12px/24px arial, verdana, helvetica, sans-serif;
color: #333;
}

a { color: #1c95bc; text-decoration: underline; }

a:hover { text-decoration: none; }

h1 {
background-repeat: no-repeat; 
height: 50px; /* height of the h1 image */
width: 520px;
margin: 0;
padding: 0;
overflow: hidden; 
text-indent: -999em; /* hides rich text so only background image shows */
}

h2 {
font: bold 14px/18px verdana, arial, helvetica, sans-serif;
color: #1c92b7;
margin: 12px 0;
}

h3, legend {
font: bold 12px/16px verdana, arial, helvetica, sans-serif;
color: #666;
margin: 10px 0;
}

h4 {
font: bold 11px arial, verdana, helvetica, sans-serif;
color: #333;
margin: 10px 0;
}

ul,ol {margin: 0 0 10px 30px;}

ul {
list-style: disc;
}

img {border: none;}

p {margin: 0 0 10px 0;}

blockquote {
font-style: italic;
margin: 1em 5em 5em;
}

hr {
clear: both;
}

h6
{
	display: block;
	-webkit-margin-before: 0.5em;
	-webkit-margin-after: 0.5em;
	-webkit-margin-start: auto;
	-webkit-margin-end: auto;
	border-style: inset;
	border: 1px solid #000;
	height: 0;
	clear: both;
}

/* logo ----------------------------------------*/
.logo { 
letter-spacing : -1000em;
text-indent : -999em;
overflow : hidden;
background: transparent;
padding: 0 0 15px 0;
margin: 0;
line-height: 0;
width: 260px;
height: 230px;
position: relative;
}

/* Just for Opera, but hide from MacIE */
/*\*/html>body .logo {
letter-spacing : normal;
text-indent : -999em;
}
/* End of hack */

h1.logo a {
display: block;
background: transparent;
float: left;
padding: 0;
margin: 0;
width: 275px;
height: 230px;
}


/* navigation ----------------------------------------*/
#nav, #nav ul { /* all lists */
margin: 0;
padding: 0;
list-style: none;
position: relative;
z-index: 1;
}

#nav {
width: 240px;
margin: 0 0 20px 0;
text-align: left;
}

#nav a {
display: block;
overflow: hidden; 
text-indent: -999em;
height: 30px;
}

/* Set the image for each nav item */
#about-us {background: url(../images/nav-about-us.gif);}
#about-orthodontics {background: url(../images/nav-about-orthodontics.gif);}
#faq {background: url(../images/nav-faq.gif);}
#about-braces {background: url(../images/nav-about-braces.gif);}
#treatment-options {background: url(../images/nav-treatment-options.gif);}
#emergency-care {background: url(../images/nav-emergency-care.gif);}
#contact-us {background: url(../images/nav-contact-us.gif);}
#home {background: url(../images/nav-home.gif);}

/* Shift the image position up to show the active state */
#nav a:hover, #nav .active {background-position: -240px 0;}

/* Set cursor to default arrow so link does not appear clickable */
#nav .active {cursor: default}


/* sub-navigation --------------------*/
#nav li {
display: inline;
}

#nav li ul { /* second-level lists */
font: normal 12px/24px Trebuchet MS, arial, verdana, helvetica, sans-serif;
margin: -30px 0 0 230px;
padding: 0;
width: 180px;
position: absolute;
background: #daf4fa;
left: -999em;
height: auto;
border: 1px solid #1c92b7;
}

#nav li ul a {
padding: 0 0 0 15px;
width: 165px;
color: #000;
text-indent: 0;
text-decoration: none;
line-height: 30px;
height: auto;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
left: auto;
display:block;
}

#nav li:hover ul a:hover, #nav li.sfhover ul a:hover { /* lists nested under hovered list items */
color: #fff;
background: #50c6f4;
}


/* page layout ----------------------------------------*/
#container {
border-top: 10px solid #50c6f4;
background: #50c6f4 url(../images/bg-container.gif) top center repeat-y;
padding: 0 10px 0 10px;
margin: 0 auto;
position: relative;
width: 835px;
}
#container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#col-left {
background: #fff url(../images/bg-col-left.gif) top center no-repeat;
width: 260px;
padding: 0 0 10px 15px;
float: left;
}
#col-left:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#col-left-content {
background-color: #50c6f4 url(../images/bg-col-left-footer.gif) bottom left no-repeat;
}

#col-middle {
width: 285px;
float: left;
}
#col-middle:after {clear: both; content: "."; display: block; height: 0; visibility: hidden}

#col-right {
background-color: #daf4fa;
/*width: 255px;*/
width: 560px;
float: left;
margin: 0;
color: #231f20;
}

#content {
padding: 10px 10px 0 10px;
}

#contact-info{
width: 250px;
text-transform: uppercase;
text-align: right;
padding: 0 0 0 0;
position: absolute;
bottom: 10px;
}

#footer-main {
background: #50c6f4 url(../images/bg-footer-main.gif) bottom left no-repeat;
padding: 0 10px;
margin: 0 auto;
position: relative;
width: 835px;
height: 112px;
}

.border {
border: 1px solid #1c92b7;
margin: 10px 0;
clear: both;
}

img.left {
float: left;
margin: 0 20px 20px 0;
clear: both;
}

img.right {
float: right;
margin: 0 0 20px 20px;
clear: both;
}

img.center {
display:block;
margin:0 auto 10px auto;}

#site-map {font-weight: bold; float: left; padding-right: 30px;}
#site-map ul {list-style: none;}
#site-map a {color: #1c95bc;}
#site-map .sub {font-weight: normal;}
#site-map .sub ul {list-style: disc;}


/* in page sub nav ----------------------------------------*/
#sub-page-nav {
background: #87d8f6 url(../images/bg-page-nav.gif) bottom repeat-x;
padding: 20px 20px 5px 20px;
}
#sub-page-nav ul {margin: 0 0 20px 0; font: bold 12px/18px verdana, arial, helvetica, sans-serif;}
#sub-page-nav li {display:inline; list-style:none; text-indent:none; white-space:nowrap;}
#sub-page-nav li a {color: #000; padding: 0 10px 0 0; white-space:nowrap; text-decoration: none;}
#sub-page-nav li a:visited {text-decoration: none;}
#sub-page-nav li:hover a, #sub-page-nav li a.active {color: #000; text-decoration:underline;}
#sub-page-nav li.#sub-page-nav-first a{padding-left:0; border-left:none;}
#sub-page-nav li.first a{padding-left:0; border-left:none;}
#sub-page-nav.color li a {color: #000;}


#footer {
background: url(../images/bg-footer.gif) no-repeat;
width: 855px;
height: 190px;
margin: 10px auto 0 auto;
padding: 0 0 0 0;
font: normal 12px/18px verdana, arial, helvetica, sans-serif;
text-align: center;
display: block;
color: #1784a5;
clear: both;
overflow: hidden;
}

#footer h5 {
font: bold 11px/14px verdana, arial, helvetica, sans-serif;
color: #fff;
margin: 10px 50px 30px 50px;
}

#footer a {
color: #1784a5;
padding: 0 8px 0 5px;
border-right: 1px solid #1784a5;
}

#aao {
float: left;
margin: 0 0 0 20px;
}

#aao a {
border: 0;
margin: 0;
}

#ada {
float: right;
margin: 0 20px 0 0;
}

#ada a {
border: 0;
margin: 0;
}


/* sesame ----------------------------------------*/
#sesame {
margin: 0;
padding: 0 0 20px 0; 
text-align: center;
}

#sesame a {
font: 12px/18px verdana, arial, helvetica, sans-serif;
color: #fff;
text-decoration: underline;
}

#sesame a:hover { text-decoration: none; }


/* link types */
a.pdf { background: url(../images/icon-pdf.gif) no-repeat; padding-left: 16px; }
a.doc { background: url(../images/icon-doc.gif) no-repeat; padding-left: 16px; }
a.top { background: url(../images/arrow-top.gif) no-repeat; padding: 0 0 0 12px; font: bold 11px/0 arial, verdana, helvetica, sans-serif; text-transform: uppercase; color: #1c95bc; text-decoration: none; }
a:hover.top { color: #1c95bc; }


/* SESAME */
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}

#flash-homepage {
background: url(../images/flash-homepage.jpg);
width: 285px;
height: 640px;}

ul#toggle-content {list-style: none; margin: 0 0 15px 0;}
#anatomy-of-a-tooth {background: url(../images/anatomy-of-a-tooth/anatomy-of-a-tooth-bg.gif); height: 525px; position: relative; width: 300px;}
#anatomy-of-a-tooth a {cursor: help; display: block; position: absolute;}
#anatomy-of-a-tooth a:hover {background: transparent;}
a#bone {height: 20px; left: 30px; top: 380px; width: 40px;}
a#cementum {height: 20px; left: 100px; top: 460px; width: 90px;}
a#dentin {height: 20px; left: 80px; top: 165px; width: 60px;}
a#enamel {height: 20px; left: 165px; top: 135px; width: 60px;}
a#gingiva {height: 30px; left: 20px; top: 275px; width: 60px;}
a#periodontal {height: 30px; left: 205px; top: 440px; width: 70px;}
a#pulp {height: 30px; left: 125px; top: 220px; width: 50px;}
a#print {cursor: pointer; height: 23px; left: 240px; top: 502px; width: 60px;}
#anatomy-of-a-tooth a img {border: none; display: block; height: 0; position: absolute; width: 0;}
#anatomy-of-a-tooth a:hover img {height: 98px; width: 300px;}
a#bone:hover img {left: -30px; top: -380px;}
a#cementum:hover img {left: -100px; top: -460px;}
a#dentin:hover img {left: -80px; top: -165px;}
a#enamel:hover img {left: -165px; top: -135px;}
a#gingiva:hover img {left: -20px; top: -275px;}
a#periodontal:hover img {left: -205px; top: -440px;}
a#pulp:hover img {left: -125px; top: -220px;}
#flash-know-your-teeth {margin: 15px 0;}
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}
.hide {display: none;}

/* The Game Room */
div#sesame-game {background: #000; line-height: 0; margin: 10px auto 30px auto; text-align: center; width: 400px}
ul#sesame-games {list-style: none; margin: 0 18px 0 0; padding: 0}
ul#sesame-games li {clear: both; display: block}
ul#sesame-games img {border: 0; float: right; margin: 0 0 10px 10px}
ul#sesame-games a.button {float:right; height:85px; width:200px}
ul#sesame-games p { padding-bottom: 1em}

/* brushing & flossing */
#flash-brushing-and-flossing-ortho {
width: 500px;
height: 300px;
margin: 10px auto;}
.flash-replaced .alt {
display: block;
width: 0px;
height: 0px;
position: absolute;
overflow: hidden;}

/* iBraces */
.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;}
div.media-center {
background:#336699;
color:#FFF;
display:inline-block;
margin-bottom:10px;
overflow:auto;
padding:10px;}
div.media-center a {
color:#FFF;}
div.media-center img {
border:1px solid #FFF;}
.flash {
border: solid 1px #ccc;}
#flash-ibraces-1 {
width: 320px;
height: 266px;}
#flash-ibraces-2, #flash-ibraces-3 {
width: 352px;
height: 266px;}

.searchform {
	width:240px;
}


/*social media --------------------*/				
#sidebar ul.social-media {text-align:center;}
#sidebar ul.social-media li {overflow:hidden; display:inline; list-style:none; list-style-image:none; margin-right:2px;}
#sidebar ul.social-media li.facebook a {background:url(../socialnetworking/icons/facebook.png) no-repeat; display:inline-block; text-indent:-9999px; width:50px; height:50px;}
#sidebar ul.social-media li.blogger a {background:url(../socialnetworking/icons/blog.png) no-repeat; display:inline-block; text-indent:-9999px; width:50px; height:50px;}
#sidebar ul.social-media li.youtube a {background:url(../socialnetworking/icons/youtube.png) no-repeat; display:inline-block; text-indent:-9999px; width:50px; height:50px;}


/* Blog ------------------ */
.navigation,
.pagination {margin-top: 36px; margin-bottom:12px;}
.navigation .next_post,
.pagination .next_page {float: right;}
.navigation .previous_post:before,
.pagination .previous_page:before {content: "\27EA  ";}
.navigation .next_post:after,
.pagination .next_page:after {content: " \27EB";}

.entry {display:block; clear:both;}
.entry img.alignleft {margin: 0 0 2px 7px; display: inline;	float:left;}
.entry img.alignright {margin: 0 7px 2px 0; display: inline; float:right;}
.entry img.aligncenter {display: block; margin-left: auto; margin-right: auto;}
.entry_meta p {margin: 0 0 12px;}
#entry_comments {margin-top:36px;}
  #entry_comments form {
    width: 486px;
    }
    #entry_comments form input {
      width: 480px;
      margin-bottom: 18px;
      }
    #entry_comments form label {margin-bottom: 6px;}
	#entry_comments form button {color:#333;}

form#blog_search {width: 240px; margin:0 auto; text-align:center; color:#000;}
  form#blog_search label {margin-bottom: 6px; color:#000; text-align:center;}
  form#blog_search input {width: 240px; margin: 6px auto;}
  form#blog_search button {color:#000;}

.search-results .post {margin-bottom:30px;}
.search-results .post h2 {margin-bottom:0;}

.comment {margin:18px 0; border-bottom: 1px solid #000;}
.comment_author {font-weight: bold;}
.comment_author h3 {margin: 0;}
.comment_author span {font-style: italic; font-weight: normal;}
.comment_meta {font-size: 10px;}
.comment_meta a {text-decoration: none;}

#social {
	margin:0 0 10px 15px;
}
