/* -----------------------------------------------
bepress IR local stylesheet.
Author: Jami Wardlow
Version: Jul 2025
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

	/* --- Meta styles and background --- */

body {
	font: normal 14px/1.5 "Montserrat", sans-serif;  /* should be medium except when fitting into a fixed container */
	background-image: linear-gradient(#f8f5f2, #bca270);
	background-color: transparent !important;
}

#anderson {
	background: url(assets/md5images/63af93029ca6b80f4fa0e5dda70836ec.png) repeat-x left top;
}

/* ---------------- Header ---------------- */

#anderson #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
	background: transparent;
}

#anderson #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 --- */

#anderson #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 26.938775510204082% !important;  /* 528 / 1960 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#anderson #header a#banner_link:focus img,
#anderson #header a#logo_link:focus img,
#anderson #bepress a:focus {
	outline: 2px dotted #990033;
}

/* ---------------- Navigation ---------------- */

#anderson #navigation { background: transparent; }

#anderson #navigation,
#anderson #navigation #tabs {
	height: 50px;
	white-space: nowrap;
}

#anderson #navigation #tabs,
#anderson #navigation #tabs ul,
#anderson #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#anderson #navigation #tabs,
#anderson #navigation #tabs ul {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

#anderson #navigation #tabs a {
	font: bold 13px "Montserrat", sans-serif;
	text-transform: uppercase;
	display: block;
	height: 41px;
	line-height: 41px;
	color: #363434;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

#anderson #navigation #tabs a:hover,
#anderson #navigation #tabs a:active,
#anderson #navigation #tabs a:focus {
	text-decoration: underline;
}

/* ---------------- Sidebar ---------------- */

#anderson #sidebar h2 {
	font: bold 16px "Montserrat", sans-serif;
	color: #363434;
	background: transparent;
	width: 224px;
	text-indent: 0;
	margin-left: 15px;
	padding-bottom: 8px;
	border: none;
	border-bottom: 1px solid #e5e5e5;
}

#anderson #sidebar a {
	font: normal 14px "Montserrat", sans-serif;
	color: #363434;
	text-decoration: none;
}

#anderson #sidebar a:hover,
#anderson #sidebar a:active,
#anderson #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

#anderson #sidebar #sidebar-search label {
	font: normal 14px "Montserrat", sans-serif;
	color: #363434;
}

#anderson #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

#anderson #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 */
/* #anderson #content { padding-top: 16px; } */

	/* Sticky Footer */

#anderson #content { /* calculates 100% viewport height - (total heights of header, navigation and footer) */
	min-height: calc(100vh - 281px);
}

	/* --- Breadcrumbs --- */

#anderson #main.text div.crumbs a:link,
#anderson #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #363434;
}

#anderson #main.text div.crumbs a:hover,
#anderson #main.text div.crumbs a:active,
#anderson #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

#anderson #breadcrumb a,
#anderson .crumbs p a,
#anderson #pager li {
	font-size: 12px;
}

#anderson #dcn-home > #homepage-intro { margin: 15px 0; }

	/* --- Headers --- */

#anderson #homepage-heading-row h2 {
	font: bold 28px "Lora", serif;
	margin-bottom: 20px;
}

h3 {
	margin: 0;
	text-decoration: underline;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */

#anderson #cover-browse a {
	font: 400 16px/1.6 "Montserrat", sans-serif;
	text-decoration: none;
}

#anderson #cover-browse a:hover,
#anderson #cover-browse a:focus,
#anderson #cover-browse a:active {
	text-decoration: underline;
}


/* --- front page buttons  ---*/

#anderson #browse-by-buttons {
	width: 100%;
    display: flex;
    flex-flow: row wrap;
}

#anderson #browse-by-buttons .browse-container .browse-link h3 {
    text-decoration: none;
    background-image: none;
	margin: 0 10px;
}

#anderson #browse-by-buttons .browse-link {
	width: 110px;
	height: 166px;
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-evenly;
}

#anderson #browse-by-buttons .light {
	background-color: #bca270;
}

#anderson #browse-by-buttons .light h3 {
	color: #000;
}

#anderson #browse-by-buttons .dark {
	background-color: #363434;
}

#anderson #browse-by-buttons .dark h3 {
	color: #fff;
}

/* Button icon settings */
#anderson #browse-by-buttons .browse-link span {
	font-size: 58px;
	font-weight: bold;
	color: #fff;
}

/* Button text settings */
#anderson #browse-by-buttons .browse-link h3 {
	font: 500 14px/1.4 "Montserrat", sans-serif;
	text-align: center;
	padding-left: 0px;
	margin-top: 10px;
}

/* Hover/focus behavior for button outline */
#anderson #browse-by-buttons a:hover > .browse-link,
#anderson #browse-by-buttons a:focus > .browse-link,
#anderson #browse-by-buttons a:active > .browse-link {
	outline: 2px dotted #990033;
	text-decoration: none;
}

#anderson #main.text #browse-by-buttons a {
	text-decoration: none;
}

	/* --- Links --- */

#anderson #main.text a:link,
#anderson #main.text a:visited {
	color: #363434; /* declared for #network-icon text */
}

#anderson #main.text a:hover,
#anderson #main.text a:active,
#anderson #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#anderson .box.aag h2,
#anderson .box.potd h2 {
	font: bold 24px "Lora", serif;
	width: 267px;
	border-bottom: 1px solid #e5e5e5;
	margin: 0;
}

#anderson #main.text .box a:link,
#anderson #main.text .box a:visited {
	background: none;
	font: bold 14px "Montserrat", sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #e5e5e5;
}

#anderson #main.text .box a:hover,
#anderson #main.text .box a:active,
#anderson #main.text .box a:focus {
	text-decoration: underline;
}

	/* Browse Disciplines */

#anderson #content .subnav li {
	font-size: 13px;
}

#anderson .discipline-browser dt,
#anderson .new-discipline dt {
	font-size: 15px;
}
#anderson .discipline-browser dd,
#anderson .new-discipline dd,
#anderson dl.communities dd ul li {
	font-size: 14px;
}

#anderson .discipline-browser dd,
#anderson .new-discipline dd {
    padding: 3px 0;
}

	/* Submit Research */

#anderson .communities dt,
#anderson .communities dt a:link {
	font-size: 14px;
	font-weight: normal;
}
#anderson dl.communities dd ul li {
    line-height: 1.3em;
}

	/* Announcements */

#anderson #main.text #announce h3,
#anderson #main.text #announce h4 {
 	font-size: 15px;
}

	/* Site subpage headings */

#anderson #main.text h2#ir-about,
#anderson #main.text h2#faq-top,
#anderson #main.text h2#communities-title,
#anderson #main.text h2#top,
#anderson #main.text h2#submit-title,
#anderson #main.text #announce h2,
#anderson #main.text #accessibility-statement h2 {
	font-size: 22px;
}

	/* homepage stats */

#anderson p#stats,
#anderson #main.text #network-icon a {
	font-size: 13px;
}

	/* Article pages series/journal/event */

#anderson #alpha .element p,
#anderson #custom-fields .element p,
#anderson #alpha #recommended_citation p,
#anderson #alpha #attach_additional_files .files span {
	font-size: 14px;
}

#anderson #beta_7-3 #beta-disciplines.aside p {
	font-size: 14px !important;
}

#anderson #alpha .element h4,
#anderson #custom-fields .element h4,
#anderson #beta_7-3 h4,
#anderson #alpha #attach_additional_files .related strong {
	font-size: 15px !important;
}
#anderson #alpha #title.element p {
	font-size: 22px;
}

/* ---------------- Footer ---------------- */

#anderson #footer,
#anderson #bepress a {
	height: 95px;
	background-color: #363434;
}

#anderson #bepress a {
	background-image: url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg);
    background-size: 210px;
    background-position: center;
}

#anderson #footer p,
#anderson #footer p a {
	font: normal 13px/1.6 "Montserrat", sans-serif;
	color: #fff;
	text-decoration: none;
}

#anderson  #footer a.secondary-link { font-size: 11px; }

#anderson #footer p:first-of-type { padding-top: 26px; }

#anderson #footer p a:hover,
#anderson #footer p a:active,
#anderson #footer p a:focus {
	text-decoration: underline;
}

/* ---------------- Miscellaneous fixes ---------------- */

	/* Browse Authors accessibility fix (CSFR-2684) */

#anderson #main.text .authorbrowser p.letters a:hover,
#anderson #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 #anderson #wrapper:after { content: none; }

	/* Search */

#anderson #main.text a:link span.icon-question-sign {
	text-decoration: none;
}

	/* Increase contrast on My Account headings */

#anderson .text #myaccount h2 { color: #000; }

/* ---------------- Mobile ---------------- */

.mbl #anderson #header,
.mbl #anderson #header a#banner_link img,
.mbl #anderson #navigation {
	width: 100% !important;
}

.mbl #anderson #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 26.938775510204082% !important;  /* 528 / 1960 */
	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 #main #buttons { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #anderson .box.aag h2,
.mbl #anderson .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

.mbl #anderson #dcn-home #homepage-heading-row {
  align-items: center;
}
.mbl #anderson #dcn-home #homepage-heading-row .btn {
  display: inline;
}
.mbl #anderson #dcn-home #homepage-heading-row .btn:hover,
.mbl #anderson #dcn-home #homepage-heading-row .btn:focus,
.mbl #anderson #dcn-home #homepage-heading-row .btn:active {
  margin-left: 0;
}
.mbl #anderson #dcn-home span.site-follow {
  margin: 0 5px;
}

	/* homepage buttons */

.mbl #anderson #browse-by-buttons * {
	line-height: 1em;
	word-wrap: normal;
}

.mbl #anderson #browse-by-buttons .browse-container .browse-link h3 {
	/*margin: 5px 9px 0;*/
	font-size: 14px !important;
}

  /* --- footer logo --- */

.mbl #anderson #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 #anderson #footer {
	background-color: #363434 !important;
	background-image: none !important;
}