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

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

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

body {
	font: normal 12px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: url(assets/md5images/d7763b326dd246d4e2efac41769e54b6.jpg) top center no-repeat;
	background-size: cover;
	background-attachment: fixed;
}


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

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

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

#egrove #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	right: 0;  /* change to "right:" for right aligned logo */
	width: 30.612245% !important;  /* 300 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}


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

#egrove #navigation,
#egrove #navigation #tabs {
	height: 41px;
	overflow: hidden; /* have seen issues with tabs extending below nav container */
}

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

#egrove #navigation #tabs,
#egrove #navigation #tabs ul {
	display: flex;
	justify-content: flex-start; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
	width: 100%;
}

#egrove #navigation #tabs a {
	font: bold 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 41px;
	line-height: 41px;
	color: #fff;
	transition: 0.3s ease-in-out;
	background-color: transparent;
	padding: 0 10px;
	margin: 0;
	border: 0;
}

#egrove #navigation #tabs a:hover,
#egrove #navigation #tabs a:active,
#egrove #navigation #tabs a:focus {
	color: #000;
	background-color: #f9f9f9;
	text-decoration: underline;
}

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

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

#egrove #sidebar h2 {
	font: normal 18px Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
	color: #000;
	background: transparent;
	padding: 6px 0;
	margin: 0;
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
}

#egrove #sidebar a {
	font: normal 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #142161;
	text-decoration: none;
}

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

#egrove #sidebar #sidebar-search label {
	font: normal 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #000;
}

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

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

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


/* ---------------- Main Content ---------------- */

#egrove #wrapper { /* for full-length sidebar content background/elements */
	background: url(assets/md5images/0f24d28ce01831ac5da435d4aa38dc45.gif) repeat-y left top;
}

#egrove #content { padding-top: 16px; }

	/* --- Breadcrumbs --- */

#egrove #main.text div.crumbs a:link,
#egrove #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #142161;
}

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

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

 /* adds space under full-width main-content image */
#egrove #home-page-banner { margin-bottom: 16px; }


	/* --- Headers --- */

#egrove #dcn-home > h2 {
	font: normal 21px Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
}

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

/* FF 55 takes parent element's color a text-deoration-color (black, usually) */
#dcn-home #cover-browse h3 { color: #142161; }

#egrove #dcn-home #cover-browse h3 a {
	font: 400 17px/1.6 Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
}

#egrove #dcn-home #cover-browse h3 a:hover,
#egrove #dcn-home #cover-browse h3 a:focus,
#egrove #dcn-home #cover-browse h3 a:active {
	text-decoration: underline;
}
	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#egrove #dcn-home .box.aag h2,
#egrove #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: normal 16px Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
	border-bottom: 1px solid #d3d3d3;
}

#egrove #main.text .box a:link,
#egrove #main.text .box a:visited {
	font: bold 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
	background: none;
}

#egrove #main.text .box a:hover,
#egrove #main.text .box a:active,
#egrove #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 ---------------- */

#egrove #footer,
#egrove #bepress a {
	height: 93px;
	background-color: #141f36; }

#egrove #footer p,
#egrove #footer p a {
	font: normal 12px/2 Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}

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

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

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

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

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


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

	/* 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 #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

.mbl #egrove #dcn-home .box.aag h2,
.mbl #egrove #dcn-home .box.potd h2 {
	width: 100%;
}
/* timeline js dighist AA and JR 9-9-21 */
#egrove #custom-fields .timelinejs iframe {
	width: 660px;
	height: 400px; 
	border: solid 1px #ddd; }
	
.mbl #custom-fields #egrove .timelinejs iframe { 
	display: none; }
	
/* Storymaps implementation dighist aarder/10/5/21 */
#egrove #custom-fields .storymaps iframe {
	width: 660px;
	height: 800px; 
	border: solid 1px #ddd; }

.mbl #custom-fields #egrove .storymaps iframe { 
	display: none; }