/* GLOBAL */

* {margin: 0; padding: 0; outline: none;}

body {
  background: url("../_img/layout/background.jpg") no-repeat scroll center 0 #B7B7B7;
  font: 0.625em Arial, Helvetica, sans-serif;
  color: #333;
}

p {
  font-size: 1.3em;
  margin-bottom: 1.1em;
  line-height: 1.5em;
}

.twelve {
  font-size: 1.2em;
}

img {
  border: none;
}

hr { margin-bottom: 8px; }

/* CLASSES */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.center { text-align: center }
.contact-info { text-align: right; margin-top: 5px; color: #333 !important; line-height: 1.3em;}

.b { font-weight: bold; }
.i { font-style: italic; }
.u { text-decoration: underline; }
.c { text-align: center; }
.big { font-size: 150%; }
.small { font-size: 75%; }

.side_img {
  position: relative;
  left: 0px;
  padding: 0px 0px 0px 0px;
}
/*.side_img_right {
  position: relative;
  left: 0px;
  margin-top:10px;
}
.side_img_left {
  position: relative;
  left: 0px;
  margin-top:10px;
}*/
.side_img_sleep_wom {
	position: relative;
  	left: 0px;
  	margin-top:10px;
}

/*  =Front page banner
  ------------------------------------------------------ */
  .front-banner
  {
    padding: 0 0 12px;
    position: relative;
	width: 500px;
	margin: 0 auto;
  }
    .front-banner p
    {
      font-weight: bold;
      font-size: 1.8em;
      color: #FFF;
      margin-left: 10px;
      margin-bottom: 12px;
    }

/*  =Banner
  ------------------------------------------------------ */
  .banner
  {
    float: right;
    left: -20px;
    position: relative;
    top: 10px;
  }

    .banner p
    {
      margin: 0;
    }

      .banner img
      {
        display: block;
      }

    .banner .med-history
    {
      text-align: right;
      padding-top:2px;
    }

      .banner .med-history a
      {
        color: #336699;
      }

    .banner .contact
    {
      font-size:12px;
      text-align: right;font-weight:bold;
    }

      .banner .contact a
      {
        color: black;
      }

/* ROUNDED CORNERS */
.top_160 {
  width: 160px;
  padding: 10px 0 10px 0;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.top_160_pic {
  width: 160px;
  padding: 10px 0 10px 0;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.inboxed_left {
  width:140px;
  padding-left:10px;
}
.inboxed_right {
  width:160px;
  padding-left:10px;
}

.top_180 {
  width: 180px;
  padding: 10px 0 10px 0;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.top_180_pic {
  width: 180px;
  padding: 10px 0 10px 0;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.top_158_pic {
  width: 158px;
  padding: 10px 0 10px 0;
  margin-bottom: 7px;
  overflow: hidden;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.top_550 {
  width: 530px;
  padding: 10px;
  overflow: hidden;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

/* COLOURS */

.bg_purple { background-color: #993366; }
.bg_blue { background-color: #006699; }
.bg_teal { background-color: #FFF; }
.bg_olive { background-color: #999966; }
.bg_orange { background-color: #CC6600; }
.bg_red { background-color: #993333; }
.bg_mteal { background-color: #669999 }
.bg_green { background-color: #006633; }

.bg_lpurple { background-color: #FF99CC; }
.bg_lblue { background-color: #3399CC; }
.bg_lteal { background-color: #99CCCC; }
.bg_specials { background-color: #ff5b01; }
.bg_lolive { background-color: #CCCC99; }
.bg_lorange { background-color: #FFCC99; }
.bg_lred { background-color: #CC9999; }
.bg_lgreen { background-color: #339966; }

.purple { color: #993366; }
.blue { color: #006699; }
.teal { color: #006666; }
.olive { color: #999966; }
.orange { color: #CC6600; }
.red { color: #993333; }
.def { color: #333; }
.med { color: #666; }
.white { color: #FFF }
.green { color: #006633; }

/* LAYOUT */

 .wrap {
  background:none repeat scroll 0 0 #E6E6E6;
  width: 960px;
  margin: 0 auto 20px;
  border-radius: 5px 0 5px 0;
  -moz-border-radius: 5px 0 5px 5px;
  -webkit-border-radius: 5px 0 5px 5px;
  box-shadow: 0 1px 4px #888888;
  -webkit-box-shadow: 0 1px 4px #888888;
  -moz-box-shadow: 0 1px 4px #888888;
}

.col_left {
  clear: left;
  float: left;
  margin-left: 10px;
  margin-right: 20px;
  width: 160px;
}

.col_mid {
  float: left;
  width: 554px;
  font-size: 1em;
}

.col_mid h1, .col_mid h2, .col_mid h3 {
	margin-bottom: 0.5em;

}

.col_mid h1{font-size:28px;color:#006699;}
.col_mid h2{font-size:24px;color:#D37C25;}
.col_mid h3{font-size:20px;color:#5B8B8C}
.col_mid h4{font-size:20px;}

.col_right {
  float: right;
  width: 200px;
}

.col_550 {
  float: left;
  width: 550px;
  margin-top: 5px;
}

.col_mid ul {margin-left:33px;margin-bottom: 10px;}
.col_mid ul li a{color:#377878;}
.col_mid ul li a:hover{color:#D37C25;}


.col_mid ol {margin-left:33px;margin-bottom: 10px;}


ul {
  margin-top: 5px;
  margin-bottom: 10px;
}

li {
  list-style-type: circle;
  margin-left: 20px;
  font-size: 1.3em;
}

.col_mid li
{
  color: #666;
  line-height: 1.2em;
  list-style: square outside none;
  margin-bottom: 15px;
}

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

dd {
  padding-left: 10px;
  padding-bottom: 10px;
  font-size: 1.3em;
}

#footer {
  height: 50px;
  clear: both;
  text-align: center;
}

  #footer p
  {
    color: #666666;
    padding-top: 15px;
  }

/* MASTHEAD */

#mh {
  background: url("/_img/layout/awake_or_alseep-header.png") repeat scroll 0 0 transparent;
  height: 95px;
  padding: 5px 10px 0px;
}

#mh .left h1 a
{
  display: block;
  height: 50px;
  margin-top: 20px;
  width: 500px;
  text-indent: -9000px;
}

#mh .right {
  width: 400px;
}

/* NAVIGATION */
#top_nav {
  border-bottom:4px solid #EEEEEE;
  margin: 0 0 10px;
  height: 28px;
}

#top_nav li {
  font-size: 1.75em;
  float: left;
  list-style-type: none;
  margin: 0;
  text-align: center;
  text-shadow: 0 1px 0 #333;
  background: url(../_img/layout/navigation.png);
}

#top_nav li li { font-size: 0.875em; }
#top_nav li li a { text-align: left; padding-left: 10px; }

  #top_nav li a
  {
    padding: 5px 0;
    display: block;
    text-align: center;
  }

  #top_nav li:hover
  {
    background-position: 0 -31px;
  }

  #top_nav li.kids a
  {
    width: 154px;
  }

  #top_nav li.sedation a
  {
    width: 164px;
  }

  #top_nav li.treatment a
  {
    width: 182px;
  }

  #top_nav li.financing a
  {
    width: 170px;
  }

  #top_nav li.contact a
  {
    width: 155px;
  }

  #top_nav li.links a
  {
    width: 135px;
  }
  
  #top_nav li.links li a { width: 210px; }


#top_nav li.purple { background-color: #993366; }
#top_nav li.blue { background-color: #006699; }
#top_nav li.teal { background-color: #006666; }
#top_nav li.olive { background-color: #999966; }
#top_nav li.orange { background-color: #CC6600; }
#top_nav li.red { background-color: #993333; }
#top_nav li.mteal { background-color: #669999 }
#top_nav li.green { background-color: #006633; }

#top_nav li a
{
  color: white;
}

#top_nav li a,
#mlnav li a {
  text-decoration: none;
}

/* MAIN LEFT NAV */

#mlnav {
  margin: 0;
}
#mlnav_treatment {
  margin: 0;
}

#mlnav li {
  width: 160px;
  padding: 0px 0px 7px 0px;
  list-style-type: none;
  margin: 0;
}

#mlnav_treatment li {
  width: 160px;
  padding: 0px 0px 7px 0px;
  list-style-type: none;
  margin: 0;
}

#mlnav li a {
  display: block;
  background: none repeat scroll 0 0 #CCCCCC;
  padding:2px 10px;
  text-shadow:0 1px 0 #E6E6E6;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
}

#mlnav_treatment li a {
  display: block;
  background: none repeat scroll 0 0 #FF0000;
  padding:2px 10px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  color: #333333;
  cursor: pointer;
  text-decoration:none;
 }

#mlnav li a:hover,
#mlnav .selected a
{
  color: white;
  text-shadow: 0 1px 0 #333;
}

#mlnav .selected a
{
  background: #333;
}

#mlnav .about a:hover
{ background-color: #993366; }

#mlnav .sedation a:hover
{ background-color: #006666; }

#mlnav .links a:hover
{ background-color: #999966; }

#mlnav .treatment a:hover
{ background-color: #CC6600; }

#mlnav_treatment .treatment a:hover
{ background-color: #CC6600; }

#mlnav .financing a:hover
{ background-color: #993333; }

#mlnav .media a:hover
{ background-color: #006633; }

#mlnav .generic a:hover
{ background-color: #333333; }

#mlnav .contact a:hover
{ background-color: #006699; }

#mlnav .kids a:hover
{ background-color: #993366; }


#mlnav li a:hover,
#mlnav .selected-special a
{
  color: white;
  text-shadow: 0 1px 0 #333;
}

#mlnav .selected-special a
{
  background: #ff5b01;
}

#mlnav .special a:hover
{ background-color: #ff5b01; }



/*#mlnav .about a.selected,
#mlnav .about a:hover
{
  background: white url('../_img/left_nav/purple.png') no-repeat 0px 0px;
}
#mlnav .sedation a {
  background: white url('../_img/left_nav/teal.png') no-repeat 0px 0px;
}
#mlnav .treatment a {
  background: white url('../_img/left_nav/orange.png') no-repeat 0px 0px;
}
#mlnav .financing a {
  background: white url('../_img/left_nav/red.png') no-repeat 0px 0px;
}
#mlnav .contact a{
  background: white url('../_img/left_nav/blue.png') no-repeat 0px 0px;
}
#mlnav .links a{
  background: white url('../_img/left_nav/olive.png') no-repeat 0px 0px;
}
#mlnav .media a{
  background: white url('../_img/left_nav/green.png') no-repeat 0px 0px;
}
#mlnav .generic a{
  background: white url('../_img/left_nav/grey.png') no-repeat 0px 0px;
}

 {
  color: white;
  background-position: -160px 0px;
}*/

.about a:hover{ color:  #993366; }
.sedation a:hover{ color: #006666; }
.treatment a:hover{ color: #CC6600; }
.financing a:hover{ color: #660000; }
.contact a:hover{ color: #006699; }
.links a:hover{ color: #999966; }



/* CONTENT */

#content {
  background: white;
  width: 960px;
  clear: both;
  padding-bottom: 30px;
}

/* GLOBAL TYPOGRAPHY */
h5 {
  font-size: 1.5em;
  line-height: 1.5em;
  margin-bottom: 1em;
  font-weight: normal;
  margin-top: 2em;
}

h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2.4em;
  margin-bottom: 0.5em;
}
span.white a {
  padding-left:10px;
}

.nine {
  font-size: 0.9em;
}

a:hover {
  text-decoration: none;
}

/*  =Thumbanils
  ------------------------------------------------------ */
  .thumbnails a img
  {
    padding: 3px;
  }

#slideshow {
  height:360px;
  width:500px;
  position:relative;
}
#slideshow IMG {
  position:absolute;
  top:0;
  left:0;
  z-index:8;
  opacity:0.0;
}
#slideshow IMG.active {
  z-index:10;
  opacity:1.0;
}
#slideshow IMG.last-active {
  z-index:9;
}


/*** MENU SKIN ***/

.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			210px; /* left offset of submenus need to match (see below) */
	padding: 2px 0px;
}
.sf-menu ul li {
	width:			100%;
	list-style-type: none;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	/* float:			left; */
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}

.sf-menu ul li a { padding: 3px 6px; }

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	/*left:			168px;*/
	top:			26px; /* match top ul list item height */
	z-index:		99;
	width: 190px;
	text-align: left;
	font-size: 1em;
/*	border: 1px #FFF solid;
	background:		#AABDE6; 
	background-color: #B2C3CC; */
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			190px; /* match ul width */
	border: 3px #FFF solid;
/*	background:		#9AAEDB; */
	background-color: #B2C3CC;
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			220px; /* match ul width */
	top:			0;
}

.sf-menu {
	/* float:			left; */
}
.sf-menu a {
	text-decoration:none;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#13a;
}
.sf-menu li {
	
}
.sf-menu li li {
/*	background:		#AABDE6; */
}
.sf-menu li li li {
/*	background:		#9AAEDB; */
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
/*	background:		#CFDEFF; */
	outline:		0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
/*	padding-right: 	2.25em; */
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('images/arrows-ffffff.png') no-repeat 1px 1px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			9px;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}


/* point right for anchors in subs */
.sf-sub-indicator { background-position:  -10px 0; }
a > .sf-sub-indicator { background-position:  0 -100px; }


/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
.sf-vertical, .sf-vertical li {
	width:	10em;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
	left:	10em; /* match ul width */
	top:	0;
}

/*** alter arrow directions ***/
.sf-vertical .sf-sub-indicator { background-position: -10px 0; } /* IE6 gets solid image only */
.sf-vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.sf-vertical a:focus > .sf-sub-indicator,
.sf-vertical a:hover > .sf-sub-indicator,
.sf-vertical a:active > .sf-sub-indicator,
.sf-vertical li:hover > a > .sf-sub-indicator,
.sf-vertical li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

.main {margin-bottom: 10px; }

.main div {
	float: left;
	width: 184px;
	height: 160px;
	background-color: #fff;
	display: inline;
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
}

.main div a { text-decoration: none; }
.main div a:hover { text-decoration: underline; }

.main div img {
	background-color: #fff;
	height: 109px;
	width: 184px;
	display: block;
}


.testimonials h3 a {
	text-decoration: none;color:#006699;
}

.testimonials h3 a:hover { text-decoration: underline; }

.testimonial {
	margin-bottom: 14px;
}

.testimonial cite {
	display: block;
	text-align: right;
	margin: 4px 0;
}


.oral-hygiene-kit {
	margin-bottom: 12px;
}

.oral-hygiene-kit h4 {
	font-size: 1em;	
	text-align: center;
}

.newsletter {
	margin: 8px 0;
	border: 1px #630 solid;
	background-color: #CC6600;
	width: 184px;
	
}

.newsletter .bottom { padding: 8px; }

.newsletter h4 { text-align: center; color: #fff; font-size: 1.25em; margin-bottom: 12px; }

.newsletter .button {
	display: block;
	margin: 12px 0 0 0;
}

.vcard{
border:solid 1px #ff0000;text-align:left;width:100%;
}

.vcard span{font-size:12px;float:left;}

.line{border:solid 1px #99CCCC;border-width:0 0 1px 0;margin-bottom:15px;}

.sidebarlinks{margin-bottom:10px;}
fieldset{border:none;}
.alignright{float:right;}

.posttitle{color:#006699;}
.posttitle a{color:#006699;}

.imgbrdr{border:solid 1px #217AA6;padding:2px;margin:10px;}
