/* -----------------------------------------------
IR Event Community local stylesheet.
Author: Jami Wardlow
Version: May 2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

body {
	font: normal 12px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #ededed;
}

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

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

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

#gradlibconf #logo_image { display: none; }

#gradlibconf #header a#banner_link:focus img {
    outline: 2px dotted #362e29;
}

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

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

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

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

#gradlibconf #navigation #tabs a {
	font: normal 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	height: 45px;
	line-height: 45px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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

#gradlibconf #navigation #tabs li:first-child a { padding-left: 15px; }

#gradlibconf #navigation #tabs li:last-child a { padding-right: 25px; }   /* hidden but expands to fit 240px #tabs for IE + FF */

#gradlibconf #navigation #tabs a span { font-size: 12px; }	/* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */

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

#gradlibconf #sidebar { padding-top: 16px; }

#gradlibconf #sidebar h2 {
	font: bold 15px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #fff;
	background-color: transparent;
	border-top: 0;
	border-bottom: 0;
}

#gradlibconf #sidebar a:link,
#gradlibconf #sidebar a:visited {
	font: normal 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #fff;
	background-color: transparent;
	text-decoration: none;
}

#gradlibconf #sidebar a:hover,
#gradlibconf #sidebar a:active,
#gradlibconf #sidebar a:focus {
	text-decoration: underline;
}

#gradlibconf #sidebar form label { color: #fff; }

#gradlibconf #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */

#gradlibconf #sidebar #sidebar-search span.border { background: transparent; } /* search background adjustment to match designs */

#gradlibconf #sidebar #side-notify {
	padding-top: 0;
	margin-top: 0;
}

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

#gradlibconf #sidebar a:focus img { outline: 2px dotted #fff; }

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

#gradlibconf #content { background-color: transparent; }

#main.text #series-home { width: 100%; }

	/* --- Breadcrumbs --- */

#gradlibconf #main.text .crumbs p { margin-bottom: 0; }

#gradlibconf #main.text .crumbs a {
	text-decoration: none;
	color: #104e7b; }

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

	/* --- Headers --- */

#gradlibconf #main.text h2#series-title a {
	font: normal 21px/2 Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
}

#gradlibconf #main.text h2#series-title a:hover,
#gradlibconf #main.text h2#series-title a:active,
#gradlibconf #main.text h2#series-title a:focus {
	color: #000;
	text-decoration: underline;
}

#gradlibconf #main.text #series-home h4 {  /* browse the contents... */
	font: normal 17px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif;
}

	/* --- Links --- */

#gradlibconf #main.text a:link,
#gradlibconf #main.text a:visited {
	text-decoration: underline; }

#gradlibconf #main.text a:hover,
#gradlibconf #main.text a:active,
#gradlibconf #main.text a:focus {
	color: #000; }

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

#gradlibconf #footer,
#gradlibconf #bepress a { /* ir-custom always gives link 75px height */
	height: 74px;
	background-color: #355062;
}

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

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

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

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

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

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

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

/* --- hide sidebar browse links --- */

#gradlibconf #sidebar ul#side-browse li.collections {display:none;} /* hides collections.html */
#gradlibconf #sidebar ul#side-browse li.author {display:none;} /* hides authors.html */
#gradlibconf #sidebar ul#side-browse li.discipline-browser {display:none;} /* hides discipline browser */
#gradlibconf #sidebar ul#side-browse {display:none} /* to remove the vertical space where those links would go */


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

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

.mbl #gradlibconf #header #logo_image { display: none; }

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0;
}

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0; }
    
.mbl #gradlibconf {
	margin-top: 0; }
