h1, h2, h3, h4 {
	font-family: Trebuchet MS, Arial, sans-serif;
}

/*max-width set for new header/navbar, april 2008 */

body p { max-width: 45em; }
body li { max-width: 45em; }
body p.print-and-email-page-links { max-width: 99%; }

/* end max-width */

body {
	font-family: Arial, Verdana, sans-serif;
	font-size: small;
	margin: 0px;
}

* html body {
	/*margin : 0 2% 0 0;*/
	margin: 0px;
	padding : 0px;
	text-align : left;
	background-color : #fff;
	color: #000;
	font-family: Arial, Verdana, sans-serif;
	font-size: x-small; /* for IE5/Win */
	f\ont-size: small;  /* for other IE versions */
	}
	
.dot {
	margin: 0;
	padding: 0;
	border-bottom: 1px dotted #369;
	background-color: #fff;
	}

.bottomrule {
	border-bottom: solid 1px #369;
	}

a {
color : #0098db;
text-decoration : none;
}

a:hover {
      text-decoration : underline;
      color: #333333;
      }

a:active {
      text-decoration : underline;
      color: #333333;
      }

.also {
float:right; 
width:200px;
margin:5px 20px 5px 5px;
padding:5px;
background-color:#eee;
border: 1px solid #c30;
} 		

.more-info {
float: right; 
width: 200px;
margin: 1em 1.2em 1em 1.8em;
padding: 1em;
background-color: #F7F0E1;
border: 2px solid #EEE8DF;
clear: right;
}

h1	{
	color: #000;
	font: bold 140% Arial, Verdana, sans-serif;
	text-align: center;
	}
h1.research {
	font: bold 140% Arial, Verdana, sans-serif;
	color: #336;
	text-align: left;
}
	
h2	{
	color: #000;
	font: bold 125% Arial, Verdana, sans-serif;
	margin: 10px 0 2px 0;
	padding: 0;
	text-align: left;
	}

h2.discover {
	font: bold 125%px Arial, Verdana, Helvetica, sans-serif;
	color: #c30;
}

h2.teach {
	font: bold 125% Arial, Verdana, Helvetica, sans-serif;
	color: #993;
}

h2.research {
	font: bold 125% Arial, Verdana, Helvetica, sans-serif;
	color: #336;
}

#main {
/*	margin-left: 20px;
	margin-right: 20px;
*/
/*	padding: 0;*/

    padding: 0px 1% 0px 3%; /*width: 96%; */
	background: #fff;
	}

/* end basic setup */

/*  start top nav classes */

#topnav {
	padding-bottom: 4px;
	height:109px;
	background-color: #fff;
	padding-bottom: 1px;
	}
	
.right {float: right;}

#nav {
margin: 0;
}	

ul#navlist {
margin-left: 0;
padding-left: 0;
white-space: nowrap;
text-align: right;
font-family: Arial, Verdana, sans serif;
font-size: 13px;
font-weight: bold;}

#navlist li
{
background-color:  #6699cc;
display: inline;
list-style-type: none;
margin: 0;
padding: 0;}

#navlist a { padding: 3px 10px; }

#navlist a:link, #navlist a:visited
{color: #fff;
background-color: #336699;
text-decoration: none;}

#navlist a:hover {
color: #fff;
background-color: #6699cc;
text-decoration: none;}

a:link.round {background-image: url(/images/off.gif);}
a:visited.round {background-image: url(/images/off.gif);}
a:hover.round {background-image: url(/images/on.gif);}

/*  end top nav classes */


#wholepage {
  width: 100%;
}

/* added by Ari, 12/11/06 */
.werememberbox {
float:left; 
width:600px;
margin:5px 20px 5px 0px;
padding:0px;
background-color:#fff;
} 
	
/* begin left nav stuff */
#leftnav {
        margin: 0;
        padding: 0;
        float:left;
	width: 215px;
      }

.dnav {
	background-image: url(/images/discover-ov.gif);
	background-repeat: no-repeat;
	width: 211px;
	height: 44px;
	margin: 0 0 7px 0;
	padding: 0;
}

.tnav {
	background-image: url(/images/teach-ov.gif);
	background-repeat: no-repeat;
	white-space: nowrap;
	width: 211px;
	height: 35px;
	margin: 0 0 7px 0;
	padding: 0;
}

.rnav {
	background-image: url(/images/research-ov.gif);
	background-repeat: no-repeat;
	white-space: nowrap;
	display: block;
	width: 211px;
	height: 35px;
	margin: 0 0 20px 0;
	padding: 0;
}

.dnav img {width: 211px; height: 44px; border: 0; }
.tnav img {width: 211px; height: 35px; border: 0; }
.rnav img {width: 211px; height: 35px; border: 0; }

* html a:hover {visibility:visible}
.dnav a:hover img {visibility:hidden}
.tnav a:hover img {visibility:hidden}
.rnav a:hover img {visibility:hidden}

.femside {
	background-color: #f93; 
	width:191px; 
	text-align:center; 
	margin: 0 auto 0 auto;
}

.fempar {
	font:bold normal  10px verdana; 
	color: #000; 
	margin: 0 10px 10px 10px; 
	width: 171px; 
	text-align:left; 
	padding: 0;
}

.femcenter {
	text-align:center; 
	margin: 0 3px 0 3px; 
	padding-bottom:6px;
	}

/* end left nav stuff */

.breadcrumb {
	font-size: 11px;
	/*padding: 5px 0 5px 40px; */
	padding: 5px 0px 5px 5px;
	margin: 0px 0px 0px 10px;
    clear: both;
	}

/* new footer style May 2008 */

div#footer {
  clear: both;
  color: black;
  margin: 12px 0px 0px 0px;
  padding: 12px 0px 11px 0px;
  text-align: center;
  background-color: #F7F0E1;
}

div#footer .footer-links a,
div#footer .footer-links a:link,
div#footer .footer-links a:visited
 {
  color: #333333;
}


div#footer .footer-links a:hover,
div#footer .footer-links a:active
{
  color: #0098DB;
}

div#footer .footer-links {
  margin: 0px auto .65em auto;
  padding: 0px;
}

div#footer .footer-copyright {
  font-size: .9em;
  margin: 7px auto 0px auto;
  color: #333333;
}



div#footer .footer-copyright a,
div#footer .footer-copyright a:link,
div#footer .footer-copyright a:visited
 {
  color: #0098DB;
}

/* end new footer style */

div#footer a img { /* addition 4dec2009 -- adding youtube, flickr, facebook, twitter links, icons */
  border: none;
}

.imgright {
	float: right; 
	margin: 0px 10px 0px 10px; 
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 11px;
}

.imgcenter {
	margin-right:auto;
	margin-left:auto;
	}

.imgleft {
	float: left; 
	margin: 0px 10px 10px 10px; 
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 11px;
	}

.imgpad {
	padding: 0px 10px 10px 0px;
	}	

.imginset {
	margin: 0px 20px 5px 0px;
	float: left;
	}

.tocside {
	float:left; 
	width:300px;
	margin:5px 20px 5px 0px;
	padding:5px;
	border: 1px solid #000;
} 

.innertext {
	float:left; 
} 

body.twih div.innertext {
	float:none; 
}

.disc {color: #C30;}

.discside {
float:right; 
width:300px;
margin:5px 20px 5px 25px;
padding:5px;
background-color:#ffcc99;
border: 1px solid #cc3300;
} 

.teach {color: #993;}

.teachside {
float:right; 
width:300px;
margin:5px 20px 5px 25px;
padding:5px;
background-color:#e1e1aa;
border: 1px solid #999933;
} 

.teachbox {
margin:5px 20px 5px 0;
padding:5px;
background-color:#e1e1aa;
border: 1px solid #999933;
} 

.research {color: #336;}

.researchside {
float:right; 
width:300px;
margin:5px 20px 5px 25px;
padding:5px;
background-color:#ccf;
border: 1px solid #336;
} 

.researchbox {
margin:5px 20px 5px 0;
padding:5px;
background-color:#ccf;
border: 1px solid #336;
} 


/* citation styles */

.citethispage {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 10px;
    color: #999999;
    text-decoration: none;
}


/* This week in history styles */

.week {
	background-color: #85B8EB;
	width: 181px;
	text-align: left;
	border: 1px solid #336;	
	padding: 0px 5px 0px 10px;
}

.week p {
	margin: 10px 5px 10px 10px;
}

.week a {
	font-weight: bold;
}

/*.bodyWrapper .content {
	 width:80%; 
}*/

/* .bodyLeftCol {
	float:left;
	width:48%;
	padding-right: 1em;
}

.bodyRightCol {
	float:right;
	width:49%;
} */

.clear {
	clear:both;
}

.bodyFloatRight {
	display:inline;
	float:right;
	margin: 0px 10px 10px 10px;
	width: 350px;
}

body.twih div.bodyFloatRight {
	margin: 0px 14% 10px 10px;
	padding-left: 40px;
}

.bodyWrapper h1 {
	text-align: left;
}

.bodyRightCol .rule, .bodyFloatRight .rule {
	border-bottom: 1px dotted #85B8EB;
}

a.more {
	font-style:italic;
}

a.whoare {
	font-size: .85em;
}

dl.twih dt {
	font-weight: bold;
	padding-bottom: .3em;
	padding-top: 1em;
}

dl.twih dd a {
	 font-weight: bold;
}

dl.twih dd {
         margin-left: 1.5em;
}

h2.twih {
	font-size: 1.1em;
}

#twihlogo p  {
	margin: 6px 0 0 0;
	padding: 0;
}

#twihlogo h4  {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* twih calendar styles */

tr#weekHeaderRow td {
        margin:0;
        font-style: italic;
        padding: .3em .25em;
        text-align: center;
	color: #666;
	font-weight: bold;
}

#month {
        font-weight: bold;
        border: 1px solid #fff;
}

.otherMonth {
	color: orange;
}

.weekItem {
}

.weekItem a {
         padding: .1em 1.25em .2em 1.25em;
}

.weekItem a:hover {
}

#calendar {
        margin: 10px 0 20px 0;
        align:center;
}

#calendar form {
	margin: 0;
	padding: 0;
}

#calendarTable {
        margin:0;
        position:relative;
}

#calendarTable td {
        border: 1px solid #85B8EB;
        text-align:right;
        padding: .3em;
	font-size: .9em;
        color : #999999;
}

#calendarTable td a {
	color: #999999;
	font-size: .9em;
	text-decoration : underline;
}

#navHeaderRow td {
        text-align: center;
}

#navHeaderRow td a {
	font-size: 1em;
	color : #336699;
	text-decoration : underline;
}

td.weekItemOn, td.dayItemOn {
        background-color: #85B8EB;
}

td.weekItemOn a, td.dayItemOn a {
	color: #336699 !important;
	font-size: 1em !important;
	text-decoration : underline;
}

td.otherMonth, td.otherMonth a {
	background-color: #ccc !important;
	color: #666 !important;
}

.caption-text {
padding:1px 14px;
}


/* new This Week in History format */

h2.twih-teaser-title {
  font-size: .9em;
}

p.twih-teaser-body {
  margin-top: 1px;
}

div.twih-info-block {
  margin-left: 35px;
}

div.twih-image-block {

 width: 330px;
 padding: 0px;
 margin: 0px 15px 10px 0px;

}

div.twih-image-block img {
 border: none;
vertical-align: bottom; /* to prevent gap in IE */

}

.twih-image-block p.twih-tagline {
  background-color: #8d1b3d;
  color: rgb(221,211,175);
  font-weight: bold;
  font-style: italic;
  text-align: center;
  margin: 0px;
  padding: 10px;
  border-bottom: 6px solid rgb(221,211,175); 
  

}






.twih-image-block .twih-tagline a {
  color: rgb(221,211,175);
}

/*
h2.twih-image-block-heading {

  padding-bottom: 1px;
  margin-bottom: 1px;
  color: #8D1B3D;
  font-size: 1.1em;
}
*/

div.twih-image-block .caption-text {
  font-size: .8em;
  color: #8d1b3d;
  text-align: right;
  padding: 1px 3px;
  margin-top: 1px;
}

.section-mainpage-link {
  font-size: .9em;
  margin-left: 2px;
}


body.this-week-in-history div.twih-content {
      padding: 0px 1% 0px 3%;
}

body.this-week-in-history p.citethispage {
      padding-left: 3%;
}

body.this-week-in-history h1 { text-align: left; }


/* New header and navbar, April 2008. Adapted from new Drupal theme */

/* Some IE specific code is in topnav.html, topnav_notab.html
because of need for conditional comments */

div#header div.block-block {
  float: left;
}

div#header img {
  border: none;
}

div#header div#header-links div.block-block {
  float: none;
}

div#header {
  height: 120px;
  background-color: #f7f0e1;
  margin-bottom: 7px;
}

div#header h1 {
  margin: 17px 0px 0px 17px;
}

div#header div#header-links {
  float: right;
  margin-right: 12px;
  margin-top: 10px;
}

div#header ul {
  margin: 0px;
  font-size: 1em; /* adjust from drupal theme */
}

div#header ul li {
  display: inline;
  font-size: 1em;  /* adjust from drupal theme */
}

div#header ul li a {
  color: #333333;
  padding: 0px 4px 0px 2px;
  font-size: .75em;
  border-right: 1px solid #333333;  
}

div#header ul li a:hover {
  color: #0098DB;
}

div#header ul li.last a {
  border-right: none;
}

div#header div#header-search {
  clear: right;
  float: right;
  margin-right: 17px;
  margin-top: 27px;
  font-size: 0.9em;
  font-style: italic;
  font-family: Arial,sans-serif;
}

div#header div#header-search .form-item {
  display: inline;
  margin: 0px .13em 0px .3em; /*top and bottom margins override system.css*/
}

div#header div#header-search select {
  margin: 0px .7em 0px .4em;
}

/* styles for navbar menu dropdowns. inspired by 'son of suckerfish'. depends on tiny bit of
javascript for IE6 and (because of old doctype in legacy code) IE7 compatability. */

#nav {display: block; background-color: #37424a;
  overflow: hidden; /*makes background apply despite all content contained in this div */
                    /* being floated.  Overflow: auto caused problems in Opera */
  min-width: 51em; /*smaller than min-width of the nav ul. ensure that entire menu displays at large font sizes*/
}

#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav ul {
  display: block;
  width: 52em; /*need width to allow centering*/
  padding-left: .5em;
  margin: 0px auto;
  font-size: 1em; /* adjust from drupal theme */
}

#nav a { color: white;
  display: block;
  font-weight: normal;
  font-size: .8em;
  padding: .4em 7px;  /* set right and left padding using px so menu still fits if large font size set in browser */
}

#nav li {
	float: left;
	padding: 7px .5em;
	border-right: 4px solid white;
	font-size: 1em;  /* adjust from drupal theme */
}

#nav li.navitem-toplevel.first {
  border-left: 4px solid white;  
 margin-left: 6px; /* ensure at least small amount of dark background at beginning, before 4px white border */
}

#nav li.navitem-toplevel a {
  font-family: Trebuchet MS, Arial, sans-serif;
font-weight: bold;
}

#nav li.navitem-toplevel ul li a {
  font-family: Arial, sans-serif;
font-weight: normal;
}

#nav li ul {
  border: 1px solid black;
  position: absolute;
  width: auto;
  left: -999em;
}

#nav li ul li {
  float: none; /* otherwise they menu items appear horizontally if they have the space */
  padding: 2px .2em;
  margin-left: 3px;
  border-style: dotted;
  border-color: black;
  border-width: 0px 0px 1px 0px; /* set style attributes in separate declarations for benefit of stupid IE */
  margin-right: 3px;
  /*border-bottom: 1px dotted black;*/
}

#nav li ul li.last {
  border-bottom: none;
} 

 #nav li:hover, #nav li.sfhover { 
	background-color: #0098db;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
	background-color: white;
	opacity: .9;
	color: black;
	margin-left: 0px; /* necessary for IE*/
}

/* This targets Firefox 2 and older, because setting opacity of < 1 causes text rendering issues. */
#nav[id=NAV] li:hover ul, #nav[id=NAV] li.sfhover ul { opacity: 1; }

#nav li:hover ul li, #nav li.sfhover ul li {
	background-color: white; /*override the blue background set for hovered top level elements */
}

#nav li ul li a {
 background-color: white;
 color: black;
 text-transform: none;
}

#nav li ul li a:hover {
 background-color: white;
 color: #0098db;
}

html body #header {
  font-size: medium;
}

html body #nav {
  font-size: medium;
}

/* section specific adaptation for new navbar */

body.wwd-exhibit-page #nav {
  margin-bottom: 7px;
}
/* end section specific adaptation for new navbar */

.subnav-border-below {
border-bottom: 1px dotted #356799;
margin-bottom: 18px;
margin-right: 7px;
padding-bottom: 10px;
}

.breadcrumb.teach-primsrces,
.breadcrumb.this-week
{
 padding: 10px 10px 1px 20px;
 margin: 20px 10px 10px 10px;
 border-top: 1px dotted #356799;
}

/* dropdown menus in teach/primarysources section */

#subnav-dropdown.teach-primsrces {
 margin-bottom: 15px;
 }


#subnav-dropdown.teach-primsrces, #subnav-dropdown.teach-primsrces ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#subnav-dropdown.teach-primsrces a {
	display: block;
	width: 12em;
}

#subnav-dropdown.teach-primsrces li { /* all list items */
	float: left;
	width: 12em; /* width needed or else Opera goes nuts */
	
}

#subnav-dropdown.teach-primsrces li.subnavitem-toplevel {
	background-color: #dbecfd;
	border: #4b7281 solid;
	border-width: 1px 1px 0px 1px;
	padding: .8em;
	margin: .5em .5em 0px 0px;
}

#subnav-dropdown.teach-primsrces li.subnavitem-toplevel a {
  text-align: center;
}

#subnav-dropdown.teach-primsrces li ul { /* second-level lists */
	position: absolute;
	width: 12em;
	left: -999em;
/* using left instead of display to hide menus because display: none isn't read by screen readers */
	border: solid #6699cc;
	border-width: 0px 2px 2px 2px;
	background-color: white;
}


#subnav-dropdown.teach-primsrces li ul li {
border-bottom: 1px dotted #6699cc;
padding: .2em 0px;
text-align: left;
}

#subnav-dropdown.teach-primsrces li ul li.last {
border-bottom: none;
}

#subnav-dropdown.teach-primsrces li.subnavitem-toplevel ul li a {
padding: 2px 1em;
	text-align: left;
}


#subnav-dropdown.teach-primsrces li:hover ul, #subnav-dropdown.teach-primsrces li.sfhover-subnav ul {
/* lists nested under hovered list items */
	margin-left: 0px;
	left: auto;
}

#subnav-dropdown.teach-primsrces ul.subnav {
/*border-bottom: 3px solid #6699cc;*/
/*overflow: auto;*/
margin-bottom: 0px;
margin-right: 8px;
}

/* end dropdown menus in teach/primarysources section */



div.section-menu {
background-color:#F4EEE5;
border:2px solid #EEE8DF;
margin-right:15px;
padding:8px 5px;
width: 220px;
float: right;}

a.navtab 			{ color: #333366; font-family: Arial, Verdana, Helvetical, sans-serif; font-size: 12px;} 	
a.navtab:link	{ color: #333366; text-decoration: none;} 
a.navtab:visited	{ color: #999933; text-decoration: none;} 
a.navtab:active	{ color: #cc3300; text-decoration: none;} 
a.navtab:hover		{ color: #cc3300; text-decoration: none;}

/* mothers day ad - hover effect */

body.twih div.mothers-day-ad-block {
	float: left;
}

.mothers-day-ad-block a.main-link {
display: block;  
width: 137px;  
height: 140px;  
background: url(images/mothers_day_ad_white_bg.gif) no-repeat 0 0;  
overflow: hidden;  
text-indent: -10000px;  
font-size: 0px;  
line-height: 0px;
margin: 10px 10px 10px 0px;
}

.mothers-day-ad-block a:hover.main-link {  
    background-position: 0 -140px;  
}

