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

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

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

	/* --- 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/c8e3833629a06354925ba357c7728880.gif) repeat-x left top;
}

#smij { background: url(assets/md5images/5757f10102e17dd5cfca6308a06874d7.gif) repeat-x left bottom; }

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

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

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

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

#smij #header a#banner_link:focus img,
#smij #header a#logo_link:focus img {
    outline: 2px dotted #104e7b;
}

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

#smij #navigation,
#smij #navigation #tabs {
	height: 37px;
	white-space: nowrap;
}

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

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

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

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

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

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

#smij #sidebar h2 {
	font: bold 16px "Roboto", sans-serif;
	color: #000;
	background: transparent;
	border: none;
}

#smij #sidebar a {
	font: normal 14px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #104e7b;
	text-decoration: none;
}

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

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


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

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

	/* Sticky Footer */

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

#smij #main.text div.crumbs a:link,
#smij #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #104e7b;
}

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

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

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

	/* --- Headers --- */

#smij #homepage-heading-row h2 {
	font: bold 22px "Roboto", 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) */

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

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

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

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#smij #footer,
#smij #bepress a {
	height: 75px;
	background-color: #efefef;
}

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

#smij #bepress a:focus { outline: 2px dotted #104e7b; }

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

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

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

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

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

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

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

	/* Search */

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

	/* Increase contrast on My Account headings */

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

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

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

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

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

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

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

.mbl #smij #footer {
	background-color: #efefef !important;
	background-image: none !important;
}

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

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


/* ---------------- Miscellaneous fixes ---------------- */
#smij  #content #main.text p{
    text-align: justify;}