/* -----------------------------------------------
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=Fira+Sans+Condensed&family=Open+Sans:wght@400;700&display=swap');

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

body {
	font: normal 14px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	color: #606060;
	background: #fff url(assets/md5images/f5e7424023523eb65f410a9da45e7bb2.gif) repeat-x left top;
}

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

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

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

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

#rep #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	right: 0;
	width: 22.244897959183673% !important;  /* 218 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

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

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

#rep #navigation,
#rep #navigation #tabs {
	height: 50px;
	white-space: nowrap;
}

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

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

#rep #navigation #tabs a {
	font: normal 15px 'Fira Sans Condensed', sans-serif;
	display: block;
	height: 50px;
	line-height: 50px;
	color: #fff;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

#rep #navigation #tabs #tabfour a { padding-left: 33px; }

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

#rep #sidebar h2 {
	font: bold 16px 'Fira Sans Condensed', sans-serif;
	color: #606060;
	background: transparent;
	border: none;
}

#rep #sidebar a {
	font: normal 14px 'Open Sans', sans-serif;
	color: #007eac;
	text-decoration: none;
}

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

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

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

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

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

/* --- Social Media Icons --- added by YOUR NAME on DATE */
 
ul#social li {
    display: inline-block;
}
 
ul#social li a {
    margin: 0 19px; /* removes 15px margin on all links in #sidebar. Adjust second number to adjust spacing between icons */
}
 
ul#social li:first-child a {
    margin-left: 15px; /* horizontally aligns first icon with other sidebar content */
}
 
ul#social li a:focus img {
    outline: 2px dotted #007eac /* provides indication of focus for keyboard-only users. Adjust color to be more visible if needed.*/
}

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

	/* Sticky Footer */

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

#rep #main.text div.crumbs a:link,
#rep #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #007eac;
}

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

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

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

	/* --- Headers --- */

#rep #homepage-heading-row h2 {
	font: normal 22px 'Fira Sans Condensed', 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) */ #buttons { color: #007eac; }

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

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#rep .box.aag h2,
#rep .box.potd h2 {
	font: normal 17px 'Fira Sans Condensed', sans-serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#rep #footer,
#rep #bepress a {
	height: 74px;
	background-color: #000;
}

#bepress a:focus,
#rep #footer a#footer-logo-link:focus img {
	outline: 2px dotted #007eac;
}

#rep #footer p,
#rep #footer p a {
	font: normal 15px/1.6 'Fira Sans Condensed', sans-serif;
	color: #fff;
	text-decoration: none;
}

#rep #footer p { padding: 0 0 0 218px; }

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

/* Additional footer logo */
 
#rep #footer { position: relative; }
 
a#footer-logo-link { margin: 0; }
 
#footerlogo {
    position: absolute;
    top: 0;
    left: 0;
}

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

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

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

	/* Search */

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

	/* Increase contrast on My Account headings */

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

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

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

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

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

/* site-level navlist */
#rep #sidebar ul#navlist,
#rep #sidebar ul#navlist li:first-child a {
	border-top: none; }	 /* border added by ir-custom.css by default */

#rep #sidebar ul#navlist li a {
	color: #006f98;
	transition: background 0.3s ease;
	padding: 9px 0;
	font-weight: normal;
	background: #f4f4f4;
	border-bottom: none;
}

#rep #sidebar ul#navlist li a:active,
#rep #sidebar ul#navlist li a:hover,
#rep #sidebar ul#navlist li a:focus {
	color: #007eac;
	background: #fff;
}

/*formatting issn on home page sidebar*/
#rep #sidebar p#inicioissn  {
    letter-spacing: .33em;
    line-height: 1em;
    margin: 20px 0;
    text-align: center;
    text-transform: uppercase;
    color: #606060;
}
/*adjusting size of images in sidebar*/
#rep #sidebar img#dialnet {
	width: 200px;
	height: auto;
}
#rep #sidebar img#jcrlogo {
	width: 200px;
	height: auto;
}
#rep #sidebar img#doas {
	width: 200px;
	height: auto;
}