/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  January 2020
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 12px/1.5 Arial, Helvetica Neue, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #f7f3f3 url(../assets/md5images/8ae2bedff8394ca4e0949e1e59cebcd2.png) repeat-x left top;
}
/* ---------------- Header ---------------- */
#dlr #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
}
#dlr #banner_image {
    display: block;
    width: 980px !important;
    height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}
#dlr #banner_link { line-height: 0; } /* removes header/nav gap in mbl */
    /* --- Logo --- */
#dlr #logo_image,
#dlr #header a#logo_link { 
  display: none;
}
#dlr #header a#banner_link:focus img,
#dlr #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */
#dlr #navigation,
#dlr #navigation #tabs {
    height: 42px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
    background: transparent;
}
/* Flexbox Navigation July 2018 */
#dlr #navigation #tabs,
#dlr #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%;
}
#dlr #navigation #tabs,
#dlr #navigation #tabs ul,
#dlr #navigation #tabs ul li {
    padding: 0;
    margin: 0; }
#dlr #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: 42px;
    color: #fff;
    background-color: transparent;
    padding: 0 10px;
    margin: 0;
    border: 0;
  }
#dlr #navigation #tabs a:hover,
#dlr #navigation #tabs a:active,
#dlr #navigation #tabs a:focus {
    text-decoration: underline;
}
#dlr #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
    border-right: none; }
#dlr #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 */
#dlr #navigation #tabs li:first-child a { padding-left: 15px; }
/* ---------------- Sidebar ---------------- */
#dlr #sidebar { padding-top: 16px; }
#dlr #sidebar a:link,
#dlr #sidebar a:visited {
    font: normal 13px Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #8b2332;
    text-decoration: none;
}
#dlr #sidebar a:hover,
#dlr #sidebar a:active,
#dlr #sidebar a:focus {
    color: #000;
    text-decoration: underline;
}
    /* --- Highlighted sidebar links --- */
#dlr #sidebar ul#navlist {
    border-top: none; }  /* border added by ir-custom.css by default */
#dlr #sidebar ul#navlist li:first-child a {
    border-top: 1px solid #fff; /* border is removed if #navlist has no content */
}
#dlr #sidebar ul#navlist li a {
    color: #fff;
    transition: background 0.3s ease;
    font-weight: normal;
    background-color: #8b2332;
    border-bottom: 1px solid #c6a4a9 ;
}
        /* Sidebar link colors */
#dlr #sidebar ul#navlist li a:active,
#dlr #sidebar ul#navlist li a:hover,
#dlr #sidebar ul#navlist li a:focus {
    color: #000;
    background-color: #fff;
}
#dlr #sidebar ul#navlist li:last-child a { border-bottom: none; }
    /* --- Sidebar text --- */
#dlr #sidebar .sidebar-search label,
#dlr .sidebar-search h2,
#dlr #sidebar #issn p {
    color: #000; /* Search, "Enter search terms," ISSN" */
    border: 0; }
#dlr .sidebar-search h2 { 
  font: bold 12px Arial, Helvetica Neue, Helvetica, sans-serif;
  text-indent: 20px;}
#dlr #sidebar #browse,
#dlr #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */
#dlr #sidebar p.advanced + div { display: none; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
/* ---------------- Main Content ---------------- */
#dlr #wrapper { /* for full-length sidebar content background/elements */
    background: url(../assets/md5images/809fa021880ec0c1f0dfbaecb3d89b96.gif) repeat-y left top; }
#dlr #content { background-color: #ffffff; }
#sub { margin-top: 22px; }
    /* --- Breadcrumbs --- */
#dlr #main.text div.crumbs p { margin-bottom: 0; }
#dlr #main.text div.crumbs a {
    text-decoration: none;
    color: #8b2332;
}
#dlr #main.text div.crumbs a:hover,
#dlr #main.text div.crumbs a:active,
#dlr #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
    /* --- Headers --- */
#dlr #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 */
}
#dlr .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 --- */
#dlr #main.text a:link,
#dlr #main.text a:visited {
    text-decoration: underline;
    color: #8b2332; }
#dlr #main.text a:hover,
#dlr #main.text a:active,
#dlr #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
#dlr #main.text .article-list a:link,
#dlr #main.text .article-list a:visited {
    text-decoration: none; }
#dlr #main.text .article-list a:hover,
#dlr #main.text .article-list a:active,
#dlr #main.text .article-list a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* --- PDF icons and article lists --- */
#dlr #main.text div.doc { margin: 0 0 15px; }
/* Replacing rule on line 227 to style all options and not break mobile PDF buttons */
/*#dlr #main.text div.article-list .pdf { width: auto; }*/
#dlr div.article-list .pdf,
#dlr div.article-list .native,
#dlr div.article-list .external,
#dlr div.article-list .none .openurl,
#dlr div.article-list .none,
#dlr div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#dlr #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 */
#dlr #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; }
#dlr #coverart #beta .coverart-box {
    font: normal 12px Arial, Helvetica Neue, Helvetica, sans-serif;
    border: 0; }
#dlr #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; }
*/
#dlr #coverart #beta dl  {
    margin-left: 0; }
#dlr #coverart #beta #coverart-editors dt {
    font-size: 12px;
    padding-top: 10px; }
#dlr #coverart #beta #coverart-editors dd {
  padding-top: 3px;
}
        /* Cover art disabled (not needed usually) */
#dlr #masthead h2.masthead { font: 400 21px Georgia, Times, Times New Roman, serif; }
#dlr #masthead tr th {
}
#dlr #masthead tr td {
}
/* ---------------- Footer ---------------- */
#dlr #footer {
    height: 76px;
    background: transparent; }
#dlr #footer #bepress a {
    height: 76px;
    background-color: #8b2332; }
#dlr #footer p,
#dlr #footer p a  {
    font: normal 12px/2 Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none; }
#dlr #footer p:first-of-type { padding-top: 14px; } 
#dlr #footer p a:hover,
#dlr #footer p a:active,
#dlr #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
  outline: 1px dashed #000;
}
#dlr {
    background: url(../assets/md5images/aa3c6a9c10b8a09a5ba939f565632cff.gif) repeat-x left bottom;
}

#dlr #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 #dlr #wrapper:after {
    content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #dlr #wrapper { background-image: none; }
/* ---------------- Mobile ---------------- */
.mbl #navigation #tabs {
    display: none;
}
.mbl #dlr #sidebar ul#navlist li a {
    padding: 6px 0px;
}
.mbl #dlr #sidebar ul#navlist li {
    padding: 0px;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #dlr #header,
.mbl #dlr #header a#banner_link img,
.mbl #dlr #navigation {
    width: 100% !important;
}
.mbl #dlr #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 0;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 24.4897959183% !important;  /* 240 / 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 #dlr #navigation {
  background-color: #8b2332;
}

#dlr .article-list p {padding-top:0; padding-bottom:0;}

#dlr #main.text .article-list p span.doctitle {display:block; width:320px; float:left;padding-top:5px;margin-right:5px;}
#dlr #main.text .article-list p span.auth {display:block; width: 140px; float:left; margin-bottom:0;padding-top:5px;}
#dlr #main.text .article-list p span.pageno {display:block; width:80px; float:left; padding-top:5px; text-align:right;}

#dlr #container #wrapper h2#top {
font-size: 23px;
}


#dlr #container ul.sb-custom-journal {
	padding-bottom: 30px;
	}
	
#dlr #container #sidebar div#navcontainer {
	padding-bottom: 30px;
	}