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

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

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
	font: normal 14px/1.5 "Montserrat", sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #efefef url(../assets/md5images/c96827338972fc20559de42dde4c3ab1.gif) repeat-x left top;
}

#nlj { background: url(../assets/md5images/46063191455eac2fc796d136b7b53d6d.gif) repeat-x left bottom; }

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

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

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

	/* --- Logo --- */

#nlj #logo_image_png { display: none; }

#nlj #logo_image_svg { display: none; }

#nlj #header a#banner_link:focus img,
#nlj #header a#logo_link:focus img {
    outline: 2px dotted #b10202;
}

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

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

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

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

#nlj #navigation #tabs a {
	font: normal 13px "Montserrat", sans-serif;
	display: block;
	line-height: 31px;
	color: #d0d0d0;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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

#nlj #navigation #tabs a span { font-size: 13px; }	/* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */

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

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

#nlj #sidebar a:link,
#nlj #sidebar a:visited {
	font: normal 14px "Montserrat", sans-serif;
	color: #b10202;
	text-decoration: none;
}

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

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

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

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

#nlj #sidebar ul#navlist li a {
	color: #b10202;
	font-weight: normal;
	background-color: transparent;
	border-bottom: 1px solid #d0d0d0;
}

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

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

#nlj .sidebar-search h2 { 
	font: bold 14px Georgia, Times, "Times New Roman", serif;
	text-indent: 20px;
	background: transparent;
}

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

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

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

#nlj #sidebar a:focus img { outline: 2px dotted #b10202; }

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

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#nlj #main.text div.crumbs a {
	text-decoration: none;
	color: #b10202;
}

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

	/* --- Headers --- */

#nlj #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1,
#coverart #alpha #intro-text+h1 {   /* Journals with cover art */
	font: normal 22px Georgia, Times, "Times New Roman", serif; /* Current Issue */
}

#nlj .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: bold 21px Georgia, Times, "Times New Roman", serif;
	background: transparent;   /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #ddd;
	padding-bottom: 0;
	margin-bottom: 25px;
}

#nlj #masthead caption,
#nlj #masthead h4 {
	font: bold 21px Georgia, Times, "Times New Roman", serif;
	color: #000;
	text-align: left;
	padding: 15px 0;
}

	/* --- Links --- */

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

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

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

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

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

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

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

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

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

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

#nlj #coverart #beta .coverart-box h4 {
    font: bold 18px Georgia, Times, "Times New Roman", serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #ddd;
}

#nlj #coverart #beta .coverart-box {
	font: normal 14px "Montserrat", sans-serif;
	border: 0;
}

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

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

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

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

#nlj #masthead h2.masthead { font: bold 21px Georgia, Times, "Times New Roman", serif; }

#nlj #masthead tr th {  }

#nlj #masthead tr td {  }

	/* Article pages series */

#nlj #alpha .element p,
#nlj #custom-fields .element p,
#nlj #alpha #recommended_citation p,
#nlj #alpha #attach_additional_files .files span {
	font-size: 14px;
}

#nlj #beta_7-3 #beta-disciplines.aside p {
	font-size: 14px !important;
}

#nlj #alpha .element h4,
#nlj #custom-fields .element h4,
#nlj #beta_7-3 h4,
#nlj #alpha #attach_additional_files .related strong {
	font-size: 15px !important;
}
#nlj #alpha #title.element p {
	font-size: 22px;
}

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

#nlj #footer,
#nlj #footer #bepress a {
	height: 75px;
	background-color: #333;
}

#nlj #bepress a {
	background-image: url(../assets/md5images/679594240bfa0eb9493776f7d68fa330.svg);
    background-size: 210px;
    background-position: center;
}

#nlj #bepress a:focus { outline: 2px dotted #b10202; }

#nlj #footer p,
#nlj #footer p a  {
	font: normal 13px/1.8 "Montserrat", sans-serif;
	color: #c7c7c7;
	text-decoration: none;
}

#nlj  #footer a.secondary-link { font-size: 11px; }

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

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

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

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

/*.legacy #nlj #wrapper { background-image: none; } (not needed?)

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

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

#nlj #main.text a:link span.icon-question-sign {
	text-decoration: none;
}

	/* Increase contrast on My Account headings */

#nlj .text #myaccount h2 { color: #000; }

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

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

.mbl #nlj #logo_image_png { display: none; }

.mbl #nlj #logo_image_svg { display: none; }

	/* fixes invisible space above header */

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

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

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

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

  /* --- footer logo --- */

.mbl #nlj #footer #bepress a {
	background: transparent url(../assets/md5images/679594240bfa0eb9493776f7d68fa330.svg) center no-repeat !important;
	background-size: 235px !important;
	height: 50px !important;
	margin: 0px !important;
}

.mbl #nlj #footer {
	background-color: #333 !important;
	background-image: none !important;
}

/* smallcaps formatting for citation */
#nlj .smallcaps
{
font-variant: small-caps;
}