/* -----------------------------------------------
Journal local stylesheet.
Author:   Jami Wardlow
Version: Oct 2023
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/ca16eb60a2b5dbd35560dce9d64885ea.gif) repeat-x left top;
}

#pelr { background: url(../assets/md5images/6838a5762b267692f543227a7eb3a451.gif) repeat-x left bottom; }

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

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

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

	/* --- Logo --- */

#pelr #logo_image { display: none; }

#pelr #header a#banner_link:focus img {
    outline: 2px dotted #e4e4e4;
}

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

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

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

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

#pelr #navigation #tabs a {
	font: normal 18px Arial, "Helvetica Neue", Helvetica, sans-serif;
	display: block;
	height: 22px;
	line-height: 22px;
	color: #fff;
	background-color: transparent;
	padding: 0 12px;
	margin: 10px 0;
	border: 0;
	border-right: 1px solid #fff;
}

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

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

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

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

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


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

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

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

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

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

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

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

#pelr #sidebar ul#navlist li a {
	color: #fff;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #697d53;
	border-bottom: 1px solid #71895a;
}

#pelr #sidebar ul#navlist li a:active,
#pelr #sidebar ul#navlist li a:hover,
#pelr #sidebar ul#navlist li a:focus {
	color: #697d53;
	background-color: #fff;
}

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

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

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

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

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

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

#pelr #sidebar a:focus img { outline: 2px dotted #697d53; }

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#pelr #main.text div.crumbs a {
	text-decoration: none;
	color: #697d53;
}

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

	/* --- Headers --- */

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

#pelr .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 #bfbfbf;
	padding-bottom: 0;
	margin-bottom: 25px;
}

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

	/* --- Links --- */

#pelr #main.text a:link,
#pelr #main.text a:visited {
	text-decoration: underline;
	color: #697d53;
}

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

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

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

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

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

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

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

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

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

#pelr #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 #bfbfbf;
}

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

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

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

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

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

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

#pelr #masthead tr th {  }

#pelr #masthead tr td {  }

	/* Article pages series */

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

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

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

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

#pelr #footer { margin-top: 1px; }

#pelr #footer,
#pelr #footer #bepress a {
	height: 78px;
	background-color: #fff;
}

#bepress a:focus { outline: 2px dotted #697d53; }

#pelr #footer p,
#pelr #footer p a  {
	font: normal 12px/1.8 Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #697d53;
	text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Bluebook Citation Small Caps */

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