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

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

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

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

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

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

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

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

#adsels #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 29.962546816479401%; /* 80 / 267 */
	left: 0;
	width: 47.7551020408163% !important;  /* 468 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#adsels #header a#banner_link:focus img,
#adsels #header a#logo_link:focus img {
    outline: 2px dotted #0056d6;
}

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

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

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

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

#adsels #navigation #tabs a {
	font: normal 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	display: block;
	height: 48px;
	line-height: 48px;
	color: #0c0f12;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

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

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

#adsels #sidebar h2 {
	font: normal 16px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #000;
	background: transparent;
	border: none;
}

#adsels #sidebar a {
	font: normal 14px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #0056d6;
	text-decoration: none;
}

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

#adsels #sidebar #sidebar-search label {
	font: normal 14px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #000;
}

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

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

	/* Sticky Footer */

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

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

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

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

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

	/* --- Headers --- */

#adsels #homepage-heading-row h2 {
	font: normal 22px Arial, "Helvetica Neue", Helvetica, sans-serif;
	margin-bottom: 20px;
}

h3 {
	margin: 0;
	text-decoration: underline;
	text-decoration-color: #0056d6;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */

#adsels #cover-browse a {
	font: 400 16px/1.6 Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

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

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#adsels #footer,
#adsels #bepress a {
	height: 78px;
	background-color: transparent;
}

#adsels #bepress a {
	background-image: url(assets/md5images/66bb07249bda5d6f71d3792893da903f.svg);
    background-size: 210px;
    background-position: center;
}

#adsels #bepress a:focus { outline: 2px dotted #0056d6; }

#adsels #footer p,
#adsels #footer p a {
	font: normal 13px/1.6 Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #6593dc;
	text-decoration: none;
}

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

#adsels #footer p:first-of-type { padding-top: 24px; }

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

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

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

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

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

	/* Search */

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

	/* Increase contrast on My Account headings */

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

/* Hide author corner in sidebar th 11/24/2024 */
#adsels #sidebar ul#side-author { display: none; }

/* Hide Collections link in sidebar th 11/24/2024 */
#adsels #sidebar ul#side-browse li.collections {display: none; }

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

.mbl #adsels #header {
	background: url(assets/md5images/809d2652071a918b33df7803e256049f.png) no-repeat left top;
}

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

.mbl #adsels #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 29.962546816479401%; /* 80 / 267 */
	left: 0;
	width: 47.7551020408163% !important;  /* 468 / 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 #adsels .box.aag h2,
.mbl #adsels .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

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