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

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

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

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

body {
	font: normal 16px/1.5 "Source Sans 3", sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/786e1ae4dfcb9f9a9444bac6c6d0fe1a.gif) repeat-x left top;
}

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

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

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

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

#wustl #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 15.918367346938776% !important;  /* 312 / 1960 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#wustl #header a#banner_link:focus img,
#wustl #header a#logo_link:focus img {
    outline: 2px dotted #007d8a;
}

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

#wustl #navigation,
#wustl #navigation #tabs {
	height: 28px;
	white-space: nowrap;
}

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

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

#wustl #navigation #tabs a {
	font: normal 16px "Source Sans 3", sans-serif;
	display: block;
	height: 28px;
	line-height: 13px;
	color: #fff;
	background-color: transparent;
	padding: 0 8px;
	margin: 14px 0 0;
	border: 0;
}

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

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

#wustl #sidebar h2 {
	font: bold 16px "Source Sans 3", sans-serif;
	text-transform: uppercase;
	color: #000;
	background: transparent;
	width: 228px;
	text-indent: 0;
	margin-left: 15px;
	border: none;
	border-bottom: 1px solid #e3e3e3;
}

#wustl #sidebar a {
	font: normal 16px "Source Sans 3", sans-serif;
	color: #971b2f;
	text-decoration: none;
}

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

#wustl #sidebar #sidebar-search label {
	font: normal 14px "Source Sans 3", sans-serif;
	color: #000;
}

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

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

	/* Sticky Footer */

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

#wustl #main.text div.crumbs a:link,
#wustl #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #971b2f;
}

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

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

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

	/* --- Headers --- */

#wustl #homepage-heading-row h2 {
	font: bold 26px "Source Sans 3", 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) */

#wustl #cover-browse a {
	font: 400 16px/1.6 "Source Sans 3", sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

/* Homepage buttons */

#wustl #main.text #homebuttons {
	display: block;
	width: 100%;
}

#wustl #main.text #homebuttons a {
	float: left;
	margin: 0 30px 30px 0;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	width: 174px;
	height: 170px;
	color: #000;
	background-color: #f9f7ef;
	text-decoration: none;
}

#wustl #main.text #homebuttons a img {
	width: 72px;
	height: auto;
	padding: 0 48px;
}

#wustl #homebuttons a:hover,
#wustl #homebuttons a:active,
#wustl #homebuttons a:focus {
	border-bottom: none;
	outline: 2px dotted #000;
}

#wustl #main.text #homebuttons p {
	text-decoration: none;
	font: bold 17px/1.2 "Source Sans 3", sans-serif;
	color: #000;
	text-align: center;
	margin: 0 24px;
}

#wustl #homebuttons a.black {
	border-top: 6px solid #000;
}

#wustl #homebuttons a.red {
	border-top: 6px solid #971b2f;
}

#wustl #homebuttons a.teal {
	border-top: 6px solid #007d8a;
}

	/* PotD / Top DL widgets */

#wustl .box.aag h2,
#wustl .box.potd h2 {
	font: bold 17px "Source Sans 3", sans-serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

#wustl #main.text .box a:link,
#wustl #main.text .box a:visited {
	background: none;
	font: bold 14px "Source Sans 3", sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#wustl #footer,
#wustl #bepress a {
	height: 76px;
	background-color: #000;
}

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

#wustl #bepress a:focus { outline: 2px dotted #971b2f; }

#wustl #footer p,
#wustl #footer p a {
	font: normal 13px/1.6 "Source Sans 3", sans-serif;
	color: #fff;
	text-decoration: none;
}

#wustl  #footer a.secondary-link { font-size: 11px; }

#wustl #footer p:first-of-type { padding-top: 18px; }

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

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

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

#wustl #main.text .authorbrowser p.letters a:hover,
#wustl #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 #wustl #wrapper:after { content: none; }

	/* Search */

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

	/* Increase contrast on My Account headings */

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

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

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

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

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

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

.mbl #wustl #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 #wustl #footer {
	background-color: #fff !important;
	background-image: none !important;
}

/* --- ir-article-custom-fields DOI alignment for book galleries 7/31/2026 MLG --- */
#wustl #ir-book.left #custom-fields {
	padding-left:179px;
	}

.mbl #wustl #ir-book.left #custom-fields {
    padding-left: unset;
}