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

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

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;700&display=swap');

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

body {
	font: normal 12px/1.5 'IBM Plex Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/c9f3c80b4f597ca99a2248ba4aabd6d8.png) no-repeat center top;
}

#andrews { background: url(assets/md5images/622a1b21944c14aba467d478ab47ea48.gif) repeat-x left bottom; }

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

#andrews #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
	margin-bottom: 10px;
}

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

#andrews #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	bottom: 0;
	right: 0;
	width: 15.816327% !important;  /* 155 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

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

/* ---------------- Navigation ---------------- */
	
	/* additional nav bar */

#andrews #top-nav {
	height: 55px;
	width: 980px;
    /*padding-top: 99px;*/
	background: transparent;
	white-space: nowrap;
}

#andrews #top-nav img#andrews-logo {
	float: left;
	padding-right: 50px;
}

#andrews #top-nav a:focus img { outline: 2px dotted #be9549; }

#andrews #top-nav a {
	font: 300 11px 'IBM Plex Sans', sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	color: #a3abb3;
	height: 55px;
    line-height: 55px;
	padding: 0 8px;
	float: left;
}

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


#andrews #top-nav a:first-of-type,
#andrews #top-nav a:last-of-type {
	/*padding-left: 19px;*/
}

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

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

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

#andrews #navigation #tabs a {
	font: normal 16px 'IBM Plex Sans', sans-serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 16px;
	line-height: 16px;
	color: #fff;
	background-color: transparent;
    padding: 0 42px;
    margin: 15px 0px;
	border: 0;
	border-right: 1px solid #fff;
}

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

#andrews #navigation #tabs li:last-child a {
    border-right: none;
}

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

#andrews #sidebar h2 {
	font: normal 16px 'IBM Plex Sans', sans-serif;
	color: #333;
	background: transparent;
	padding: 11px 0;
	margin: 0;
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
}

#andrews #sidebar a {
	font: normal 16px 'IBM Plex Sans', sans-serif;
	color: #3a7baa;
	text-decoration: none;
}

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

#andrews #sidebar ul li a,
#andrews #sidebar p.advanced { margin-left: 28px; }

#andrews #sidebar #sidebar-search label {
	font: normal 16px 'IBM Plex Sans', sans-serif;
	color: #333;
}

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

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

	/* Sticky Footer */

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

#andrews #main.text div.crumbs a:link,
#andrews #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #3a7baa;
}

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

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

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

	/* --- Headers --- */

#andrews #dcn-home > h2 {
	font: normal 21px 'IBM Plex Sans', sans-serif;
	margin: 12px 0;
}

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: #3a7baa; }

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

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

	/* homepage browse images/links */

#andrews #cover-browse {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	border-bottom: 1px solid #e1e1e1;
}

#andrews #cover-browse .browse-link {
    width: min-content;
    display: -ms-inline-grid;
    -ms-grid-columns: min-content;
    margin-bottom: 20px;
}

#andrews #cover-browse a {
	font: normal 16px 'IBM Plex Sans', sans-serif;
	text-decoration: none;
}

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#andrews #dcn-home .box.aag h2,
#andrews #dcn-home .box.potd h2 {
	font: normal 16px 'IBM Plex Sans', sans-serif;
	width: 267px;
	border-bottom: 1px solid #e1e1e1;
	margin: 0;
}

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

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

#andrews #footer,
#andrews #bepress a {
	height: 88px;
	background-color: #283941;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mbl #andrews #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	bottom: 0;
	right: 0;
	width: 15.816327% !important;  /* 155 / 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 #andrews #dcn-home .box.aag h2,
.mbl #andrews #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

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

.mbl #andrews #cover-browse { display: block; }

.mbl #andrews #cover-browse .browse-link { width: auto; }

.mbl #andrews #cover-browse .browse-link img { width: 100%; }