body {
   color:#000;
   background:#fff;
   /*background:url(/px/box-bg.jpg);*/
   background-repeat:repeat-x;
   /*background: #d2deea;*/
}
input, textarea {
   background:#fff;
   border:1px solid #000;
}
input:hover,textarea:hover {
   border-color: #333;
}
select {
   background:#fff;
}
hr {
   background:#000;
}
.close_button {
   color:red;
}

/* sa_main defined in menu.php and is the toplevel <div> */
#sa_main {
   background:#fff;
}
/* content defined on each page */
#content {
   color:#000;
   background:#fff;
}

/********** START styles for header *******************/
#head_csitename a {
   color:#eee;
}
#head_ctext a {
   color:#000;
}
/********** END styles for header *******************/


/* define a content class so can use it multiple times in a page */
.content {
   color:#000;
   background:#fff;
}

/* For the search.php page */
#content_fullwidth {
   color:#000;
   background:#fff;
}

/* define a content class so can use it multiple times in a page */
.content_fullwidth {
   color:#000;
   background:#fff;
}

#saved_searches {
   color:#000;
   background-color: #fff;
   background:#eee;
}
#search_count {
   color:#000;
   background:#eee;
}

#saved_searches a {
   color:#00f;
}

#saved_searches h4,
#more_search h4 {
   background-color:#fafafa;
   background-image:-moz-linear-gradient(top, #fff, #fff);
   background-image:-webkit-gradient(linear, 0 0, 0 100%, to(#fff), from(#fff));
   background-image:-webkit-linear-gradient(top, #fff, #fff);
   background-image:-o-linear-gradient(top, #fff, #fff);
   background-image:linear-gradient(to bottom, #fff, #fff);
   background-repeat:repeat-x;
   filter:progid:DXImageTransform.Microsoft.gradient(endColorstr='#fff2f2f2', startColorstr='#ffffffff', GradientType=0);
}

#displayResponse {
   background-color:#fafafa;
   background-image:-moz-linear-gradient(top, #fff, #fff);
   background-image:-webkit-gradient(linear, 0 0, 0 100%, to(#fff), from(#fff));
   background-image:-webkit-linear-gradient(top, #fff, #fff);
   background-image:-o-linear-gradient(top, #fff, #fff);
   background-image:linear-gradient(to bottom, #fff, #fff);
   background-repeat:repeat-x;
   filter:progid:DXImageTransform.Microsoft.gradient(endColorstr='#fff2f2f2', startColorstr='#ffffffff', GradientType=0);
}

.menu td {
   background:#fff;
   border-bottom:1px solid #009;
}
.menu td:hover {
   background:#fff;
}
.menu td a {
   color:#009;
}
.menu td a:hover {
   color:#333;
}
/* logic in menu.php for index and edit_template.php determines active class */
.menu td.active_left {
   background:#ccc;
   border-top:1px solid #009;
   border-right:2px solid #009;
   border-bottom:0;
}
.menu td.active_right {
   background:#ccc;
   border-top:1px solid #009;
   border-left:2px solid #009;
   border-bottom:0;
}
.menu td.active {
   background:#ccc;
   border-top:1px solid #009;
   border-right:2px solid #009;
   border-left:2px solid #009;
   border-bottom:0;
}
/* Cannot group the below like .menu td.active, td.active_left, td.active_right a {} */
.menu td.active a {
   color:#009;
}
.menu td.active_left a {
   color:#009;
}
.menu td.active_right a {
   color:#009;
}
.menu td.active a:hover {
   color:#009;
}
.menu td.active_left a:hover {
   color:#009;
}
.menu td.active_right a:hover {
   color:#009;
}

/* Left Menu style */
.menu_left {
   background:#fff;
   color:#000;
}
.menu_left td {
   background:#eee;
   background:#eee;
}
.menu_left td:hover {
   background:#eee;
}
.menu_left td a {
   color:#000;
}
.menu_left td a:hover {
   color:#009;
}
/* logic in menu.php for index and edit_template.php determines active class */
.menu_left td.active {
   background:#fff;
}
/* Cannot group the below like .menu_left td.active, td.active_left, td.active_right a {} */
.menu_left td.active a {
   color:#000;
}
.menu_left td.active a:hover {
   color:#000;
}

/* Bottom Menu style */
/*
.menu_bot td,
.menu_bot div {
   background:#999;
}
.menu_bot td:hover,
.menu_bot div:hover {
   background:#999;
}
.menu_bot td a,
.menu_bot div a {
   color:#fff;
}
*/
.menu_bot td a:hover,
.menu_bot div a:hover {
    color:#009;
}
#foot {
    opacity:0.5;
}
#foot_wrapper {
   background-color:#fafafa;
   background-image:-moz-linear-gradient(top, #fff, #d2deea);
   background-image:-webkit-gradient(linear, 0 0, 0 100%, to(#d2deea), from(#fff));
   background-image:-webkit-linear-gradient(top, #fff, #d2deea);
   background-image:-o-linear-gradient(top, #fff, #d2deea);
   background-image:linear-gradient(to bottom, #fff, #d2deeaw);
   background-repeat:repeat-x;
   /*filter:progid:DXImageTransform.Microsoft.gradient(endColorstr='#fff2f2f2', startColorstr='#ffffffff', GradientType=0);*/
}

#foot_wrapper_border {
    border-top:1px solid #d2deea;
}
#footer_text {
   color: #ccc;
}

/* Submenu style */
.submenu {
   background:#fff; /* Make BGCONTENTCOLOR so navbar fades into this color nicely */
}
.submenu a {
   color:#000;
}
.submenu a:hover {
   color:#000;
}

.map  {background:#ddd}

    /* Search styles */
   .disclaimer {
      color:#666;
   }
   #content .longlist.subdivision {
      border:solid 1px #000;
   }
   #subdivision_list {
      background:#fff;
      color:#000;
   }
.rightheader {background:#fff; color: #000000; text-align: right}
.subheader {background:#e7e7cc; color: #000000; text-align: center}
.run_search {color:#ff0000;font-weight:bold;border:2px outset}
.run_search:hover  {border-style:inset}
.small_check {font-size:12pt}

.edit {
   color:#fff;
   background:red;
}
.edit_label {
   color:red;
}
/* define a wrapper class for lead buttons */
.lead_button {
   background:#ddd;
   padding-top:15px;
   margin-bottom:10px;
}
/* define a button class for a link so can use it multiple times in a page */
.button {
   width:100%;
   margin:0 auto 15px auto;
   text-align:center;
   line-height:25px; /* needed to separate anchors that run accross 2 lines */
}
.button a, div.button {
   padding:5px 10px;
   margin:5px;
   border:2px inset #009;
    /*border:2px outset #000;*/
   text-decoration:none;
   background:#ddd;
   /*background:#fff;*/
   color:#000;

   border:2px solid #fff;
   -moz-border-radius-topright: 8px;
   -moz-border-radius-topleft: 8px;
   -moz-border-radius-bottomright: 8px;
   -moz-border-radius-bottomleft: 8px;
   -webkit-border-top-right-radius: 8px;
   -webkit-border-top-left-radius: 8px;
   -webkit-border-bottom-right-radius: 8px;
   -webkit-border-bottom-left-radius: 8px;
   border-top-right-radius:8px;
   border-top-left-radius:8px;
   border-bottom-right-radius:8px;
   border-bottom-left-radius:8px;
}
.button a:hover, div.button:hover {
   border-color:#333;
   border-style:outset;
   text-decoration:underline;
   cursor: hand;
   cursor: pointer;
}

/* define a wrapper class for lead links */
.link {
   width:100%;
   margin:0 auto 5px;
   text-align:center;
}

/* define a wrapper class for the tabs in index_multiple.php tabbed slidesho */
.tab {
   float:left;
   margin:10px 10px 0px 0px;
   padding:4px; 
   font-weight:bold;
   font-size:smaller;
   -moz-border-radius-topright: 8px;
   -moz-border-radius-topleft: 8px;
   -webkit-border-top-right-radius: 8px;
   -webkit-border-top-left-radius: 8px;
   border-top-right-radius:8px;
   border-top-left-radius:8px;
}

.tab a:hover {
   text-decoration:underline;
   cursor: hand;
   cursor: pointer;
}

/* get rid of margin-top for first headings on page */
h1:first-of-type, h2:first-of-type, h3:first-of-type, h4:first-of-type, h5:first-of-type {
   margin-top:0;
}

/* get rid of any margin-top for user text */
div.slideshow_text h1, div.slideshow_text h2, div.slideshow_text h3, div.slideshow_text h4, div.slideshow_text h5, div.slideshow_text p {
   text-align:justify;
   margin:10px 20px 10px;
}
div.slideshow_text div {
   float: left;
   margin:10px;
   text-align: center;
   font-weight: bold;
   font-style:italic;
}

/* right hand side (RHS) widgets */
#quickwidgets {
   margin-top:10px;
   margin-right:-5px; /* Reduce 15px margin from bootstrap*/ 
   margin-left:-5px; /* Reduce 15px margin from bootstrap*/ 
}
.share-inline-header-twitter iframe {
   max-width:100%;
}
.quicksearch, .leadbox, .callouts, .marquee, .social, .quickview {
   padding:2px; 
   margin-bottom:5px;
      background:#ddd;
   /*background:#fff; */
   border:2px solid #fff;
   -moz-border-radius-topright: 8px;
   -moz-border-radius-topleft: 8px;
   -moz-border-radius-bottomright: 8px;
   -moz-border-radius-bottomleft: 8px;
   -webkit-border-top-right-radius: 8px;
   -webkit-border-top-left-radius: 8px;
   -webkit-border-bottom-right-radius: 8px;
   -webkit-border-bottom-left-radius: 8px;
   border-top-right-radius:8px;
   border-top-left-radius:8px;
   border-bottom-right-radius:8px;
   border-bottom-left-radius:8px;
   /*color:#009;*/
   color:#000;
   /*max-width:310px;*/
   /*float:right;*/
}
.leadbox label {
   clear:left;
   float:left;
   padding-top:4px;
   padding-left:10px;
   display:inline-block;
    /*max-width:70px;*/
   text-align:left;
}
.leadbox a {
   color:#009;
}
.leadbox a:hover {
   color:#333;
}
.callouts li a {
               /* color:#009; */
}
.callouts li a:hover {
   color:#333;
}
.marquee {
   height:150px;
   overflow:auto;
   text-align:left;
   font-style:italic;
   font-size:smaller;
}
.marquee p {
    padding:0 5px;
}
.leadbox {
   text-align:center;
}
.quicksearch {
   text-align:center;
   position:fixed;
   top:25%; /* match top in template_end when switching fixed/absolute */
   width:230px;
   opacity:0.95;
   background:#fff;
   z-index:1; /* So on top of bottom menu and bottom contact form */

   /*border:2px solid #fff;*/
   /*background: -webkit-linear-gradient(left, rgba(255,0,0,0), rgba(255,0,0,1));*/ /* For Safari 5.1 to 6.0 */
   /*background: -o-linear-gradient(right, rgba(255,0,0,0), rgba(255,0,0,1));*/ /* For Opera 11.1 to 12.0 */
   /*background: -moz-linear-gradient(right, rgba(255,0,0,0), rgba(255,0,0,1));*/ /* For Firefox 3.6 to 15 */
   /*background: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));*/ /* Standard syntax (must be last) */

      /*
   border-background: -webkit-linear-gradient(left, rgba(255,0,0,0), rgba(255,0,0,1));
   border-background: -o-linear-gradient(right, rgba(255,0,0,0), rgba(255,0,0,1));
   border-background: -moz-linear-gradient(right, rgba(255,0,0,0), rgba(255,0,0,1));
   border-background: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
      */

    box-shadow: 0px 0px 2px 2px #fff;

}

.quicksearch h3 {
   color:#009;
   font-weight:bold;
   background-color:#fff;
   background-image:-moz-linear-gradient(top, #fff, #fff);
   background-image:-webkit-gradient(linear, 0 0, 0 100%, to(#fff), from(#fff));
   background-image:-webkit-linear-gradient(top, #fff, #fff);
   background-image:-o-linear-gradient(top, #fff, #fff);
   background-image:linear-gradient(to bottom, #fff, #fff);
   background-repeat:repeat-x;
   filter:progid:DXImageTransform.Microsoft.gradient(endColorstr='#fff2f2f2', startColorstr='#ffffffff', GradientType=0);
}

.quicksearch .form-group {
            margin-bottom:5px;
}

/* Remove space around each saved search/listing */
.ui-accordion .ui-accordion-content {
   padding:0;
}
.callouts {
   text-align:left;
   font-style:italic;
}
.callouts h3 {
   margin-left:2px;
}
.callouts ul {
   padding-left:15px; /* not needed with bootstrap v2, but needed with 3.2.0 */
   margin-top:-5px;
}
.callouts ul select {
   margin-left:-10px; /* move slect box back to left to take up some padding-left specified above */
}
.quicksearch hr {
   margin:5px auto;
}
.quicksearch select {
   font-size:smaller;
   /*width:80px;*/
}

/* Media styles for 320x568 (iphone) */
@media (min-width:320px) and (max-width:568px) and (orientation: portrait) {
   .quicksearch {
      width:300px;
   }
}
@media (min-width:320px) and (max-width:568px) and (orientation: landscape) {
   .quicksearch {
      width:400px;
      top:10px;
   }
   .quicksearch hr {
      margin:1px auto;
   }
}


/* To make an <object><embed> responsive, wrap in <div class="embed-container">
 and remove width/height attributes */
.embed-container {
    height: 0;
    width: 96%;
    margin:0 auto;
    padding-bottom: 56.25%; /* 9/16 = 0.5625 which gives container aspect ratio */
    overflow: hidden;
    position: relative;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.contact_submit {
   position:fixed;
   z-index:9999; /* on top of Zopim chat */
   right:10px; /* matches Zopim chat */
   bottom:200px; /* above Zopim chat */
   width:240px; /* matches Zopim chat */
   padding:20px;
   background:#fff;
   border:1px outset;
   -moz-border-radius-topright: 8px;
   -moz-border-radius-topleft: 8px;
   -moz-border-radius-bottomright: 8px;
   -moz-border-radius-bottomleft: 8px;
   -webkit-border-top-right-radius: 8px;
   -webkit-border-top-left-radius: 8px;
   -webkit-border-bottom-right-radius: 8px;
   -webkit-border-bottom-left-radius: 8px;
   border-top-right-radius:8px;
   border-top-left-radius:8px;
   border-bottom-right-radius:8px;
   border-bottom-left-radius:8px;
}

/* Twitter bootsrap  mods */
/* Change above to make all dropdown links the same as top menu links */
.navbar .nav li>a {
   color:#009;
}
.navbar .nav li>a:hover {
   color:#333;
      background-color:#fff;
   /* match bootstrap border and box-shadow for .dropdown-menu */
   -webkit-box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);
   -moz-box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);
   box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);
   }

.navbar .nav li li>a:hover {
   /* addtop box-shadow -match bootstrap border and box-shadow for .dropdown-menu */
   -webkit-box-shadow:0 0px 6px rgba(0, 0, 0, 0.5) inset;
   -moz-box-shadow:0 0px 6px rgba(0, 0, 0, 0.5) inset;
   box-shadow:0 0px 6px rgba(0, 0, 0, 0.5) inset;
}

/* 2nd level of menu*/
.dropdown-menu {
   background-color:#fafafa;
   background-image:-moz-linear-gradient(top, #fff, #f2f2f2);
   background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f2f2f2));
   background-image:-webkit-linear-gradient(top, #fff, #f2f2f2);
   background-image:-o-linear-gradient(top, #fff, #f2f2f2);
   background-image:linear-gradient(to bottom, #fff, #f2f2f2);
}
ul.dropdown-menu li li:hover {
   background-color:#fff;
}

.navbar-collapse  {
background-color:#fafafa;
background-image:-moz-linear-gradient(top, #fff, #f2f2f2);
background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f2f2f2));
background-image:-webkit-linear-gradient(top, #fff, #f2f2f2);
background-image:-o-linear-gradient(top, #fff, #f2f2f2);
background-image:linear-gradient(to bottom, #fff, #f2f2f2);
background-repeat:repeat-x;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
border:0px solid #d4d4d4;
-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.065);
-moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.065);
box-shadow:0 1px 4px rgba(0, 0, 0, 0.065);
zoom:1;
}
