﻿/*
CSS for Carmel Mountain Vision Care site
*/


/* ==============
   basic elements 
   ============== */

h1, h2, h3 {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: #ad4015;  /* dark orange */
}

h1 {
  font-size: x-large;
  margin: 0;
}

h2 {
  font-size: large;
}

h3 {
  font-size: medium;
}

body {
  background: #422A24;  /*  dark brown */
  line-height: 105%;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  text-align: center;
  background-image: url(background_016.gif);
}

p, li {
  font-size: small;
  color: black; 
}

em {
  color: #ad4015;  /* dark orange */
  font-weight: bold;
  font-style: normal;
}

ul {
  list-style-position: inside;
}

li.first {
  margin-top: -15px;
}

th {
  font-size: small;
  font-weight: normal;
}

th.day {
  font-weight: bold;
}


/* =============
   specific divs
   ============= */

#navigation, #foot, #bodycontent, #bodycontent2 {
  margin: 0 auto 0 auto;
  text-align: left;
}

#navigation, #foot {
  width: 955px;
}

#navigation {
  margin-bottom: 10px; 
  font-size: small;
}

#navigation ul {
  margin: 0;          /* keeps vertical spacing */
  padding: 0;         /* keeps horizontal spacing  */
  white-space: nowrap;
}

#navigation li {
  display: inline;
  list-style-type: none;
} 

.navlist li {
  padding-right: 5px;
}

#bodycontent, #bodycontent2 {
  width: 910px;
  padding: 20px; 
  background-color: #F0EEE0;  /* offwhite */
  -moz-border-radius: 15px;   /* only works in firefox - adds rounded corners */
}

#bodycontent {
  height: 500px;
}

#bodycontent2 {                   /* appts & appts2 - picture and form are longer */ 
  height: 590px;
}


/* For Main page */
#bodyleftmain {
  width: 480px;
  float: left;
  padding: 5px;
  padding-top: 30px;
  text-align: center;
}

#bodyrightmain {
  margin-left: 495px;
  width: 400px;
  padding: 2px;
  border-left: 2px solid #422A24;  /* dark brown */
}

#newsbox {
  text-align: justify;
  height: 80px;
  margin: 15px;
  padding: 20px;
  border: 1px solid #422A24;  /* dark brown */
}

#emptybox {
//  text-align: justify;
  text-align: center;
  line-height: 175%;
  height: 80px;
  margin: 15px;
  padding: 20px;
  border: 0px;
}

#rightbtm {
  text-align: justify;
  height: 320px;
  margin: 3px;
  padding-bottom: 5px;
  padding-left: 5px;
}

/* For Other pages */
#bodyleft {
  float: left;  
  width: 385px;
  padding-top: 0;
}

#rtlist {
  margin-top: 5px;
  margin-left: 20px;
  width: 490px;
  height: 100px;
  float: left;
  line-height: 120%;
  background-image: url(cmvclogo_sml.gif);
  background-position: top right;
  background-repeat: no-repeat;
}

#rttext {
  margin-top: 15px;
  margin-left: 50px;
  width: 460px;
  height: 360px;
  float: left;
  margin-right: -5px;
}

#map {
  /* For Location & Direction page */
  border: 1px solid #422A24;  /* dark brown */
  width: 385px;
  height: 480px;
}

#foot p {
  color: #F0EEE0;  /* offwhite */
  line-height:100%;
}

#contact {
  width: 715px;
  text-align: left;
  padding-top: 8px;
  float: right;
}

#notes {
  width: 235px;
  text-align: right;
  padding-top: 4px;
  float: right;
}

#notes p {
  font-size: x-small;
}

#copyrt {
  padding-top: 0px;
  margin-top: 5px;
  float: left;
}

#copyrt p {
  font-size: x-small;
}


/* ================
        links
   ================ */
/* ==== In body text  */
a:link {
  color: #422A24;  /* dark brown */
  text-decoration: underline;
}

a:visited {
  color: black;
  text-decoration: underline;
}

a:hover, a:active {
  text-decoration: none;
  color: #f4a460;  /* peach */
}

/* ==== In top and bottom navigation bars  */
#navigation a, #subnav a, #foot a {
  color: #F0EEE0;  /* offwhite */
  text-decoration: none;
}

#navigation a {
  padding-left: 3px;
  padding-right: 3px;
  font-weight: normal;
}

#subnav a:hover, #foot a:hover, #navigation a:hover,
    #subnav a:active, #foot a:active, #navigation a:active {
  color: #F4A460;  /* peach */
  background-color: #422A24;  /* dark brown */
}

/* ==== Level 2 navigation bars (directly above text)   */
#rtlist a {
  text-decoration: none;
  color: #422A24;  /* dark brown */
  font-weight: bold;
}

#rtlist a:hover, #rtlist a:active {
  color: #f4a460;  /* peach */
}


/* ================
   specific classes
   ================ */

.cur {
  color: #FFDAB9;  /* offwhite */
  font-weight: bold;
  font-style: normal;
}

.navlist_2 {
  text-align: right; 
}

.feature, .featuremain {
  border: 1px solid #99BB99;  /* aqua */
}

.featuremain {
  margin-top: 15px;
}

.logo {
  border: 1px solid #F0EEE0;  /* offwhite */
}

.containerContentScroll
{
 height: 350px;
 overflow: auto;           /* add scroll bar if text is longer than height */
 padding-right: 10px;      /* space between scrollbar and text */
} 