body {
	color: #36322D;
	background: #ffffff;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Verdana, sans-serif;
	margin: 0 auto;
	padding: 0;
	font-size: 0.75em;
	width: 100%;
}

a:link, a:visited {
	color: #36322D;
	}

a:hover, a:active {
	color: #B4AEA9;
	}

ul, ol {
	margin: 0 0 1em 0;
	padding:0 0 0 15px;  
}

li {
	margin: 0px;
	padding: 0px;
	}


/* FORM */

form {
	margin: 0px;
	padding: 0px;
	}
	
fieldset {
	border: 1px solid #e0e0e0;
	padding: 5px;
	}

/* UTILITY */

.clearboth {
	clear: both;
	}
	
.inline {
    display: inline;
    margin: 0;
    padding: 0;
}

#main {
	position:relative;
	width: 100%;
	margin: 0 auto;
}

#container {
	position: relative;
	margin: 0;
	padding: 2em 10%; /*side padding = sidebar width + gutters on either side of sidebar */
	height: 1%;
}

/* HEADER */


#header {
	background: #FFFFFF;
    margin: 0;
    padding: 0;
    position: relative;
    width: 960px;

/* commented just in case...can remove later
-moz-box-shadow: -100px -1px 100px -50px #DBD8D2 inset;
-webkit-box-shadow: -100px -1px 100px -50px #DBD8D2 inset;
box-shadow: -100px -1px 100px -50px #DBD8D2 inset;
*/
}

/* --------------------------------------HEADER1: USER STUFF, LOGIN */
#header1 {
    height: 30px;
    margin: 5px 0 0;
    padding: 0;
    position: relative;
}

#account-login > a {
    border-bottom: 3px solid #BAC446;
    color: #000000;
    display: block;
    float: right;
    font-size: 1em;
    font-weight: bold;
    padding-bottom: 2px;
    text-decoration: none;
    text-transform: uppercase;
}

#account-login > a:hover,
#account-login > a:active,
#account-login > a:focus {
    color: #BAC446;
}

/* --------------------------------------HEADER2: SITE ID, SEARCH BOX */
#header2 {
	position: relative;
	padding: 0;
	margin: 0;
	height: 1%;
	min-height: 105px;
}

 #header a#site-id {
	display: block;
	margin: 0;
	padding: 0;
	height: 105px;
	width: 180px;
	position: absolute;
	top: 0;
	left: 0;
	text-decoration: none;
	background: url(http://www.nypl.org/sites/all/themes/nypl_new/images/header/nypl_logo.gif) top left no-repeat;
}

#header a#site-id span {
	display: none;
	visibility: hidden;
	height: 0;
	line-height: 0;
}

#search-top {
    color: #71695E;
    float: right;
    margin: 25px auto 0;
    padding: 0;
}

#search-top input.search_button {
/* gradient */
background: #00a2ce; /* Old browsers */
background: -moz-linear-gradient(top, #00a2ce 0%, #00a2ce 60%, #0071a1 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00a2ce), color-stop(60%,#00a2ce), color-stop(100%,#0071a1)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #00a2ce 0%,#00a2ce 60%,#0071a1 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #00a2ce 0%,#00a2ce 60%,#0071a1 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #00a2ce 0%,#00a2ce 60%,#0071a1 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a2ce', endColorstr='#0071a1',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #00a2ce 0%,#00a2ce 60%,#0071a1 100%); /* W3C */
/* end gradient */

-moz-border-radius: 9px;
-webkit-border-radius: 9px;
-o-border-radius: 9px;

    border: medium none;
    border-radius: 7px;
    color: #FFFFFF;
    font-size: 1.15em;
    letter-spacing: 0.11em;
    padding: 4px 7px 5px;
	margin-top: 4px;
    text-transform: uppercase;
	vertical-align: top;
	    
-webkit-text-stroke-width: medium; /* overrides user agent style */
}

#search-top input.search_button:hover,
#search-top input.search_button:active,
#search-top input.search_button:focus {
/* gradient */
background: #015f89; /* Old browsers */
background: -moz-linear-gradient(top, #015f89 0%, #015f89 50%, #0071a1 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#015f89), color-stop(50%,#015f89), color-stop(100%,#0071a1)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #015f89 0%,#015f89 50%,#0071a1 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #015f89 0%,#015f89 50%,#0071a1 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #015f89 0%,#015f89 50%,#0071a1 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#015f89', endColorstr='#0071a1',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #015f89 0%,#015f89 50%,#0071a1 100%); /* W3C */
/* end gradient */
}

#search-top select#t { /* catalog facets dropdown */
    font-size: 1em;
    margin-left: 1em;    
    width: 115px;
}

#search-top input#search-block-form-input { /* search box textarea */
    border: 1px solid #B4AEA9;
    color: #534D45;
    font-size: 1.5em;
    margin: 0 5px;
    padding: 5px;
    width: 350px;
}

#search-top div.searchOptions, 
#search-top div.searchOptions a.moreSearch { /* catalog/site radio buttons */
    font-size: 0.95em;
    letter-spacing: 0.025em;
}

#search-top div.searchOptions  {
    margin: 5px 0 0 135px;
}

#search-top div.searchOptions label.active-option {
    color: #000000;
}

#search-top div.searchOptions a.moreSearch { /* advanced search */
    bottom: 30px;
    color: #71695E;
    font-size: 0.8em;
    position: absolute;
    right: 0;
}

#search-top div.searchOptions label {
	padding: 0 3px !important;
}




/* --------------------------------------HEADER3: PRIMARY LINKS (top nav), BREADCRUMB */
#header3 {
	height: 1%;
	position: relative;
}

.breadcrumb {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E8E4E1;
    font-size: 90%;
    margin: 0;
    padding: 3px 10px;
}
.breadcrumb a:link, .breadcrumb a:visited {
    text-decoration: none;
}
.breadcrumb a {
    white-space: nowrap;
}
.breadcrumb a:hover, .breadcrumb a:active {
    color: #000000;
    text-decoration: underline;
}


/* -------------------------------------PRIMARY LINKS (top nav) */

#primary-links {
    height: 32px;
    line-height: 30px;
    margin: 0;
    padding: 0;
    
/* gradient */
background: #908b85; /* Old browsers */
background: -moz-linear-gradient(top, #908b85 0%, #71695e 50%, #36322d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#908b85), color-stop(50%,#71695e), color-stop(100%,#36322d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #908b85 0%,#71695e 50%,#36322d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #908b85 0%,#71695e 50%,#36322d 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #908b85 0%,#71695e 50%,#36322d 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#908b85', endColorstr='#36322d',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #908b85 0%,#71695e 50%,#36322d 100%); /* W3C */   
/* end gradient */ 
}

#primary-links ul {
    list-style: none outside none;
    padding-left: 0;
}

#primary-links ul > li {
	float: left;    
	margin: 0 5px;
}

#primary-links ul > li > a {
    color: #FFFFFF;
    display: block;
    font-size: 1.167em;
    letter-spacing: 0.01em;
    padding: 1px 10px;
    text-decoration: none;
}

#primary-links > ul > li > a:hover,
#primary-links > ul > li > a:active,
#primary-links > ul > li > a:focus,
#primary-links > ul > li.openDropDown > a,
#primary-links > ul > li.openDropDown > a:hover,
#primary-links > ul > li.openDropDown > a:active,
#primary-links > ul > li.openDropDown > a:focus {
    background: none repeat scroll 0 0 #FFFFFF;
    border-top: 1px solid #71695E;
    color: #36322D;
}

/* the following styles are for the first/last rollovers */
#primary-links ul > li.first,
#primary-links ul > li.last {
    line-height: 26px;
}

#primary-links ul > li.first {
    margin-left: 1px;
}

#primary-links ul > li.first > a,
#primary-links ul > li.last > a  {
    padding-top: 3px;
}

#primary-links ul > li.first:hover,
#primary-links ul > li.last:hover {
    line-height: 26px;    
    padding-top: none 0;
}

#primary-links ul > li.last {
    margin-right: 1px;
}

/* GRAP don't like the way the "Help" rollover looked
#primary-links ul > li.last > a {
    padding-right: 31px;
}
*/

#primary-links ul > li.last:hover {

}
/* end first/last rollovers */




#primary-links ul > li.first > a:hover > span,
#primary-links ul > li.first > a:active > span,
#primary-links ul > li.first > a:focus > span, 
#primary-links ul > li.last > a:hover > span,
#primary-links ul > li.last > a:active > span,
#primary-links ul > li.last > a:focus > span {
/* THIS IS CHOICE 2 for first/last rollovers, THICK UNDERLINE ON ROLLOVER

    border-bottom: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding-bottom: 1px;
*/
}



/* -----------------------------------the dropdown styles */
#primary-links .dropDown { /* assigned to any #primary-links li that contains a dropdown menu (not "Home" or "Help") */
    position: relative;
    z-index: 101; /* has to be >100 to work on front pg */
}

#primary-links ul li.dropDown.active,
#primary-links ul li.dropDown.active.openDropDown > a {
/*
	background: #E3332C;
	border-top: medium none;
	color: #ffffff;	
*/
}

#primary-links .dropDownContent {
    background: none repeat scroll 0 0 transparent !important;
    border: medium none;
    display: none;
    left: 0;
    margin-left: -1px;    
    padding: 0;
    position: absolute;
    top: 32px;
    width: 925px;
}

#primary-links .openDropDown {
	display: block;
}

#primary-links .dropDownContent > ul,
#primary-links .dropDownContent.oneLevel > ul {
    background: #FFFFFF;
    border: 1px solid #71695E;
    border-top: medium none;
    float: left;
}

#primary-links .dropDownContent.oneLevel > ul {
    min-width: 160px; /* prevents dropDown from being narrower than the primary nav element */
    padding: 5px 0;
}

#primary-links .dropDownContent > ul > li > ul {

}

#primary-links .dropDownContent > ul > li {
    margin: 10px 10px -5px 5px;
}

#primary-links .dropDownContent h5 {
    color: #E3332C;    
    font-size: 1em; /* 0.9167em; previous declaration*/
	font-weight: normal;
    letter-spacing: 0.01em;
    line-height: 1.5em;
    margin: 0 5px;
    text-transform: uppercase;
}

#primary-links .dropDownContent > ul > li > ul >  li,
#primary-links .dropDownContent.oneLevel > ul > li {
    border-bottom: 1px solid #CBC8C1;
    float: none;
    margin: 0;
}

#primary-links .dropDownContent > ul > li > ul > li.last,
#primary-links .dropDownContent.oneLevel > ul > li.last {
    border-bottom: 1px solid #ffffff; /* prevents "jump" effect on rollover */
}

#primary-links .dropDownContent > ul > li > a,
#primary-links .dropDownContent > ul > li > ul > li > a,
#primary-links .dropDownContent.oneLevel > ul > li,
#primary-links .dropDownContent.oneLevel > ul > li > a {
	background: inherit;
    color: #000000;
    font-size: 1em;
    margin: 0 5px;
    padding: 0;
}

#primary-links .dropDownContent > ul > li > ul > li:hover,
#primary-links .dropDownContent > ul > li > ul > li:active,
#primary-links .dropDownContent > ul > li > ul > li:focus,
#primary-links .dropDownContent.oneLevel > ul > li:hover,
#primary-links .dropDownContent.oneLevel > ul > li:active,
#primary-links .dropDownContent.oneLevel > ul > li:focus {
	background: #E3332C;
	border-bottom: 1px solid #ffffff;
}

#primary-links .dropDownContent > ul > li > ul > li > a:hover,
#primary-links .dropDownContent > ul > li > ul > li > a:active,
#primary-links .dropDownContent > ul > li > ul > li > a:focus,
#primary-links .dropDownContent.oneLevel > ul > li > a:hover,
#primary-links .dropDownContent.oneLevel > ul > li > a:active,
#primary-links .dropDownContent.oneLevel > ul > li > a:focus {
	color: #ffffff;
}

/* ------------------------------------- end PRIMARY LINKS (top nav) */




/* Special eAdvocacy banner, Spring 2010 */
#advocacy_banner {
	height: 81px;
	margin: 0;
	padding: 2px 0;
}



/*

#header1a {
	position:relative;
	height: 2.2em;
}


#header2 {
	position: relative;
	padding: .25em;
	margin: 0;
	background: #ae211b;
	white-space: nowrap;
	height: 1%;
	border-top: 2px solid #cb2823;
	text-align: center;
}

#header3 {
	margin: 0;
	padding: 0;
	background: #3e4338;
	position: relative;
	border-top: 2px solid #cb2823;
	width: 100%;
}

#lionmark {
background:transparent url(../images/lionmark.gif) no-repeat scroll right center;
height:63px;
position:absolute;
right:1em;
top:0.7em;
width:63px;
}

*/



#footer-bottom {
    background: none repeat scroll 0 0 #FFFFFF;
    border-top: 1px solid #E8E4E1;
    color: #36322D;
    height: 130px;
    margin: 0;
    padding: 15px 0;
    position: relative;
    text-align: left;
}

.block {
    padding: 0;
}

#footer-bottom ul {
    float: left;
    line-height: 2em;
    list-style: none outside none;
    margin: 0;
    padding: 0 2em;
    position: relative;
}

#footer-bottom ul li {
    padding: 0 1em;
	margin: 0;
}

#footer-bottom ul li a {
    color: #36322D;
    text-decoration: none;
}

#footer-bottom ul li a:hover,
#footer-bottom ul li a:active {
    text-decoration: underline;
}

#footer-bottom ul#shallow-footer li.first, #footer-bottom ul#legal-links li.first {
    border-left: 0 none;
    padding-left: 0;
}


#footer-bottom ul#legal-links li.last {
    border-left: 0 none;
}