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

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

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600&family=Open+Sans:wght@400;700&display=swap');

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

body {
	font: normal 16px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/25f1bf89d57225676af4924ed67a9b77.png) no-repeat center top;
}

#usf {
	background: url(assets/md5images/313a1f56736c6bcde5cfc110ddbd2cd4.gif) repeat-x left bottom;
	background-size: auto 83px;
}

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

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

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

#usf #header a#banner_link:focus img {
    outline: 2px dotted #9ccb3b;
}

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

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

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

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

#usf #navigation #tabs a {
	font: 500 19px 'Barlow Condensed', sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 36px;
	line-height: 36px;
	color: #edebd1;
	transition: 0.3s ease-in-out;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

#usf #navigation #tabs a:hover,
#usf #navigation #tabs a:active,
#usf #navigation #tabs a:focus {
	color: #fff;
	background-color: #009374;
}

#usf #navigation #tabs #tabone { display: none; }

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

#usf #sidebar h2 {
	font: 500 20px 'Barlow Condensed', sans-serif;
	color: #fff;
	background: #006747;
	padding: 4px 0;
	margin: 0;
	border: none;
}

#usf #sidebar a {
	font: normal 15px 'Open Sans', sans-serif;
	color: #008568;
	text-decoration: none;
}

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

#usf #sidebar #sidebar-search label {
	font: normal 14px 'Open Sans', sans-serif;
	color: #466069;
}

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

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

	/* Sticky Footer */

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

	/* --- Breadcrumbs --- */

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

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

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

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

	/* --- Headers --- */

#usf #dcn-home > h2 { font: 600 33px 'Barlow Condensed', 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: #006747; }

#usf #dcn-home #cover-browse h3 a {
	font: 400 17px/1.6 'Open Sans', sans-serif;
	text-decoration: none;
}

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

	/* Homepage browse buttons */

#usf #dcn-home #cover-browse a { text-decoration: none; }

#usf #dcn-home #cover-browse a img { margin: 0 10px 9px 0; }

#usf #dcn-home #cover-browse a:hover img,
#usf #dcn-home #cover-browse a:focus img,
#usf #dcn-home #cover-browse a:active img {
	outline: 2px dotted #4c4c4c;
}

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#usf #dcn-home .box.aag h2,
#usf #dcn-home .box.potd h2 {
	font: normal 16px 'Barlow Condensed', sans-serif;
	width: 267px;
	border-bottom: 1px solid #d3d3d3;
	margin: 0;
}

#usf #main.text .box a:link,
#usf #main.text .box a:visited {
	background: none;
	font: bold 13px 'Open Sans', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
}

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

#usf #footer,
#usf #bepress a {
	height: 83px;
	background-color: #005432;
}

#bepress a:focus { outline: 2px dotted #9ccb3b; }

#usf #footer p,
#usf #footer p a {
	font: normal 11px/2 'Open Sans', sans-serif;
	color: #fff;
	text-decoration: none;
}

#usf #footer a {
	margin: 0 1px;
}

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

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

/* Additional footer logo */
 
#usf #footer { position: relative; }
 
a#footer-logo-link { margin: 0; }
 
#footerlogo {
    position: absolute;
    top: 0;
    right: 0;
 }
 
#usf #footer a#footer-logo-link:focus img {
    outline: 2px dotted #9ccb3b;
}

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

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

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

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

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

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

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

#usf .text #myaccount thead tr th { color: #000; }

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

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

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

.mbl #usf #sidebar h2 { text-indent: 5px !important; }

/* --- journals.html styling --- */

#usf img.aspect {
	width: 666px;
	height: auto;
}

#usf h4.larger-font { font-size: 20px; }
#usf h4 { font-size: 20px; background: none; }


#usf div.cut { display: none; }
	
	/* --- Breadcrumbs --- */

#usf #container #wrapper #content #main.text #breadcrumb {
padding: 0px 0px 25px 0px; }

/* Adjusting rights statement images and title - Your initials and the date */
#usf #rights_statements h4 {
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: bold;
    line-height: 90%;
    margin-top: -8px;
    padding: 4px 4px 0px;
}
  
#usf #rights_statements img {
    padding: 4px;
    width: 150px;
    height: auto;
}
 
#usf #rights_statements p {
    font-size: 11px;
    padding: 4px;
}
/* Adjusting rights statement book gallery alignment- wdt 9/3/21 */
#usf #ir-book.left #rights_statements { 
margin-left: 178px;
     width: 480px;
     padding-top: 10px;
}