/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  November 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 13px/1.5 'Roboto', sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(assets/md5images/59a569fe25ff0caa0457ab38bcb43b92.png) repeat-x left top;
}
/* ---------------- Header ---------------- */
#jhkcc #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
}
#jhkcc #banner_image {
    display: block; /* removes descender of inline element */
    width: 980px; /* not necessary if image is sized correctly */
    height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}
    /* --- Logo --- */
#jhkcc #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 0;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 17.34693877% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}
#jhkcc #header a#banner_link:focus img,
#jhkcc #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */
#jhkcc #navigation,
#jhkcc #navigation #tabs {
    height: 56px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
}
#jhkcc #navigation #tabs,
#jhkcc #navigation #tabs ul,
#jhkcc #navigation #tabs ul li {
    padding: 0;
    margin: 0;
}
/* Flexbox Navigation July 2018 */
#jhkcc #navigation #tabs,
#jhkcc #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%;
}
#jhkcc #navigation #tabs a {
    font: normal 16px 'Roboto', sans-serif;
    display: block;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    height: 16px;
    line-height: 16px;
    color: #c70300;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    padding: 0 11px; /* with arial bold, this fits */
    margin: 20px 0;
    border: 0;
    border-right: 1px solid #e2e2e2;
    /* float: left; Not needed? Using flexbox now */
}
#jhkcc #navigation #tabs a:hover,
#jhkcc #navigation #tabs a:active,
#jhkcc #navigation #tabs a:focus {
    color: #000000;
    background-color: #fff;
    text-decoration: underline;
}
#jhkcc #navigation #tabs li:first-child a { padding-left: 15px; }
#jhkcc #navigation #tabs li:last-child a {
    border-right: none;
}
/* ---------------- Sidebar ---------------- */
#jhkcc #sidebar h2 {
    font: bold 15px 'Roboto', sans-serif;
    color: #464a4e;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
}
#jhkcc #sidebar a {
    font: normal 13px 'Roboto', sans-serif;
    color: #7f5d3d;
    text-decoration: none;
}
#jhkcc #sidebar a:hover,
#jhkcc #sidebar a:active,
#jhkcc #sidebar a:focus {
    color: #000000;
    text-decoration: underline;
}
#jhkcc #sidebar #sidebar-search label {
    font: normal 13px 'Roboto', sans-serif;
    color: #464a4e;
}
#jhkcc #sidebar #sidebar-search {
    margin-top: 8px;
    padding-left: 15px;
}
#jhkcc #sidebar ul#side-notify {
  padding-top: 0;
}
#jhkcc #sidebar #sidebar-search span.border { background: transparent; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
/* ---------------- Main Content ---------------- */
#jhkcc #wrapper { /* for full-length sidebar content background/elements */
    background: url(assets/md5images/efd44bd88daf6e93fd7363f363b62b5c.gif) repeat-y left top;
}
/*#jhkcc #content { padding-top: 16px; }*/
    /* --- Breadcrumbs --- */
#jhkcc #main.text div.crumbs a:link,
#jhkcc #main.text div.crumbs a:visited {
    text-decoration: none;
    color: #c70300;
}
#jhkcc #main.text div.crumbs a:hover,
#jhkcc #main.text div.crumbs a:active,
#jhkcc #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
#jhkcc #dcn-home > #homepage-intro { margin: 15px 0; }
 /* adds space under full-width main-content image */
#jhkcc #home-page-banner { margin-bottom: 16px; }
    /* --- Headers --- */
#jhkcc #dcn-home > h2 {
    font: normal 21px 'Roboto', sans-serif;
}
h3 {
    margin: 0;
    text-decoration: underline; }
/* FF 55 takes parent element's color a text-deoration-color (black, usually) */
#dcn-home #cover-browse h3 { color: #c70300; }
#jhkcc #dcn-home #cover-browse h3 a {
    font: 400 17px/1.6 'Roboto', sans-serif;
    text-decoration: none;
}
#jhkcc #dcn-home #cover-browse h3 a:hover,
#jhkcc #dcn-home #cover-browse h3 a:focus,
#jhkcc #dcn-home #cover-browse h3 a:active {
    text-decoration: underline;
}
    /* --- Links --- */
#jhkcc #main.text a:link,
#jhkcc #main.text a:visited {
    color: #c70300; /* declared for #network-icon text */
}
#jhkcc #main.text a:hover,
#jhkcc #main.text a:active,
#jhkcc #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* PotD / Top DL widgets */
#jhkcc #dcn-home .box.aag h2,
#jhkcc #dcn-home .box.potd h2 {
    width: 267px;
    margin: 0;
    font: normal 16px 'Roboto', sans-serif;
    border-bottom: 1px solid #d3d3d3;
}
#jhkcc #main.text .box a:link,
#jhkcc #main.text .box a:visited {
    font: bold 13px 'Roboto', sans-serif;
    text-decoration: none;
    border-bottom: 1px solid #d3d3d3;
    background: none;
}
#jhkcc #main.text .box a:hover,
#jhkcc #main.text .box a:active,
#jhkcc #main.text .box a:focus {
    text-decoration: underline;
}
    /* article-level text // default values 12px/13px */
#alpha .element p, #custom-fields .element p { font-size: 13px; }
#alpha .element h4, #custom-fields .element h4 { font-size: 14px; }
/* ---------------- Footer ---------------- */
#jhkcc #footer,
#jhkcc #bepress a {
    height: 81px;
    background-color: #eaebeb; }
#jhkcc #footer p,
#jhkcc #footer p a {
    font: normal 12px/2 'Roboto', sans-serif;
    color: #444444;
    text-decoration: none;
}
#jhkcc #footer p:first-of-type { padding-top: 16px } 
#jhkcc #footer p a:hover,
#jhkcc #footer p a:active,
#jhkcc #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
      outline: 1px dashed #000;
}
#jhkcc {
    background: url(assets/md5images/01f614bf63edce20b333a68afc05a995.gif) repeat-x left bottom;
}
#jhkcc #content {
    min-height: calc(100vh - 250px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #jhkcc #wrapper:after {
	content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #jhkcc #wrapper {  background-image: none; }
/* Browse Authors accessibility fix- CSFR-2648 */
#jhkcc #main.text .authorbrowser p.letters a:hover,
#jhkcc #main.text .authorbrowser p.letters a:focus {
    background: url(/assets/azMe.jpg) bottom center no-repeat;
    color: #fff;
}
/* ---------------- Mobile ---------------- */
/*fixes bullet underline for Browse Research and Scholarship links*/
.mbl #main #cover-browse h3 { text-decoration: none; }
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}
.mbl #jhkcc #main.text #dcn-home .box.aag h2,
.mbl #jhkcc #main.text #dcn-home .box.potd h2 {
  width: 100%;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #jhkcc #header,
.mbl #jhkcc #header a#banner_link img,
.mbl #jhkcc #navigation {
    width: 100% !important;
}
.mbl #jhkcc #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 0;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 17.34693877% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

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

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