/* ===========================
MISC
=========================== */

#wrap {
	width: 750px;
	margin: 0 auto;
	border-width: 1px;
	border-color: gray;
	border-style: solid;
	border-top: none;
}

div.box {
	/* padding: 0 0px; */
	/* padding-left: 15px; */
	/* padding-right: 15px; */
	margin: 0 auto;
}

#header {
	width: 100%;
	height: 50px;
	/*padding-top: .5em;
	padding-bottom: .5em; */
	/* float:left is required on a div encapsulating other floating divs in order for them to display inside it in Firefox */
	float: left;
	background-image: url("/img/logo/bostonian/header2.jpg");
}

/* PLAYING WITH HEADER STUFF */
#header a
{
         display: block;
         float: left;
         /* border: 1px dashed red; /* debug display */
}
#header a span
{
         display: none;
}

#header a#link
{
         height: 48px;
         width: 400px;
}
/* END OF PLAYING WITH HEADER STUFF */


#logo {
	float: left;
}

#search {
	float: right;
	padding-top: .5em;
	padding-right: .5em;
	font-size: .75em;
}

#header h1 {
	padding: 5px;
	margin: 0;
}

div.bar {
	background-color: #663300;
	height: 15px;
	border: 0;
	padding: 0;
	clear: both;
}

* html div.bar {
	/* need to set background-color for firefox/opera and color for IE */
	color: #663300;
}

div.nav {
	clear: both;
	color: white;
	width: 100%;
	float: left;
	/* background-color: rgb(19, 85, 143); */
	/* this is the color used in the NAV bar, where there is no text */
	background-color: #5C4A3D;
}

div#main {
	/* padding-top is the padding of the main text from the nav bar */
	padding-top: 20px;
	/* padding-bottom is the padding of the main text from the footer */
	padding-bottom: 20px;
	/* padding-right is the padding of the main text from the right side of the box */
	padding-right: 20px;
}

div#home {
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
}

div#main {
	/* width of sidebar + width of main must equal body width - padding */
	width: 540px;
	float: right;
}

div#home {
	width: 750px;
	text-align: center;
}

#footer {
	/* width: 100%; */
	width: 720px;
	clear: both;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-top: 10px;
	font-size: .75em;
}

/* ===========================
NAVIGATION BAR
=========================== */
#nav {
	list-style-type: none;
	padding: 0;
	display: table;
	/* margin stuff is necessary to center menu in firefox */
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	font-size: .75em;
}

* html #nav { /* necessary to center menu in ie 5 and 5.5 */
	margin: 0;
}

#nav li {
	display: block;
	float: left;
	position: relative;
	z-index: 100;
}

#nav li span {
	display: block;
	z-index: 100;
	/* background: rgb(19, 85, 143); */
	/* this is the color used in the NAV bar */
	background-color: #5C4A3D;
	padding: 2px 15px;;
	font-size: 1.1em;
}

#nav li a,#nav li a:visited {
	display: block;
	padding: 0;
}

#nav dl {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	background: url(transparency.gif);
	white-space: nowrap;
}

#nav dt {
	/* background: rgb(19, 85, 143); */
	/* this is the color used in the NAV bar, behind the text in the menu */
	background-color: #5C4A3D;
	margin: 0;
	font-size: 1.1em;
	/* causes problem with ie6 */ /* border-bottom: 1px solid #fff; */
	float: left;
	/* ML: this is key to maintaining consistent width of each item in drop down. */
	/* we should also change this color if we are changing the NAV bar colors */
	border-right: 1px solid #5C4A3D;
}

#nav dd {
	display: none;
	background: transparent;
	border-bottom: 1px solid #cce;
	clear: left;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 1em;
	text-align: left;
}

#nav dt a,#nav dt a:visited {
	display: block;
	/* this is the color of text in the NAV bar when you are NOT hovering over it */
	color: #ffffff;
	padding: 2px 15px;
	text-decoration: none;
	font-weight: normal;
}

#nav dd a,#nav dd a:visited {
	/* this is the color used in the NAV bar, behind the text when the menu drops down */
	background: #5C4A3D;
	/* this is the color of text in the drop down menus when you are NOT hovering over it */
	color: #ffffff;
	text-decoration: none;
	display: block;
	padding: 2px 10px;
	font-weight: normal;
}

#nav li a:hover {
	border: 0;
}

#nav li:hover dd,#nav li a:hover dd {
	display: block;
}

#nav li:hover dl,#nav li a:hover dl {
	/* the color here (after 'solid') is the color in the NAV bar when you hover over text */
	border-bottom: 10px solid #5C4A3D;
}

#nav li:hover dt a,#nav li a:hover dt a,#nav dd a:hover {
	/* the color here (after 'solid') is the color in the NAV bar when you hover over text */
	background: #C0C0C0;
	/* this is the color of the text when you hover over text */
	color: #5C4A3D;
}

/* modify nav list here */
#education #nav #education dt a,#getinvolved  #nav #getinvolved dt a,#librarymuseum  #nav #librarymuseum dt a,#neighborhoods  #nav #neighborhoods dt a,#osh #nav #osh dt a,#info #nav #info dt a
	{
	/* the color here (after 'solid') is the color in the NAV bar when you hover over text */
	background: #ffffff;
	color: #534;
}

/* ===========================
SIDEBAR
=========================== */
#sidebar { /* height: 10em; */
	font-weight: bold;
	float: left;
	font-size: .75em;
	float: left;
	/* width of sidebar + width of main must equal body width - padding */
	width: 160px;
	padding-top: 20px;
	/* padding-left is the padding of the sidebar from the box */
	padding-left: 10px;
}


#sidebar h2,#sidebar h3,#sidebar p {
	padding: 0 10px;
}

#sidebar ul {
	/* using left: -999em; instead of display: none; because the latter causes problems with screen readers */
	left: -999em;
	position: absolute;
	list-style: none;
	z-index: 90;
	padding: 0;
	margin: 0;
	cursor: pointer;
	/* setting line height fixes bug in IE */
	line-height: 1.5em;
}

#sidebar li { /* fix IE 6 li padding bug with display: inline
	display: inline; */
	margin: 0;
	position: relative;
	z-index: 90;
}

#sidebar li.lev1 {
	padding-bottom: .5em;
}

#sidebar a {
	display: block;
	/* supposedly fixes whitespace bug in ie6 */ /*width: 100%;*/
	/* setting width makes ie6 turn a into a block which allows clicking anywhere on it 
	width: 100%; */
}

#sidebar a:hover {
	color: #663300;
}

#sidebar li ul {
	display: block;
	position: absolute;
	/* using left: -999em; instead of display: none; because the latter causes problems with screen readers */
	left: -999em;
	padding: 0;
	margin: 0;
	padding-top: .25em;
}

#sidebar ul li a,#sidebar ul li a:visited { /* display: block; */
	text-decoration: none;
}

#sidebar li li {
	margin: 0;
	padding: 0;
	font-size: 1em;
	text-align: left;
	padding-bottom: .25em;
}

#sidebar ul a {
	margin: 0;
	padding: 0;
	font-size: 1.1em;
	/*	border-top: 1px solid black; */
	color: black;
	background-color: white;
}

#sidebar li li a,#sidebar li li a:visited {
	color: black;
	min-height: 1em;
	text-decoration: none;
	/* display: block; */
	padding: 0 1em;
	font-weight: normal;
}

#sidebar li li a:hover {
	color: #663300;
}

/* modify sidebar list here */
#education #sidebar #education,#getinvolved #sidebar #getinvolved,#librarymuseum #sidebar #librarymuseum,#neighborhoods #sidebar #neighborhoods,#osh #sidebar #osh,#info #sidebar #info
	{
	/* using left: -999em; instead of display: none; because the latter causes problems with screen readers */
	left: 0em;
	position: relative;
}

/* modify sidebar list here */
.groupvisit ul#groupvisit,.grouptour ul#grouptour,.schoolprog ul#schoolprog,.teachers ul#teachers,.aboutcoll ul#aboutcoll,.memberships ul#memberships,.volunteer ul#volunteer,.jobs ul#jobs,.donations ul#donations,.adopt ul#adopt,.reference ul#reference,.researchguide ul#researchguide,.addresshours ul#addresshours,.history ul#history,.preservation ul#preservation,.priorities ul#priorities,.photos ul#photos,.host ul#host,.calendar ul#calendar,.volunteer ul#volunteer,.histmarkers ul#histmarkers,.exhibits ul#exhibits,.libcoll ul#libcoll,.rfi ul#rfi,.localhist ul#localhist,.fees ul#fees,.mapping ul#mapping
	{
	/* using left: -999em; instead of display: none; because the latter causes problems with screen readers */
	left: 0em;
	position: relative;
	display: block;
}

/* modify sidebar list here */
.groupvisit a#groupvisit,.grouptour a#grouptour,.schoolprog a#schoolprog,.teachers a#teachers,.aboutcoll a#aboutcoll,.memberships a#memberships,.volunteer a#volunteer,.jobs a#jobs,.donations a#donations,.adopt a#adopt,.reference a#reference,.researchguide a#researchguide,.histmarkers a#histmarkers,.exhibits a#exhibits,.calendar a#calendar,.addresshours a#addresshours,.history a#history,.preservation a#preservation,.priorities a#priorities,.photos a#photos,.host a#host,.calendar a#calendar,.volunteer a#volunteer,.histmarkers a#histmarkers,.exhibits a#exhibits,.libcoll a#libcoll,.rfi a#rfi,.localhist a#localhist,.fees a#fees,.mapping a#mapping
	{
	color: #663300;
}
