/* -----------------------------------------------
Journal local stylesheet.
Author:   Jami Wardlow
Version:  Aug 2020
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

@import url('https://fonts.googleapis.com/css2?family=Mate&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: #fff url(../assets/md5images/efb3e1941efb769cee5c92d4517b7add.gif) repeat-x left top;
}

#duurj { background: url(../assets/md5images/3fff86f334495d831dc978a9699f80c5.gif) repeat-x left bottom; }

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

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

#duurj #banner_image {
	display: block;
	width: 980px !important;
	height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}

	/* --- Logo --- */

#duurj #logo_image { display: none; }

#duurj #header a#banner_link:focus img {
    outline: 1px dotted #fff;
}

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

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

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

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

#duurj #navigation #tabs a {
	font: normal 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	line-height: 38px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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

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

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

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


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

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

#duurj #sidebar a:link,
#duurj #sidebar a:visited {
	font: normal 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #6d1f28;
	text-decoration: none;
}

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

	/* --- Highlighted sidebar links --- */

#duurj #sidebar ul#navlist {
	border-top: none; /* border added by ir-custom.css by default */
}

#duurj #sidebar ul#navlist li:first-child a {
	border-top: 1px solid #e0e0e0; /* border is removed if #navlist has no content */
}

#duurj #sidebar ul#navlist li a {
	color: #6d1f28;
	font-weight: normal;
	background-color: transparent;
	border-bottom: 1px solid #e0e0e0;
}

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

#duurj #sidebar .sidebar-search label,
#duurj .sidebar-search h2,
#duurj #sidebar #issn p {
	color: #000; /* Search, "Enter search terms," ISSN" */
	border: 0;
}

#duurj .sidebar-search h2 { 
	font: bold 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-indent: 20px;
	background: transparent;
}

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

#duurj #sidebar p.advanced + div { display: none; }

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

#duurj #sidebar-images a:focus img { outline: 1px dotted #6d1f28 }

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

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

#duurj #content { 
	min-height: calc(100vh - 234px); /* sticky footer: calculates 100% viewport height - (total heights of header, navigation and footer) */
	background-color: transparent;
}

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#duurj #main.text div.crumbs a {
	text-decoration: none;
	color: #6d1f28;
}

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

	/* --- Headers --- */

#duurj #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 22px 'Mate', serif; /* Current Issue */
	text-transform: uppercase;
}

#duurj .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: normal 21px 'Mate', serif;
	text-transform: uppercase;
	background: transparent;   /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 0;
	margin-bottom: 25px;
}

	/* --- Links --- */

#duurj #main.text a:link,
#duurj #main.text a:visited {
	text-decoration: underline;
	color: #6d1f28;
}

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

#duurj #main.text .article-list a:link,
#duurj #main.text .article-list a:visited {
	text-decoration: none;
}

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

	/* --- PDF icons and article lists --- */

#duurj #main.text div.doc { margin: 0 0 15px; }

/* testing replacing the below with what follows: 
#duurj #main.text div.article-list .pdf { width: auto; } */

#duurj div.article-list .pdf,
#duurj div.article-list .native,
#duurj div.article-list .external,
#duurj div.article-list .none .openurl,
#duurj div.article-list .none,
#duurj div.article-list .metadata-only {
 width: auto;
}

#coverart #alpha .article-list p { margin-left: 48px; }

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

#duurj #coverart #beta .coverart-box h4 {
    font: normal 18px 'Mate', serif; /* default is 18px */
    text-transform: uppercase;
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #e5e5e5;
}

#duurj #coverart #beta .coverart-box {
	font: normal 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	border: 0;
}

#duurj #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; } */

#duurj #coverart #beta dl  { margin-left: 0; }

#duurj #coverart #beta #coverart-editors dt {
	font-size: 12px;
	padding-top: 10px;
}

		/* Cover art disabled (not needed usually) */

#duurj #masthead h2.masthead {
	font: 400 21px 'Mate', serif;
	text-transform: uppercase;
}

#duurj #masthead tr th {  }

#duurj #masthead tr td {  }

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

#duurj #footer { margin-top: 5px; }

#duurj #footer,
#duurj #footer #bepress a {
	height: 77px;
	background-color: #222;
}

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

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

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

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

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

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

.legacy #duurj #wrapper { background: transparent; }

	/* Remove gap under search pages for full-width footer */

.legacy #duurj #wrapper:after { content: none; }

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

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

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

	/* fixes invisible space above header */

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

  /* --- Standardizing padding for navlist links --- */

.mbl #duurj #sidebar ul#navlist li a { padding: 6px 0px; }

.mbl #duurj #sidebar ul#navlist li { padding: 0px; }