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

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

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

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

body {
	font: normal 14px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/09a16fd722c33bf8db1d5e5a31b66172.gif) repeat-x left top;
}

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

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

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

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

#joe #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	right: 0;
	width: 20.510204081632653% !important;  /* 402 / 1960 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

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

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

#joe #navigation,
#joe #navigation #tabs {
	height: 37px;
	white-space: nowrap;
	width: 406px;
	margin-left: 0;
	background: #003366;
}

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

#joe #navigation #tabs,
#joe #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
}

#joe #navigation #tabs a {
	font: normal 20px "EB Garamond", serif;
	display: block;
	height: 21px;
	line-height: 21px;
	color: #fff;
	background-color: transparent;
	padding: 0 20px;
	margin: 8px 0;
	border: 0;
	border-right: 1px solid #fff;
}

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

#joe #navigation #tabs #tabone a { border-right: none; }

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

#joe #sidebar {
	margin: 16px 0 20px;
	background: #003366;
}

#joe #sidebar h2 {
	font: bold 16px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #fff;
	background: transparent;
	border: none;
}

#joe #sidebar a {
	font: normal 14px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}

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

#joe #sidebar #sidebar-search label {
	font: normal 14px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #fff;
}

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

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

	/* Sticky Footer */

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

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

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

#joe #breadcrumb a,
#joe .crumbs p a,
#joe #pager li {
	font-size: 12px;
}

#joe #dcn-home #homepage-heading-row { flex-flow: row-reverse; }

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

	/* --- Headers --- */

#joe #homepage-heading-row h2 {
	font: normal 22px Arial, "Helvetica Neue", Helvetica, sans-serif;
	margin-bottom: 20px;
}

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

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */

#joe #cover-browse a {
	font: 400 16px/1.6 Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
}

#joe #cover-browse a:hover,
#joe #cover-browse a:focus,
#joe #cover-browse a:active {
	text-decoration: underline;
}

	/* --- Links --- */

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

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




/* Homepage buttons */

#joe #homebuttons { width: 100%; }

#joe #homebuttons a { text-decoration: none; }

#joe #homebuttons a img {
	height: auto;
    width: 130.5px;
    margin: 0 30px 20px 0;
}

#joe #content .text #homebuttons a:focus {
	border-bottom: none;
}

#joe #content .text #homebuttons a:focus img {
	outline: 2px dotted #173179;
}






	/* PotD / Top DL widgets */

#joe .box.aag h2,
#joe .box.potd h2 {
	font: normal 17px Arial, "Helvetica Neue", Helvetica, sans-serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

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

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

	/* Browse Disciplines */

#joe #content .subnav li {
	font-size: 13px;
}

#joe .discipline-browser dt,
#joe .new-discipline dt {
	font-size: 15px;
}
#joe .discipline-browser dd,
#joe .new-discipline dd,
#joe dl.communities dd ul li {
	font-size: 14px;
}

#joe .discipline-browser dd,
#joe .new-discipline dd {
    padding: 3px 0;
}

	/* Submit Research */

#joe .communities dt,
#joe .communities dt a:link {
	font-size: 14px;
	font-weight: normal;
}
#joe dl.communities dd ul li {
    line-height: 1.3em;
}

	/* Announcements */

#joe #main.text #announce h3,
#joe #main.text #announce h4 {
 	font-size: 15px;
}

	/* Site subpage headings */

#joe #main.text h2#ir-about,
#joe #main.text h2#faq-top,
#joe #main.text h2#communities-title,
#joe #main.text h2#top,
#joe #main.text h2#submit-title,
#joe #main.text #announce h2,
#joe #main.text #accessibility-statement h2 {
	font-size: 22px;
}

	/* homepage stats */

#joe p#stats,
#joe #main.text #network-icon a {
	font-size: 13px;
}

	/* Article pages series/journal/event */

#joe #alpha .element p,
#joe #custom-fields .element p,
#joe #alpha #recommended_citation p,
#joe #alpha #attach_additional_files .files span {
	font-size: 14px;
}

#joe #beta_7-3 #beta-disciplines.aside p {
	font-size: 14px !important;
}

#joe #alpha .element h4,
#joe #custom-fields .element h4,
#joe #beta_7-3 h4,
#joe #alpha #attach_additional_files .related strong {
	font-size: 15px !important;
}
#joe #alpha #title.element p {
	font-size: 22px;
}

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

#joe #footer,
#joe #bepress a {
	height: 76px;
	background-color: #003366;
}

#joe #bepress a {
	background-image: url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg);
    background-size: 210px;
    background-position: center;
}

#joe #bepress a:focus { outline: 2px dotted #1c75bc; }

#joe #footer p,
#joe #footer p a {
	font: normal 12px/1.6 Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}

#joe #footer p:first-of-type { padding-top: 20px; }

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

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

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

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

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

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

	/* Search */

#joe #main.text a:link span.icon-question-sign {
	text-decoration: none;
}

	/* Increase contrast on My Account headings */

#joe .text #myaccount h2 { color: #000; }

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

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

.mbl #joe #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	right: 0;
	width: 20.510204081632653% !important;  /* 402 / 1960 */
	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 #buttons { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #joe .box.aag h2,
.mbl #joe .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

.mbl #joe #dcn-home #homepage-heading-row {
  align-items: center;
}
.mbl #joe #dcn-home #homepage-heading-row .btn {
  display: inline;
}
.mbl #joe #dcn-home #homepage-heading-row .btn:hover,
.mbl #joe #dcn-home #homepage-heading-row .btn:focus,
.mbl #joe #dcn-home #homepage-heading-row .btn:active {
  margin-left: 0;
}
.mbl #joe #dcn-home span.site-follow {
  margin: 0 5px;
}

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

  /* --- footer logo --- */

.mbl #joe #footer #bepress a {
	background: transparent url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg) center no-repeat !important;
	background-size: 235px !important;
	height: 50px !important;
	margin: 0px !important;
}

.mbl #joe #footer {
	background-color: #003366 !important;
	background-image: none !important;
}