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

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

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

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

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

#howard { background: url(assets/md5images/2a03950a27c6d84326a9f307f9a3a733.gif) repeat-x left bottom; }

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

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

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

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

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

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

#howard #navigation { margin-bottom: 10px; }

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

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

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

#howard #navigation #tabs a {
	font: bold 12px 'Open Sans', sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 52px;
	line-height: 52px;
	color: #012a47;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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

#howard #navigation #tabs #tabone a { padding-right: 8px; }

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

#howard #sidebar {
	background: #012a47;
	margin-top: 24px;
    padding-top: 22px;
    margin-bottom: 20px;
}

#howard #sidebar h2 {
	font: bold 15px 'Open Sans', sans-serif;
	color: #fff;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

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

#howard #sidebar a:hover,
#howard #sidebar a:active,
#howard #sidebar a:focus {
	text-decoration: underline;
	background: #012a47;
}

#howard #sidebar #sidebar-search label {
	font: normal 13px 'Open Sans', sans-serif;
	color: #fff;
}

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

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

	/* Sticky Footer */

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

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

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

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

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

	/* --- Headers --- */

#howard #dcn-home > h2 { font: 800 30px 'Open Sans', sans-serif; }

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

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

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

#howard #cover-browse a.home-btn {
	margin: 5px 14px 14px 0;
	width: 205px;
	height: 185px;
	display: inline-block;
	transition: .3s ease-in-out;
}


#howard #cover-browse a#msrc-digital-collections { background: transparent url(assets/md5images/654c0c34bc09e2b6e4f375a5e16a26f2.png) center no-repeat; }

#howard #cover-browse a#msrc-finding-aids { background: transparent url(assets/md5images/71cc99f4079ca7efebb0762885bf4310.png) center no-repeat; }

#howard #cover-browse a#historic-hu-photographs { background: transparent url(assets/md5images/d3bc9c52e2fcd5c063295a89a841e11e.png) center no-repeat; }

#howard #cover-browse a#howard-yearbooks { background: transparent url(assets/md5images/0fec564b38893740c0ee8eed5f635aa8.png) center no-repeat; }

#howard #cover-browse a#journals-series { background: transparent url(assets/md5images/e0744cc6944fc79fa13f91196a570f5e.png) center no-repeat; }

#howard #cover-browse a#selected-works { background: transparent url(assets/md5images/e9d551a5adeb66a2d854b3cbb657be9b.png) center no-repeat; }

#howard #cover-browse a#health-sciences-collections { background: transparent url(assets/md5images/4b138427a540d1e7adc18fd8cb766f62.png) center no-repeat; }

#howard #cover-browse a#expert-gallery { background: transparent url(assets/md5images/3dcb1c142ca07d31076f875839fbb3ad.png) center no-repeat; }

#howard #cover-browse a#all-collections { background: transparent url(assets/md5images/d3b27e84eca5a6c2026483d1a61aac5c.png) center no-repeat; }

#howard #cover-browse a#msrc-digital-collections:hover,
#howard #cover-browse a#msrc-digital-collections:active,
#howard #cover-browse a#msrc-digital-collections:focus {
	background: transparent url(assets/md5images/bd31925074fc72e18d805adda9857271.png) center no-repeat;
}

#howard #cover-browse a#msrc-finding-aids:hover,
#howard #cover-browse a#msrc-finding-aids:active,
#howard #cover-browse a#msrc-finding-aids:focus {
	background: transparent url(assets/md5images/2d9b2dc1362dfb208e901b71680dbc06.png) center no-repeat;
}

#howard #cover-browse a#historic-hu-photographs:hover,
#howard #cover-browse a#historic-hu-photographs:active,
#howard #cover-browse a#historic-hu-photographs:focus {
	background: transparent url(assets/md5images/0935ae3bfc5d39616d6cbefd9d84eb12.png) center no-repeat;
}

#howard #cover-browse a#howard-yearbooks:hover,
#howard #cover-browse a#howard-yearbooks:active,
#howard #cover-browse a#howard-yearbooks:focus {
	background: transparent url(assets/md5images/5e981a3ff218d3e093103dcf4f32813e.png) center no-repeat;
}

#howard #cover-browse a#journals-series:hover,
#howard #cover-browse a#journals-series:active,
#howard #cover-browse a#journals-series:focus {
	background: transparent url(assets/md5images/d8c67ec044d0963791fdd4db7c74bb1d.png) center no-repeat;
}

#howard #cover-browse a#selected-works:hover,
#howard #cover-browse a#selected-works:active,
#howard #cover-browse a#selected-works:focus {
	background: transparent url(assets/md5images/3fdcee6598da4499a8eed09ee84346b9.png) center no-repeat;
}

#howard #cover-browse a#health-sciences-collections:hover,
#howard #cover-browse a#health-sciences-collections:active,
#howard #cover-browse a#health-sciences-collections:focus {
	background: transparent url(assets/md5images/b05cb2f08380754964cafab5743080e6.png) center no-repeat;
}

#howard #cover-browse a#expert-gallery:hover,
#howard #cover-browse a#expert-gallery:active,
#howard #cover-browse a#expert-gallery:focus {
	background: transparent url(assets/md5images/a3a92fe93a0913e2f2fa445138bb8ea8.png) center no-repeat;
}

#howard #cover-browse a#all-collections:hover,
#howard #cover-browse a#all-collections:active,
#howard #cover-browse a#all-collections:focus {
	background: transparent url(assets/md5images/6f767a8dbb8d94df9ff3fd30db02d62a.png) center no-repeat;
}

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#howard #dcn-home .box.aag h2,
#howard #dcn-home .box.potd h2 {
	font: 800 24px 'Open Sans', sans-serif;
	width: 267px;
	border-bottom: 1px solid #dbdbdb;
	margin: 0;
}

#howard #main.text .box a:link,
#howard #main.text .box a:visited {
	background: none;
	font: bold 12px 'Open Sans', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #dbdbdb;
}

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

#howard #footer,
#howard #bepress a {
	height: 82px;
	background-color: #023a63;
}

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

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

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

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

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

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

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

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

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

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

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

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

.mbl #howard #header { background: url(assets/md5images/65aa8b3e9f00dc9c79ed2c01ea41ad9a.png) no-repeat center; }

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

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

.mbl #howard #sidebar { background-color: #012a47 !important; }