/* -----------------------------------------------
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: #fff url(../assets/md5images/cb670a71cccb835a2bb20dec9a030fc6.png) repeat-x left top;
}
/* ---------------- Header ---------------- */
#keb #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
}
#keb #banner_image {
    display: block;
    width: 980px !important;
    height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}
#keb #banner_link { line-height: 0; } /* removes header/nav gap in mbl */
    /* --- Logo --- */
#keb #logo_image,
#keb #header a#logo_link { 
  display: none;
}
#keb #header a#banner_link:focus img,
#keb #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */
#keb #navigation {
  background: url(../assets/md5images/95b906e3ec5a1a5feb30a3720e7017fd.gif) repeat-x left top;
}
#keb #navigation,
#keb #navigation #tabs {
    height: 40px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap; }
/* Flexbox Navigation July 2018 */
#keb #navigation #tabs,
#keb #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%;
}
#keb #navigation #tabs,
#keb #navigation #tabs ul,
#keb #navigation #tabs ul li {
    padding: 0;
    margin: 0; }
#keb #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 */
    transition: background 0.3s ease;
    line-height: 40px;
    color: #fff;
    background-color: transparent;
    padding: 0 10px;
    margin: 0;
    border: 0;
    border-right: none;
  }
#keb #navigation #tabs a:hover,
#keb #navigation #tabs a:active,
#keb #navigation #tabs a:focus {
    text-decoration: underline;
}

#keb #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 */
#keb #navigation #tabs li:first-child a { padding-left: 15px; }
/* ---------------- Sidebar ---------------- */
#keb #sidebar { padding-top: 16px; }
#keb #sidebar a:link,
#keb #sidebar a:visited {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #0d3f62;
    text-decoration: none;
}
#keb #sidebar a:hover,
#keb #sidebar a:active,
#keb #sidebar a:focus {
    color: #000;
    text-decoration: underline;
}
    /* --- Highlighted sidebar links --- */
#keb #sidebar ul#navlist {
    border-top: none; }  /* border added by ir-custom.css by default */
#keb #sidebar ul#navlist li:first-child a {
    border-top: 1px solid #e1e1e1; /* border is removed if #navlist has no content */
}
#keb #sidebar ul#navlist li a {
    color: #0d3f62;
    transition: background 0.3s ease;
    font-weight: normal;
    background-color: #f1f1f1;
    border-bottom: 1px solid #e1e1e1;
}
        /* Sidebar link colors */
#keb #sidebar ul#navlist li a:active,
#keb #sidebar ul#navlist li a:hover,
#keb #sidebar ul#navlist li a:focus {
    color: #000;
    background-color: #e1e1e1;
}

    /* --- Sidebar text --- */
#keb #sidebar .sidebar-search label,
#keb .sidebar-search h2,
#keb #sidebar #issn p {
    color: #000; /* Search, "Enter search terms," ISSN" */
    border: 0; }
#keb .sidebar-search h2 { font: bold 13px Arial, Helvetica Neue, Helvetica, sans-serif; }
#keb #sidebar #browse,
#keb #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */
#keb #sidebar p.advanced + div { display: none; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
/* ---------------- Main Content ---------------- */
#keb #wrapper { /* for full-length sidebar content background/elements */
    background: url(../assets/md5images/6ca0f0d659d3e7873e787f6eb96e0cb5.gif) repeat-y left top; }
#keb #content { background-color: #ffffff; }
#sub { margin-top: 22px; }
    /* --- Breadcrumbs --- */
#keb #main.text div.crumbs p { margin-bottom: 0; }
#keb #main.text div.crumbs a {
    text-decoration: none;
    color: #104e7b;
}
#keb #main.text div.crumbs a:hover,
#keb #main.text div.crumbs a:active,
#keb #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
    /* --- Headers --- */
#keb #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 */
}
#keb .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;
}
    /* --- Links --- */
#keb #main.text a:link,
#keb #main.text a:visited {
    text-decoration: underline;
    color: #104e7b; }
#keb #main.text a:hover,
#keb #main.text a:active,
#keb #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
#keb #main.text .article-list a:link,
#keb #main.text .article-list a:visited {
    text-decoration: none; }
#keb #main.text .article-list a:hover,
#keb #main.text .article-list a:active,
#keb #main.text .article-list a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* --- PDF icons and article lists --- */
#keb #main.text div.doc { margin: 0 0 15px; }
/* Replacing rule on line 227 to style all options and not break mobile PDF buttons */
/*#keb #main.text div.article-list .pdf { width: auto; }*/
#keb div.article-list .pdf,
#keb div.article-list .native,
#keb div.article-list .external,
#keb div.article-list .none .openurl,
#keb div.article-list .none,
#keb div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#keb #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 */
#keb #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; }
#keb #coverart #beta .coverart-box {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    border: 0; }
#keb #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; }
*/
#keb #coverart #beta dl  {
    margin-left: 0; }
#keb #coverart #beta #coverart-editors dt {
    font-size: 13px;
    padding-top: 10px; }
#keb #coverart #beta #coverart-editors dd {
  padding-top: 3px;
}
        /* Cover art disabled (not needed usually) */
#keb #masthead h2.masthead,
#keb #masthead caption {
  font: 400 21px Georgia, Times, Times New Roman, serif;
  float: left;
}
#keb #masthead tr th {
}
#keb #masthead tr td {
}
/* ---------------- Footer ---------------- */
#keb {
    background: url(../assets/md5images/e255538bbe599a33b4456efd25e00508.gif) repeat-x left bottom;
}
#keb #content {
    min-height: calc(100vh - 312px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #keb #wrapper:after {
	content: none; /* search pages */
}

#keb #footer {
    height: 82px;
    background-color: #322520; }
#keb #footer #bepress a {
    height: 80px;
    background-color: #322520;
    margin: 1px 0;
  }
#keb #footer p,
#keb #footer p a  {
    font: normal 12px/2 Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none; }
#keb #footer p:first-of-type { padding-top: 17px; } 
#keb #footer p a:hover,
#keb #footer p a:active,
#keb #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
  outline: 1px dashed #fff;
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #keb #wrapper { background-image: none; }
/* ---------------- Mobile ---------------- */
.mbl #navigation #tabs {
    display: none;
}
.mbl #keb #sidebar ul#navlist li a {
    padding: 6px 0px;
}
.mbl #keb #sidebar ul#navlist li {
    padding: 0px;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #keb #header,
.mbl #keb #header a#banner_link img,
.mbl #keb #navigation {
    width: 100% !important;
}
.mbl #keb #header #logo_image {
    display: none;
}

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

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

.mbl #keb #footer {
	background-color: #322520 !important; /* plug in footer background color */
	background-image: none !important;
}

.mbl #keb #content {
    min-height: unset;
  }

.mbl #keb #navigation {
  display: none;
}
