/* -----------------------------------------------
bepress IR local stylesheet.
Author: Jami Wardlow
Version: Nov 2025
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

	/* --- Meta styles and background --- */

body {
	font: normal 14px/1.5 "PT Sans", sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #f5f5f5;
}

/* ---------------- Header ---------------- */

#dianchi #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#dianchi #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 */
}

#dianchi #header a#banner_link:focus img {
    outline: 2px dotted #000;
}

/* ---------------- Navigation ---------------- */

#dianchi #navigation { border-bottom: 7px solid #058d5e; }

#dianchi #navigation,
#dianchi #navigation #tabs {
	height: 43px;
	white-space: nowrap;
}

#dianchi #navigation #tabs,
#dianchi #navigation #tabs ul,
#dianchi #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#dianchi #navigation #tabs,
#dianchi #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

#dianchi #navigation #tabs a {
	font: normal 13px "PT Sans", sans-serif;
	display: block;
	height: 20px;
	line-height: 20px;
	color: #fff;
	background-color: transparent;
	padding: 0 13px;
	margin: 11px 0;
	border: 0;
	border-right: 1px solid #d4dbd8;
}

#dianchi #navigation #tabs li:last-child a { border-right: 0 }

#dianchi #navigation #tabs a:hover,
#dianchi #navigation #tabs a:active,
#dianchi #navigation #tabs a:focus {
	text-decoration: underline;
}

#dianchi #navigation #tabs #tabone a { padding-left: 12px; } /* switch for right-aligned nav tabs */

/* ---------------- Sidebar ---------------- */

#dianchi #sidebar h2 {
	font: bold 16px "PT Sans", sans-serif;
	color: #000;
	background: transparent;
	border: none;
}

#dianchi #sidebar a {
	font: normal 14px "PT Sans", sans-serif;
	color: #06754f;
	text-decoration: none;
}

#dianchi #sidebar a:hover,
#dianchi #sidebar a:active,
#dianchi #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

#dianchi #sidebar #sidebar-search label {
	font: normal 14px "PT Sans", sans-serif;
	color: #000;
}

#dianchi #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

#dianchi #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 */
/* #dianchi #content { padding-top: 16px; } */

	/* --- Breadcrumbs --- */

#dianchi #main.text div.crumbs a:link,
#dianchi #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #06754f;
}

#dianchi #main.text div.crumbs a:hover,
#dianchi #main.text div.crumbs a:active,
#dianchi #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

#dianchi #breadcrumb a,
#dianchi .crumbs p a,
#dianchi #pager li {
	font-size: 12px;
}

#dianchi #dcn-home > #homepage-intro { margin: 15px 0; }

	/* --- Headers --- */

#dianchi #homepage-heading-row h2 {
	font: normal 22px "PT Sans", sans-serif;
	margin-bottom: 20px;
}

h3 {
	margin: 0;
	text-decoration: underline;
}

/* --- front page buttons  ---*/

#dianchi #browse-by-buttons {
	width: 104%;
    display: flex;
    flex-flow: row wrap;
}

#dianchi #browse-by-buttons .browse-container .browse-link h3 {
    text-decoration: none;
    background-image: none;
	margin: 14px 8px 0;
}

#dianchi #browse-by-buttons .browse-container {
    margin: 0 16px 16px 0;
}

#dianchi #browse-by-buttons .browse-link {
	background-color: #06754f;
	width: 136px;
	height: 136px;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
}

/* Button icon settings */
#dianchi #browse-by-buttons .browse-link span {
	font-size: 50px; /* size of icon */
	color: #fff;
}

/* Button text settings */
#dianchi #browse-by-buttons .browse-link h3 {
	font: normal 13px/1.4 "PT Sans", sans-serif;
	text-align: center;
	color: #fff;
	padding-left: 0px;
	margin-top: 10px;
}

/* Hover/focus behavior for button outline */
#dianchi #browse-by-buttons a:hover > .browse-link,
#dianchi #browse-by-buttons a:focus > .browse-link,
#dianchi #browse-by-buttons a:active > .browse-link {
	outline: 2px dotted #000;
	text-decoration: none;
}

#dianchi #main.text #browse-by-buttons a {
	text-decoration: none;
}

	/* --- Links --- */

#dianchi #main.text a:link,
#dianchi #main.text a:visited {
	color: #06754f; /* declared for #network-icon text */
}

#dianchi #main.text a:hover,
#dianchi #main.text a:active,
#dianchi #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#dianchi .box.aag h2,
#dianchi .box.potd h2 {
	font: normal 17px "PT Sans", sans-serif;
	width: 267px;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

#dianchi #main.text .box a:link,
#dianchi #main.text .box a:visited {
	background: none;
	font: bold 14px "PT Sans", sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}

#dianchi #main.text .box a:hover,
#dianchi #main.text .box a:active,
#dianchi #main.text .box a:focus {
	text-decoration: underline;
}

	/* Browse Disciplines */

#dianchi #content .subnav li {
	font-size: 13px;
}

#dianchi .discipline-browser dt,
#dianchi .new-discipline dt {
	font-size: 15px;
}
#dianchi .discipline-browser dd,
#dianchi .new-discipline dd,
#dianchi dl.communities dd ul li {
	font-size: 14px;
}

#dianchi .discipline-browser dd,
#dianchi .new-discipline dd {
    padding: 3px 0;
}

	/* Submit Research */

#dianchi .communities dt,
#dianchi .communities dt a:link {
	font-size: 14px;
	font-weight: normal;
}
#dianchi dl.communities dd ul li {
    line-height: 1.3em;
}

	/* Announcements */

#dianchi #main.text #announce h3,
#dianchi #main.text #announce h4 {
 	font-size: 15px;
}

	/* Site subpage headings */

#dianchi #main.text h2#ir-about,
#dianchi #main.text h2#faq-top,
#dianchi #main.text h2#communities-title,
#dianchi #main.text h2#top,
#dianchi #main.text h2#submit-title,
#dianchi #main.text #announce h2,
#dianchi #main.text #accessibility-statement h2 {
	font-size: 22px;
}

	/* homepage stats */

#dianchi p#stats,
#dianchi #main.text #network-icon a {
	font-size: 13px;
}

	/* Article pages series/journal/event */

#dianchi #alpha .element p,
#dianchi #custom-fields .element p,
#dianchi #alpha #recommended_citation p,
#dianchi #alpha #attach_additional_files .files span {
	font-size: 14px;
}

#dianchi #beta_7-3 #beta-disciplines.aside p {
	font-size: 14px !important;
}

#dianchi #alpha .element h4,
#dianchi #custom-fields .element h4,
#dianchi #beta_7-3 h4,
#dianchi #alpha #attach_additional_files .related strong {
	font-size: 15px !important;
}
#dianchi #alpha #title.element p {
	font-size: 22px;
}

/* ---------------- Footer ---------------- */

#dianchi #footer,
#dianchi #bepress a {
	height: 75px;
	background-color: #232323;
}

#dianchi #bepress a {
	background-image: url(assets/md5images/96b516c30fb7fdc1d3fe4dc6d556b6f8.svg);
    background-size: 210px;
    background-position: center;
}

#dianchi #bepress a:focus { outline: 2px dotted #06754f; }

#dianchi #footer p,
#dianchi #footer p a {
	font: normal 13px/1.6 "PT Sans", sans-serif;
	color: #fff;
	text-decoration: none;
}

#dianchi  #footer a.secondary-link { font-size: 11px; }

#dianchi #footer p:first-of-type { padding-top: 18px; }

#dianchi #footer p a:hover,
#dianchi #footer p a:active,
#dianchi #footer p a:focus {
	text-decoration: underline;
}

/* ---------------- Miscellaneous fixes ---------------- */

	/* Browse Authors accessibility fix (CSFR-2684) */

#dianchi #main.text .authorbrowser p.letters a:hover,
#dianchi #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 #dianchi #wrapper:after { content: none; }

	/* Search */

#dianchi #main.text a:link span.icon-question-sign {
	text-decoration: none;
}

	/* Increase contrast on My Account headings */

#dianchi .text #myaccount h2 { color: #000; }

/* ---------------- Mobile ---------------- */

.mbl #dianchi #header,
.mbl #dianchi #header a#banner_link img,
.mbl #dianchi #navigation {
	width: 100% !important;
}

	/* 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 #dianchi .box.aag h2,
.mbl #dianchi .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

.mbl #dianchi #dcn-home #homepage-heading-row {
  align-items: center;
}
.mbl #dianchi #dcn-home #homepage-heading-row .btn {
  display: inline;
}
.mbl #dianchi #dcn-home #homepage-heading-row .btn:hover,
.mbl #dianchi #dcn-home #homepage-heading-row .btn:focus,
.mbl #dianchi #dcn-home #homepage-heading-row .btn:active {
  margin-left: 0;
}
.mbl #dianchi #dcn-home span.site-follow {
  margin: 0 5px;
}

  /* --- footer logo --- */

.mbl #dianchi #footer #bepress a {
	background: transparent url(assets/md5images/96b516c30fb7fdc1d3fe4dc6d556b6f8.svg) center no-repeat !important;
	background-size: 235px !important;
	height: 50px !important;
	margin: 0px !important;
}

.mbl #dianchi #footer {
	background-color: #232323 !important;
	background-image: none !important;
}

	/* homepage buttons */

.mbl #dianchi #browse-by-buttons * {
	line-height: 1em;
	word-wrap: normal;
}

.mbl #dianchi #browse-by-buttons .browse-container .browse-link h3 {
	font-family: "PT Sans", sans-serif !important;
	font-size: 13px !important;
}

  /* --- footer logo --- */

.mbl #dianchi #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 #dianchi #footer {
	background-color: #232323 !important;
	background-image: none !important;
}