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

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

@import url('https://fonts.googleapis.com/css2?family=Lora:ital@0;1&family=Oswald&family=Work+Sans:wght@400;700&display=swap');

	/* --- Meta styles and background --- */

body {
	font: normal 13px/1.5 "Work Sans", sans-serif;  /* should be medium except when fitting into a fixed container */
	background: url(assets/md5images/2234574655a1dc649bd8d60769cc6d29.gif) repeat-x left top, 
	url(assets/md5images/dd7bb4fa09573cf5b632c4f2170823a0.gif) no-repeat center top;
}

#furman { background: url(assets/md5images/e8d59872f3f5995cac7718bb68847845.png) repeat-x left bottom; }

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

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

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

#furman #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: -13px;
    left: -17px;
    width: 32.5% !important;
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#furman #header a#banner_link:focus img,
#furman #header a#logo_link:focus img {
    outline: 2px dotted #582c83;
}

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

#furman #navigation {
	background: transparent;
	position: absolute;
	z-index: 1;
	margin-top: -40px;
}

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

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

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

#furman #navigation #tabs a {
	font: italic 21px 'Lora', serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 40px;
	line-height: 40px;
	color: #201547;
	background-color: transparent;
	padding: 0 21px;
	margin: 0;
	border: 0;
}

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

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

#furman #sidebar {
	margin-top: 32px;
	margin-bottom: 20px;
	padding-top: 25px;
	width: 232px;
	background: #f2f2f2;
	border-right: 8px solid #582c83;
}

#furman #sidebar h2 {
	font: normal 20px "Oswald", sans-serif;
	text-transform: uppercase;
	color: #582c83;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#furman #sidebar a {
	font: normal 15px "Work Sans", sans-serif;
	color: #3e3e3e;
	text-decoration: none;
}

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

#furman #sidebar #sidebar-search label {
	font: normal 14px "Work Sans", sans-serif;
	color: #000;
}

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

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

	/* Sticky Footer */

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

#furman #main.text div.crumbs a:link,
#furman #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #582c83;
}

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

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

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

	/* --- Headers --- */

#furman #dcn-home > h2 {
	font: normal 30px 'Lora', serif;
    margin: 26px 0 14px;
}

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

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

#furman #dcn-home #cover-browse h3 a {
	font: 400 17px/1.6 "Work Sans", sans-serif;
	text-decoration: none;
}

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

	/* Homepage browse buttons */

#furman #dcn-home #cover-browse {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 0;
}

#furman #dcn-home #cover-browse a { text-decoration: none; }

#furman #dcn-home #cover-browse a img { margin-bottom: 30px; }

#furman #dcn-home #cover-browse a:hover img,
#furman #dcn-home #cover-browse a:focus img,
#furman #dcn-home #cover-browse a:active img {
	outline: 2px dotted #582c83;
}

	/* --- Links --- */

#furman #main.text a:link,
#furman #main.text a:visited {
	color: #582c83; /* declared for #network-icon text */
}

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

	/* PotD / Top DL widgets */

#furman #dcn-home .box.aag h2,
#furman #dcn-home .box.potd h2 {
	font: normal 24px "Oswald", sans-serif;
	width: 267px;
	border-bottom: 1px solid #d3d3d3;
	margin: 0;
}

#furman #main.text .box a:link,
#furman #main.text .box a:visited {
	background: none;
	font: bold 14px "Work Sans", sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
}

#furman #main.text .box a:hover,
#furman #main.text .box a:active,
#furman #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; }

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

/*#furman #footer { background: transparent; }*/

#furman #bepress a {
    background: url(assets/md5images/5319a50f7f89a199a116f90475dd1502.png) right no-repeat; }

#furman #footer,
#furman #bepress a {
	height: 108px;
    background-color: transparent;
}

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

#furman #footer p,
#furman #footer p a {
	font: normal 12px/2 "Work Sans", sans-serif;
	color: #fff;
	text-decoration: none;
}

#furman #footer p:first-of-type { padding-top: 31px; }

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

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

.legacy #furman #wrapper { background: transparent; }

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

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

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

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

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

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



/* Increasing font to 14px CM 2022-09-28 */
#furman #container #wrapper #content #main.text #p,
#furman #container #wrapper #content #main.text #sub #alpha p {
	font-size: 14px
	}
	
/* Changing follow button color to purple CM 2022-09-28 */
#furman .followable {
    background-color: #4F2984 !important;
    background-image: -webkit-linear-gradient(top, #8100C7, #430067) !important }
    
/* Increasing title field font to 18px per admin request CM 2023-01-31 */
#furman #container #wrapper #content #main.text #ir-book.left #sub #alpha #title.element p {
	font-size: 18px
	}

/* Increasing submission titles in image gallery list view to match book galleries per admin request CAyers 9-4-2024 */
#furman #content #gallery .content_block h2 a {
  font-size: 18px;
  font-weight: normal;
}