/* -----------------------------------------------
bepress IR local stylesheet.
Author: Jami Wardlow
Version: Oct 2024
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,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 "PT Serif", serif;  /* should be medium except when fitting into a fixed container */
	background: #f3f3f3;
}

#bgsu { background: url(assets/md5images/a9092e03b269e93065c6f24c9f3cb3f5.gif) repeat-x left bottom; }

/* ---------------- Header ---------------- */

#bgsu #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#bgsu #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 --- */

#bgsu #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 27.857142857142857% !important;  /* 273 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#bgsu #header a#banner_link:focus img,
#bgsu #header a#logo_link:focus img {
    outline: 2px dotted #2f271f;
}

/* ---------------- Navigation ---------------- */

#bgsu #navigation { height: 46px; }

#bgsu #navigation,
#bgsu #navigation #tabs {
	white-space: nowrap;
}

#bgsu #navigation #tabs,
#bgsu #navigation #tabs ul,
#bgsu #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#bgsu #navigation #tabs,
#bgsu #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

#bgsu #navigation #tabs a {
	font: normal 13px "PT Serif", serif;
	display: block;
	height: 36px;
	line-height: 36px;
	color: #2f271f;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

#bgsu #navigation #tabs a:hover,
#bgsu #navigation #tabs a:active,
#bgsu #navigation #tabs a:focus {
	text-decoration: underline;
}

#bgsu #navigation #tabs #tabone a { padding-left: 12px; } /* switch for right-aligned nav tabs */

/* ---------------- Sidebar ---------------- */

#bgsu #sidebar h2 {
	font: bold 18px "PT Serif", serif;
	color: #fd5000;
	width: 215px;
	background: transparent;
	text-indent: 0;
	padding: 0 0 4px;
	border: none;
	border-bottom: 1px solid #d6d6d6;
}

#bgsu #sidebar a {
	font: normal 15px "PT Serif", serif;
	color: #2f271f;
	text-decoration: none;
}

#bgsu #sidebar a:hover,
#bgsu #sidebar a:active,
#bgsu #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

#bgsu #sidebar #sidebar-search label {
	font: normal 15px "PT Serif", serif;
	color: #000;
}

#bgsu #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 7px;
}

#bgsu #sidebar h2,
#bgsu #sidebar p,
#bgsu #sidebar ul li a { margin-left: 7px; }

#bgsu #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 */
/* #bgsu #content { padding-top: 16px; } */

	/* Sticky Footer */

#bgsu #content { /* calculates 100% viewport height - (total heights of header, navigation and footer) */
	min-height: calc(100vh - 253px);
}

	/* --- Breadcrumbs --- */

#bgsu #main.text div.crumbs a:link,
#bgsu #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #2f271f;
}

#bgsu #main.text div.crumbs a:hover,
#bgsu #main.text div.crumbs a:active,
#bgsu #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

#bgsu #breadcrumb a,
#bgsu .crumbs p a,
#bgsu #pager li {
	font-size: 12px;
}

#bgsu #dcn-home > #homepage-intro { margin: 15px 0; }

	/* --- Headers --- */

#bgsu #homepage-heading-row h2 {
	font: bold 21px "PT Serif", serif;
	margin-bottom: 20px;
}

	/* homepage buttons */

#bgsu #main.text #cover-browse {
	display: flex;
    flex-wrap: wrap;
}

#bgsu #main.text #cover-browse .button {
    float: left;
    margin-right: 25px;
    margin-bottom: 16px;
}

#bgsu #main.text #cover-browse .button:last-child { margin-right: 0; }

#bgsu #main.text #cover-browse a {
	height: 52px;
	width: 303px;
	font: 500 17px "Poppins", sans-serif;
	color: #000;
	border-radius: 27px;
	line-height: 24px;
	text-decoration: none;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

#bgsu #main.text #cover-browse a#colleges {
	background-color: #f5c163;
}

#bgsu #main.text #cover-browse a#journals {
	background-color: #b99b80;
}

#bgsu #main.text #cover-browse a#events {
	background-color: #e3a492;
}

#bgsu #main.text #cover-browse a#profiles {
	background-color: #f37b6c;
}

#bgsu #main.text #cover-browse a#oer {
	background-color: #80baac;
}

#bgsu #main.text #cover-browse a#exhibits {
	background-color: #1c626d;
	color: #fff;
}

#bgsu #main.text #cover-browse a:hover,
#bgsu #main.text #cover-browse a:active,
#bgsu #main.text #cover-browse a:focus {
	text-decoration: underline;
}

h3 {
	margin: 0;
	text-decoration: underline;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */

#bgsu #cover-browse a {
	font: 400 16px/1.6 "PT Serif", serif;
	text-decoration: none;
}

#bgsu #cover-browse a:hover,
#bgsu #cover-browse a:focus,
#bgsu #cover-browse a:active {
	text-decoration: underline;
}

	/* --- Links --- */

#bgsu #main.text a:link,
#bgsu #main.text a:visited {
	color: #2f271f; /* declared for #network-icon text */
}

#bgsu #main.text a:hover,
#bgsu #main.text a:active,
#bgsu #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#bgsu .box.aag h2,
#bgsu .box.potd h2 {
	font: bold 18px "PT Serif", serif;
	width: 267px;
	border-bottom: 1px solid #d8d8d8;
	margin: 0;
}

#bgsu #main.text .box a:link,
#bgsu #main.text .box a:visited {
	background: none;
	font: bold 14px "PT Serif", serif;
	text-decoration: none;
	border-bottom: 1px solid #d8d8d8;
}

#bgsu #main.text .box a:hover,
#bgsu #main.text .box a:active,
#bgsu #main.text .box a:focus {
	text-decoration: underline;
}

	/* Browse Disciplines */

#bgsu #content .subnav li {
	font-size: 13px;
}

#bgsu .discipline-browser dt,
#bgsu .new-discipline dt {
	font-size: 15px;
}
#bgsu .discipline-browser dd,
#bgsu .new-discipline dd,
#bgsu dl.communities dd ul li {
	font-size: 14px;
}

#bgsu .discipline-browser dd,
#bgsu .new-discipline dd {
    padding: 3px 0;
}

	/* Submit Research */

#bgsu .communities dt,
#bgsu .communities dt a:link {
	font-size: 14px;
	font-weight: normal;
}
#bgsu dl.communities dd ul li {
    line-height: 1.3em;
}

	/* Announcements */

#bgsu #main.text #announce h3,
#bgsu #main.text #announce h4 {
 	font-size: 15px;
}

	/* Site subpage headings */

#bgsu #main.text h2#ir-about,
#bgsu #main.text h2#faq-top,
#bgsu #main.text h2#communities-title,
#bgsu #main.text h2#top,
#bgsu #main.text h2#submit-title,
#bgsu #main.text #announce h2,
#bgsu #main.text #accessibility-statement h2 {
	font-size: 22px;
}

	/* homepage stats */

#bgsu p#stats,
#bgsu #main.text #network-icon a {
	font-size: 13px;
}

	/* Article pages series/journal/event */

#bgsu #alpha .element p,
#bgsu #custom-fields .element p,
#bgsu #alpha #recommended_citation p,
#bgsu #alpha #attach_additional_files .files span {
	font-size: 14px;
}

#bgsu #beta_7-3 #beta-disciplines.aside p {
	font-size: 14px !important;
}

#bgsu #alpha .element h4,
#bgsu #custom-fields .element h4,
#bgsu #beta_7-3 h4,
#bgsu #alpha #attach_additional_files .related strong {
	font-size: 15px !important;
}
#bgsu #alpha #title.element p {
	font-size: 22px;
}

/* ---------------- Footer ---------------- */

#bgsu #footer { border-top: 28px solid #f3f3f3; }

#bgsu #footer,
#bgsu #bepress a {
	height: 79px;
	background-color: #4f2c1d;
}

#bgsu #bepress a {
	background-image: url(assets/md5images/679594240bfa0eb9493776f7d68fa330.svg);
    background-size: 210px;
    background-position: center;
}

#bgsu #bepress a:focus { outline: 2px dotted #fd5000; }

#bgsu #footer p,
#bgsu #footer p a {
	font: normal 13px/1.6 "PT Serif", serif;
	color: #fff;
	text-decoration: none;
}

#bgsu  #footer a.secondary-link { font-size: 11px; }

#bgsu #footer p:first-of-type { padding-top: 12px; }

#bgsu #footer p a:hover,
#bgsu #footer p a:active,
#bgsu #footer p a:focus {
	text-decoration: underline;
}

/* ---------------- Miscellaneous fixes ---------------- */

	/* Browse Authors accessibility fix (CSFR-2684) */

#bgsu #main.text .authorbrowser p.letters a:hover,
#bgsu #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 #bgsu #wrapper:after { content: none; }

	/* Search */

#bgsu #main.text a:link span.icon-question-sign {
	text-decoration: none;
}

	/* Increase contrast on My Account headings */

#bgsu .text #myaccount h2 { color: #000; }

/* ---------------- Mobile ---------------- */

.mbl #bgsu #header,
.mbl #bgsu #header a#banner_link img,
.mbl #bgsu #navigation {
	width: 100% !important;
}

.mbl #bgsu #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 27.857142857142857% !important;  /* 273 / 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 #main #buttons { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #bgsu .box.aag h2,
.mbl #bgsu .box.potd h2 {
	width: 100%;
}
	
.mbl .box.aag span,
.mbl .box.potd span {
    display: block;
}

.mbl #bgsu #dcn-home #homepage-heading-row {
  align-items: center;
}
.mbl #bgsu #dcn-home #homepage-heading-row .btn {
  display: inline;
}
.mbl #bgsu #dcn-home #homepage-heading-row .btn:hover,
.mbl #bgsu #dcn-home #homepage-heading-row .btn:focus,
.mbl #bgsu #dcn-home #homepage-heading-row .btn:active {
  margin-left: 0;
}
.mbl #bgsu #dcn-home span.site-follow {
  margin: 0 5px;
}