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

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

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

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

body {
	font: normal 14px/1.5 'Muli', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/83ad9113347fba33075bf7e9c754a320.jpg) no-repeat center top;
}

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

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

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

#gcsu #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 --- */

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

#gcsu #header a#banner_link:focus img,
#gcsu #header a#logo_link:focus img {
    outline: 2px dotted #003366;
}

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

#gcsu #navigation,
#gcsu #navigation #tabs {
	height: 50px;
	/*overflow: hidden; have seen issues with tabs extending below nav container */
	white-space: nowrap;
}

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

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

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

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

#gcsu #navigation #tabs #tabone a { padding-left: 15px; } /* switch for right-aligned nav tabs */

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

#gcsu #sidebar {
	background: #003366;
	padding-top: 12px;
	margin-bottom: 20px;
}

#gcsu #sidebar h2 {
	font: bold 24px 'Oswald', sans-serif;
	text-transform: uppercase;
	color: #fff;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#gcsu #sidebar a {
	font: normal 13px 'Muli', sans-serif;
	color: #fff;
	text-decoration: none;
}

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

#gcsu #sidebar #sidebar-search label {
	font: normal 13px 'Muli', sans-serif;
}

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

#gcsu #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 */
/* #gcsu #content { padding-top: 16px; } */

	/* Sticky Footer */

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

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

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

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

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

	/* --- Headers --- */

#gcsu #dcn-home > h2 {
	font: bold 48px 'Oswald', sans-serif;
	text-transform: uppercase;
}

#gcsu #dcn-home h2 span.site-follow {
    text-transform: none;
    margin-left: 21%;
}

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

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

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

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

	/* Homepage browse buttons */

#gcsu #dcn-home #cover-browse { width: 98%; }

#gcsu #dcn-home #cover-browse a { text-decoration: none; }

#gcsu #dcn-home #cover-browse a img { margin: 0 10px 9px 0; }

#gcsu #dcn-home #cover-browse a:hover img,
#gcsu #dcn-home #cover-browse a:focus img,
#gcsu #dcn-home #cover-browse a:active img {
	outline: 2px dotted #003366;
}


	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#gcsu #dcn-home .box.aag h2,
#gcsu #dcn-home .box.potd h2 {
	font: bold 30px 'Oswald', sans-serif;
	text-transform: uppercase;
	width: 267px;
	border-bottom: 1px solid #d4d4d4;
	margin: 0;
}

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

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

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

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

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

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

#gcsu #footer,
#gcsu #bepress a {
	height: 83px;
	background-color: #ededed;
}

#bepress a:focus { outline: 2px dotted #003366; }

#gcsu #footer p,
#gcsu #footer p a {
	font: normal 12px/2 'Muli', sans-serif;
	color: #003366;
	text-decoration: none;
}

/* #gcsu #footer p:first-of-type { padding-top: ##px; } */

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

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

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

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

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

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

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

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

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

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

.mbl #gcsu #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 40.816327% !important;  /* 400 / 980 */
	height: auto !important; /* !important avoids 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 #gcsu #dcn-home .box.aag h2,
.mbl #gcsu #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

.mbl #sidebar { background-color: #003366 !important; }

#gcsu .text #myaccount thead tr th { color: #000; }