/* -----------------------------------------------
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=Open+Sans:ital,wght@0,300..800;1,300..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/3d2560f9bf4b4d40e69df261a6e45485.png) no-repeat center top;
}

#unf { background: url(assets/md5images/6b8f4b5449a5f9328ce8ad91f21bc775.gif) repeat-x left bottom; }

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

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

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

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

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

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

#unf #navigation,
#unf #navigation #tabs {
	height: 36px;
	white-space: nowrap;
}

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

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

#unf #navigation #tabs a {
	font: normal 12px "Open Sans", sans-serif;
	display: block;
	height: 36px;
	line-height: 36px;
	color: #0d3f62;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

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

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

#unf #sidebar h2 {
	font: bold 15px "Open Sans", sans-serif;
	text-indent: 0;
	color: #0a233f;
	background: #e1e1e1;
	padding: 4px 0 5px 12px;
	border: none;
	margin-left: 4px;
}

#unf #sidebar ul { padding: 4px 0; }

#unf #sidebar ul li,
#unf #sidebar ul li a,
#unf #sidebar #recent ul li {
	padding-bottom: 2px;
}

#unf #sidebar a {
	font: normal 13px "Open Sans", sans-serif;
	color: #017397;
	text-decoration: none;
}

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

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

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

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

	/* Sticky Footer */

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

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

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

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

#unf #dcn-home > #homepage-intro { margin: 8px 0; }

#unf #dcn-home > #homepage-intro h2 { font-weight: bold; }

	/* --- Headers --- */

#unf #dcn-home h2,
#unf #homepage-heading-row h2 {
	font: bold 22px "Open Sans", sans-serif;
	padding: 0;
	margin-bottom: 20px;
}

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

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */ #buttons { color: #017397; }

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

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

	/* --- Links --- */

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

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

/* Home buttons */

#unf #browse-by-buttons {	
    width: 91%;	
    display: flex;	
    flex-flow: row wrap;
    justify-content: space-between;	
}	

#unf #browse-by-buttons .browse-container a,
#unf #browse-by-buttons .browse-container a:link,
#unf #browse-by-buttons .browse-container a:visited {		
    text-decoration: none;	
}	
 	
#unf #browse-by-buttons .browse-container {	
    width: 25%; /* 33% for 3-icon rows, 25% for 4-icon rows */	
    margin: 0 0 15px 0;
}	
 	
#unf #browse-by-buttons .browse-contents {	
/*  width: calc(120px + 5px);  /* .browse-link width + .browse-link border width */	
}	

#unf #browse-by-buttons .browse-link {
  background-color: #0a233f; /* button background color */
  width: 138px;
  height: 136px;
  text-align: center;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}	
 	
/* Button icon settings */	
#unf #browse-by-buttons .browse-link i {
  font-size: 78px; /* size of font icon */
  color: #fff; /* button icon color */
  text-decoration: none;
}	

/* Button text settings */	
#unf #browse-by-buttons .browse-link h3 {	
  font: bold 13px "Open Sans", sans-serif;
  text-align: center;	
  font-family: inherit;	
  color: #fff; /* button text color */
  margin: 0 7px;
}	
 	
#unf #browse-by-buttons .browse-contents h3 {	
  text-decoration: none;	
}	
 	
/* Hover/focus behavior for button text */	
#unf #browse-by-buttons a:hover > .browse-link h3,	
#unf #browse-by-buttons a:focus > .browse-link h3,	
#unf #browse-by-buttons a:active > .browse-link h3 {	
  color: #fff; /* hover text color */	
  text-decoration: none;	
}	
 	
/* Hover/focus behavior for icon */	
#unf #browse-by-buttons a:hover > .browse-link i,	
#unf #browse-by-buttons a:focus > .browse-link i,	
#unf #browse-by-buttons a:active > .browse-link i {	
  color: #fff; /* hover icon color */	
  transition: color .1s;	
}	
 	
/* Hover/focus behavior for button outline */	
#unf #browse-by-buttons a:hover > .browse-link,	
#unf #browse-by-buttons a:focus > .browse-link,	
#unf #browse-by-buttons a:active > .browse-link {	
  outline: 2px dotted 017397;
}	
 	
/* Mobile adjustments */	
 	
.mbl #unf #browse-by-buttons * {
	font-size: 12px;
	margin: 0px;
}

.mbl #unf #browse-by-buttons {
	padding: 0px;
    margin: 0px;
}

.mbl #unf #browse-by-buttons .browse-container {
	width: max-content;
	margin-bottom: 10px;
}

.mbl #unf #browse-by-buttons .browse-link {
	padding: 6px;
	justify-content: center;
}

.mbl #unf #browse-by-buttons .browse-link h3,
.mbl #unf #browse-by-buttons .browse-link i {   
	margin: 0;
	line-height: 1.3;
}
 	
/* Overruling some of Google's default icon font styling */	
#unf #browse-by-buttons .browse-link material-icons {	
  font-family: 'Material Icons';	
  font-weight: normal;	
  font-style: normal;	
  white-space: nowrap;	
  line-height: 1em;	
  font-size: 55px;
}

	/* PotD / Top DL widgets */

#unf #dcn-home .box.aag h2,
#unf #dcn-home .box.potd h2 {
	font: bold 16px "Open Sans", sans-serif;
	width: 267px;
	border-bottom: 1px solid #e3e3e3;
	margin: 0;
}

#unf #main.text .box a:link,
#unf #main.text .box a:visited {
	background: none;
	font: 800 13px "Open Sans", sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #e3e3e3;
}

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

/* Adjusting rights statement images and custom fields titles - SBT 2024.11.06 */
#unf #main.text #custom-fields h2 {
    color: #000;
    margin: 0;
    padding: 4px;
    padding-bottom: 0;
    font-weight: bold;
    font-size: 13px;
}

#unf #main.text #custom-fields #rights_statements p {
	font-size: 14px
}

#unf #main.text #custom-fields #rights_statements p.rslink {
	padding: 0px 4px 0px 4px;
	font-size: 11px
}

#unf #main.text #custom-fields #rights_statements img {
    padding: 4px 4px 0px 4px;
    width: 150px;
    height: auto;
}

#unf #main.text #custom-fields #rights_statements #book_rights {
	padding-left: 177px
}

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#unf #footer,
#unf #bepress a {
	height: 76px;
	background-color: #e1e1e1;
}

#unf #bepress a {
	background-image: url(assets/md5images/05282938aa7177c320daaf160c41aa8f.svg);
    background-size: 210px;
    background-position: center;
}

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

#unf #footer p,
#unf #footer p a {
	font: normal 12px/1.8 "Open Sans", sans-serif;
	color: #434343;
	text-decoration: none;
}

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

#unf #footer p a.secondary-link { font-size: 10px; }

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

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

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

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

	/* Search */

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

	/* Increase contrast on My Account headings */

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

	/* custom follow button color */

#unf .followable {
    background-color: #0c243f !important;
    background-image: -webkit-linear-gradient(top, #4d5c68, #0c243f) !important }

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

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

.mbl #unf #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 25.5102040816327% !important;  /* 250 / 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 #buttons { text-decoration: none; }

	/* stacks headings and spans in .box */

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

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

.mbl #unf #main.text #home-btns #row1 a img,
.mbl #unf #main.text #home-btns #row2 a img {
  height: auto;
  width: auto;
}

.mbl #unf #main.text #home-btns #row1,
.mbl #unf #main.text #home-btns #row2 {
  height: auto;
  justify-content: space-around;
}

.mbl #unf #main.text #home-btns a {
  margin-right: 5px;
}

.mbl #unf #main.text #home-btns #row1 {
  margin-bottom: 5px;
}

/* Left-aligning structure titles - SBT 2024.10.30 */
#unf #main.text h1#series-title {
	text-align: left
}

/* Hiding FAQ navtab - SBT 2025.10.03 */
#unf #navigation #tabs #tabthree {
	display: none
}
