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

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

@import url('https://fonts.googleapis.com/css?family=Domine:400,700|Muli&display=swap');

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

body {
	font: normal 12px/1.5 'Domine', serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/ba4887c080372ebf07ed54c10f2521ff.png) repeat-x left top;
}

#butler { background: url(assets/md5images/c10df899b68699189b44c7b8a908397e.gif) repeat-x left bottom; }

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

#butler #header {
	height: auto !important; /* !important overrides mbl styling */
}

#butler #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 */
}

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

#butler #top-nav {
	height: 33px;
	background-color: #12294b;
}

#butler #top-nav img {
	float: left;
	padding-right: 132px;
}

#butler #top-nav a {
	color: #fff;
	font: normal 13px 'Muli', sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	height: 33px;
	line-height: 33px;
	padding: 10px 13px;
}

#butler #navigation {
	background: url(assets/md5images/ee390c3bc049291b25eaf2dd0e07354b.png) no-repeat;
	margin-bottom: 40px;
}

#butler #navigation,
#butler #navigation #tabs {
	height: 85px;
	overflow: hidden; /* have seen issues with tabs extending below nav container */
}

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

#butler #navigation #tabs,
#butler #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

#butler #navigation #tabs a {
	font: normal 16px 'Muli', sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 85px;
	line-height: 85px;
	color: #fff;
	background-color: transparent;
	padding: 0 18px;
	margin: 0;
	border: 0;
}

#butler #top-nav a:hover,
#butler #top-nav a:active,
#butler #top-nav a:focus,
#butler #navigation #tabs a:hover,
#butler #navigation #tabs a:active,
#butler #navigation #tabs a:focus {
	text-decoration: underline;
}

#butler #navigation #tabs #tabone a { padding-left: 26px; }

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

#butler #sidebar { 
	background-color: #edf0e9;
	padding-top: 23px;
	margin-bottom: 40px;
}

#butler #sidebar h2 {
	font: normal 16px 'Muli', sans-serif;
	text-transform: uppercase;
	color: #000;
	background: transparent;
    width: 206px;
    text-indent: 0;
    padding: 6px 0;
    margin: 0 auto;
    border-top: none;
	border-bottom: 1px solid #d3d7ce;
}

#butler #sidebar a {
	font: normal 13px 'Domine', serif;
	color: #12294b;
	text-decoration: none;
}

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

#butler #sidebar #sidebar-search label {
	font: normal 13px 'Domine', serif;
	color: #000;
}

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

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

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

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

/* this has been creating a gap on top of full-width homepage images. trying to figure out if it's actually necessary for any reason */
/* #butler #content { padding-top: 16px; } */

	/* Sticky Footer */

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

#butler #main.text div.crumbs a:link,
#butler #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #12294b;
}

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

#butler #dcn-home img {
	width: auto;
	margin-top: 20px;
}

#butler #dcn-home > #homepage-intro { margin: 15px 0; }

 /* (is this even a thing anymore?) adds space under full-width main-content image 
#butler #home-page-banner { margin-bottom: 16px; }*/

	/* --- Headers --- */

#butler #dcn-home > h2 {
	font: normal 21px 'Muli', sans-serif;
	text-transform: uppercase;
}

h3 {
	margin: 0;
	text-decoration: underline;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */
#dcn-home #cover-browse h3 { color: #12294b; }

#butler #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 'Muli', sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#butler #dcn-home .box.aag h2,
#butler #dcn-home .box.potd h2 {
	font: normal 16px 'Muli', sans-serif;
	text-transform: uppercase;
	width: 267px;
	border-bottom: 1px solid #e4e7e0;
	margin: 0;
}

#butler #main.text .box a:link,
#butler #main.text .box a:visited {
	background: none;
	font: bold 12px 'Domine', serif;
	text-decoration: none;
	border-bottom: 1px solid #e4e7e0;
}

#butler #main.text .box a:hover,
#butler #main.text .box a:active,
#butler #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 ---------------- */

#butler #footer,
#butler #bepress a {
	height: 100px;
	background-color: #12294b;
}

#butler #footer p,
#butler #footer p a {
	font: normal 12px/2 'Domine', serif;
	color: #fff;
	text-decoration: none;
}

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

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

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

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

	/* Remove gap under search pages for full-width footers */

.legacy #butler #wrapper:after { content: none; }

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

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

/* align submission link on mediated-upload GPT 8/6/24 */
#butler #main.text #series-home .intro #introsubmit {
    margin-left: 40%;
}

#butler #main.text #series-home .intro h4 {
  text-align: center;
}

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

.mbl #butler #top-nav { display: none; }

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

	/* 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 #butler #dcn-home .box.aag h2,
.mbl #butler #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}