/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  September 2018
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Lato:400,700');
/* ---------------- Meta Elements ---------------- */

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

body {
	font: normal 13px/1.5 'Lato', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #f3f3f3;
}


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

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

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

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

#henryford #header a#banner_link:focus img {
    outline: 2px dashed #00c896;
}
#henryford #header a#logo_link:focus img {
    outline: 2px dashed #00c896;
}
/* ---------------- Navigation ---------------- */

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

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

/* Flexbox Navigation July 2018 */

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

#henryford #navigation #tabs #tabone {
	width: 96px; /* Kepps my account on one line in Safari */
}

#henryford #navigation #tabs a {
	font: normal 14px 'Lato', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 40px;
	line-height: 40px;
	color: #fff;
	transition: 0.3s ease-in-out;
	background-color: transparent;
	padding: 0 11px; /* with arial bold, this fits */
	margin: 0;
	border: 0;
	/* float: left; Not needed? Using flexbox now */
}

#henryford #navigation #tabs #tabzero a {
	margin-right: 9px;
}

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

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

#henryford #sidebar h2 {
	font: normal 15px 'Lato', sans-serif;
	color: #fff;
	background-color: #1464b9;
	padding: 10px 0;
	margin: 0;
	border: none;
}

#henryford #sidebar a {
	font: normal 13px 'Lato', sans-serif;
	color: #434343;
	text-decoration: none;
}

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

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

#henryford #sidebar ul#side-notify {
	padding-top: 0;
}

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

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

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

#henryford #sidebar #sb-custom-lowest a:active img,
#henryford #sidebar #sb-custom-lowest a:focus img {
	outline: 1px dashed #000;
}
#henryford #sidebar #sb-custom-lowest a img {
	margin-top: 10px;
}
/* ---------------- Main Content ---------------- */

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

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

	/* --- Breadcrumbs --- */

#henryford #main.text div.crumbs a:link,
#henryford #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #1274b5;
}

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

#henryford #dcn-home > #homepage-intro {
	margin: 5px 0 15px 0;
	font-size: 13px;
}

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


	/* --- Headers --- */

#henryford #dcn-home > h2 {
	font: bold 21px 'Lato', sans-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: #1274b5;
 	text-decoration: none;
}

#henryford #dcn-home #cover-browse {
	margin-bottom: 25px;
}

#henryford #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 'Lato', sans-serif;
	text-decoration: none;
	padding-left: 3px;
}

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

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

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

	/* PotD / Top DL widgets */

#henryford #dcn-home .box.aag h2,
#henryford #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: bold 18px 'Lato', sans-serif;
	border-bottom: 1px solid #cccccc;
}

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

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

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

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

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


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

#henryford #footer {
	height: 76px;
	background: #003d74;
}

#henryford #bepress a {
	height: 75px;
	background-color: #003d74;
}

#henryford #footer:before {
	display: block;
	clear: both;
	content: "";
	position: relative;
	left: 0px;
	bottom: 1px;
	width: 980px;
	height: 1px;
	background: url(assets/md5images/7aa55b0430fa4251d08518ae06384e6d.gif) no-repeat left top;
}


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



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

#bepress a:focus { outline: 2px dashed #00c896; }
/* ---------------- Miscellaneous fixes ---------------- */
#henryford #series-home .pdf,
#henryford #series-home .native,
#henryford #series-home .metadata-only,
#henryford #series-home .external {
	line-height: 2em;
}
	/* --- Advanced Search --- */

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

.legacy #henryford #footer::before {
	background: transparent;
}


/* change download button color to red - NS 3/8/19 */

#henryford  #main.text #beta_7-3 .aside.download-button a.btn,
#henryford  #main.text #ir-book #file-list a.btn,
#henryford  #main.text #ir-book #full-text a.btn {
    background: #EB002F !important;
    border: 1px solid #EB002F !important;
    color: #fff !important; }

#henryford  #main.text #beta_7-3 a.btn  {
    background: #fff !important;
    border: 1px solid #EB002F !important;
    color: #EB002F !important; }

/* Citation font size - TH 4/15/2019 */
#henryford #alpha #recommended_citation p { font-size: 13px; }

/* Hide disciplines browse link - TH 4/23/2019 */
#henryford #sidebar ul#side-browse li.discipline-browser {display:none;}

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

/*fixes bullet underline for Browse Research and Scholarship links*/
.mbl #main #cover-browse h3 { text-decoration: none; }

.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
	display: block;
}

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

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

.mbl #henryford #main #cover-browse h3:before {
	font-size: 80%;
}

.mbl #henryford #main #cover-browse h3 a {
	padding-left: 0;
}

.mbl #henryford #sidebar h2 {
	margin: 6px 0px !important;
}

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

.mbl #henryford #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 29.4897959% !important;  /* 240 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

.mbl #sidebar h2 {
  margin: 5px 0 !important;
  padding-left: 3% !important;
  width: 97% !important;
}
