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

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

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

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

body {
	font: normal 14px/1.5 "Lato", sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #e0e0e0;
}

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

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

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

#neujpe #header a#banner_link:focus img {
    outline: 2px dotted #0056b3;
}

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

#neujpe #navigation,
#neujpe #navigation #tabs {
	height: 28px;
	white-space: nowrap;
}

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

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

#neujpe #navigation #tabs a {
	font: normal 13px "Lato", sans-serif;
	display: block;
	height: 15px;
	line-height: 15px;
	color: #fff;
	background-color: transparent;
	padding: 0 8px;
	margin: 7px 0;
	border: 0;
	border-right: 1px solid #5679a7;
}

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


#neujpe #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
	border-right: none;
}

#neujpe #navigation #tabs #tabthree,
#neujpe #navigation #tabs #tabfour {
  display: none;
}

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

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

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

#neujpe #sidebar a {
	font: normal 13px "Lato", sans-serif;
	color: #0056b3;
	text-decoration: none;
	text-transform: uppercase;
}

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

#neujpe #sidebar #sidebar-search label {
	font: normal 14px "Lato", sans-serif;
	color: #000;
	text-transform: uppercase;
}

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

/* Hiding Collections link in Browse section */
#neujpe #sidebar ul#side-browse li.collections { display:none; }
/* Hiding Author Corner links in sidebar */
#neujpe #sidebar ul#side-author { display: none; }

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

	/* --- Breadcrumbs --- */

#neujpe #main.text div.crumbs a:link,
#neujpe #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #0056b3;
}

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

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

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

	/* --- Headers --- */

#neujpe #homepage-heading-row h2 {
	font: normal 22px "Lato", 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) */

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

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#neujpe .box.aag h2,
#neujpe .box.potd h2 {
	font: normal 17px "Lato", sans-serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#neujpe #footer,
#neujpe #bepress a {
	height: 75px;
	background-color: #0a0a0a;
}

#neujpe #bepress a {
	background-image: url(assets/md5images/96b516c30fb7fdc1d3fe4dc6d556b6f8.svg);
    background-size: 210px;
    background-position: center;
}

#neujpe #bepress a:focus { outline: 2px dotted #0056b3; }

#neujpe #footer p,
#neujpe #footer p a {
	font: normal 13px/1.6 "Lato", sans-serif;
	color: #fff;
	text-decoration: none;
}

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

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

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

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

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

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

	/* Search */

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

	/* Increase contrast on My Account headings */

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

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

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

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

  /* --- footer logo --- */

.mbl #neujpe #footer #bepress a {
	background: transparent url(assets/md5images/96b516c30fb7fdc1d3fe4dc6d556b6f8.svg) center no-repeat !important;
	background-size: 235px !important;
	height: 50px !important;
	margin: 0px !important;
}

.mbl #neujpe #footer {
	background-color: #446084 !important;
	background-image: none !important;
}