/*
-----------------------------------------------
bepress IR local stylesheet.
Author:   Paul Ryan
Version:  August 2016
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* google font */

@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,700';


/* ----------------Header  ---------------- */

#yalelib .followable { display: none; }

#yalelib #header {
	position: relative;  /* needed if there's a second link */
  	height: auto !important; /* !important overrides mbl styling */
}

#yalelib #banner_image {
	display: block; /* removes descender of inline element */
	width: 980px; /* not necessary if image is sized correctly */
	height: auto;  /* avoids warping improperly sized header image */
	padding: 0 0 10px 0;
}

#yalelib  a#logo_link {
	position: absolute !important; /* !important overrides mbl styling */
	left: 0;  /* change to "left:" for left aligned logo */
	top: 0;  /* two link adjustment, add value for logo under header banner */
  	background: transparent !important; 
	width: 24.4897959183% !important;  /* 240 / 980 */
	max-height: 100%; /* when screen resizes, logo stays in header */
} 

#yalelib #logo_image { /* include an image for accessibility */
	width: 100%;
	height: auto; 
}

#headernav {
	display: block;
	width: 980px;
	height: 30px;
}

#headernav li {
	width: auto !important;
	display: inline-block;
	float: right;
	padding: 0 12px !important;
}

#headernav li a {
	font: 19px Georgia, "Times New Roman", Times, serif;
	color: #00356b;
	text-decoration: none;
	list-style: none;
}

#headernav li a:hover,
#headernav li a:active,
#headernav li a:focus {
	color: #000000;
	text-decoration: underline;
}

/* ---------------- Navigation ---------------- */

#yalelib #navigation,
#yalelib #navigation #tabs {
	height: 32px; 
}

#yalelib #navigation #tabs,
#yalelib #navigation #tabs ul,
#yalelib #navigation #tabs ul li {
	padding: 0;
	margin: 0; 
}

#yalelib #navigation #tabs { float: right; }

#yalelib #navigation #tabs a {
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 32px;
	line-height: 32px;
	font: 400 12px 'Open Sans', sans-serif;	
	text-transform: uppercase;
	color: #00356b; 
	background-color: transparent;
	padding: 10px 11px 0; /* with arial bold, this fits */
	margin: 0;
	border: 0;
	float: right; 
}

#yalelib #navigation #tabs a:hover,
#yalelib #navigation #tabs a:active,
#yalelib #navigation #tabs a:focus {
	color: #000000;
	text-decoration: underline; 
}


/* ---------------- Sidebar ---------------- */

#yalelib #sidebar { 
	padding-top: 16px; 
}

#yalelib #sidebar h2 {
	font: 16px Georgia, "Times New Roman", Times, serif;	
	color: #ffffff;
	padding: 0;
	margin: 0;
	border: none; 
	padding-left: 15px;
	text-indent: 0;
}

#yalelib #sidebar a {
	font-size: 13px;
	text-decoration: none; 
}

#yalelib #sidebar a:hover,
#yalelib #sidebar a:active,
#yalelib #sidebar a:focus {
	text-decoration: underline; 
}

#yalelib #sidebar #sidebar-search {
	padding-left: 15px; 
}

#yalelib #sidebar #sidebar-search label {
	font-size: 13px;
	color: #ffffff; 
}


/* ---------------- Main Content ---------------- */

#yalelib #main.text div.crumbs a:link,
#yalelib #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #000000; 
	margin-bottom: 0; 
}	

#yalelib #main.text div.crumbs a:hover,
#yalelib #main.text div.crumbs a:active,
#yalelib #main.text div.crumbs a:focus {
	text-decoration: underline;	
	color: #00356b; 
}

#yalelib h2 {
	font: normal 21px Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
}

#yalelib #main.text #series-home .intro h2 {
	text-align: left; 
	margin-left: 0px; 
	text-transform: none; 
	margin-bottom: 8px; 
	padding-bottom: 5px;
}

#yalelib #dcn-home #cover-browse h3 a {
	font: normal 15px 'Open Sans', sans-serif;
	text-decoration: underline; 
}

#yalelib #main.text a:link,
#yalelib #main.text a:visited {
	text-decoration: underline; /* ir-custom takes care of this */
}

#yalelib #main.text a:hover,
#yalelib #main.text a:active,
#yalelib #main.text a:focus {
	color: #000000;	
	text-decoration: underline; 
}
	
#yalelib #dcn-home .box.aag h2,
#yalelib #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: normal 16px Georgia, "Times New Roman", Times, serif;
	border-bottom: 1px solid #d3d3d3; 
}

#yalelib #main.text .box a:link,
#yalelib #main.text .box a:visited {
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;	
	border-bottom: 1px solid #d3d3d3;
	background: none; 
}

#yalelib #main.text .box a:hover,
#yalelib #main.text .box a:active,
#yalelib #main.text .box a:focus {
	text-decoration: underline; 
}

#yalelib #main.text #network-icon a.plain {
	color: #00356b;
}
#yalelib #main.text #network-icon a.plain:hover,
#yalelib #main.text #network-icon a.plain:active {
	color: #000000;
}

#yalelib #main.text .yui3-carousel { display: none; }

/* Homepage Slideshow */

#yalelib #dcn-home .newCarousel .news-slider .text-content {
	width: 35%; }

#yalelib #dcn-home .newCarousel .news-slider .text-content h2 {
	font-size: 16px;
	font-weight: bold; }

#yalelib #dcn-home .newCarousel .news-slider .text-content p { 
	line-height: 1.5em; }	          
	
/* Styling for columns in the intro text of /nh_perl community - bgaunt 04/19/23 */

#yalelib #main.text .intro #nhperl_quicklinks {
	display: flex; 
	flex-flow: row wrap; 
	justify-content: space-evenly;
}
#yalelib #main.text .intro #nhperl_quicklidnks .nhperl_column1 {width:49%;}
#yalelib #main.text .intro #nhperl_quicklindks .nhperl_column2 {width:49%;}
#yalelib #main.text .intro #nhperl_quicklinks ul li {
	margin-left:0px; font-size:12px;}
#yalelib #main.text .intro #nhperl_quicklinks h3 {margin-bottom: .25em;}
#yalelib #main.text .intro #nhperl_quicklinks ul li ul {
	padding-top: .45em; 
	padding-left: 3px; 
	margin-bottom: 0px;}
#yalelib #main.text .intro #nhperl_quicklinks ul li ul li { font-weight:normal}
#yalelib #main.text .intro #nhperl_quicklinks ul li.subcat {
	padding-bottom: 8px; 
	font-weight: bold; 
	background-image: none; 
	padding-left: 0px; 
}
#yalelib #main.text .intro #nhperl_quicklinks p {width:300px; display:block;}



#yalelib .aside a#doi.btn {max-width:100px;}

#yalelib #main.text #nhperl_submission_process h3 {
	font: 16px Georgia, "Times New Roman", serif;
	font-weight: bold;
	color: #00356b;
	background: #e3e3e3;
	padding-left:3px;
	padding-bottom:2px;
	padding-top:1px;
	margin-left:-3px;
	margin-top:24px;

}

#yalelib #main.text #nhperl_submission_process h4 {
	font: 13px "Open Sans", sans-serif;
	font-weight: bold;
	color:#000;
	padding-bottom:.33em;
}

#yalelib #main.text #nhperl_submission_process p {line-height: 1.66em}
#yalelib #main.text #nhperl_submission_process ul li ul {
	margin-bottom: 0; 
	padding-top: 4px;
}
#yalelib #main.text #nhperl_submission_process ul li ul li {
	margin-bottom: 0; 
	padding-bottom: 0;
}

#yalelib #main.text #nhperl_submission_process ol {margin-left: 24px}


#yalelib #main.text #nhperl_submission_process dl {
	margin-left: 25px; 
	width: 88%;
}
#yalelib #main.text #nhperl_submission_process dl dt {
	margin-bottom: 7px; 
	margin-top: .75em;
}
#yalelib #main.text #nhperl_submission_process dl dd {background: #f1f1f1;
	padding :4px;
}

#yalelib #main.text #nhperl_submission_process p.note {background: #f1f1f1;
	padding: 4px;
	margin-left: 25px;
}

#yalelib #main.text #nhperl_submission_process a.btn {
	margin-left: 20px; 
	margin-bottom: 1.5em; 
	font-weight: bold; 
	font-size: 13px; 
	padding-bottom: 5px; 
	padding-top: 4px;
}

#yalelib #main.text .intro h4 a.nhperl-button { 
	display: inline-block;
    color: #FFF !important;
    background-color: #172B92;
    border: none;
    border-radius: 5px;
    padding: 11px 24px 7px;
    box-shadow: 0 4px #0B1647;
    outline: none;
    cursor: pointer;
    line-height: 1.5rem;
    text-decoration:none;}

#yalelib #main.text .intro h4 a.nhperl-button:focus,
#yalelib #main.text .intro h4 a.nhperl-button:hover,
#yalelib #main.text .intro h4 a.nhperl-button:active {
	background-color: #1930A3;
	box-shadow: 0 4px #13267C;
}

#yalelib #main.text #submit #nhperl_permissions-c .field-box label.checkbox-label {display: block; 
	padding-bottom: 1em; }
#yalelib #main.text #submit #nhperl_permissions-c .field-box input {float: left; 
	margin-bottom: 2em; }

/* ---------------- Footer ---------------- */

#yalelib #footer,
#yalelib #footer #bepress a {
	height: 98px;
	background-color: #222222; }

#yalelib #footer p { 
	width: 550px;
}

#footer p:first-of-type { 
	padding-top: 26px; 
}

#yalelib #footer p,
#yalelib #footer p a {
	font-size: 12px;
	color: #ffffff; 
	text-decoration: none; 
}

#yalelib #footer p a:hover,
#yalelib #footer p a:active,
#yalelib #footer p a:focus {
	text-decoration: underline; }
	
/* Content Carousel width*/
#yalelib #dcn-home #contentcarousel {width:100%;}

/* Styling for Open Access documents //BRG 4/26/17 */

#yalelib #oa_style div.aside-badge {
	max-width:150px;
}

#yalelib #oa_style div.aside-badge img {
	float:right;
}

#yalelib #oa_style div.aside-badge p {
	padding:5px;
	text-align:right;
	display:inline-block;
}

/*Inserting a break after "This Article Is"*/
#yalelib #oa_style div.aside-badge p span {
	display:table;
	text-align:justify;
	direction:rtl;
}

#yalelib #oa_field p {
	display:none;
}	

/*Styling for OA Badge in Series */
#yalelib #oa_style div.aside img {
	float:right;
}

#yalelib #oa_style div.aside p {
	padding:5px;
	text-align:right;
	display:inline-block;
}

/*Inserting a break after "This Article Is"*/
#yalelib #oa_style div.aside p span {
	display:table;
	text-align:justify;
	direction:rtl;
}

#yalelib #dcn-home #homepage-intro p {
	margin-top:-45px;
}

/* ---------------- Mobile ---------------- */

/* Hiding RSS feed BRG 9/30/16*/
#yalelib #side-notify { display: none }

#yalelib #sb-custom-lower .sb-custom-title-sm h2 {
	font-size:14px;
	text-align: left;
}



/* Fixing mobile display issue with OA badge */
.mbl #oa_style div.aside_badge img {
	width: 10%;
	height: auto;
	padding:3px;
}

/* Expert Gallery Suite SW Gallery */
.egs-profile-gallery {
	display: block; /* removes descender space below inline element */
 /* left aligned */
	margin: -16px 0 -16px -42px; /* #content .text padding: 16px 0; and #content .text (margin 32px) + #sidebar (margin 10px) */
 
}

.verticalalign { height: 0; }
#content div.clear { height: 0; }

