/* Robert G. Sullivan, Schenectady County Public Library */
/* Advanced formatting for the Schenectady Digital History Archive */

/* Includes a heavily modified version of the PVII Menu "CSS Express Drop-Down Menus" by Project Seven Development */
/* Available as of September 22, 2009 at http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm */

/* Updated April 22, 2007 */

#masthead {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
background-color: #000000; /* black */
color: #ffcc00; /* gold */
padding-left: .5em;
padding-right: .5em;
}

#sitename {
font-size: 125%;
margin: 0;
padding: 0;
}

#sitename a {
text-decoration: none;
background-color: #000000; /* black */
color: #ffcc00; /* gold */
}

#slogan {
font-size: 80%;
font-style: italic;
text-align: right;
margin: 0;
padding: 0 0 .25em 0;
}

.clearit {
clear: both;
height: 0;
line-height: 0.0;
font-size: 0;
}

#p7menubar, #p7menubar ul {
padding: 0;
margin: 0;
list-style: none;
}

#p7menubar a {
display: block;
text-decoration: none;
padding: 5px 10px 5px 10px;
border-right: 2px solid;
border-bottom: 1px solid;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 70%;
font-weight: bold;
background-color: #ffcc00; /* gold */
color: #000000; /* black */
}

#p7menubar li {
float: left;
width: 9em;
}

#p7menubar li {position: relative;}

/* hide from IE mac \*/
#p7menubar li {position: static; width: auto;}
/* end hiding from IE5 mac */

#p7menubar li ul, #p7menubar ul li  {
width: 17em;
}

#p7menubar ul li a  {
color: #ccffff; /* light blue */ /* not entirely clear that this does anything */
border-right: 0;
padding: 3px 12px 3px 16px;
}

#p7menubar li ul {
position: absolute;
display: none;
background-color: #ffffff; /* white */
border-right: 1px solid #000000; /* black */
border-bottom: 1px solid #000000; /* black */
}

/* Controls the colors of the highlighted menu bar item */

#p7menubar li:hover a, #p7menubar a:focus,
#p7menubar a:active, #p7menubar li.p7hvr a {
background-color: #ffff00; /* bright yellow */
color: #000000; /* black */
}

/* Fill up the space with the chosen color */

#p7menubar li:hover ul, #p7menubar li.p7hvr ul {
display: block;
}

/* Controls the colors of the dropdown choices */

#p7menubar li:hover ul a, #p7menubar li.p7hvr ul a {
background-color: #ffcc00; /* gold */
color: #000000; /* black */
}

/* Controls the colors of the highlighted dropdown choice */

#p7menubar ul a:hover {
background-color: #ffff00!important; /* bright yellow */
color: #000000!important; /* black */
}

/* The single backslash \ character inside this comment
causes IE5 Mac to ignore the following rule, which allows other
browsers to render top-level menu items to their natural width.
Do not edit this rule in any way. */
#p7menubar li {width: auto;}
