/* -----------------------------------------------
bepress IR local stylesheet.
Author: Jami Wardlow
Version: Dec 2024
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&family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

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

#fsw { background: url(assets/md5images/95d8f27914c74755763219259fd88595.gif) repeat-x left bottom; }

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

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

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

#fsw #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 58.032786885245902%; /* 177/305 */
	left: 1.326530612244898%; /* 13/980 */
	width: 60.306122448979592% !important;  /* 591/980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#fsw #header a#banner_link:focus img,
#fsw #header a#logo_link:focus img {
    outline: 2px dotted #fff;
}

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

#fsw #navigation,
#fsw #navigation #tabs {
	height: 45px;
	white-space: nowrap;
}

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

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

#fsw #navigation #tabs a {
	font: normal 14px "Roboto", serif;
	display: block;
	height: 45px;
	line-height: 45px;
	color: #fff;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

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

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

#fsw #sidebar h2 {
	font: normal 18px "Lato", serif;
	color: #fff;
	background: #470b68;
	padding: 7px 0;
	border: none;
}

#fsw #sidebar a {
	font: normal 14px "Lato", serif;
	color: #470b68;
	text-decoration: none;
}

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

#fsw #sidebar #sidebar-search label {
	font: normal 14px "Roboto", serif;
	color: #000;
}

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

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

	/* Sticky Footer */

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

#fsw #main.text div.crumbs a:link,
#fsw #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #470b68;
}

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

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

#fsw #dcn-home > #homepage-intro { /*margin: 15px 0;*/ }

	/* --- Headers --- */

#fsw #homepage-heading-row h2,
#fsw #dcn-home > h2 {
	font: normal 36px "Oswald", serif;
	margin-bottom: 20px;
}

#fsw #homepage-heading-row h2 { margin-top: 0; }

#fsw #dcn-home > h2 { margin-top: 20px; }

h3 {
	margin: 0;
	text-decoration: underline;
}

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

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

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

	/* --- Links --- */

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

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

/* --- front page buttons ---*/

#fsw #buttons {
	width: 100%;
	margin-bottom: 0;
}

#fsw #buttons .browse-container .browse-link h3 {
    text-decoration: none;
    background-image: none;
	margin: 0 12px;
}

#fsw #buttons .browse-container {
    margin: 4px 0;
}

#fsw #buttons .browse-link {
  background-color: #470b68;
  width: 122px;
  height: 122px;
  border-radius: 5px;
  text-align: center;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  float: left;
  margin: 0 11px 22px 0;
}

/* Button img settings */
#fsw #buttons .browse-link img {
	align-self: center;
	width: 52px;
	height: 52px;
}

/* Button text settings */
#fsw #buttons .browse-link h3 {
  font: normal 16px/1.4 "Oswald", serif;
  text-align: center;
  color: #fff;
  padding-left: 0px;
  margin-top: 10px;
}

/* Hover/focus behavior for button outline */
#fsw #buttons a:hover > .browse-link,
#fsw #buttons a:focus > .browse-link,
#fsw #buttons a:active > .browse-link {
  outline: 2px dotted #4a68b6;
}

#fsw #buttons a,
#fsw #buttons a:hover,
#fsw #buttons a:focus,
#fsw #buttons a:active {
  text-decoration: none !important;
}

	/* PotD / Top DL widgets */

#fsw .box.aag h2,
#fsw .box.potd h2 {
	font: normal 24px "Oswald", serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

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

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

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

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

#fsw #bepress a:focus { outline: 2px dotted #008b83; }

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

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

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

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

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

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

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

	/* Search */

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

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

	/* Increase contrast on My Account headings */

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

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

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

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

.mbl #fsw #header #logo_image { display: none; }

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0;
}

.mbl #fsw #sidebar h2 { text-indent: 15px !important; }

	/* fixes bullet underline for Browse Research and Scholarship links */

.mbl #main #buttons { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #fsw .box.aag h2,
.mbl #fsw .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

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

	/* homepage buttons */

.mbl #fsw #buttons h3:before {
    content: none;
}

.mbl #fsw #buttons {
    margin-top: 0px;
}

.mbl #fsw #buttons * {
    font-size: 14px;
    padding: 0px !important;
}

.mbl #fsw #buttons img {
    max-width: 60px !important;
    padding-top: 5px;
}

@media only screen and (max-width: 767px) {

  #fsw #buttons .browse-link {
    padding: 4px;
   }

  #fsw #buttons .browse-link h3 {
    text-decoration: underline;
    background-image: none;
    margin-top: 10px;
    font-size: 14px;
   }

  #fsw #buttons .browse-link h3:before {
  	content: none;
   }

  #fsw #buttons .browse-link img {
  	max-width: 45px;
   }
}

.mbl #fsw #buttons { 
	display: flex;
	flex-flow: wrap;
}


#fsw ul.custompage-no-bullets {
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margins */
}