/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 14px/1.5 Arial, Helvetica Neue, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(../assets/md5images/6f67b5d36d65b34852dad4ec43d89709.jpg) repeat-y center top;
    /*background-size: cover;*/
}
/* ---------------- Header ---------------- */
#inti #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
  background: transparent;
}
#inti #banner_image {
    display: block;
    width: 980px !important;
    height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}
#inti #banner_link { line-height: 0; } /* removes header/nav gap in mbl */
    /* --- Logo --- */
#inti #logo_image,
#inti #header a#logo_link { 
  display: none;
}
#inti #header a#banner_link:focus img,
#inti #header a#logo_link:focus img {
  outline: 1px dashed #fff;
}
/* ---------------- Navigation ---------------- */
#inti #navigation,
#inti #navigation #tabs {
    height: 38px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap; }
/* Flexbox Navigation July 2018 */
#inti #navigation #tabs,
#inti #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%;
}
#inti #navigation #tabs,
#inti #navigation #tabs ul,
#inti #navigation #tabs ul li {
    padding: 0;
    margin: 0; }
#inti #navigation #tabs a {
    font: normal 15px 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: 38px;
    color: #000;
    background-color: transparent;
    padding: 0 11px;
    margin: 0;
    border: 0;
    border-right: none;
    text-transform: uppercase;
  }
#inti #navigation #tabs a:hover,
#inti #navigation #tabs a:active,
#inti #navigation #tabs a:focus {
    text-decoration: underline;
}
#inti #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
    border-right: none; }
#inti #navigation #tabs a span { font-size: 15px; }  /* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */
#inti #navigation #tabs li:first-child a { padding-left: 15px; }
/* ---------------- Sidebar ---------------- */
#inti #sidebar { padding-top: 16px; }
#inti #sidebar a:link,
#inti #sidebar a:visited {
    font: normal 15px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #104e7b;
    text-decoration: none;
}
#inti #sidebar a:hover,
#inti #sidebar a:active,
#inti #sidebar a:focus {
    color: #000;
    text-decoration: underline;
}
#inti #sidebar li.sb-special-label h3 {
  letter-spacing: .1em;
}
    /* --- Highlighted sidebar links --- */
#inti #sidebar ul#navlist {
    border-top: none; }  /* border added by ir-custom.css by default */
#inti #sidebar ul#navlist li:first-child a {
    border-top: 1px solid #a38a48; /* border is removed if #navlist has no content */
}
#inti #sidebar ul#navlist li a {
    color: #f5cf6c;
    transition: background 0.3s ease;
    font-weight: normal;
    background-color: #000;
    border-bottom: 1px solid #a38a48;
    font-size: 14px;
}
        /* Sidebar link colors */
#inti #sidebar ul#navlist li a:active,
#inti #sidebar ul#navlist li a:hover,
#inti #sidebar ul#navlist li a:focus {
    text-decoration: underline;
}

    /* --- Sidebar text --- */
#inti #sidebar .sidebar-search label,
#inti .sidebar-search h2,
#inti #sidebar #issn p {
    color: #000; /* Search, "Enter search terms," ISSN" */
    border: 0;
    font-size: 14px; 
}
#inti .sidebar-search h2 { font: bold 14px Arial, Helvetica Neue, Helvetica, sans-serif; }
#inti #sidebar #browse,
#inti #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */
#inti #sidebar p.advanced + div { display: none; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
/* ---------------- Main Content ---------------- */
#inti #wrapper { /* for full-length sidebar content background/elements */
    background: url(../assets/md5images/598e278d2e9beb21c78328bbf6079c8c.gif) repeat-y left top; }
#inti #content { background-color: #ffffff; }
#sub { margin-top: 22px; }
    /* --- Breadcrumbs --- */
#inti #breadcrumb a, 
#inti .crumbs p a, 
#inti #pager li {
  font-size: 12px;
}
#inti #main.text div.crumbs p { margin-bottom: 0; }
#inti #main.text div.crumbs a {
    text-decoration: none;
    color: #104e7b;
}
#inti #main.text div.crumbs a:hover,
#inti #main.text div.crumbs a:active,
#inti #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
    /* --- Headers --- */
#inti #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
    font: normal 23px Georgia, Times, Times New Roman, serif; /* Current Issue */
}
#inti .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
    font: normal 22px 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 --- */
#inti #main.text a:link,
#inti #main.text a:visited {
    text-decoration: underline;
    color: #104e7b; }
#inti #main.text a:hover,
#inti #main.text a:active,
#inti #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
#inti #main.text .article-list a:link,
#inti #main.text .article-list a:visited {
    text-decoration: none; }
#inti #main.text .article-list a:hover,
#inti #main.text .article-list a:active,
#inti #main.text .article-list a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* --- PDF icons and article lists --- */
#inti #main.text div.doc { margin: 0 0 15px; }
/* Replacing rule on line 227 to style all options and not break mobile PDF buttons */
/*#inti #main.text div.article-list .pdf { width: auto; }*/
#inti div.article-list .pdf,
#inti div.article-list .native,
#inti div.article-list .external,
#inti div.article-list .none .openurl,
#inti div.article-list .none,
#inti div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#inti #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 */
#inti #coverart #beta .coverart-box h4 {
    font: normal 19px Georgia, Times, Times New Roman, serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf; }
#inti #coverart #beta .coverart-box {
    font: normal 14px Arial, Helvetica Neue, Helvetica, sans-serif;
    border: 0; }
#inti #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; }
*/
#inti #coverart #beta dl  {
    margin-left: 0; }
#inti #coverart #beta #coverart-editors dt {
    font-size: 14px;
    padding-top: 10px; }
#inti #coverart #beta #coverart-editors dd {
  padding-top: 3px;
}
        /* Cover art disabled (not needed usually) */
#inti #masthead h2.masthead,
#inti #masthead caption {
  font: 400 22px Georgia, Times, Times New Roman, serif;
  float: left;
}
#inti #masthead tr th {
}
#inti #masthead tr td {
}
/* ---------------- Footer ---------------- */
#inti #footer,
#inti #footer #bepress a {
    height: 83px;
    background-color: #000; }
#inti #footer p,
#inti #footer p a  {
    font: normal 12px/2 Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #f5cf6c;
    text-decoration: none; }
#inti #footer p:first-of-type { padding-top: 17px; }
#inti #footer p a:hover,
#inti #footer p a:active,
#inti #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
  outline: 1px dashed #f5cf6c;
}

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

.mbl #sidebar #issn p.sb-issn,
.mbl #sidebar #issn p.sb-extra-issn {
	pointer-events: none;
}
.mbl #inti #content {
    min-height: unset;
}
.mbl #inti #header {
background: url(../assets/md5images/34e333ad8c5a9467da1151643869e59b.png) no-repeat left top;
}
.mbl #inti #footer #bepress a {
	background: transparent url(../assets/md5images/153fd85d99aeff2f2592c78391e970d4.gif) center no-repeat !important;
	height: 50px !important;
	margin: 0px !important;
}

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