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

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

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

body {
	font: normal 12px/1.5 Arial, Verdana, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background-image: url(assets/md5images/62c523176c6ae89043fc3e6709b7dd5d.gif), url(assets/md5images/8140166edf2a25a2aac88d11acfaa6b6.gif);
	background-repeat: repeat-x;
	background-position: left top, left bottom;
}

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

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

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

#ecu #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 15.306122% !important;  /* 150 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

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

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

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

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

#ecu #navigation #tabs a {
	font: normal 12px Arial, Verdana, Helvetica, sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 45px;
	line-height: 45px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px; /* with arial bold, this fits */
	margin: 0;
	border: 0;
}

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

#ecu #navigation #tabs #tabfour a { padding-right: 30px; }

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

#ecu #sidebar h2 {
	font: bold 15px Arial, Verdana, Helvetica, sans-serif;
	color: #fff;
	background: #40474f;
	padding: 10px 0;
	margin: 0;
	border: none;
}

#ecu #sidebar a {
	font: normal 13px Arial, Verdana, Helvetica, sans-serif;
	color: #004b85;
	text-decoration: none;
}

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

#ecu #sidebar #sidebar-search label {
	font: normal 13px Arial, Verdana, Helvetica, sans-serif;
	color: #40474f;
}

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

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

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

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

	/* --- Breadcrumbs --- */

#ecu #main.text div.crumbs a:link,
#ecu #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #004b85;
}

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

/* non-full-width banner image on homepage */

#ecu #home-img {
    width: auto;
    margin: 15px 0;
}

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

 /* adds space under full-width main-content image */

#ecu #home-page-banner { margin-bottom: 16px; }

/* columns for links */

#ecu #main.text .col-1 {  /* #main.text needed for weight to override ir-layout.css #dcn-home > * rules */
    display: inline-block;
    vertical-align: text-top; /* aligns cols in cover_text h3 */
    width: 45%;
    padding: 0 2%;
    margin: 0 !important; /* !important overrides !important in ir-adapt.css */
    float: none;
}

	/* --- Headers --- */

#ecu #dcn-home > h2 {
	font: bold 21px Arial, Verdana, Helvetica, sans-serif;
}

#dcn-home #cover-browse h3 { margin: 8px 0; }

#ecu #dcn-home #cover-browse h3 a {
	font: bold 13px Arial, Verdana, Helvetica, sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#ecu #dcn-home .box.aag h2,
#ecu #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: bold 16px Arial, Verdana, Helvetica, sans-serif;
	border-bottom: 1px solid #d4d4d4;
}

#ecu #main.text .box a:link,
#ecu #main.text .box a:visited {
	font: bold 12px Arial, Verdana, Helvetica, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d4d4d4;
	background: none;
}

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

#ecu #main.text .box span { margin-top: 4px; }

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

#ecu #bepress a { background-position: top; }

#ecu #footer,
#ecu #bepress a {
	height: 121px;
	background-color: #40474f; }

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

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

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

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

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

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

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

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

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

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

.mbl #ecu #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 15.306122% !important;  /* 150 / 980 */
	height: auto !important; /* Important avoides 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; }

.mbl #ecu #main.text .col-1 {
    width: 100%; }

	/* stacks headings and spans in .box */
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

.mbl #ecu #dcn-home .box.aag h2,
.mbl #ecu #dcn-home .box.potd h2 {
	width: 100%;
}

