/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Jami Wardlow
Version:  Feb 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 12px/1.5 'Montserrat', sans-serif;  /* should be medium except when fitting into a fixed container */
	background-image: linear-gradient(#01498f 15%, #c7d5ed);
}

#memphis { background: url(assets/md5images/923085ec0a53d9ba5b6dd58b41231a3b.gif) repeat-x left bottom; }

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

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

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

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

#memphis #header a#banner_link:focus img,
#memphis #header a#logo_link:focus img {
    outline: 2px dotted #337b9b;
}

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

#memphis #navigation {
	background: transparent;
	position: absolute;
    z-index: 1;
}

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

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

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

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

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

#memphis #navigation #tabs #tabthree { display: none; }

#memphis #navigation #tabs #tabfour a { padding-right: 11px; } /* switch for right-aligned nav tabs */

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

#memphis #sidebar { padding-top: 15px; }

#memphis #sidebar h2 {
	font: normal 15px 'Montserrat', sans-serif;
	color: #000;
	background: #e0e0e0;
	width: 228px;
	text-indent: 0;
	padding: 8px;
	margin-left: 11px;
	border: none;
}

#memphis #sidebar a {
	font: normal 13px 'Montserrat', sans-serif;
	color: #01498f;
	text-decoration: none;
	margin-left: 20px;
}

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

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

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

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

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

/* --- Social Media Icons --- */
 
#memphis #sidebar ul#social li {
    display: inline-block;
}
 
#memphis #sidebar ul#social li a {
    margin: 0 2px; /* removes 15px margin on all links in #sidebar. Adjust second number to adjust spacing between icons */
}
 
#memphis #sidebar ul#social li:first-child a {
    margin-left: 16px; /* horizontally aligns first icon with other sidebar content */
}
 
#memphis #sidebar ul#social li a:focus img {
    outline: 2px dotted #01498f /* 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 */
/* #memphis #content { padding-top: 16px; } */

	/* Sticky Footer */

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

#memphis #main.text div.crumbs a:link,
#memphis #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #01498f;
}

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

#memphis #dcn-home img {
	width: auto;
	margin-top: 7px;
}

#memphis #dcn-home > #homepage-intro { margin: 15px 0; }

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

	/* --- Headers --- */

#memphis #dcn-home > h2 { font: normal 16px 'Montserrat', sans-serif; }

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

#memphis #main.text #series-home h3 {
	padding-bottom: 1em;
	padding-top: .33em;
	text-decoration: none;
}

/* (added by BGAUNT, series/community headers did not line up with main-content text) */
#memphis #main.text #series-header {padding-right:22px;}

/* (added by BGAUNT, styling intro text h3 for CCRG group */
#memphis #main.text h3.ccrg {font-size:16px; text-decoration:none; padding-bottom: 1em; padding-top:1em;}

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

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

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

/* --- homepage browse buttons --- */

#memphis #cover-browse { margin-bottom: 40px; }

#memphis #cover-browse .col {
	width: 216px;
    float: left;
    margin-right: 8px;
}

#memphis #cover-browse .col:last-child { margin-right: 0; }

#memphis #cover-browse a {
	height: 56px;
	background-color: #01498f;
	font: normal 15px 'Montserrat', sans-serif;
	margin: 0 0 8px;
	line-height: 24px;
	text-decoration: none;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

#memphis #main.text #cover-browse a:link,
#memphis #main.text #cover-browse a:visited { color: #fff; }

#memphis #main.text #cover-browse a:hover,
#memphis #main.text #cover-browse a:active,
#memphis #main.text #cover-browse a:focus {
	color: #000;
	background-color: #e0e0e0;
}

	/* --- Links --- */

#memphis #main.text a:link,
#memphis #main.text a:visited {
	color: #01498f; /* declared for #network-icon text */
}

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

	/* PotD / Top DL widgets */

#memphis #dcn-home .box.aag h2,
#memphis #dcn-home .box.potd h2 {
	font: normal 16px 'Montserrat', sans-serif;
	width: 267px;
	border-bottom: 1px solid #d3d3d3;
	margin: 0;
}

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

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

	/* article-level text // default values 12px/13px */

#alpha .element p, #custom-fields .element p { font-size: 12px; }

#alpha .element h4, #custom-fields .element h4 { font-size: 13px; }

#memphis #main.text .info {
background-color: white;
    border: 10px solid #007C9E;
	margin-bottom: 3em;
	margin-top: 2.5em;
	margin-left: 4%;
	width:85%
	}
#memphis #main.text .info p{
	padding-left: 1.5em;
	padding-bottom: .75em;
	padding-top: 1.5em;
	padding-right:1.5em;
	}
	
/* Carousel adjustments BAG 01/23/25 */

#memphis .newCarousel {
margin-bottom: 10px; 
margin-top: 1em;
}

#memphis .newCarousel .news-slider .text-content {
height: 237px; }

#memphis .newCarousel .news-slider .text-content h2 {
font-size: 16px; }

#memphis .newCarousel .news-slider .text-content p {
line-height: 1.5em; }

#memphis .newCarousel .news-slider .image-content {
height: 85%;
max-height: 250px; }

#memphis .newCarousel .news-slider #carousel .image-content img {
margin-right: 125px;}

#memphis #custom-fields #rights_statements h2 {
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: bold;
    line-height: 90%;
    margin-top: -8px;
    padding: 4px 4px 0px;
}
#memphis #custom-fields #rights_statements img {
    padding: 4px;
    width: 150px;
    height: auto;
}
#memphis #custom-fields #rights_statements p {
    font-size: 11px;
    padding: 4px;
}

#main.text #custom-fields #archival_statement.element h2 {    color: #000;
    margin: 0;
    padding: 4px;
    padding-bottom: 0;
	padding-top:0;
    font-weight: bold;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

#main.text #custom-fields #archival_statement.element p {font-size:11px; line-height:1.5em; width:480px; margin-bottom:10px;}



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

#memphis #footer,
#memphis #bepress a {
	height: 93px;
	background-color: #022c58;
}

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

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

#memphis #footer p:first-of-type { padding-top: 18px; }

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

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

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

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

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

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

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

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

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

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

.mbl #memphis #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 24.693878% !important;  /* 242 / 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 #memphis #dcn-home .box.aag h2,
.mbl #memphis #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}