/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  January 2020
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 13px/1.5 Arial, Helvetica Neue, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #bebebe;
}
/* ---------------- Header ---------------- */
#joe #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
}
#joe #banner_image {
    display: block;
    width: 980px !important;
    height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}
#joe #banner_link { line-height: 0; } /* removes header/nav gap in mbl */
    /* --- Logo --- */
#joe #logo_image,
#joe #header a#logo_link { 
  display: none;
}
#joe #header a#banner_link:focus img,
#joe #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
#joe #container {
  background-color: #fff;
}
/* ---------------- Navigation ---------------- */
#joe #navigation {
  top: -36px;
  margin-bottom: -36px;
}
#joe #navigation,
#joe #navigation #tabs {
    height: 36px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
    position: relative;
    background: transparent;
}
/* Flexbox Navigation July 2018 */
#joe #navigation #tabs,
#joe #navigation #tabs ul {
  display: flex;
  justify-content: flex-end; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
  width: 100%;
}
#joe #navigation #tabs,
#joe #navigation #tabs ul,
#joe #navigation #tabs ul li {
    padding: 0;
    margin: 0; }
#joe #navigation #tabs a {
    font: bold 12px Arial, Helvetica Neue, Helvetica, 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: #000;
    background-color: transparent;
    padding: 0 11px;
    margin: 0;
    border: 0;
  }
#joe #navigation #tabs a:hover,
#joe #navigation #tabs a:active,
#joe #navigation #tabs a:focus {
    text-decoration: underline;
}
#joe #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
    border-right: none; }
#joe #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 */
#joe #navigation #tabs li:first-child a { padding-left: 15px; }
#joe #navigation #tabs li#tabfive {display:none;}
/* ---------------- Sidebar ---------------- */
#joe #sidebar { 
  padding-top: 16px;
  margin-right: 0px;
  margin-left: 10px;
}
#joe #sidebar a:link,
#joe #sidebar a:visited {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #0d3f62;
    text-decoration: none;
}
#joe #sidebar a:hover,
#joe #sidebar a:active,
#joe #sidebar a:focus {
    color: #000;
    text-decoration: underline;
}
    /* --- Highlighted sidebar links --- */
#joe #sidebar ul#navlist {
    border-top: none; }  /* border added by ir-custom.css by default */
#joe #sidebar ul#navlist li:first-child a {
    border-top: 1px solid #eaeaea; /* border is removed if #navlist has no content */
}
#joe #sidebar ul#navlist li a {
    color: #0d3f62;
    transition: background 0.3s ease;
    font-weight: normal;
    background-color: #C4DCED;
    border-bottom: 1px solid #C4DCED;
    width: 227px;
    margin-left: 3px;
    text-indent: 12px;
}
        /* Sidebar link colors */
#joe #sidebar ul#navlist li a:active,
#joe #sidebar ul#navlist li a:hover,
#joe #sidebar ul#navlist li a:focus {
    color: #000;
    background-color: #D4E5F2;
    }
#joe #sidebar ul li#jobs_link a {
    color: #08243A;
    transition: background 0.3s ease;
    font-weight: normal;
    background-color: #C4DCED;
    border-bottom: 1px solid #d5dfe6;
    width: 227px;
    margin-left: 3px;
    text-indent: 12px;
    display: block;
    height: 20px;
    padding: 12px 0 6px;
    border: 0;
}
        /* Sidebar link colors */
#joe #sidebar ul li#jobs_link a:active,
#joe #sidebar ul li#jobs_link a:hover,
#joe #sidebar ul li#jobs_link a:focus {
    color: #08243A;
    background-color: #D4E5F2;
}
#joe #sidebar ul#navlist li:last-child a { border-bottom: none; }
    /* --- Sidebar text --- */
#joe #sidebar .sidebar-search label,
#joe .sidebar-search h2,
#joe #sidebar #issn p {
    color: #000; /* Search, "Enter search terms," ISSN" */
    border: 0; }
#joe .sidebar-search h2 { 
  font: bold 13px Arial, Helvetica Neue, Helvetica, sans-serif;
  background: transparent;
  text-indent: 20px;
}
#joe #sidebar #browse,
#joe #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */
#joe #sidebar p.advanced + div { display: none; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
#joe #sidebar #sb-custom img#cu_press_logo {
	max-width: 240px; 
	height: auto; 
	background-color: #fff;
}
/* ---------------- Main Content ---------------- */
#joe #wrapper { /* for full-length sidebar content background/elements */
    background: url(../assets/md5images/0418b79fadc8efb75b819bd751b9082d.gif) repeat-y left top;
    margin: 15px 0;}
#joe #content { background-color: #ffffff; }
#sub { margin-top: 22px; }
    /* --- Breadcrumbs --- */
#joe #main.text div.crumbs { display: none; }
#joe #main.text div.crumbs p { margin-bottom: 0; }
#joe #main.text div.crumbs a {
    text-decoration: none;
    color: #104e7b;
}
#joe #main.text div.crumbs a:hover,
#joe #main.text div.crumbs a:active,
#joe #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}

#joe #main.text .article-list span.auth {font-size:12px; color:#212121; font-style:italic; padding-top:2px; display:inline-block}
#joe #main.text .article-list span.article_list_date {font-size:11.5px; color:#212121; font-style:italic} 

    /* --- Headers --- */
#joe #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
    font: normal 24px Georgia, Times, Times New Roman, serif; /* Current Issue */
}
#joe .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 #2c7fc1;
    padding-bottom: 0;
    margin-bottom: 25px;
}
#joe #main.text h2#issue_designation {
	font-size: 23px;
}
#joe #main.text #for_reviewers h4 {
	font-family: Arial, "Helvetica Neue", Helvetica, serif; 
	font-size: 13px; 
	font-weight: bold;
	color: #050505;  
	padding-bottom:5px;
}
    /* --- Links --- */
#joe #main.text a:link,
#joe #main.text a:visited {
    text-decoration: underline;
    color: #104e7b; }
#joe #main.text a:hover,
#joe #main.text a:active,
#joe #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
#joe #main.text .article-list a:link,
#joe #main.text .article-list a:visited {
    text-decoration: none; }
#joe #main.text .article-list a:hover,
#joe #main.text .article-list a:active,
#joe #main.text .article-list a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* --- PDF icons and article lists --- */
#joe #main.text div.doc { margin: 0 0 15px; }
/* Replacing rule on line 227 to style all options and not break mobile PDF buttons */
/*#joe #main.text div.article-list .pdf { width: auto; }*/
#joe div.article-list .pdf,
#joe div.article-list .native,
#joe div.article-list .external,
#joe div.article-list .none .openurl,
#joe div.article-list .none,
#joe div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#joe #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 */
#joe #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 #2c7fc1; }
#joe #coverart #beta .coverart-box {
    font: normal 12px Arial, Helvetica Neue, Helvetica, sans-serif;
    border: 0; }
#joe #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; }
*/
#joe #coverart #beta dl  {
    margin-left: 0; }
#joe #coverart #beta #coverart-editors dt {
    font-size: 12px;
    padding-top: 10px; }
#joe #coverart #beta #coverart-editors dd {
  padding-top: 3px;
}
        /* Cover art disabled (not needed usually) */
#joe #masthead h2.masthead { font: 400 21px Georgia, Times, Times New Roman, serif; }
#joe #masthead tr th {
}
#joe #masthead tr td {
}

#joe .terms {line-height:1.5em; padding-left:2em; padding-top:2em; padding-bottom:2em; padding-right:3.8em;}
#joe .terms p {line-height:1.5em;}
#joe .terms ol li {margin-bottom:1em;}

/* ---------------- Footer ---------------- */
#joe #footer {
  background: url(../assets/md5images/a5c60472246047ef9e5ba2e0f3e8a5da.gif) no-repeat left top;
}
#joe #footer,
#joe #footer #bepress a {
    height: 66px;
    background-color: #fff; }
#joe #footer p,
#joe #footer p a  {
    font: normal 12px/2 Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #104e7b;
    text-decoration: none; }
#joe #footer p:first-of-type { padding-top: 9px; }
#joe #footer p a:hover,
#joe #footer p a:active,
#joe #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
  outline: 1px dashed #000;
}

#joe #content {
    min-height: calc(100vh - 308px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #joe #wrapper:after {
    content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #joe #wrapper { background-image: none; }
/* ---------------- Mobile ---------------- */
.mbl #navigation #tabs {
    display: none;
}
.mbl #joe #sidebar ul#navlist li a {
    padding: 6px 0px;
}
.mbl #joe #sidebar ul#navlist li {
    padding: 0px;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #joe #header,
.mbl #joe #header a#banner_link img,
.mbl #joe #navigation {
    width: 100% !important;
}
.mbl #joe #header #logo_image {
    display: none;
}

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

.mbl #joe #sidebar ul#navlist li a {
  width: 100%;
}
