/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Jami Wardlow
Version:  Mar 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css?family=Noto+Serif|Roboto+Condensed:400,700|Work+Sans:400,700');

	/* --- Meta styles and background --- */

html { background-color: #171b45 }

body {
	font: normal 14px 'Work Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background-image: url(assets/md5images/3c3f0656392b58c852c0c4eb80d8c6bc.png), url(assets/md5images/5fc2b27a17b7b6e258fcd1cfd3876d7c.gif);
	background-repeat: repeat-x;
	background-position: left top, left bottom;
}

p { line-height: 1.4em; }

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

#dayton #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#dayton #banner_image {
	display: block; /* removes descender of inline element */
	width: 980px; /* not necessary if image is sized correctly */
	height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}

	/* --- Logo --- */

#dayton #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 24.4897959183% !important;  /* 240 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

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

#dayton #navigation { margin-bottom: 19px; }

#dayton #navigation,
#dayton #navigation #tabs,
#dayton #navigation #tabs-left {
	height: 78px;
	overflow: hidden; /* have seen issues with tabs extending below nav container */
}

#dayton #navigation #tabs,
#dayton #navigation #tabs-left,
#dayton #navigation #tabs ul,
#dayton #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#dayton #navigation #tabs-left {
	float: left;
	width: 255px;
}

#dayton #navigation #tabs { 
	float: right;
	width: 365px;
}

#dayton #navigation #tabs a,
#dayton #navigation #tabs-left a {
	font: bold 17px 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	width: auto !important; /*fixes "my account" not fitting in container on page load */
	height: 78px;
	line-height: 78px;
	color: #fff;
	background-color: transparent;
	padding: 0 18px;
	margin: 0;
	border: 0;
	float: left;
}

#dayton #navigation #tabs a:hover,
#dayton #navigation #tabs a:active,
#dayton #navigation #tabs a:focus,
#dayton #navigation #tabs-left a:hover,
#dayton #navigation #tabs-left a:active,
#dayton #navigation #tabs-left a:focus {
	text-decoration: underline
}

#dayton #navigation #tabs-left a:first-child { padding-left: 10px; }

#dayton #navigation #tabs #tabfour a { padding-right: 0; }

#dayton #navigation #tabs #tabtwo { display: none; }

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

#dayton #sidebar {
	background-color: #fff;
	width: 227px;
	margin-right: 23px;
	padding-top: 22px;
}

#dayton #sidebar h2 {
	font: bold 15px 'Work Sans', sans-serif;
	text-transform: uppercase;
	color: #000;
	background: transparent;
	width: 200px;
	text-indent: 0;
	padding: 0;
	margin: 0 16px 7px;
	border: none;
	border-bottom: 1px solid #eaeaea;
}

#dayton #sidebar a {
	font: normal 14px 'Work Sans', sans-serif;
	color: #222224;
	text-decoration: none;
}

#dayton #sidebar a:hover,
#dayton #sidebar a:active,
#dayton #sidebar a:focus {
	background: transparent;
	text-decoration: underline;
}

#dayton #sidebar #sidebar-search label {
	font: normal 13px 'Work Sans', sans-serif;
	color: #000;
}

#dayton #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

#dayton #sidebar #sidebar-search span.border { background: transparent; }

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

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

	/* Sticky Footer */

#dayton #content { /* calculates 100% viewport height - (total heights of header, navigation and footer) */
  min-height: calc(100vh - 449px);
}

	/* --- Breadcrumbs --- */

#dayton #main.text div.crumbs a:link,
#dayton #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #232323;
}

#dayton #main.text div.crumbs a:hover,
#dayton #main.text div.crumbs a:active,
#dayton #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

#dayton #dcn-home { margin-top: 24px; }

#dayton #cover-browse { margin: 0; }

#dayton #homepage-intro { margin: 15px 0 0; }

	/* --- Headers --- */

#dayton #dcn-home > h2 { font: normal 26px 'Noto Serif', serif; }

#dayton #cover-browse h3 {
	margin: 0;
	padding: 10px 23px;
}

#dayton #dcn-home #cover-browse h3 a {
	font: 400 15px 'Work Sans', sans-serif;
	text-decoration: none;
}

#dayton #dcn-home #cover-browse h3 a:hover,
#dayton #dcn-home #cover-browse h3 a:focus,
#dayton #dcn-home #cover-browse h3 a:active {
	text-decoration: underline;
}

	/* --- Links --- */

#dayton #main.text a:link,
#dayton #main.text a:visited {
	color: #232323; /* declared for #network-icon text */
}

#dayton #main.text a:hover,
#dayton #main.text a:active,
#dayton #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#dayton #dcn-home .box.aag h2,
#dayton #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: normal 16px 'Noto Serif', serif;
	border-bottom: 1px solid #d3d3d3;
}

#dayton #main.text .box a:link,
#dayton #main.text .box a:visited {
	font: bold 13px 'Work Sans', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
	background: none;
}

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

	/* article-level text // default values 12px/13px */

#alpha .element p, #custom-fields .element p { font-size: 12px; }

#alpha .element h4, #custom-fields .element h4 { font-size: 13px; }

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

#dayton #footer { margin-top: 25px; }

#dayton #footer,
#dayton #bepress a {
	height: 110px;
	background-color: #171b45;
}

#dayton #footer p,
#dayton #footer p a {
	font: normal 12px/2 'Work Sans', sans-serif;
	color: #fff;
	text-decoration: none;
}

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

#dayton #footer p a:hover,
#dayton #footer p a:active,
#dayton #footer p a:focus {
	text-decoration: underline;
}

/* Additional footer logo */
 
#dayton #footer { position: relative; }
 
a#footer-logo-link { margin: 0; }
 
#footerlogo {
    position: absolute;
    top: 0;
    right: 0;
}

/* ---------------- Miscellaneous fixes ---------------- */

	/* --- Advanced Search --- */

.legacy #dayton #wrapper { background-image: none; }

	/* --- Browse Authors accessibility fix (CSFR-2648) --- */

#dayton #main.text .authorbrowser p.letters a:hover,
#dayton #main.text .authorbrowser p.letters a:focus {
   background: url(/assets/azMe.jpg) bottom center no-repeat;
   color: #fff;
}

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

.mbl #dayton #header,
.mbl #dayton #header a img,
.mbl #dayton #navigation {
	width: 100% !important;
}

.mbl #dayton #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 24.4897959183% !important;  /* 240 / 980 */
	height: auto !important; /* !important avoides DC assigning incorrect height to logo image */
}

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0;
}

	/* fixes bullet underline for Browse Research and Scholarship links */

.mbl #main #cover-browse h3 { text-decoration: none; }

	/* stacks headings and spans in .box */
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

.mbl #dayton #dcn-home .box.aag h2,
.mbl #dayton #dcn-home .box.potd h2 {
	width: 100%;
}

.mbl #footer-logo-link { display: none; }

/* site-level columns */

/* for slideshows at the top of the page */
#dayton #slideshow {  /* elements that aren't floated appear behind the slideshow */
	display: block;
	float: none;
}

#dayton #dcn-home > #cover-browse {
	display: inline-block;
}

#dayton #main.text .col-1 {  /* #main.text needed for weight to override ir-layout.css #dcn-home > * rules */
	display: inline-block;
	vertical-align: text-top; /* aligns cols in cover_text h3 */
	width: 45%;
	padding: 0 2%;
	margin: 0 !important; /* !important overrieds !important in ir-adapt.css */
	float: none; }

#dayton #main.text .col-2 {
	float: none;
	width: 100%;
	padding: 0 1%; }
	
/* adjusting sidebar order, pr 4/4/16 */

#dayton #sidebar #hidden { display: none; }

/* adjusting PDF Links in ir_series ds 4/19/16 */
#dayton #series-home p.article-listing {
	padding-top: 2px;
}

/* implementing scrolling for long author lists, th 4/5/17 */

#dayton #authors {
  overflow-y: auto;
  max-height: 250px; /* adjust for each site to show desired # of authors; check in multiple browsers */
  border-top: solid 2px #666;
  border-bottom: solid 1px #666;
  margin-bottom: 5px;
}

 #alpha #authors p.author {border-top: 0; border-bottom: 0;}