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

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

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

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

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

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

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

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

#smith #header a#banner_link:focus img {
    outline: 2px dotted #107d62;
}

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

#smith #navigation,
#smith #navigation #tabs {
	height: 98px;
	white-space: nowrap;
}

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

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

#smith #navigation #tabs a {
	font: normal 18px "Rubik", sans-serif;
	display: block;
	height: 36px;
	line-height: 36px;
	color: #18191b;
	background-color: transparent;
	padding: 0 22px;
	margin: 44px 0 0 0;
	border: 0;
}

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

#smith #navigation #tabs #tabfour a { padding-right: 15px; }

#smith #navigation #tabs #tabzero a:focus img {
	outline: 2px dotted #107d62;
}

#smith #navigation #tabs #tabzero {
	margin-right: 278px;
	padding: 0;
}

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

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

#smith #sidebar {
	background: #f3f3f3;
	margin-top: 30px;
	padding-top: 14px;
	margin-bottom: 20px;
}

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

#smith #sidebar a {
	font: normal 14px "Rubik", sans-serif;
	color: #434343;
	text-decoration: none;
}

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

#smith #sidebar #sidebar-search label {
	font: normal 14px "Rubik", sans-serif;
	color: #000;
}

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

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

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

/* ---------------- Main Content ---------------- */

	/* --- Breadcrumbs --- */

#smith #main.text div.crumbs a:link,
#smith #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #107d62;
}

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

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

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

	/* --- Headers --- */

#smith #homepage-heading-row h2 {
	font: 500 30px "Rubik", sans-serif;
	margin-bottom: 20px;
}

h3 {
	margin: 0;
	text-decoration: underline;
	text-decoration-color: #107d62;
}

#smith #homepage-intro h2 { font-weight: 500; }

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */ #buttons { color: #107d62; }

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

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

	/* --- Links --- */

#smith #main.text a:link,
#smith #main.text a:visited {
	color: #107d62; /* declared for #network-icon text */
}

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

	/* PotD / Top DL widgets */

#smith .box.aag h2,
#smith .box.potd h2 {
	font: 500 24px "Rubik", sans-serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#smith #footer { border-top: 1px solid #a0a0a0; }

#smith #footer,
#smith #bepress a {
	height: 75px;
	background-color: #fff;
}

#smith #bepress a {
	background-image: url(assets/md5images/05282938aa7177c320daaf160c41aa8f.svg);
    background-size: 210px;
    background-position: center;
}

#smith #bepress a:focus { outline: 2px dotted #217cb0; }

#smith #footer p,
#smith #footer p a {
	font: 500 13px/1.6 "Rubik", sans-serif;
	color: #107d62;
	text-decoration: none;
}

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

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

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

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

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

#smith #main.text .authorbrowser p.letters a:hover,
#smith #main.text .authorbrowser p.letters a:focus {
   background: url(/assets/azMe.jpg) bottom center no-repeat;
   color: #fff;
}

	/* Search */

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

	/* Increase contrast on My Account headings */

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

/* orcid id icon next to field value KH 10/16/24 */
#smith #orcid.element p a {
    background:transparent url(assets/md5images/2dddb203aa38ec94870d3ef2b43921c4.png) top left no-repeat;	
    padding-left:20px;
    padding-bottom:5px; }

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

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

.mbl #smith #navigation { display: none; }

	/* 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 #smith .box.aag h2,
.mbl #smith .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

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

#smith #main.text #home-page-banner {
	padding-top: 30px;
}