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

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

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

body {
	font: normal 12px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #bebebe;
}

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

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

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

#hsu #header a#banner_link:focus img {
    outline: 1px dotted #f37037;
}

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

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

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

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

#hsu #navigation #tabs a {
	font: normal 11px Arial, "Helvetica Neue", Helvetica, sans-serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 36px;
	line-height: 36px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
	border-right: 1px solid #fff;
}

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

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

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

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

#hsu #sidebar h2 {
	width: 228px;
    text-indent: 0;
	font: bold 15px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #000;
	background: transparent;
	padding: 0 0 6px;
    margin: 0 0 0 15px;
	border-bottom: 1px solid #d7d7d7;
}

#hsu #sidebar a {
	font: normal 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #0d3f62;
	text-decoration: none;
}

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

#hsu #sidebar #sidebar-search label {
	font: normal 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #000;
}

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

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

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

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

	/* --- Breadcrumbs --- */

#hsu #main.text div.crumbs a:link,
#hsu #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #104e7b;
}

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

#hsu #homepage_intro {
	width: auto;
    margin: 32px 0;
}

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

#hsu #dcn-home > #cover-browse {
    display: inline-block;
}
 
#hsu #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;
}

	/* --- Headers --- */

#hsu #dcn-home > h2 { font: bold 21px Arial, "Helvetica Neue", Helvetica, 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: #104e7b; }

#hsu #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#hsu #dcn-home .box.aag h2,
#hsu #dcn-home .box.potd h2 {
	font: bold 16px Arial, "Helvetica Neue", Helvetica, sans-serif;
	width: 267px;
	border-bottom: 1px solid #d7d7d7;
	margin: 0;
}

#hsu #main.text .box a:link,
#hsu #main.text .box a:visited {
	background: none;
	font: bold 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d7d7d7;
}

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

#hsu #footer,
#hsu #bepress a {
	height: 75px;
	background-color: #e1e1e1;
}

#bepress a:focus { outline: 1px dotted #f37037; }

#hsu #footer p,
#hsu #footer p a {
	font: normal 12px/2 Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #0d3f62;
	text-decoration: none;
}

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

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

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

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

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

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

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

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

.mbl #hsu #header,
.mbl #hsu #header a#banner_link img,
.mbl #hsu #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 #hsu #dcn-home .box.aag h2,
.mbl #hsu #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

/* sidebar donate section 2021-01-25 bnyikos */
#hsu #sidebardonate {
	margin-top:100px;
}

#hsu #sidebardonate p {
    text-align:center;}

#hsu #sidebardonate a.button {
	color:#FFF;
	background-color:#00407F;
	border-color:#00407F;
}

#hsu #sidebardonate a.button:hover,
#hsu #sidebardonate a.button:focus,
#hsu #sidebardonate a.button:active {
	color:#FFF;
	background-color:#001b35;
}

#hsu #sidebardonate p.smalltext {
    font-size: 10px;
    text-align:left;
}

/* submission form overview and agreement page 2023.02.27 bnyikos */
#hsu #agreement ol li ol li {
    list-style: lower-alpha;
}
#hsu #agreement ol li ol li ol li {
    list-style: lower-roman;
}

/* additional edit to submission form 2024.03.29 -ST */
#hsu #agreement_body {
	margin:25px
}

/* series title align left 2024.03.29 -ST */
#hsu h2#series-title {
    text-align:left;
    }
