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

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

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

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

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

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

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

#providence #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
	margin-bottom: 25px;
}

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

#providence #header a#banner_link:focus img {
    outline: 2px dotted #0d2e6e;
}

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

#providence #navigation { margin-top: 6px; }

#providence #navigation,
#providence #navigation #tabs {
	height: 48px;
	white-space: nowrap;
}

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

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

#providence #navigation #tabs a {
	font: normal 14px 'Barlow', sans-serif;
	display: block;
	height: 48px;
	line-height: 48px;
	color: #222;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

#providence #navigation #tabs #tabzero a:focus img {
	outline: 2px dotted #222;
}

#providence #navigation #tabs #tabzero {
	margin-right: 30%;
	padding: 0;
}

#providence #navigation #tabs #tabzero a {
	padding: 0;
	margin: 0;
}

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

#providence #sidebar { padding-top: 12px; }

#providence #sidebar h2 {
	font: 400 20px 'Lora', serif;
	color: #fff;
	background: transparent;
	border: none;
}

#providence #sidebar a {
	font: normal 14px 'Barlow', sans-serif;
	color: #fff;
	text-decoration: none;
}

#providence #sidebar a:hover,
#providence #sidebar a:active,
#providence #sidebar a:focus {
	text-decoration: underline;
}

#providence #sidebar #sidebar-search label {
	font: normal 14px 'Barlow', sans-serif;
	color: #fff;
}

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

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

	/* Sticky Footer */

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

#providence #main.text div.crumbs a:link,
#providence #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #0d2e6e;
}

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

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

/* --- front page buttons  ---*/

#providence #cover-browse #browse-by-buttons .browse-row {
	display: flex;
	justify-content: center;
}

#providence #cover-browse #browse-by-buttons .browse-container .browse-contents {
	margin: 5px;
}

#providence #cover-browse #browse-by-buttons .browse-container .browse-link h3 {
    text-decoration: none;
    background-image: none;
}

#providence #cover-browse #browse-by-buttons .browse-link {
	width: 126px;
	height: 126px;
	background: #0d2e6e;
	border-radius: 8px;
	transition: background 0.25s, color 0.25s;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
}

/* Button icon settings */
#providence #cover-browse #browse-by-buttons .browse-link span {
	font-size: 48px;
	color: #fff;
}

#providence #cover-browse #browse-by-buttons .browse-link img {
	margin: 0 auto;
}

/* Button text settings */
#providence #cover-browse #browse-by-buttons .browse-link h3 {
	font: 500 15px/1.4 'Barlow', sans-serif;
	text-align: center;
	color: #fff;
	padding-left: 0px;
	margin-top: 10px;
}

#providence #cover-browse #browse-by-buttons .browse-link h3#clinical {
	font-size: 12px;
	margin: 2px 4px 0;
}

/* Hover/focus behavior for button outline */
#providence #cover-browse #browse-by-buttons a:hover .browse-link,
#providence #cover-browse #browse-by-buttons a:focus .browse-link,
#providence #cover-browse #browse-by-buttons a:active .browse-link {
	background: #eef5ff;
}
#providence #cover-browse #browse-by-buttons a:hover .browse-link span,
#providence #cover-browse #browse-by-buttons a:focus .browse-link span,
#providence #cover-browse #browse-by-buttons a:active .browse-link span,
#providence #cover-browse #browse-by-buttons a:hover .browse-link h3,
#providence #cover-browse #browse-by-buttons a:focus .browse-link h3,
#providence #cover-browse #browse-by-buttons a:active .browse-link h3 {
	color: #0d2e6e;
}

#providence #cover-browse #browse-by-buttons a {
	text-decoration: none;
}

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

	/* --- Headers --- */

#providence #dcn-home > h2 {
	font: normal 22px 'Lora', serif;
	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: #0d2e6e; }

#providence #cover-browse a {
	font: 400 16px/1.6 'Barlow', sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#providence .box.aag h2,
#providence .box.potd h2 {
	font: normal 17px 'Lora', serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#providence #footer-top {
	height: 155px;
	margin-top: 20px;
	background: transparent;
}

#providence #footer-top a { text-decoration: none; }

#bepress a:focus,
#providence #footer-top a:hover img,
#providence #footer-top a:active img,
#providence #footer-top a:focus img {
	outline: 2px dotted #fff;
}

#providence #prov,
#providence .footer-logos-lower img {
	float: left;
}

#providence .footer-logos-lower {
	margin-left: 206px;
}

#providence #prov {
	margin: 14px 382px 0;
}

#providence .footer-logos-lower img {
	margin-right: 38px;
}

#providence #footer,
#providence #bepress a {
	height: 65px;
	background-color: #041e50;
}

#providence #footer p,
#providence #footer p a {
	font: normal 13px/1.6 'Barlow', sans-serif;
	color: #fff;
	text-decoration: none;
}

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

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

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

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

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

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

.legacy #providence #wrapper { background: transparent; }

.legacy #providence .footer-logos-lower img { margin-bottom: 21px; }

	/* Search */

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

	/* Increase contrast on My Account headings */

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

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

.mbl #providence #header,
.mbl #providence #header a#banner_link img,
.mbl #providence #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 #buttons { text-decoration: none; }

	/* stacks headings and spans in .box */

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

	/* homepage buttons */

.mbl #providence #cover-browse #browse-by-buttons h3:before {
    content: none;
}

.mbl #providence #cover-browse #browse-by-buttons .browse-row {
	display: flex;
    flex-flow: wrap;
}

.mbl #providence #cover-browse #browse-by-buttons .browse-container {
	margin-bottom: 14px;
}

.mbl #providence #cover-browse #browse-by-buttons .browse-link h3#clinical {
	font-size: 12px !important;
}

.mbl #providence #cover-browse #browse-by-buttons .browse-link h3 {
    font-size: 14px !important;
    font-family: 'Barlow', sans-serif !important;
    margin: 0 14px !important;
    padding: 0 !important;
    text-indent: 0 !important;
}

.mbl #providence #footer-top { display: none; }