/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Jami Wardlow
Version: May 2021
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&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: #fff url(assets/md5images/4eea34cbef3a99b5a1dfb05a023220b7.jpg) no-repeat center top;
}

#gs { background: url(assets/md5images/0e817fd971f10711ec04488a83498592.gif) repeat-x left bottom; }

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

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

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

#gs #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 32.653061% !important;  /* 320 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

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

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

#gs #navigation { margin-bottom: 30px; }

#gs #navigation,
#gs #navigation #tabs {
	height: 42px;
	/*overflow: hidden; have seen issues with tabs extending below nav container */
	white-space: nowrap;
}

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

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

#gs #navigation #tabs a {
	font: normal 14px 'Montserrat', sans-serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 42px;
	line-height: 42px;
	color: #fff;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

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

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

#gs #sidebar {
	background: #f3f3f3;
	margin-top: 10px;
	padding-top: 0;
	margin-bottom: 20px;
}

#gs #sidebar h2 {
	font: bold 15px 'Montserrat', sans-serif;
	color: #fff;
	background: #001344;
	padding: 8px 0px;
	margin: 0;
	border: none;
}

#gs #sidebar a {
	font: normal 13px 'Montserrat', sans-serif;
	color: #005d90;
	text-decoration: none;
}

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

#gs #sidebar #sidebar-search label {
	font: normal 13px 'Montserrat', sans-serif;
	color: #001344;
}

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

#gs #sidebar #sidebar-search span.border { background: transparent; }

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

/* --- Social Media Icons --- */
 
ul#social li {
    display: inline-block;
}
 
ul#social li a {
    margin: 0 5px; /* removes 15px margin on all links in #sidebar. Adjust second number to adjust spacing between icons */
}
 
ul#social li:first-child a {
    margin-left: 15px; /* horizontally aligns first icon with other sidebar content */
}
 
ul#social li a:focus img {
    outline: 2px dotted #005d90 /* provides indication of focus for keyboard-only users. Adjust color to be more visible if needed.*/
}

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

	/* Sticky Footer */

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

#gs #main.text div.crumbs a:link,
#gs #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #265a88;
}

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

#gs #dcn-home > #homepage-intro,
#gs #main.text #homepage-intro { margin: 15px 0; }

 /* (is this even a thing anymore?) adds space under full-width main-content image 
#gs #home-page-banner { margin-bottom: 16px; }*/

	/* --- Headers --- */

#gs #dcn-home > h2,
#gs #main.text h2#hometitle { 
  font: bold 21px 'Montserrat', sans-serif; 
  width: 100%;
  margin-right: 0;
  padding: 0;
  margin-top: 0;
  margin-bottom: 8px;
}
/* #gs #main.text .clear, 
#gs #main.text script, 
#gs #main.text style, 
#gs #main.text link {
    height: 0px;
    width: 0px;
    display: none;
} */

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

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */
#gs #dcn-home #cover-browse h3,
#gs #main.text #cover-browse h3 { color: #265a88; }

#gs #dcn-home #cover-browse h3 a,
#gs #main.text #cover-browse h3 a {
	font: 400 17px/1.6 'Montserrat', sans-serif;
	text-decoration: none;
}

#gs #dcn-home #cover-browse h3 a:hover,
#gs #dcn-home #cover-browse h3 a:focus,
#gs #dcn-home #cover-browse h3 a:active,
#gs #main.text #cover-browse h3 a:hover,
#gs #main.text #cover-browse h3 a:focus,
#gs #main.text #cover-browse h3 a:active {
	text-decoration: underline;
}

	/* Homepage browse buttons */

#gs #dcn-home #cover-browse,
#gs #main.text #cover-browse {
	margin-top: 20px;
	width: 101%;
}

#gs #dcn-home #cover-browse a,
#gs #main.text #cover-browse a { text-decoration: none; }

#gs #dcn-home #cover-browse a img,
#gs #main.text #cover-browse a img { margin: 0 8px 8px 0; }

#gs #dcn-home #cover-browse a:hover img,
#gs #dcn-home #cover-browse a:focus img,
#gs #dcn-home #cover-browse a:active img,
#gs #main.text #cover-browse a:hover img,
#gs #main.text #cover-browse a:focus img,
#gs #main.text #cover-browse a:active img {
	outline: 2px dotted #d9ac63;
}

	/* --- Links --- */

#gs #main.text a:link,
#gs #main.text a:visited {
	color: #265a88; /* declared for #network-icon text */
}

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

	/* PotD / Top DL widgets */

#gs #dcn-home .box.aag h2,
#gs #dcn-home .box.potd h2,
#gs #main.text .box.aag h2,
#gs #main.text .box.potd h2 {
	font: bold 16px 'Montserrat', sans-serif;
	width: 267px;
	border-bottom: 1px solid #e1e1e1;
	margin: 0;
}

#gs #main.text .box a:link,
#gs #main.text .box a:visited {
	background: none;
	font: bold 14px 'Montserrat', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #e1e1e1;
}

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

	/* Browse Disciplines */

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

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

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

	/* Submit Research */

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

	/* Announcements */

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

	/* Site subpage headings */

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

	/* homepage stats */

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

	/* Article pages series/journal/event */

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

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

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

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

#gs #footer,
#gs #bepress a {
	height: 83px;
	background-color: #001344;
}

#bepress a:focus { outline: 2px dotted #d9ac63; }

#gs #footer p,
#gs #footer p a {
	font: normal 12px/2 'Montserrat', sans-serif;
	color: #fff;
	text-decoration: none;
}

/* #gs #footer p:first-of-type { padding-top: ##px; } */

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

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

	/* --- Advanced Search --- */

.legacy #gs #wrapper {	background-image: none; }

	/* Remove gap under search pages for full-width footers */

.legacy #gs #wrapper:after { content: none; }

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

#gs #main.text .authorbrowser p.letters a:hover,
#gs #main.text .authorbrowser p.letters a:focus {
   background: url(/assets/azMe.jpg) bottom center no-repeat;
   color: #fff;
}

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

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

.mbl #gs #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 32.653061% !important;  /* 320 / 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 #cover-browse h3 { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #gs #dcn-home .box.aag h2,
.mbl #gs #dcn-home .box.potd h2,
.mbl #gs #main.text .box.aag h2,
.mbl #gs #main.text .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span,
.mbl #main.text .box.aag span,
.mbl #main.text .box.potd span {
    display: block;
}
.mbl #gs #main.text #homepage-intro,
.mbl #gs #main .box.aag,
.mbl #gs #main .box.potd {
	margin-left: 3% !important;
  margin-right: 3% !important;
}
.mbl #gs #main.text #homepage-intro {
  margin-top: 15px;
  margin-bottom: 15px;
}
.mbl #gs .box.aag span,
.mbl #gs .box.potd span {
    display: block;
}
.mbl #gs #main.text .box.aag h2,
.mbl #gs #main.text .box.potd h2 {
  width: 100%;
}

/*Adjust spacing on willowhill obit collection, ALei */
#sidebar .sb-custom-ul li.intern-whhobit {
margin-left:15px;
}

/*Fixing Faculty works community collection to hide desired text, ALei*/
#gs #series-home div.fac-works-cut {
display:none;
}

#gs #series-home div.intro div.fac-works-cut {
display:block;
}


#gs div.peer-review-list-cut {
display:none;
}

#gs div#breadcrumb {
 margin-bottom:5%;
}

/* Styling for image that floats in the intro text for gretsch - CRyan 8-10-22 */

#gs #gretsch-intro img {float:right; padding-left:10px; padding-bottom:10px;}

/* Styling for aligning sidebar headings in whhrc and asian-studies collections - CRyan 10-14-22 */

#gs #whhrc-heading h2 {text-align:center;}

/* Styling for aligning sidebar heading across site - CRyan 11-11-22 */

#gs #connectw-lib h2 {text-align:center;}
