/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  September 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
/* ---------------- Meta Elements ---------------- */

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

body {
	font: normal 12px/1.5 'Montserrat', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(../assets/md5images/ecd5ff740ff13295aca0bae675f6961d.png) repeat;
}


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

#nmlr #header {
	position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
	z-index: 2;
  background: transparent;
}

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

#nmlr #banner_link { line-height: 0; } /* removes header/nav gap in mbl */

#nmlr #header a#banner_link:focus img {
	outline: 1px dashed #000;
}

#nmlr #header a#logo_link {
	display: none;
}
	/* --- Logo --- */

#nmlr #logo_image {
	display: none;
}


/* ---------------- Navigation ---------------- */
#nmlr #navigation {
	z-index: 1;
}
#nmlr #navigation,
#nmlr #navigation #tabs {
	height: 36px;
	overflow: hidden; } /* have seen issues with tabs extending below nav container */

/* Flexbox Navigation July 2018 */

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

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

#nmlr #navigation #tabs a {
	font: normal 12px 'Montserrat', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	transition: background 0.3s ease;
	line-height: 36px;
	color: #fff;
	background-color: transparent;
	padding: 0 8px;
	margin: 0;
	border: 0;
	border-right: 1px solid #d1d1d1;
	/* float: left; Not needed? Using flexbox now */
  }

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

#nmlr #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
	border-right: none; }

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

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

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

#nmlr #sidebar { padding-top: 8px; }

#nmlr #sidebar a:link,
#nmlr #sidebar a:visited {
	font: 500 13px 'Montserrat', sans-serif;
	color: #9c0927;
	text-decoration: none;
}

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

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

#nmlr #sidebar ul#navlist {
	border-top: none; }	 /* border added by ir-custom.css by default */
#nmlr #sidebar ul#navlist li:first-child a {
	border-top: 1px solid #ebebeb; /* border is removed if #navlist has no content */
}

#nmlr #sidebar ul#navlist li a {
	color: #fff;
	transition: background 0.3s ease;
	font-weight: 500;
	background-color: #55585c;
	border-bottom: 1px solid #abacae;
}

		/* Sidebar link colors */
#nmlr #sidebar ul#navlist li a:active,
#nmlr #sidebar ul#navlist li a:hover,
#nmlr #sidebar ul#navlist li a:focus {
	color: #9c0927;
	background-color: #ebebeb;
}

#nmlr #sidebar ul#navlist li:last-child a { border-bottom: none; }


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

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

#nmlr #sidebar .sidebar-search label,
#nmlr #sidebar #issn p {
	font-weight: 500;
}

#nmlr .sidebar-search h2 {
	font: bold 12px 'Montserrat', sans-serif;
	text-indent: 20px; }

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

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

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

#nmlr #sidebar p {
	color: #000;
	font-weight: 500;
}
/* ---------------- Main Content ---------------- */

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

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

#sub {
	margin-top: 22px;
	border-top: 1px solid #dedede;
}

	/* --- Breadcrumbs --- */

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

#nmlr #main.text div.crumbs a {
	text-decoration: none;
	color: #b30b2c;
}

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

	/* --- Headers --- */

#nmlr #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: 500 22px 'Montserrat', sans-serif; /* Current Issue */
}

#nmlr .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: 500 21px 'Montserrat', sans-serif;
	background: transparent;   /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #dedede;
	padding-bottom: 0;
	margin-bottom: 25px;
}

	/* --- Links --- */

#nmlr #main.text a:link,
#nmlr #main.text a:visited {
	text-decoration: underline;
	color: #b30b2c; }

#nmlr #main.text a:hover,
#nmlr #main.text a:active,
#nmlr #main.text a:focus {
	color: #000000;
	text-decoration: underline;
}
#nmlr #main.text .article-list a:link,
#nmlr #main.text .article-list a:visited {
	text-decoration: none; }

#nmlr #main.text .article-list a:hover,
#nmlr #main.text .article-list a:active,
#nmlr #main.text .article-list a:focus {
	color: #000000;
	text-decoration: underline;
}
#nmlr h2 {
	font-weight: 500;
	font-size: 21px;
}
	/* --- PDF icons and article lists --- */

#nmlr #main.text div.doc { margin: 0 0 15px; }
/* Replacing rule on line 227 to style all options and not break mobile PDF buttons */
/*#nmlr #main.text div.article-list .pdf { width: auto; }*/
#nmlr div.article-list .pdf,
#nmlr div.article-list .native,
#nmlr div.article-list .external,
#nmlr div.article-list .none .openurl,
#nmlr div.article-list .none,
#nmlr div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#nmlr #main.text div.article-list .pdf a { text-decoration: none; } /* removes extra underline on PDF icon */

	/* --- Editors and Cover art --- */
#nmlr #coverart #beta #coverart-editors dd {
	padding-top: 3px;
}

#coverart #beta {
	float: right; }

		/* Cover art */
#nmlr #coverart #beta .coverart-box h4 {
    font: 500 18px 'Montserrat', sans-serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #dedede; }

#nmlr #coverart #beta .coverart-box {
	font: normal 12px 'Montserrat', sans-serif;
	border: 0; }

#nmlr #coverart #beta #coverart-box-container {
	border: 0; }

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

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

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

#nmlr #masthead h2.masthead { font: 400 21px 'Montserrat', sans-serif; }

/* ---------------- Footer ---------------- */
#nmlr #footer {
	background: #fff url(../assets/md5images/6426b2a7637e002c5e001765295f91a4.gif) repeat-x left top;
}

#nmlr #footer,
#nmlr #footer #bepress a {
	height: 75px;
	background-color: #b30b2c; }

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

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

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

#nmlr #content {
	min-height: calc(100vh - 236px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #nmlr #wrapper:after {
	content: none; /* search pages */
}

#bepress a:focus {
    outline: 1px dashed #000;}
/* ---------------- Miscellaneous fixes ---------------- */

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

.legacy #nmlr #wrapper {
	background-image: none;
	background-color: #fff; }


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

.mbl #navigation #tabs {
	display: none;
}

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

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

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

.mbl #nmlr #header,
.mbl #nmlr #header a img,
.mbl #nmlr #navigation {
	width: 100% !important;
}
.mbl #nmlr #header #logo_image {
	display: none;
}

.mbl #sidebar #issn p.sb-issn {
	pointer-events: none;
}

.mbl #sidebar #sidebar-images p, .mbl #sidebar #issn {
    display: flex;
    justify-content: space-around;
}
.mbl #nmlr #header {
background: url(../assets/md5images/c491a4423f3ad5ed588dfd17afe3b7eb.png) no-repeat left top;
}