/* -----------------------------------------------
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, Verdana, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(../assets/md5images/f9c518f31c06e87c3536893c332128ae.png) repeat-x left top;
}
/* ---------------- Header ---------------- */
#llr #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
  margin: 1px 0;
  background-color: #ab1e31;
}
#llr #banner_image {
    display: block;
    width: 980px !important;
    height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}
#llr #banner_link { line-height: 0; } /* removes header/nav gap in mbl */
    /* --- Logo --- */
#llr #logo_image { /* include an image for accessibility */
    position: absolute !important; /* !important overrides mbl styling */
    top: 0;
    left: 0;  /* change to "left:" for left aligned logo */
    width: 10.2040816326531% !important;  /* 200 / 980 */
    height: auto;
}
#llr #header a#banner_link:focus img,
#llr #header a#logo_link:focus img {
  outline: 1px dashed #fff;
}
/* ---------------- Navigation ---------------- */
#llr #navigation,
#llr #navigation #tabs {
    height: 36px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap; }
/* Flexbox Navigation July 2018 */
#llr #navigation #tabs,
#llr #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%;
}
#llr #navigation #tabs,
#llr #navigation #tabs ul,
#llr #navigation #tabs ul li {
    padding: 0;
    margin: 0; }
#llr #navigation #tabs a {
    font: normal 12px Arial, Verdana, 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: #fff;
    background-color: transparent;
    padding: 0 11px;
    margin: 0;
    border: 0;
    border-right: none;
  }
#llr #navigation #tabs a:hover,
#llr #navigation #tabs a:active,
#llr #navigation #tabs a:focus {
    text-decoration: underline;
}
#llr #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 */
#llr #navigation #tabs li:first-child a { padding-left: 15px; }
/* ---------------- Sidebar ---------------- */
#llr #sidebar { padding-top: 16px; }
#llr #sidebar a:link,
#llr #sidebar a:visited {
    font: normal 13px Arial, Verdana, Helvetica, sans-serif;
    color: #ab1e31;
    text-decoration: none;
}
#llr #sidebar a:hover,
#llr #sidebar a:active,
#llr #sidebar a:focus {
    color: #000;
    text-decoration: underline;
}
    /* --- Highlighted sidebar links --- */
#llr #sidebar ul#navlist {
    border-top: none; }  /* border added by ir-custom.css by default */
#llr #sidebar ul#navlist li:first-child a {
    border-top: 1px solid #9d1a2c; /* border is removed if #navlist has no content */
}
#llr #sidebar ul#navlist li a {
    color: #fff;
    transition: background 0.3s ease;
    font-weight: normal;
    background-color: #ab1e31;
    border-bottom: 1px solid #9d1a2c;
}
        /* Sidebar link colors */
#llr #sidebar ul#navlist li a:active,
#llr #sidebar ul#navlist li a:hover,
#llr #sidebar ul#navlist li a:focus {
    color: #fff;
    background-color: #9d1a2c;
}

#llr #sidebar #sb-custom a:active img,
#llr #sidebar #sb-custom a:hover img,
#llr #sidebar #sb-custom a:focus img {
  outline: 1px dashed #000;
}
    /* --- Sidebar text --- */
#llr #sidebar .sidebar-search label,
#llr .sidebar-search h2,
#llr #sidebar #issn p {
    color: #000; /* Search, "Enter search terms," ISSN" */
    border: 0; }
#llr .sidebar-search h2 { font: bold 13px Arial, Verdana, Helvetica, sans-serif; }
#llr #sidebar #browse,
#llr #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */
#llr #sidebar p.advanced + div { display: none; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
/* ---------------- Main Content ---------------- */
#llr #wrapper { /* for full-length sidebar content background/elements */
    background: url(../assets/md5images/3f168fec3608773a71d9fb3eec9d958d.gif) repeat-y left top; }
#llr #content { background-color: #ffffff; }
#sub { margin-top: 22px; }
    /* --- Breadcrumbs --- */
#llr #main.text div.crumbs p { margin-bottom: 0; }
#llr #main.text div.crumbs a {
    text-decoration: none;
    color: #ab1e31;
}
#llr #main.text div.crumbs a:hover,
#llr #main.text div.crumbs a:active,
#llr #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
    /* --- Headers --- */
#llr #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
    font: normal 22px Georgia, "Times New Roman", Times, serif; /* Current Issue */
}
#llr .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
    font: normal 21px Georgia, "Times New Roman", Times, serif;
    background: transparent;   /* removes background and adds a line under doctype header */
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 0;
    margin-bottom: 25px;
}
    /* --- Links --- */
#llr #main.text a:link,
#llr #main.text a:visited {
    text-decoration: underline;
    color: #ab1e31; }
#llr #main.text a:hover,
#llr #main.text a:active,
#llr #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
#llr #main.text .article-list a:link,
#llr #main.text .article-list a:visited {
    text-decoration: none; }
#llr #main.text .article-list a:hover,
#llr #main.text .article-list a:active,
#llr #main.text .article-list a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* --- PDF icons and article lists --- */
#llr #main.text div.doc { margin: 0 0 15px; }
/* Replacing rule on line 227 to style all options and not break mobile PDF buttons */
/*#llr #main.text div.article-list .pdf { width: auto; }*/
#llr div.article-list .pdf,
#llr div.article-list .native,
#llr div.article-list .external,
#llr div.article-list .none .openurl,
#llr div.article-list .none,
#llr div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#llr #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 */
#llr #coverart #beta .coverart-box h4 {
    font: normal 18px Georgia, "Times New Roman", Times, serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf; }
#llr #coverart #beta .coverart-box {
    font: normal 13px Arial, Verdana, Helvetica, sans-serif;
    border: 0; }
#llr #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; }
*/
#llr #coverart #beta dl  {
    margin-left: 0; }
#llr #coverart #beta #coverart-editors dt {
    font-size: 13px;
    padding-top: 10px; }
#llr #coverart #beta #coverart-editors dd {
  padding-top: 3px;
}
        /* Cover art disabled (not needed usually) */
#llr #masthead h2.masthead,
#llr #masthead caption {
  font: 400 21px Georgia, "Times New Roman", Times, serif;
  float: left;
}
#llr #masthead tr th {
}
#llr #masthead tr td {
}
/* Small Caps rule needed for Bluebook citation */
.smallcaps {
  font-variant: small-caps;
}

#llr #alpha .element p, 
#llr #custom-fields .element p {
  font-size: 13px;
}

/* ---------------- Footer ---------------- */
#llr {
    background: url(../assets/md5images/c0a2a551442fb93e4ade5f9f3dc3815c.gif) repeat-x left bottom;
}

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

#llr #footer {
    height: 75px;
    background-color: #000; }
#llr #footer #bepress a {
    height: 73px;
    background-color: #000; 
    margin: 1px 0;
  }
#llr #footer p,
#llr #footer p a  {
    font: normal 12px/2 Arial, Verdana, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none; }
#llr #footer p:first-of-type { padding-top: 13px; }
#llr #footer p a:hover,
#llr #footer p a:active,
#llr #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
  outline: 1px dashed #fff;
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #llr #wrapper { background-image: none; }
/* ---------------- Mobile ---------------- */
.mbl #navigation #tabs {
    display: none;
}
.mbl #llr #sidebar ul#navlist li a {
    padding: 6px 0px;
}
.mbl #llr #sidebar ul#navlist li {
    padding: 0px;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #llr #header,
.mbl #llr #header a#banner_link img,
.mbl #llr #navigation {
    width: 100% !important;
}
.mbl #llr #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 0;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 10.2040816326531% !important;  /* 200 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

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

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

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

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

.mbl #llr #header {
  margin: 0 !important;
}
