/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  2022
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: #ededf2;
}
#ijass {
  padding-top: 22px;
}
/* ---------------- Header ---------------- */
#ijass #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
}
#ijass #banner_image {
    display: block;
    width: 980px !important;
    height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}
#ijass #banner_link { line-height: 0; } /* removes header/nav gap in mbl */
    /* --- Logo --- */
#ijass #logo_image,
#ijass #header a#logo_link { 
  display: none;
}
#ijass #header a#banner_link:focus img,
#ijass #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */
#ijass #navigation,
#ijass #navigation #tabs {
    height: 36px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap; }
/* Flexbox Navigation July 2018 */
#ijass #navigation #tabs {
  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%;
}

#ijass #navigation #tabs ul {
  display: flex;
  justify-content: space-around; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
  width: 240px;
      background-color: #001120;
}
#ijass #navigation #tabs ul li {
  width: auto;
  display: flex;
  justify-content: center;
  border-right: 1px solid #fff;
  flex: 1 1 auto;
}
#ijass #navigation #tabs,
#ijass #navigation #tabs ul,
#ijass #navigation #tabs ul li {
    padding: 0;
    margin: 0; }
#ijass #navigation #tabs a {
    font: normal 12px Arial, Helvetica Neue, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    flex: 1 1 auto;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    transition: background 0.3s ease;
    line-height: 36px;
    color: #fff;
    background-color: #001120;
    padding: 0;
    margin: 0;
    border: 0;
    border-right: none;
  }
#ijass #navigation #tabs a:hover,
#ijass #navigation #tabs a:active,
#ijass #navigation #tabs a:focus {
    text-decoration: underline;
    color: #000;
    background-color: #d1d1db;
}
#ijass #navigation #tabs li:last-child {  /* remove 4th border for nav tab separators */
    border-right: none; }
#ijass #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 */
/*#ijass #navigation #tabs li:first-child a { padding-left: 16px; }
#ijass #navigation #tabs li:last-child a { padding-right: 17px; }/*
/* ---------------- Sidebar ---------------- */
#ijass #sidebar { padding-top: 16px; }
#ijass #sidebar a:link,
#ijass #sidebar a:visited {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #0d3f62;
    text-decoration: none;
}
#ijass #sidebar a:hover,
#ijass #sidebar a:active,
#ijass #sidebar a:focus {
    color: #000;
    text-decoration: underline;
}
    /* --- Highlighted sidebar links --- */
#ijass #sidebar ul#navlist {
    border-top: none; }  /* border added by ir-custom.css by default */
#ijass #sidebar ul#navlist li:first-child a {
    border-top: 1px solid #7d8490; /* border is removed if #navlist has no content */
}
#ijass #sidebar ul#navlist li a {
    color: #fff;
    transition: background 0.3s ease;
    font-weight: normal;
    background-color: #001120;
    border-bottom: 1px solid #7d8490;
}
        /* Sidebar link colors */
#ijass #sidebar ul#navlist li a:active,
#ijass #sidebar ul#navlist li a:hover,
#ijass #sidebar ul#navlist li a:focus {
    color: #000;
    background-color: #d4d4dc;
}

    /* --- Sidebar text --- */
#ijass #sidebar .sidebar-search label,
#ijass .sidebar-search h2,
#ijass #sidebar #issn p {
    color: #000; /* Search, "Enter search terms," ISSN" */
    border: 0; }
#ijass .sidebar-search h2 { font: bold 14px Arial, Helvetica Neue, Helvetica, sans-serif; }
#ijass #sidebar #browse,
#ijass #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */
#ijass #sidebar p.advanced + div { display: none; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

#ijass #sidebar #issn {
  width: 220px;
  margin: 0 10px;
}
/* ---------------- Main Content ---------------- */
#ijass #wrapper { /* for full-length sidebar content background/elements */
    /*background: url(../assets/md5images/cf1e60b6ab93bff127a9eca3244a962c.gif) repeat-y left top;*/
 }
#ijass #content { background-color: #ffffff; }
#sub { margin-top: 22px; }
    /* --- Breadcrumbs --- */
#ijass #main.text div.crumbs p { margin-bottom: 0; }
#ijass #main.text div.crumbs a {
    text-decoration: none;
    color: #104e7b;
}
#ijass #main.text div.crumbs a:hover,
#ijass #main.text div.crumbs a:active,
#ijass #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
    /* --- Headers --- */
#ijass #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
    font: normal 22px Arial, Helvetica Neue, Helvetica, sans-serif; /* Current Issue */
}
#ijass .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
    font: normal 21px Arial, Helvetica Neue, Helvetica, sans-serif;
    background: transparent;   /* removes background and adds a line under doctype header */
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 0;
    margin-bottom: 25px;
}
    /* --- Links --- */
#ijass #main.text a:link,
#ijass #main.text a:visited {
    text-decoration: underline;
    color: #104e7b; }
#ijass #main.text a:hover,
#ijass #main.text a:active,
#ijass #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
#ijass #main.text .article-list a:link,
#ijass #main.text .article-list a:visited {
    text-decoration: none; }
#ijass #main.text .article-list a:hover,
#ijass #main.text .article-list a:active,
#ijass #main.text .article-list a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* --- PDF icons and article lists --- */
#ijass #main.text div.doc { margin: 0 0 15px; }
/* Replacing rule on line 227 to style all options and not break mobile PDF buttons */
/*#ijass #main.text div.article-list .pdf { width: auto; }*/
#ijass div.article-list .pdf,
#ijass div.article-list .native,
#ijass div.article-list .external,
#ijass div.article-list .none .openurl,
#ijass div.article-list .none,
#ijass div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#ijass #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 */
#ijass #coverart #beta .coverart-box h4 {
    font: normal 18px Arial, Helvetica Neue, Helvetica, sans-serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf; }
#ijass #coverart #beta .coverart-box {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    border: 0; }
#ijass #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; }
*/
#ijass #coverart #beta dl  {
    margin-left: 0; }
#ijass #coverart #beta #coverart-editors dt {
    font-size: 13px;
    padding-top: 10px; }
#ijass #coverart #beta #coverart-editors dd {
  padding-top: 3px;
}
/* Cover art disabled (not needed usually) */
#ijass #masthead {
  display: none;
}
#ijass #masthead h2.masthead,
#ijass #masthead caption {
  font: 400 21px Arial, Helvetica Neue, Helvetica, sans-serif;
}
#ijass #masthead tr th {
}
#ijass #masthead tr td {
}
/* ---------------- Footer ---------------- */
#ijass #footer,
#ijass #footer #bepress a {
    height: 74px;
    background-color: #001120; }
#ijass #footer p,
#ijass #footer p a  {
    font: normal 12px/2 Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none; }
#ijass #footer p:first-of-type { padding-top: 13px; }
#ijass #footer p a:hover,
#ijass #footer p a:active,
#ijass #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
  outline: 1px dashed #208398;
}
#ijass #footer {
  background: url(../assets/md5images/01f18e8b7a8ec9ed3054d728a7dc97dd.gif) repeat-x left top;
}

#ijass #content {
    min-height: calc(100vh - 272px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #ijass #wrapper:after {
    content: none; /* search pages */
}

/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #ijass #wrapper { background-image: none; }
/* ---------------- Mobile ---------------- */
.mbl #ijass #navigation #tabs {
    display: none;
}
.mbl #ijass #sidebar ul#navlist li a {
    padding: 6px 0px;
}
.mbl #ijass #sidebar ul#navlist li {
    padding: 0px;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #ijass #header,
.mbl #ijass #header a#banner_link img,
.mbl #ijass #navigation {
    width: 100% !important;
}
.mbl #ijass #header #logo_image {
    display: none;
}

.mbl #sidebar #issn p.sb-issn,
.mbl #sidebar #issn p.sb-extra-issn {
	pointer-events: none;
}
.mbl #ijass #content {
    min-height: unset;
}

.mbl #ijass #footer #bepress a {
	background: transparent url(../assets/md5images/146303e4b4235884c04e3efda54e9b98.gif) center no-repeat !important;
	height: 50px !important;
	margin: 0px !important;
}

.mbl #ijass #footer {
	background-color: #001120 !important; /* plug in footer background color */
	background-image: none !important;
}
.mbl #ijass {
  padding-top: 0;
}
.mbl #ijass #sidebar a:active,
.mbl #ijass #sidebar a:hover,
.mbl #ijass #sidebar a:focus {
  color: #000 !important;
}


/* Editorial Board page customizations  */
#ijass #ijass_edboard h2,
#ijass #ijass_edboard h3,
#ijass #ijass_edboard p {text-align:center; }
#ijass #ijass_edboard .edboard_onecolumn {width:40%; text-align:center; margin: 0 auto; }
#ijass #ijass_edboard .edboard_twocolumn { width:333px; float:left; text-align:center; }
#ijass #ijass_edboard .edboard_threecolumn { width:222px; float:left; text-align:center; }
