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

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

	/* --- 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/f21598c07a3cf7abc307d76bf4b92667.gif) repeat-x left top;
}

#jss { background: url(../assets/md5images/5e37ea32fd46cb3115dbf65f50da61dc.gif) repeat-x left bottom; }

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

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

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

	/* --- Logo --- */

#jss #logo_image { display: none; }

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

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

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

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

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

#jss #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?)*/
	transition: background 0.3s ease;
	line-height: 28px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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

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

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

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


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

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

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

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

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

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

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

#jss #sidebar ul#navlist li a {
	color: #fff;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #04273a;
	border-bottom: 1px solid #031926;
}

#jss #sidebar ul#navlist li a:active,
#jss #sidebar ul#navlist li a:hover,
#jss #sidebar ul#navlist li a:focus {
	color: #a61933;
	background-color: #D1EAF5;
}

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

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

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

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

#jss #sidebar h3 { 
	color: #1d1d1d;
	border-top: 2px solid #eee;
	border-bottom: 2px solid #eee;
}

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

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

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

#jss #sidebar-images a:focus img { outline: 1px dotted #a61933 }

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#jss #main.text div.crumbs a {
	text-decoration: none;
	color: #a61933;
}

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

	/* --- Headers --- */

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

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

#jss h4 { color: #000; }

	/* --- Links --- */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#jss #masthead tr th {  }

#jss #masthead tr td {  }

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

#jss #footer,
#jss #footer #bepress a {
	height: 100px;
	background-color: #ededed;
}

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

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

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

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

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

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

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

#jss #partnersinfo #startinfo img {
    max-width: 600px;
    height: auto;
    padding-top: 10px;
}

/* Formatting Table in submissionguidelines.html - bd - 2018-07-09 */
#jss table#styleguide {margin-top: 15px;margin-left:-33px;}
#jss p#tableDesc {margin-left:-33px;}
#jss table#styleguide caption {float:left;}
#jss table#styleguide tr#tblHead {border-top:black solid;border-bottom:black solid;}
#jss table#styleguide  #tblHead th {padding-right: 2px; text-align:center;}
#jss table#styleguide tr.tblRow {border-bottom:thin black solid;}
#jss table#styleguide  tr td {text-align:center;}
#jss table#styleguide tr#tblTotal {border-top:black solid;border-bottom:black solid;}
#jss table#styleguide tr#tblTotal  th {text-align:center;}


/* Display button on journals.html but not on journal homepage hmw 2019-09-10 */
#jss #peerreviewtext { display: none; }

/* display indexing page */
#jss ul ul { margin: 0 0 0 20px; }

/* ISSN not so stretchy 3/25 wt */
#jss #issn p { letter-spacing: 0; }

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

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

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

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


/* styling for book_reviews.html page, dc 8-16-21 */
#jss .bookreview_guidelines {text-decoration: underline;}
