/* Google Web Fonts */
@import url(http://fonts.googleapis.com/css?family=Prata);
@import url(http://fonts.googleapis.com/css?family=Marvel:400,700,400italic,700italic);

/* Andre Studios: CSS by jA, Nov. 2011 



PALETTE:
light green #BED996
dark green #538D52
tan #E8F2C2
yellow #EDF263
teal blue #26B6BD


FONTS:
display stack "Prata", Times New Roman, serif;
default stack "Kievit", "Lucida Grande","Calibri",tahoma,sans-serif;

*/




/*
MEYER RESET RELOADED (somewhat adapted)
http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
*************************************************************************************************************/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
/*
	color: black;
	background: white;
*/
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* END RESET *************************************************************************************************************/






/* LAYOUT, STYLES **********************************************************************************************************/

/* COLUMN WIDTH CLASSES */
/* class names: .TG_XX where XX = number of columns spanned */
/* widths based on 960grid, then defined as % according to E. Marcotte's Responsive Design */
.TG_1 {
	width:10.416667%; /* 100/960 = .10416667 */
}

.TG_2 {
	width:22.916667%; /* 220/960 = .22916667 */
}

.TG_3 {
	width:35.416667%; /* 340/960 = .35416667 */
}

.TG_4 {
	width:47.916667%; /* 460/960 = .47916667 */
}

.TG_5 {
	width:60.416667%; /* 580/960 = .60416667 */
}

.TG_6 {
	width:72.916667%; /* 700/960 = .72916667 */
}

.TG_7 {
	width:85.416667%; /* 820/960 = .85416667 */
}

.TG_8 {
	width:97.916667%; /* 940/960 = .97916667 */
}
/* END COLUMN WIDTH CLASSES */




/* DEFAULT STYLES ******/
body {
    background: url("../images/Andre_bg-texture2.png") repeat #D7CDBB;
    font-family: "Kievit","Lucida Grande","Calibri",tahoma,sans-serif;
    min-height: 800px;
    padding: 1em 0;
	width: 100%;

/*
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
*/
}


h1, h2, h3 {
	font-family: "Prata", Times New Roman, serif;
    margin-bottom: 0.5em;
}
h1 {
    font-size: 2em;
    letter-spacing: 0.001em;
    line-height: 1.2em;
}
h2 {
    font-size: 1.5em;
    letter-spacing: 0.02em;
    line-height: 1.5em;
}
h3 {
    font-size: 1.1em;
    margin-top: 1em;
}
h4 {
    color: #BF4D00;
    font-size: 0.7em;
    font-weight: bold;
    margin: 1.3em 0;
    text-transform: uppercase;
}


a:link, a:visited {
	color:#36322D;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
    background: #BFDCED;
    text-decoration: none;
}

p, li {
    font-size: 0.85em;
    letter-spacing: 0.003em;
}

p {
    margin-bottom: 1em;
    line-height: 1.5em;
}

li {
    line-height: 1.8em;
    padding-right: 1.5em;
}




/* CONTAINER *****/
.wrapper {
	width: 960px;
	background: #fff;
	position: relative;
	margin: 0 auto;
	padding: 1em 1em 2em 1em;
	overflow: hidden;
    border: 1px solid #B9AC99;
	
    -webkit-border-radius: 5px;  
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#doc4 {
    margin: 0 auto;
}



/* HEADER *****/

#hd {
    border-bottom: 5px solid #50372C;
    border-top: 2px solid #50372C;
    margin-bottom: 10px;
    overflow: auto;
    padding: 10px 0 20px;
    width: 100%;
}


div#site_name {
	font-family: "Prata", Times New Roman, serif;
}
div#site_name a {
    color: #BF4D00;
    font-size: 3em;
    line-height: 1.5em;
    text-decoration: none;
    text-shadow: 1px 1px 0px white, 2px 2px 0px #CFC2AC;
}
div#site_name a:hover {
	background: none;
}

div#site_name p { 
	font-size: 1em;
}




/* USER LOGIN STUFF *****/
div.user_util_links {
    float: right;
    margin-top: 1em;
}

div.user_util_links a {
    margin-left: 15px;
}




/* NAV, SEARCH BOX *****/
div#navSearch {
    overflow: hidden;
    padding: 10px 0 0;
}

ul#global_nav {
	float: left;
	overflow: hidden;
	border-top: 1px dotted #CCC;
	border-bottom: 1px dotted #CCC;
}

ul#global_nav li {
    font-family: "Prata", Times New Roman, serif;
    font-size: 1em;
	font-weight: bold;
	float: left;
	padding: .3em 1em 0;	
}

ul#global_nav li a {
    display: block;
	text-decoration: none;
	font-weight: normal;
	border-bottom: 3px solid transparent;
}
ul#global_nav li a:active,
ul#global_nav li a:focus {
	text-decoration: underline;
}

ul#global_nav li a:hover {
	background: transparent;
	border-bottom: 3px solid #DB5E00;
}



#search {
	float: right;
}

input[type="text"], /* search box */
input[type="email"],
input[type="password"] /* user login form */ {
    border-color: #C0C0C0 #D9D9D9 #D9D9D9;
    border-style: solid;
    border-width: 1px;
    height: 1.8em;
    
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

#search input[type="text"] { /* search box */
    border-color: #ccc;
    border-style: dotted;
    color: #534D45;
    letter-spacing: 0.03em;
    padding: 0 7px;
    width: 300px;
}

#search input[type="submit"] { /* search box */
    background: url("/images/themeimgs/fwdarrow.png") no-repeat scroll left center transparent;
    border: medium none;
}



/* HOME *****/

#home_img {
	height: 550px;
	margin: 10px 10px;
	width: 400px;
    border: 3px solid #50372C;

	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

a.home_img:hover,
a.home_img:active,
a.home_img:focus {
	background: none;
}

.home_text {
    font-size: 115%;
    letter-spacing: 0.001em;
    line-height: 1.7em;
    padding: 15px 15px 0 0;
    width: 49%;
}

.home_text a {
	color: #207FAF;
}

div.home_gallery {
    margin: 25px auto;
	text-align: center;
	height: 223px;
	overflow: hidden;
}

div.home_gallery a img {
    border: 3px solid #fff;
    margin: 3px;
    padding: 5px;
    height: 200px;
}
div.home_gallery a img:hover {
	outline: 3px solid #E8F2C2;
}



/* CONTENT AREA *****/
#bd {
	overflow: hidden;
}



/* BROWSE PAGE ******/

ul.browseLinks {
    padding: 25px 0;
}

ul.browseLinks > li {
    background: #207FAF;
    float: left;
    font-family: "Prata", Times New Roman, serif;
    font-size: 1em;
    letter-spacing: 0.09em;
    margin: 0 20px;
    padding: 3px 2px;
    text-align: center;
    width: 120px;
    
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;    
}

ul.browseLinks li a {
    border-bottom: 1px solid;
    border-top: 1px solid;
    color: #fff;
    display: block;
    text-decoration: none;
}
ul.browseLinks li a:hover,
ul.browseLinks li a:active,
ul.browseLinks li a:focus {
	background: none;
}
ul.browseLinks li a:hover,
ul.browseLinks li a:active {
	text-decoration: underline;
}
ul.browseLinks li a:focus {

}

ul.browseLinks li a span {
    display: block;
    text-transform: uppercase;
}

#browseNYPL h2, #browseFIT h2 {
	font-family: "Prata", Times New Roman, serif;
	font-size: 150%;
}

#browseNYPL, #browseFIT, #term_nav {
/* 	margin: 20px 0;	 */
}

#browseNYPL li, #browseFIT li {
	float: left;
}

/* fashion terms */
#term_nav {
    font-size: 1.5em;
    margin-bottom: 20px;
    padding: 3px 0;
}

#term_box {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
    
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    column-gap: 20px;  
    
    margin: 0 auto;
      
    /* width: 960px; */
}
#term_box a {
	line-height: 1.5em;
}



/* SEARCH RESULTS */

#documents { /* the search results */

}

div#results div#documents { /* contains all results */
	overflow: hidden;
}

div#results div.document { /* each result container */
    float: left;
    height: 200px;
    margin: 3px;
    overflow: hidden;
}

div.document {
	position: relative;
}

div.document a {
	text-decoration: none;
}

div.document a img {
/*     margin: 3px; */
}

div.document a img:hover,
div.document a img:active,
div.document a img:focus {
    outline: 3px solid #BFDCED;
}

div#results div.documentHeader { /* positions img title etc */
    float: right;
}

div#results div.documentHeader h3 {
    line-height: 1.2em;
	margin: 0;
}

.image_source {
	margin: 0;
	font-size: 0.8em;
	color: #999;
}
.image_source a {
	color: #999;
}

div#results p.image_source a {
	color: #999;
}

div#results div.documentFunctions {
	position: absolute;
	top: 113px;
	left: 103px;
}

div#results dl.defList {
    clear: none;
    overflow: hidden;
    padding: 0;
}

a.view-details {
    color: #207FAF;
    display: block;
    font-size: 0.9em;
    margin: 0.5em 0 0;
    position: absolute;
    text-transform: uppercase;
    top: 130px;
}

label.toggle_bookmark, label.toggle_folder {
    color: #36322D;
}

div.sidebar {
    float: left;
    margin: 0;
}


/* Results Tools *****/
/* tools area */
div#results_tools-info {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 10px;
    padding: 5px 0;
	overflow: hidden;
	font-size: 80%;
}

div#results_tools-info div {
	padding: 3px 0;
}

div#results_tools-info div div {
	padding: 0;
}

div#results {
    float: right;
    overflow: hidden;    
    position: relative;
}

div#results > div.pagination { /* positions pagination BELOW the search results */
	float: right;
}

/* Sorting */
#sortAndPerPage form {
	display: inline;
	float: none;
}

#sortAndPerPage form {
	display: inline;
	float: none;
}

.pageEntriesInfo {
	width: 70%;
}


/* Pagination */
div.pagination {
	background: transparent;
    border: medium none;
    border-radius: 0;
    line-height: 1em;
	float: right;
}
.pagination .prev_page {
    float: left;
    margin-right: 5px;
}
.pagination .next_page {
    float: right;    
}

.pagination .prev_page a,
.pagination .next_page a {
    padding: 2px 4px; /* makes rollovers match the numbers rollovers */
}
.page_links {
    float: left;
}

.page_links .page a,
.pagination .prev_page a,
.pagination .next_page a,
.page_links .page.current {
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}

.page_links .page.current {
	padding-left: .7em;
}


#previousNextDocument a.previous {
    margin-right: 4px;
}
#previousNextDocument .next {
    float: none;
}
#previousNextDocument a.previous, 
#previousNextDocument .next {
    padding: 3px 6px;

}

.page_links span.current {
    background: #CFC2AC;
    border: medium none;
    color: #000000;
}

.pagination a:hover,
.pagination a:active,
.pagination a:focus {
	background: #ffffff;
}




/* Faceting */
#facets {
	padding: 0;
}

#facets h2 {
    color: #000000;
    font-family: "Kievit","Myriad Pro","Lucida Grande","Calibri",tahoma,sans-serif;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}

#facets h3 {
    background-attachment: scroll;
    background-color: transparent;
    background-image: url("../images/themeimgs/fwdarrow.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    
    color: #000000;    
    font-family: "Kievit","Lucida Grande","Calibri",tahoma,sans-serif;
    font-size: 0.9em;
    padding-left: 15px;
}
#facets h3:hover,
#facets h3:active,
#facets h3:focus {
	text-decoration: underline;
}

#facets h3.twiddle-open {
    background-attachment: scroll;
    background-color: transparent;
    background-image: url("../images/themeimgs/downarrow.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

div.facet_limit {
    margin: 10px 0;
}

div.facet_limit ul {

}

div.facet_limit ul li {
	font-style: italic;
	color: #999;
	padding-left: 15px;
}

div.facet_limit ul li a {
	font-style: normal;
	color: #000;
	text-decoration: none;
}

#facets li a {

}
#facets li a:hover,
#facets li a:active,
#facets li a:focus {
	background: #BFDCED;
}

#facets span.selected {
    color: inherit;
}

#facets li a.remove {
    padding-left: 5px;
}

/* SINGLE RESULT */

body.blacklight-catalog-show h1 { /* title of single result */
	font-size: 1.5em;
}

div#single_result {
    float: left;
    margin-top: 20px;
    position: relative;
    width: 100%;
}

div#single_result > div.tools, 
div#single_result > div.image_views, 
div#single_result > div.document {
	float: left;
}

div#single_result > div.image_views {
	margin: 0 10px;
}

div#single_result div.tools {
	margin: 0;
}

div#single_result a img {
    border: 3px solid black;
    margin: 3px;
    padding: 5px;
    vertical-align: top;
    width: 300px;
}

div.enlarge {
    margin-bottom: 10px;
}

#previousNextDocument {
    background: transparent;
    border: medium none;
    margin-bottom: 0;
}

#previousNextDocument a {
	font-size: .75em;
}

/*
div.image_views #enlargeLink { NEW ENLARGE LINK STYLE
    display: block;
    padding: 10px 0 10px 25px;
    width: 150px;
}
*/

ul.add_this_partial /* share tool */ {
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 10px;
    padding: 5px 0;
}



/* subject list */
div#single_result dl.defList {
    margin-bottom: 20px;
    overflow: hidden;
}

div#single_result dl.defList dt,
div#single_result dl.defList dd {
    color: #000000;
	font-size: .85em;
}	

div#single_result dl.defList dt {
    font-weight: bold;
    letter-spacing: 0.02em;
    text-align: left;
    text-transform: uppercase;
	text-align: left;
	margin-top: 15px;
	width: 100%;
}

div#single_result dl.defList dd {
    display: inline;
    padding: 5px 0;
    width: 350px;
}


.documentfunctions { /* select toggle */
	float: left;
	color: #7c8e62;
} 


/* modal window overrides */
.ui-widget-header {
    background: none;
    border: none;
    color: #000000;
}

.ui-dialog-titlebar-close {
	color: #000000;
}





/* FOOTER *****/
#ft {
    border-top: 3px double #50372C;
    clear: both;
    margin: 2em 0 0;
    padding: 30px 0 0;;
}

#ft a:hover,
#ft a:active,
#ft a:focus {
	background: none;
}


#logos a {
	margin-right: 20px;
}

#legal li {
    font-size: 0.75em;
    float: left;
    padding: 5px 10px;
}

#legal li a {
	text-decoration: none;
}
#legal li a:hover,
#legal li a:active,
#legal li a:focus {
	text-decoration: underline;
}

#legal_information {
	float: left;
	font-size: 0.75em;
	padding: 5px 10px;
}




/* LOGIN PAGES *****/

form > div {
    margin: 15px 0;
}

.auth_provider { /* social nw icons */
    display: block;
    float: left;
    margin-right: 10px;
}



/* application message overrides */
.ui-state-highlight {
	background: none;
	border: none;
	color: #DB5E00;
	font-family: "Prata", Times New Roman, serif;
	font-style: italic;
}



/* REUSABLE CLASSES **************************************************************************************/

/* REUSABLE CLASSES: POSITIONING */
.center {
    display: table;
    margin: 0 auto;
}

.left {
	float: left;
}

.right {
	float: right;
}


/* "clearfix" updated, based on http://nicolasgallagher.com/micro-clearfix-hack/ */
.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}



/* REUSABLE CLASSES: TREATMENT */

.utility-links,
div#results > div.pagination {
    font-size: 0.75em;
    letter-spacing: 0.008em;
}

a.button,
input[type="submit"].button {
    background: #28A1EA;
    border:none;
    color: #FFFFFF;
    font-size: 85%;
    letter-spacing: 0.09em;
    padding: 2px 7px;
    text-decoration: none;
    text-transform: uppercase;
	
	box-shadow: 3px 3px 0 0 #333;
	-webkit-box-shadow: 3px 3px 0 0 #333;
	-moz-box-shadow: 3px 3px 0 0 #333;	
	
    -webkit-border-radius: 5px;  
    -moz-border-radius: 5px;
    border-radius: 5px;
}
a.button:hover, .button:active, .button:focus,
input[type="submit"].button:hover,
input[type="submit"].button:active,
input[type="submit"].button:focus {
    background: #207FAF;
    text-decoration: underline;
}


.content-box { /* white bg, green border */
    background: #FFFFFF;
    border: 1px solid #BED996;
    padding: 1em;
}



/* CONTENT-SPECIFIC **************************************************************************************/

/* ----------"icon-links-button" button pattern: link in the shape of a rounded button, can add icon */
ul.icon-links-button {
	margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    padding-bottom: 25px;
}

ul.icon-links-button > li {
	float: left;
}

ul.icon-links-button li a {
    display: block;
    margin: 3px 10px 3px 0;
    text-decoration: none;
}

ul.icon-links-button li a:hover, 
ul.icon-links-button li a:active,
ul.icon-links-button li a:focus {
	text-decoration: underline;
} 
/* ----------end "featured-links-button" button pattern */



/* ----------"andretools": icon-links-button backgrounds, colors */
/* MUST be combined with ".icon-links-button" */

a.andretools-results {
	background: url(../images/themeimgs/results.png) no-repeat scroll 0 center transparent;
}
a.andretools-enlarge {
	background: url(../images/themeimgs/enlarge.png) no-repeat scroll 0 center transparent;
}
a.andretools-shrink {
	background: url(../images/themeimgs/shrink.png) no-repeat scroll 0 center transparent;
}
a.andretools-add {
	background: url(../images/themeimgs/add.png) no-repeat scroll 0 center transparent;
}
a.andretools-save {
	background: url(../images/themeimgs/save.png) no-repeat scroll 0 center transparent;
}
a.andretools-email {
	background: url(../images/themeimgs/email.png) no-repeat scroll 0 center transparent;
}
a.andretools-print {
	background: url(../images/themeimgs/print.png) no-repeat scroll 0 center transparent;
}
a.andretools-share {
	background: url(../images/themeimgs/share.png) no-repeat scroll 0 center transparent;
}
a.andretools-clearselect {
	background: url(../images/themeimgs/clearselect.png) no-repeat scroll 0 center transparent;
}

ul.icon-links-button a[class|="andretools"] { /* padding for each icon */
    background-position: 5px 50%;
    padding-left: 28px;
    width: 150px;
}
a[class|="andretools"] span { /* shifts link text left to reveal icon bg img */
    margin-left: 20px;
}

/* style for "select" checkbox that sits w/ "andretools" */
/*
    :not(#foo) > is a rule filter to block browsers
                 that don't support that selector from
                 applying rules they shouldn't
*/
ul.icon-links-button > li:not(#foo) .documentFunctions {
    margin-left: -11px; /* lines up w/ other tools */
}

ul.icon-links-button > li:not(#foo) .documentFunctions input[type="checkbox"] {
    opacity: 0; /* hidden but clickable */
}

ul.icon-links-button > li:not(#foo) .documentFunctions input[type="checkbox"] + label {
    background: url("../images/themeimgs/select.png") no-repeat scroll 0 center transparent;
    padding-left: 23px;
}
ul.icon-links-button > li:not(#foo) .documentFunctions input[type="checkbox"]:checked + label {
    background: url("../images/themeimgs/clearselect.png") no-repeat scroll 0 center transparent;
}


/* list items on help page */
ul.helpList li {
	list-style: disc outside;
	margin-left: 5px;
}


/**************************************************************************************** Single result object display */



/* IMPORTANT - This seems weird but it needs to be there to make the javascript work right */
#popup_container {
    height: 0;
    overflow: hidden;
}

/****************************************************************************** stuff i don't know if i can discard */

.column_wrapper {
    position: relative;
    margin: 0;
}

.column {
    float: left;
}

.column_left {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width: 25%;
}

.column_inner {
    padding: 1em;
}

.column_right {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width: 75%;
}

#terms {
    font-weight: bold;
    height: 40px;
    font-size: 1.3em;
    color: black;
    background: #eee;
    text-align: center;
    border: 1px solid #C9C9C9;  ;
    box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;  
    -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;  
    -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;  
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #eee), to(#FFFFFF));  
    background: -moz-linear-gradient(top, #FFFFFF, #eee 1px, #FFFFFF 25px);
    -webkit-border-radius: 5px;  
    -moz-border-radius: 5px;
}