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

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

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Vidaloka&display=swap');

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

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

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

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

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

	/* --- Logo --- */

#ndlsjet #logo_image { display: none; }

#ndlsjet #header a#banner_link:focus img {
    outline: 2px dotted #477a9a;
}

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

#ndlsjet #navigation {
	background: transparent;
	border-bottom: 1px solid #c4cbce;
}

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

#ndlsjet #navigation #tabs img { padding: 18px 22px 0 0; }

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

#ndlsjet #navigation #tabs,
#ndlsjet #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%;
}

#ndlsjet #navigation #tabs a {
	font: bold 14px 'Open Sans', sans-serif;
	display: block;
	text-transform: uppercase;
	line-height: 67px;
	color: #477a9a;
	background-color: transparent;
	padding: 3px 14px;
	margin: 0;
	border: 0;
}

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

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

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

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

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

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

#ndlsjet #sidebar a:link,
#ndlsjet #sidebar a:visited {
	font: normal 14px 'Open Sans', sans-serif;
	color: #477a9a;
	text-decoration: none;
}

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

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

#ndlsjet #sidebar ul#navlist,
#ndlsjet #sidebar ul#navlist li:first-child a {
	border-top: none; /* border added by ir-custom.css by default */
}

#ndlsjet #sidebar ul#navlist li a {
	color: #477a9a;
	font-weight: normal;
	background-color: #fff;
	border-bottom: none;
}

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

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

#ndlsjet #sidebar h2 { 
	font: bold 14px 'Open Sans', sans-serif;
	color: #4f4f4f;
	text-indent: 20px;
	background: transparent;
}

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

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

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

#ndlsjet #sidebar #sb-custom-lowest { margin-top: 20px; }

#ndlsjet #sidebar a:focus img { outline: 2px dotted #477a9a; }

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#ndlsjet #main.text div.crumbs a {
	text-decoration: none;
	color: #477a9a;
}

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

	/* --- Headers --- */

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

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

#ndlsjet #masthead caption,
#ndlsjet #masthead h4 {
	font: normal 21px 'Vidaloka', serif;
	color: #4f4f4f;
	text-align: left;
	padding: 15px 0;
}

	/* --- Links --- */

#ndlsjet #main.text a:link,
#ndlsjet #main.text a:visited {
	text-decoration: underline;
	color: #477a9a;
}

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

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

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

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

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

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

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

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

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

#ndlsjet #coverart #beta .coverart-box h4 {
    font: normal 18px 'Vidaloka', serif; /* default is 18px */
    color: #4f4f4f;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #e1e5e7;
}

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

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

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

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

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

#ndlsjet #masthead h2.masthead { font: 400 21px 'Vidaloka', serif; }

#ndlsjet #masthead tr th {  }

#ndlsjet #masthead tr td {  }

	/* Article pages series */

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

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

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

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

#ndlsjet #footer { border-top: 3px solid #0c2340; }

#ndlsjet #footer,
#ndlsjet #footer #bepress a {
	height: 75px;
	background-color: #fff;
}

#bepress a:focus { outline: 2px dotted #477a9a; }

#ndlsjet #footer p,
#ndlsjet #footer p a  {
	font: normal 13px/1.8 'Open Sans', sans-serif;
	color: #4f4f4f;
	text-decoration: none;
}

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

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

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

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

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

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

#ndlsjet #social-media { display: none; }

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

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

.mbl #ndlsjet #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 #ndlsjet #sidebar ul#navlist li a { padding: 6px 0px; }

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


.smallcaps {font-variant: small-caps;}