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

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

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

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

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

#oberlin { background: url(assets/md5images/69f6b53e1ed014ed5bf9dc2b9ca445e8.gif) repeat-x left bottom; }

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

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

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

#oberlin #header a#banner_link:focus img {
    outline: 2px dotted #cf102d;
}

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

#oberlin #navigation {
	background: transparent;
	margin-bottom: 40px;
}

#oberlin #navigation,
#oberlin #navigation #tabs {
	height: 55px;
	white-space: nowrap;
}

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

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

#oberlin #navigation #tabs a {
	font: bold 18px "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	display: block;
	height: 55px;
	line-height: 55px;
	color: #fff;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

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

	/* additional nav bar */

#oberlin #nav-upper { height: 58px; }

#oberlin #nav-upper p {
	display: inline;
	font: bold 29px "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	margin-right: 60px;
	vertical-align: middle;
}

#oberlin #nav-upper a {
	font: bold 15px "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
	height: 60px;
    line-height: 60px;
	padding: 0px 7px;
}

#oberlin #nav-upper a:last-of-type { padding-right: 0; }

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

#oberlin #sidebar { padding-top: 0; }

#oberlin #sidebar h2 {
	font: bold 16px "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	color: #000;
	background: transparent;
	border: none;
}

#oberlin #sidebar ul { width: 230px; }

#oberlin #sidebar a {
	font: normal 14px Verdana, Geneva, sans-serif;
	color: #1a1a1a;
	text-decoration: none;
}

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

#oberlin #sidebar #sidebar-search label {
	font: normal 14px Verdana, Geneva, sans-serif;
	color: #000;
}

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

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

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

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

	/* Sticky Footer */

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

#oberlin #content .text { padding: 0; }

	/* --- Breadcrumbs --- */

#oberlin #main.text div.crumbs a:link,
#oberlin #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #1a1a1a;
}

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

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

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

	/* --- Headers --- */

#oberlin #homepage-heading-row { margin-bottom: 20px; }

#oberlin #homepage-heading-row h2 {
	font: bold 26px "Roboto Condensed", sans-serif;
	margin: 0;
    padding: 0;
	text-transform: uppercase;
}

#oberlin #homepage-heading-row .site-follow a{
	margin-bottom: 11px;
}

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

	/* homepage buttons */

#oberlin #main.text #cover-browse .button {
	width: 189px;
    float: left;
    margin-right: 22px;
}

#oberlin #main.text #cover-browse .button:last-child { margin-right: 0; }

#oberlin #main.text #cover-browse a {
	height: 81px;
	background-color: #cf102d;
	font: bold 18px "Roboto Condensed", sans-serif;
	color: #fff;
	padding: 0 25px;
	line-height: 24px;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 300ms ease,color 300ms ease;
}

#oberlin #main.text #cover-browse a:hover,
#oberlin #main.text #cover-browse a:active,
#oberlin #main.text #cover-browse a:focus {
	margin-top: -2px;
}

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#oberlin .box.aag h2,
#oberlin .box.potd h2 {
	font: bold 17px "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

#oberlin #main.text .box a:link,
#oberlin #main.text .box a:visited {
	background: none;
	font: bold 14px Verdana, Geneva, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#oberlin #footer,
#oberlin #bepress a {
	height: 88px;
	background-color: #444;
}

#bepress a:focus,
#oberlin #footer a#footer-logo-link:focus img {
	outline: 2px dotted #cf102d;
}

#oberlin #footer p,
#oberlin #footer p a {
	font: normal 12px/1.8 Verdana, Geneva, sans-serif;
	color: #fff;
	text-decoration: none;
}

#oberlin #footer p:first-of-type { padding-top: 22px; }

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

/* Additional footer logo */
 
#oberlin #footer {
	position: relative;
	margin-top: 30px;
}
 
a#footer-logo-link { margin: 0; }
 
#footerlogo {
    position: absolute;
    top: 0;
    right: 0;
}

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

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

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

	/* Search */

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

	/* Increase contrast on My Account headings */

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

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

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

.mbl #oberlin #nav-upper { display: none; }

	/* 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 #oberlin .box.aag h2,
.mbl #oberlin .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

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

.mbl #oberlin #main.text #cover-browse a {
	margin-bottom: 8%;
}

.mbl #footer-logo-link { display: none; } /* logos aren't hidden by mbl footer */