/* -----------------------------------------------
bepress IR local stylesheet.
Author: Jami Wardlow
Version: Sep 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&family=Special+Gothic+Expanded+One&display=swap');

	/* --- Meta styles and background --- */

body {
	font: normal 14px/1.5 "Roboto", sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/16996577a59a20407f4ae9083a5dfa65.png) no-repeat center top;
}

#linfield { background: url(assets/md5images/33c12aa212c4318848d565a83453efdc.gif) repeat-x left bottom; }

/* ---------------- Header ---------------- */

#linfield #header {
	background: transparent;
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#linfield #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 --- */

#linfield #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 39.086294416243655%; /* 77 / 197 */
	left: 1.73469387755102%; /* 17 / 980 */
	width: 94.693877551020408% !important;  /* 928 / 980 */
	height: 18.274111675126904% !important; /* 36 / 197 */
}

#linfield #header a#banner_link:focus img,
#linfield #header a#logo_link:focus img,
#linfield #navigation #tabs #tabzero a:focus img {
    outline: 2px dotted #d40133;
}

/* ---------------- Navigation ---------------- */

#linfield #navigation {
	background: transparent;
	position: relative;
}

#linfield #navigation,
#linfield #navigation #tabs {
	height: 62px;
	white-space: nowrap;
}

#linfield #navigation #tabs,
#linfield #navigation #tabs ul,
#linfield #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#linfield #navigation #tabs,
#linfield #navigation #tabs ul {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

#linfield #navigation #tabs a {
	font: normal 13px "Special Gothic Expanded One", sans-serif;
	text-transform: uppercase;
	display: block;
	height: 62px;
	line-height: 62px;
	color: #470a68;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

#linfield #navigation #tabs a:hover,
#linfield #navigation #tabs a:active,
#linfield #navigation #tabs a:focus {
	text-decoration: underline;
}

#linfield #navigation #tabs #tabone a { padding-left: 12px; } /* switch for right-aligned nav tabs */


#linfield #navigation #tabs #tabzero {
	padding: 0;
	margin-right: 5px;
}

#linfield #navigation #tabs #tabzero a {
	padding: 0;
	margin: 0;
}

#linfield #navigation #tabs #tabzero a img {
	position: absolute;
	top: 0;
	left: 30px;
}

/* ---------------- Sidebar ---------------- */

#linfield #sidebar h2 {
	font: bold 16px "Roboto", sans-serif;
	text-transform: uppercase;
	color: #000;
	background: transparent;
	width: 228px;
	margin-left: 15px;
	text-indent: 0;
	letter-spacing: .125rem;
	border: none;
	padding-bottom: 5px;
	border-bottom: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg,#470a68 17%,#d50032);
}

#linfield #sidebar a {
	font: normal 14px "Roboto", sans-serif;
	color: #470a68;
	text-decoration: none;
}

#linfield #sidebar a:hover,
#linfield #sidebar a:active,
#linfield #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

#linfield #sidebar #sidebar-search label {
	font: normal 14px "Roboto", sans-serif;
	color: #470a68;
}

#linfield #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

#linfield #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 */
/* #linfield #content { padding-top: 16px; } */

	/* Sticky Footer */

#linfield #content { /* calculates 100% viewport height - (total heights of header, navigation and footer) */
	min-height: calc(100vh - 335px);
}
	/* --- Breadcrumbs --- */

#linfield #main.text div.crumbs a:link,
#linfield #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #d40133;
}

#linfield #main.text div.crumbs a:hover,
#linfield #main.text div.crumbs a:active,
#linfield #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

#linfield #breadcrumb a,
#linfield .crumbs p a,
#linfield #pager li {
	font-size: 12px;
}

#linfield #dcn-home > #homepage-intro { margin: 15px 0; }

	/* --- Headers --- */

#linfield #homepage-heading-row h2 {
	font: normal 24px "Special Gothic Expanded One", sans-serif;
	text-transform: uppercase;
	margin-bottom: 20px;
}

h3 {
	margin: 0;
	text-decoration: underline;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */

#linfield #cover-browse a {
	font: 400 16px/1.6 "Roboto", sans-serif;
	text-decoration: none;
}

#linfield #cover-browse a:hover,
#linfield #cover-browse a:focus,
#linfield #cover-browse a:active {
	text-decoration: underline;
}


/* --- front page buttons  ---*/

#linfield #browse-by-buttons {
	width: 103%;
    display: flex;
    flex-flow: row wrap;
}

#linfield #browse-by-buttons .browse-container .browse-link h3 {
    text-decoration: none;
    background-image: none;
	margin: 0 12px;
}

#linfield #browse-by-buttons .browse-container {
    margin: 0 16px 16px 0;
}

#linfield #browse-by-buttons .browse-link {
	width: 207px;
	height: 101px;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-evenly;
	border: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg,#470a68 17%,#d50032);
    background-origin: border-box;
    background-repeat: no-repeat;
    background-image: -webkit-gradient(linear,left top,right top,color-stop(17%,#470a68),to(#d50032));
    background-image: linear-gradient(90deg,#470a68 17%,#d50032);
    background-size: 0 100%;
    background-position: top 0 left 0;
     -webkit-transition-property: background-size,color;
    transition-property: background-size,color;
    -webkit-transition-duration: .25s;
    transition-duration: .25s;
    -webkit-transition-timing-function: cubic-bezier(0,0,.2,1);
    transition-timing-function: cubic-bezier(0,0,.2,1)
}

/* Button icon settings */
#linfield #browse-by-buttons .browse-link span {
	font-size: 42px; /* size of icon */
    font-weight: 600;
	color: #470a68;
}

/* Button text settings */
#linfield #browse-by-buttons .browse-link h3 {
	font: 500 14px "Roboto", sans-serif;
	text-transform: uppercase;
	letter-spacing: .125rem;
	text-align: center;
	color: #d40133;
	padding-left: 0px;
	margin-top: 10px;
}

/* Hover/focus behavior for button outline */
#linfield #browse-by-buttons a:hover > .browse-link,
#linfield #browse-by-buttons a:focus > .browse-link,
#linfield #browse-by-buttons a:active > .browse-link {
	background-size: 100% 100%;
}

#linfield #browse-by-buttons a:hover > .browse-link h3,
#linfield #browse-by-buttons a:focus > .browse-link h3,
#linfield #browse-by-buttons a:active > .browse-link h3,
#linfield #browse-by-buttons a:hover > .browse-link span,
#linfield #browse-by-buttons a:focus > .browse-link span,
#linfield #browse-by-buttons a:active > .browse-link span {
	color: #fff;
}

#linfield #main.text #browse-by-buttons a {
	text-decoration: none;
}

	/* --- Links --- */

#linfield #main.text a:link,
#linfield #main.text a:visited {
	color: #d40133; /* declared for #network-icon text */
}

#linfield #main.text a:hover,
#linfield #main.text a:active,
#linfield #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#linfield .box.aag h2,
#linfield .box.potd h2 {
	font: normal 18px "Special Gothic Expanded One", sans-serif;
	text-transform: uppercase;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

#linfield #main.text .box a:link,
#linfield #main.text .box a:visited {
	background: none;
	font: bold 14px "Roboto", sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}

#linfield #main.text .box a:hover,
#linfield #main.text .box a:active,
#linfield #main.text .box a:focus {
	text-decoration: underline;
}

	/* Browse Disciplines */

#linfield #content .subnav li {
	font-size: 13px;
}

#linfield .discipline-browser dt,
#linfield .new-discipline dt {
	font-size: 15px;
}
#linfield .discipline-browser dd,
#linfield .new-discipline dd,
#linfield dl.communities dd ul li {
	font-size: 14px;
}

#linfield .discipline-browser dd,
#linfield .new-discipline dd {
    padding: 3px 0;
}

	/* Submit Research */

#linfield .communities dt,
#linfield .communities dt a:link {
	font-size: 14px;
	font-weight: normal;
}
#linfield dl.communities dd ul li {
    line-height: 1.3em;
}

	/* Announcements */

#linfield #main.text #announce h3,
#linfield #main.text #announce h4 {
 	font-size: 15px;
}

	/* Site subpage headings */

#linfield #main.text h2#ir-about,
#linfield #main.text h2#faq-top,
#linfield #main.text h2#communities-title,
#linfield #main.text h2#top,
#linfield #main.text h2#submit-title,
#linfield #main.text #announce h2,
#linfield #main.text #accessibility-statement h2 {
	font-size: 22px;
}

	/* homepage stats */

#linfield p#stats,
#linfield #main.text #network-icon a {
	font-size: 13px;
}

	/* Article pages series/journal/event */

#linfield #alpha .element p,
#linfield #custom-fields .element p,
#linfield #alpha #recommended_citation p,
#linfield #alpha #attach_additional_files .files span {
	font-size: 14px;
}

#linfield #beta_7-3 #beta-disciplines.aside p {
	font-size: 14px !important;
}

#linfield #alpha .element h4,
#linfield #custom-fields .element h4,
#linfield #beta_7-3 h4,
#linfield #alpha #attach_additional_files .related strong {
	font-size: 15px !important;
}
#linfield #alpha #title.element p {
	font-size: 22px;
}

/* ---------------- Footer ---------------- */

#linfield #footer,
#linfield #bepress a {
	height: 76px;
	background-color: #470a68;
}

#linfield #bepress a {
	background-image: url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg);
    background-size: 210px;
    background-position: center;
}

#linfield #bepress a:focus { outline: 2px dotted #d40133; }

#linfield #footer p,
#linfield #footer p a {
	font: normal 13px/1.6 "Roboto", sans-serif;
	color: #fff;
	text-decoration: none;
}

#linfield  #footer a.secondary-link { font-size: 11px; }

#linfield #footer p:first-of-type { padding-top: 18px; }

#linfield #footer p a:hover,
#linfield #footer p a:active,
#linfield #footer p a:focus {
	text-decoration: underline;
}

/* ---------------- Miscellaneous fixes ---------------- */

	/* Browse Authors accessibility fix (CSFR-2684) */

#linfield #main.text .authorbrowser p.letters a:hover,
#linfield #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 #linfield #wrapper:after { content: none; }

	/* Search */

#linfield #main.text a:link span.icon-question-sign {
	text-decoration: none;
}

	/* Increase contrast on My Account headings */

#linfield .text #myaccount h2 { color: #000; }

/* ---------------- Mobile ---------------- */

.mbl #linfield #header {
	background: url(assets/md5images/1c8395a01cd4375b99cf5e270660c779.png) no-repeat left top;
}

.mbl #linfield #header,
.mbl #linfield #header a#banner_link img,
.mbl #linfield #navigation {
	width: 100% !important;
}

.mbl #linfield #header #logo_image { 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 #linfield .box.aag h2,
.mbl #linfield .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

.mbl #linfield #dcn-home #homepage-heading-row {
  align-items: center;
}
.mbl #linfield #dcn-home #homepage-heading-row .btn {
  display: inline;
}
.mbl #linfield #dcn-home #homepage-heading-row .btn:hover,
.mbl #linfield #dcn-home #homepage-heading-row .btn:focus,
.mbl #linfield #dcn-home #homepage-heading-row .btn:active {
  margin-left: 0;
}
.mbl #linfield #dcn-home span.site-follow {
  margin: 0 5px;
}

  /* --- footer logo --- */

.mbl #linfield #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 #linfield #footer {
	background-color: #470a68 !important;
	background-image: none !important;
}

	/* homepage buttons */

.mbl #linfield #browse-by-buttons * {
	line-height: 1em;
	word-wrap: normal;
}

.mbl #linfield #browse-by-buttons .browse-container .browse-link h3 {
	font-family: "Roboto", sans-serif !important;
	font-size: 14px !important;
}