/* -----------------------------------------------
Journal local stylesheet.
Author:   Jami Wardlow
Version: Apr 2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap');

	/* --- 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: #eaeaea url(../assets/md5images/b5ce9757a6cc972ad5491bdcb207f577.gif) top left repeat;
}

/* ---------------- Header ---------------- */

#hbr #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#hbr #banner_image {
	display: block;
	width: 980px !important;
	height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}

	/* --- Logo --- */

#hbr #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	right: 0;
	width: 23.265306122449% !important;  /* 228 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#hbr #header a#banner_link:focus img,
#hbr #header a#logo_link:focus img {
    outline: 2px dotted #17bbd0;
}

/* ---------------- Navigation ---------------- */

#hbr #navigation {
background: #223957 url(../assets/md5images/252d29d7fc9b839f48a077b4bfef140c.gif) top left repeat-x; }

#hbr #navigation,
#hbr #navigation #tabs {
	height: 42px;
	/* overflow: hidden; have seen issues with tabs extending below nav container */
	white-space: nowrap;
}

#hbr #navigation #tabs,
#hbr #navigation #tabs ul,
#hbr #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#hbr #navigation #tabs,
#hbr #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

#hbr #navigation #tabs a {
	font: bold 14px 'Open Sans', sans-serif;
	display: block;
	line-height: 42px;
	color: #fff;
	background-color: transparent;
	padding: 0 16px;
	margin: 0;
	border: 0;
}

#hbr #navigation #tabs a:hover,
#hbr #navigation #tabs a:active,
#hbr #navigation #tabs a:focus {
	text-decoration: underline;
}

#hbr #navigation #tabs a span { font-size: 14px; }	/* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */

#hbr #navigation #tabs li:last-child a { padding-right: 25px; }   /* hidden but expands to fit 240px #tabs for IE + FF */

#hbr #navigation #tabs li#tabfour a { display: none; }

/* ---------------- Sidebar ---------------- */

#hbr #sidebar { padding-top: 16px; }

#hbr #sidebar a:link,
#hbr #sidebar a:visited {
	font: normal 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #0b3a6c;
	text-decoration: none;
}

#hbr #sidebar a:hover,
#hbr #sidebar a:active,
#hbr #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

	/* --- Highlighted sidebar links --- */

#hbr #sidebar ul#navlist {
	border-top: none; /* border added by ir-custom.css by default */
}

#hbr #sidebar ul#navlist li:first-child a {
	border-top: 1px solid #f6f6f6; /* border is removed if #navlist has no content */
}

#hbr #sidebar ul#navlist li a {
	color: #0b3a6c;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #e1e1e1;
	border-bottom: 1px solid #f6f6f6;
}

#hbr #sidebar ul#navlist li a:active,
#hbr #sidebar ul#navlist li a:hover,
#hbr #sidebar ul#navlist li a:focus {
	color: #0b3a6c;
	background-color: #f6f6f6;
}

	/* --- Sidebar text --- */

#hbr #sidebar .sidebar-search label,
#hbr .sidebar-search h2,
#hbr #sidebar #issn p {
	color: #000; /* Search, "Enter search terms," ISSN" */
	border: 0;
}

#hbr .sidebar-search h2 { 
	font: bold 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-indent: 20px;
	background: transparent;
}

#hbr #sidebar #browse,
#hbr #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */

#hbr #sidebar p.advanced + div { display: none; }

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

#hbr #sidebar a:focus img { outline: 2px dotted #17bbd0; }

/* ---------------- Main Content ---------------- */

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

#hbr #main.text div.crumbs p { margin-bottom: 0; }

#hbr #main.text div.crumbs a {
	text-decoration: none;
	color: #0b3a6c;
}

#hbr #main.text div.crumbs a:hover,
#hbr #main.text div.crumbs a:active,
#hbr #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

	/* --- Headers --- */

#hbr #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 24px Arial, "Helvetica Neue", Helvetica, sans-serif; /* Current Issue */
}

#hbr .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: normal 21px Arial, "Helvetica Neue", Helvetica, sans-serif;
	background: transparent;   /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #e2e2e2;
	padding-bottom: 0;
	margin-bottom: 25px;
}

#hbr #masthead caption,
#hbr #masthead h2.masthead {
	font: normal 21px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #000;
	text-align: left;
	padding: 15px 0;
}

	/* --- Links --- */

#hbr #main.text a:link,
#hbr #main.text a:visited {
	text-decoration: underline;
	color: #0b3a6c;
}

#hbr #main.text a:hover,
#hbr #main.text a:active,
#hbr #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

#hbr #main.text .article-list a:link,
#hbr #main.text .article-list a:visited {
	text-decoration: none;
}

#hbr #main.text .article-list a:hover,
#hbr #main.text .article-list a:active,
#hbr #main.text .article-list a:focus {
	color: #000;
	text-decoration: underline;
}

	/* --- PDF icons and article lists --- */

#hbr #main.text div.doc { margin: 0 0 15px; }

/* testing replacing the below with what follows: 
#hbr #main.text div.article-list .pdf { width: auto; } */

#hbr div.article-list .pdf,
#hbr div.article-list .native,
#hbr div.article-list .external,
#hbr div.article-list .none .openurl,
#hbr div.article-list .none,
#hbr div.article-list .metadata-only {
 width: auto;
}

#coverart #alpha .article-list p { margin-left: 48px; }

#hbr #main.text div.article-list .pdf a { text-decoration: none; } /* removes extra underline on PDF icon */

	/* --- Editors and Cover art --- */

#coverart #beta { float: right; }

		/* Cover art */

#hbr #coverart #beta .coverart-box h4 {
    font: normal 18px Arial, "Helvetica Neue", Helvetica, sans-serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf;
}

#hbr #coverart #beta .coverart-box {
	font: normal 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	border: 0;
}

#hbr #coverart #beta #coverart-box-container { border: 0; }

/* this rule aligns cover art with other content, but sometimes breaks the layout, idk, seems fine i guess
#coverart #beta	{ width: auto; } */

#hbr #coverart #beta dl  { margin-left: 0; }

#hbr #coverart #beta #coverart-editors dt {
	font-size: 12px;
	padding-top: 10px;
}

		/* Cover art disabled (not needed usually) */

#hbr #masthead h2.masthead { font: 400 21px Arial, "Helvetica Neue", Helvetica, sans-serif; }

#hbr #masthead tr th {  }

#hbr #masthead tr td {  }

/* ---------------- Footer ---------------- */

#hbr #footer,
#hbr #footer #bepress a {
	height: 75px;
	background-color: #e1e1e1;
}

 { outline: 2px dotted #0b3a6c; }

#hbr #footer p,
#hbr #footer p a  {
	font: normal 12px/2 Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #0b3a6c;
	text-decoration: none;
}

#hbr #footer p a:hover,
#hbr #footer p a:active,
#hbr #footer p a:focus {
	text-decoration: underline;
}

/* Additional footer logo */
 
#hbr #footer { position: relative; }
 
a#footer-logo-link { margin: 0; }
 
#footerlogo {
    position: absolute;
    top: 0;
    right: 7px;
 }

#bepress a:focus,
#hbr #footer a#footer-logo-link:focus img {
    outline: 2px dashed #17bbd0;
}

/* ---------------- Miscellaneous fixes ---------------- */

/* styling for policies table lb 09232016 */

#hbr table.policies {
    border-collapse: collapse;
    width=100%;
}

#hbr table.policies th, 
#hbr table.policies tr,
#hbr table.policies td {
   border: 1px solid black;
   padding: 5px;
   text-align: left;
}

#hbr th {
	height:50%;
	}

/* ---------------- Mobile ---------------- */

.mbl #hbr #header,
.mbl #hbr #header a#banner_link img,
.mbl #hbr #navigation {
	width: 100% !important;
}

.mbl #hbr #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	right: 0;
	width: 23.265306122449% !important;  /* 228 / 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;
}

  /* --- Standardizing padding for navlist links --- */

.mbl #hbr #sidebar ul#navlist li a { padding: 6px 0px; }

.mbl #hbr #sidebar ul#navlist li { padding: 0px; }

.mbl #footer-logo-link { display: none; } /* logos aren't hidden by mbl footer */