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

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

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

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

#sastra { background: url(assets/md5images/9a6d9ad34f6e8c7855df57165e27bede.gif) repeat-x left bottom; }

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

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

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

#sastra #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 22.857142857142857% !important;  /* 224 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#sastra #header a#banner_link:focus img,
#sastra #header a#logo_link:focus img,
#sastra #bepress a:focus {
	outline: 2px dotted #ffab5a;
}

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

#sastra #navigation { margin-bottom: 32px; }

#sastra #navigation,
#sastra #navigation #tabs {
	height: 57px;
	white-space: nowrap;
}

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

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

#sastra #navigation #tabs a {
	font: 600 17px "Josefin Sans", sans-serif;
	display: block;
	height: 27px;
	line-height: 27px;
	color: #fff;
	background-color: transparent;
	padding: 0 7px;
	margin: 15px 13px;
    border-radius: 10px;
    border: 0;
    transition: 0.3s;
}

#sastra #navigation #tabs a:hover,
#sastra #navigation #tabs a:active,
#sastra #navigation #tabs a:focus {
	color: #003092;
	background: #fff;
}

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

#sastra #sidebar {
	margin: 25px 0;
	padding-top: 0;
	width: 239px;
	border-right: 1px solid #e9e9e9;
}

#sastra #sidebar h2 {
	font: bold 24px "Josefin Sans", sans-serif;
	color: #003091;
	background: transparent;
	border: none;
}

#sastra #sidebar h2::after {
	content: "";
    display: block;
    width: 105px;
    height: 4px;
    background-color: #ffab5a;
    margin: 9px 0 0 15px;
}

#sastra #sidebar a {
	font: normal 14px "Poppins", sans-serif;
	color: #003091;
	text-decoration: none;
}

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

#sastra #sidebar #sidebar-search label {
	font: normal 14px "Poppins", sans-serif;
	color: #003091;
}

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

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

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

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

#sastra #wrapper {
	box-shadow: #c8c8c8 0px 0px 10px 10px;
    border-radius: 16px;
    margin-bottom: 30px;
}

	/* Sticky Footer */

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

#sastra #main.text div.crumbs a:link,
#sastra #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #003091;
}

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

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

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

	/* --- Headers --- */

#sastra #homepage-heading-row h2 {
	font: bold 30px "Josefin Sans", 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) */

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

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#sastra .box.aag h2,
#sastra .box.potd h2 {
	font: bold 24px "Josefin Sans", sans-serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#sastra #footer,
#sastra #bepress a {
	height: 74px;
	background-color: #003091;
}

#sastra #bepress a {
	background-image: url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg);
    background-size: 210px;
    background-position: center;
}

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

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

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

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

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

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

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

	/* Search */

.legacy #sastra #wrapper {
	box-shadow: none;
    margin-bottom: 0;
}

.legacy #sastra #wrapper:after { content: none; }

.legacy #sastra #content {
	box-shadow: #c8c8c8 0px 0px 10px 10px;
    border-radius: 16px;
    margin-bottom: 30px;
}

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

	/* Increase contrast on My Account headings */

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

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

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

.mbl #sastra #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 22.857142857142857% !important;  /* 224 / 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 #sastra #main #buttons,
.mbl #sastra #main #cover-browse h3 { text-decoration: none; }

.mbl #main #cover-browse h3 a { text-decoration: underline; }

	/* stacks headings and spans in .box */

.mbl #sastra .box.aag h2,
.mbl #sastra .box.potd h2 {
	width: 100%;
}

.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

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

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

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

.mbl #sastra #footer {
	background-color: #003091 !important;
	background-image: none !important;
}


/* IR Article Custom Fields Styling JR 9-26-2025 */
#sastra #main.text #custom-fields #additional_files.element h2.field-heading { 
	color: #000; 
	font-size: 13px; 
	font-weight: bold; 
	font-family: "Poppins", sans-serif; 
}

/* Abstract and Biosketch justified JR 9-30-2025 */
#sastra #main.text #sub #alpha #abstract.element p,
#sastra #main.text #sub #alpha #biosketch.element p {
	text-align: justify; 
}