/*** Copyright 2010 C W Dee                                                 ***/

/* body ids                                                                   */ 
/*  #KOSAT_Aims               Atlas Information - Project Aims                */
/*  #KOSAT_Methods                              - Survey Methods              */
/*  #KOSAT_2007               2007 species index, maps and tetrad tables      */
/*  #KOSAT_2008               2008 species index, maps and tetrad tables      */
/*  #KOSAT_Coverage_2007      Status Maps       - Winter Coverage             */
/*  #KOSAT_Richness_2007                        - Winter Species Richness     */
/*  #KOSAT_Coverage_2008                        - Breeding Coverage           */
/*  #KOSAT_Richness_2008                        - Breeding Species Richness   */
/*  #KOSAT_County             Resources         - County Map                  */
/*  #KOSAT_Instructions                         - Instructions                */
/*  #KOSAT_Forms                                - Forms                       */
/*  #KOSAT_Contact            Contact Us                                      */
/*                                                                            */
/* Site color palette:                                                        */
/*  body background : #3F8C65 (green)                                         */
/*  link (unselected)    : fg #FFF    : bg #317E57 (darker green)             */
/*  link (selected)      : fg #FFF    : bg #005012 (deep green)               */
/*  link (disabled-self) : fg #...... : bg #DDD (grey)                        */
/*  link (self-parent)   : fg #005012 : bg #73A786 (pale green)               */
/*                                                                            */

body { behavior: url("/atlas/csshover.htc"); }

#sidebar {
  width: 140px;                           /* menu box width */
  background-color: #3f8c65;
  position: absolute;
  top: 138px;
  left: 20px;
  z-index: 100;
} 

/* Level 1 menu list                  */
#menu ul {                              /* remove bullets and list indents    */
  list-style: none;
  margin: 0;
  border-bottom: 1px solid #EEE;        /* bottom border of level 2 lists     */
  padding: 0;
  width: 141px;
}

/* Level 2 menu list                  */
#menu ul ul {
  position: absolute;
  top: 4px;                  /* position slightly below the containing block  */
  left: 100%;                 /* position to the right of the containing block */
  width: 240px;
  padding: 0;
  margin: 0;
}

#menu li {   /* make the list elements a containing block for the nested lists */
  position: relative;
} 
/* Menu items                         */
#menu a, 
#menu span {
  display: block;
  font-size: 0.8em;
  margin: 0;
  border: 1px solid #EEE;
  border-bottom: none;
}
/* Active links                       */
#menu a,
#menu span#subtext {
  background-color: #317E57; 
  color: #FFF;
}
/* Inactive links                     */
#menu span {
  background-color: #DDD; 
  color: #005012;
  font-size: 0.8em;
  padding: 3px 0 3px 6px;
}
#menu span#subtext,
#menu span span,
#menu img {
  border: none;
}
/* Hide level 2 lists ...             */
div#menu ul ul {
  display: none;
}
/* ... unless their parent is target  */
div#menu ul li:hover ul {
  display: block;
}

/* tetrad table navigation */
#menu li.adjacent table {
  border-collapse: collapse;
  font-size: 0.7em;
}
#menu .adjacent table tr,
#menu .adjacent table tr td {
  margin: 0;
  padding: 0;
}
#menu .adjacent table tr td a,
#menu .adjacent table tr td span {
  text-align: center;
  width: 45px;
  padding: 15px 0;
}
#menu .adjacent span#out {
  background-color: #3F8C65;
}

.clear {
  clear: both;
  border-top: 1px solid #EEE;
}

/* Hide alternative menu items         */
/* (unless subsequently displayed)     */
#nav_home_i,
#nav_info_aims_i,
#nav_info_methods_i,
#nav_distmap_1967_i,
#nav_distmap_1977_i,
#nav_distmap_1988_i,
#nav_distmap_2007_i,
#nav_distmap_2008_i,
#nav_status_i,
#nav_status_cov2007_i,
#nav_status_ric2007_i,
#nav_status_cov2008_i,
#nav_status_ric2008_i,
#nav_status_map_i,
#nav_contact_i,
#nav_atlases_i { 
 display: none;
}

/* When on a page with no submenus, switch menu items */
/* Show alternative item and hide active item         */
#KOSAT_Home          #nav_home_i,
#KOSAT_Aims          #nav_info_aims_i,
#KOSAT_Methods       #nav_info_methods_i,
#KOSAT_1967          #nav_distmap_1967_i,
#KOSAT_1977          #nav_distmap_1977_i,
#KOSAT_1988          #nav_distmap_1988_i,
#KOSAT_2007          #nav_distmap_2007_i,
#KOSAT_2008          #nav_distmap_2008_i,
#KOSAT_Coverage_2007 #nav_status_cov2007_i,
#KOSAT_Richness_2007 #nav_status_ric2007_i,
#KOSAT_Coverage_2008 #nav_status_cov2008_i,
#KOSAT_Richness_2008 #nav_status_ric2008_i,
#KOSAT_County        #nav_status_map_i,
#KOSAT_Contact       #nav_contact_i {
 display: block;
}
#KOSAT_Home          #nav_home_a,
#KOSAT_Aims          #nav_info_aims_a,
#KOSAT_Methods       #nav_info_methods_a,
#KOSAT_1967          #nav_distmap_1967_a,
#KOSAT_1977          #nav_distmap_1977_a,
#KOSAT_1988          #nav_distmap_1988_a,
#KOSAT_2007          #nav_distmap_2007_a,
#KOSAT_2008          #nav_distmap_2008_a,
#KOSAT_Coverage_2007 #nav_status_cov2007_a,
#KOSAT_Richness_2007 #nav_status_ric2007_a,
#KOSAT_Coverage_2008 #nav_status_cov2008_a,
#KOSAT_Richness_2008 #nav_status_ric2008_a,
#KOSAT_County        #nav_status_map_a,
#KOSAT_Contact       #nav_contact_a {
 display: none;
}

/* When on a page with submenus, switch background color */
#KOSAT_Information   #nav_info    a,
#KOSAT_Aims          #nav_info    a,
#KOSAT_Methods       #nav_info    a,
#KOSAT_DistMaps      #nav_distmap a,
#KOSAT_1967          #nav_distmap a,
#KOSAT_1977          #nav_distmap a,
#KOSAT_1988          #nav_distmap a,
#KOSAT_2007          #nav_distmap a,
#KOSAT_2008          #nav_distmap a,
#KOSAT_StatusMaps    #nav_status  a,
#KOSAT_Coverage_2007 #nav_status  a,
#KOSAT_Richness_2007 #nav_status  a,
#KOSAT_Coverage_2008 #nav_status  a,
#KOSAT_Richness_2008 #nav_status  a,
#KOSAT_County        #nav_status  a,
#KOSAT_Atlases       #nav_atlases a {
 background-color: #73A786;
}
/* When on a page with submenus, force background  */
/* color of sub items                              */
#menu #nav_info_aims_a      a,
#menu #nav_info_methods_a   a,
#menu #nav_info_inst_a      a,
#menu #nav_info_form_a      a,
#menu #nav_distmap_1967_a   a,
#menu #nav_distmap_1977_a   a,
#menu #nav_distmap_1988_a   a,
#menu #nav_distmap_2007_a   a,
#menu #nav_distmap_2008_a   a,
#menu #nav_status_cov2007_a a,
#menu #nav_status_ric2007_a a,
#menu #nav_status_cov2008_a a,
#menu #nav_status_ric2008_a a,
#menu #nav_status_map_a     a,
#menu #nav_other_a          a {
  background-color: #317E57; 
  color: #FFF;
}
/* Change background colour when target */
#menu #nav_info_aims_a      a:hover,
#menu #nav_info_methods_a   a:hover,
#menu #nav_info_inst_a      a:hover,
#menu #nav_info_form_a      a:hover,
#menu #nav_distmap_1967_a   a:hover,
#menu #nav_distmap_1977_a   a:hover,
#menu #nav_distmap_1988_a   a:hover,
#menu #nav_distmap_2007_a   a:hover,
#menu #nav_distmap_2008_a   a:hover,
#menu #nav_status_cov2007_a a:hover,
#menu #nav_status_ric2007_a a:hover,
#menu #nav_status_cov2008_a a:hover,
#menu #nav_status_ric2008_a a:hover,
#menu #nav_status_map_a     a:hover,
#menu #nav_other_a          a:hover,
#menu a:hover,
#menu a:hover span#subtext {
  background-color: #005012;
  color: #FFF;
}

#KOSAT_Admin #menu ul ul {
	width: 300px;
}

<!--[if IE]>
<style type="text/css" media="screen">
body {
behavior: url(/atlas/csshover.htc); /* call hover behaviour file */
font-size: 100%; /* enable IE to resize em fonts */
} 
#menu ul li,
#menu ul li ul li {
float: left; /* cure IE5.x "whitespace in lists" problem */
width: 100%;
}
#menu ul li a,
#menu ul li ul li a {
height: 1%; /* make links honour display: block; properly */
padding: 3px 6px;
} 

#menu a {
font: 0.8em Verdana, Arial, Helvetica, sans-serif; 
/* use em's for IE as it won't resize pixels */
} 
</style>
<![endif]-->

	