/*

  Style guide.
  
  Header color: #9254A2
  
  Link color: #9254A2
  
  Certain text colors: #29ABE2
  
  Content column 2 BG: #e8eded
  
  Darker blue: #1f448e -- web safe: #333399
  
*/

body {
  background: url(/images/body-bg.png) 50px left repeat-x #FFFFFF;
  text-align: center;
  font-family: Arial, Verdana, sans-serif;
  margin: 0px;
  padding: 0px;
}

p, a, ul {
  font-size: 14px;
}

.clear {
  clear: both;
}

ul li a {
  text-decoration: none;
}

a img {
  border: 0px;
}

#wrapper {
  width: 900px;
  margin: 0px auto;
  text-align: left;
}








/* Header */

#header {
  width: 870px;
  margin: 20px auto 0px;
}



  /* Logo */

  #header #logo {
    /* Actual logo image is 165x116 */
    width: 190px;
    float: left;
  }
  
  #header #logo h1 {
    margin: 0px;
    padding: 0px;
  }
  
  #header #logo h1 a {
    display: block;
    height: 116px;
    background: url(/images/best-care-dental-logo.gif) top left no-repeat;
  }
  
  #header #logo h1 a span {
    display: none;
  }
  
  
  
  /* Credentials */
  
  #header #credentials {
    float: left;
    width: 250px;
  }
  
  #header #credentials p {
    margin: 0px;
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  #header #credentials p strong {
    font-size: 14px;
  }
  
  
  
  /* Contact */
  
  #header #contact {
    float: right;
    width: 375px;
    text-align: center;
  }
  
  #header #contact p {
    font-size: 13px;
    margin: 0px 0px 10px 0px;
    color: #666666;
  }
  
  #header #contact p strong {
    color: #9254A2;
  }
  
  #header #contact h1 {
    font-size: 18px;
    margin: 0px 0px 10px 0px;
    color: #666666;
  }






/* That wonky fucking section title thing. */

#section-title {
  background: url(/images/section-title-bg.png) top left no-repeat;
}

#section-title div {
  width: 850px;
  margin: 0px auto;
}

#section-title p {
  margin: 0px;
  line-height: 34px;
  color: #00b0d8;
  font-weight: bold;
}

#section-title div p span {
  color: #999999;
}


#nav {
  padding: 0px;
  height: 55px;
}

#nav #nav_shadow_block {
  background: url(/images/nav-shadow-block.png) bottom right no-repeat;
  width: 15px;
  height: 55px;
  float: left;
}

#nav #nav_elements {
  float: left;
  display: block;
  width: 885px;
  background: url(/images/nav-bg.png) bottom left no-repeat;
}

#nav ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
  height: 55px;
  float: left;
}

#nav ul li {
  float: left;
}

#nav ul li a {
  display: block;
  height: 55px;
  background: url(/images/tab-template.png) top left no-repeat;
  font-size: 14px;
}

#nav ul li a span {
  display: none;
}

#nav ul li a#initial {
  background: url(/images/tab-1.png) top left no-repeat;
  height: 55px;
  width: 138px;
}





  /*
    Tabs 1, 2, and 3 shared definitions.
    
    Tab 4 is excluded here because it has a unique width, which I handle
    exclusively within tab 4's specific definitions.  
  */
  
  #nav ul li a#tab-0-inactive, #nav ul li a#tab-0-active,
  #nav ul li a#tab-1-inactive, #nav ul li a#tab-1-active,
  #nav ul li a#tab-2-inactive, #nav ul li a#tab-2-active,
  #nav ul li a#tab-3-inactive, #nav ul li a#tab-3-active {
    height: 55px;
    width: 138px;
  }


  /* Tab 0 specific definitions */
  
  #nav ul li a#tab-0-inactive {
    background: url(/images/tab-0-inactive.png) top left no-repeat;
  }
  
  #nav ul li a#tab-0-active {
    background: url(/images/tab-0-active.png) top left no-repeat;
  }



  /* Tab 1 specific definitions */

  #nav ul li a#tab-1-inactive {
    background: url(/images/tab-1-inactive.png) top left no-repeat;
  }
  
  #nav ul li a#tab-1-active {
    background: url(/images/tab-1-active.png) top left no-repeat;
  }
  
  
  
  /* Tab 2 specific definitions */

  #nav ul li a#tab-2-inactive {
    background: url(/images/tab-2-inactive.png) top left no-repeat;
  }

  #nav ul li a#tab-2-active {
    background: url(/images/tab-2-active.png) top left no-repeat;
  }
  
  
  
  /* Tab 3 specific definitions */

  #nav ul li a#tab-3-inactive {
    background: url(/images/tab-3-inactive.png) top left no-repeat;
  }

  #nav ul li a#tab-3-active {
    background: url(/images/tab-3-active.png) top left no-repeat;
  }
  
  
  
  /* Tab 4 specific definitions */
  
  #nav ul li a#tab-4-inactive, #nav ul li a#tab-4-active {
    height: 55px;
    width: 150px;
  }

  #nav ul li a#tab-4-inactive {
    background: url(/images/tab-4-inactive.png) top left no-repeat;
  }

  #nav ul li a#tab-4-active {
    background: url(/images/tab-4-active.png) top left no-repeat;
  }







#content_bottom {
  padding-bottom: 30px;
  background: url(/images/content-bottom-bg.png) bottom left no-repeat;
}

#content_middle {
  background: url(/images/content-middle-bg.png) top left repeat-y;
}

#content_top {
  padding-top: 15px;
  background: url(/images/content-top-bg.png) top left no-repeat;
}





#content_column {
  padding: 0px 30px;
  /* background: url(/images/home-page-content-bg.jpg) center center no-repeat; */
}


/* Content column 2 is for all pages but the home page. */

#content_column2 {
  width: 868px;
  margin: 0px auto;
  padding: 0px;
  background: #e8eded;
}

#content_column p {
  margin: 0px;
}

#content_column2 p {
  margin: 0px;
}

#content_column2 #left {
  width: 240px;
  float: left;
}

#content_column2 #right {
  float: right;
  width: 600px;
}

#content_column2 #right #margin {
  padding: 20px 20px 10px 10px;
}

#content_column2 #right p {
  margin-bottom: 12px;
}

#content_column2 #right ul li {
  color: #333399;
  margin-bottom: 5px;
}



/* Services content. */

#services {
  padding: 20px;
}

#services #services_nav a {
  color: #000000;
  background: #e8eded;
}

#services #services_content {
  float: left;
  width: 500px;
}

#services #services_content h2 {
  font-size: 24px;
  color: #333399;
  font-weight: normal;
  margin-top: 0px;
}

#services #services_content p {
  margin-bottom: 15px;
  line-height: 21px;
}

#services #services_nav {
  float: right;
  width: 300px;
}

#services #services_nav ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

#services #services_nav ul li {
  background: #e8eded;
  color: #333399;
  padding: 5px;
  font-weight: bold;
}

#services #services_nav ul ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
  background: #FFFFFF;
  font-weight: normal;
}

#services #services_nav ul ul li {
  margin: 0px;
  list-style: none;
  
  padding: 0px;
}

#services #services_nav a {
  border-bottom: 1px dotted #CCCCCC;
  display: block;
  line-height: 18px;
  text-decoration: none;
  padding: 5px 5px 5px 15px;
  font-weight: normal;
}

#services #services_nav a:hover {
  background: #FFFFFF;
  color: #333333;
}

#services #services_nav a:visited {
  color: #666666;
}





/* Home page content. */

#introductory-text {
  float: left;
  width: 400px;
}

#introductory-text h1 {
  margin-top: 0px;
  margin-bottom: 20px;
  color: #9254A2;
  font-size: 18px;
  font-family: Arial, Verdana, sans-serif;
  font-weight: normal;
}

#introductory-text p {
  margin-bottom: 20px;
  line-height: 21px;
  color: #333333;
}


#features {
  float: right;
  width: 360px;
}

#features #highlighted_services {
  height: 164px;
  background: url(/images/featured-services-bg.png) top left no-repeat;
}

#features #highlighted_services ul {
  margin-top: 0px;
  list-style: none;
  padding: 40px 0px 0px 25px;
}

#features #highlighted_services ul li {
  margin-bottom: 5px;
}

#features #highlighted_services ul li a {
  color: #9254A2;
  font-size: 13px;
}

#features .badge {
  float: left;
  width: 175px;
  margin-right: 0px;
}

#features #misc-feature {
  
}




/* Shit to style the drop-down menu */

#nav ul li ul li a {
  background: #FFFFFF;
  line-height: 30px;
  border-bottom: 1px dotted #CCCCCC;
  height: 30px;
  padding: 0px 10px;
  display: block;
  text-decoration: none;
}

#nav ul li ul li a:hover {
  background: #CCCCCC;
}









#jsddm li ul {
  display: block;
  margin: 0;
	padding: 0;
	position: absolute;
	visibility: hidden;
	border-top: 1px solid white;
}
		
#jsddm li ul li {
  float: none;
	display: inline;
}

#jsddm li ul li a {
  display: block;
  line-height: 30px;
  padding: 0px 10px;
  width: 135px;
	background: #FFFFFF;
	color: #9254A2;
	text-decoration: none;
}








#footer {
  width: 870px;
  margin: 0px auto;
}

#footer p {
  font-size: 12px;
  color: #666666;
  line-height: 18px;
}

