/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  November 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 14px/1.5 Arial, Verdana, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #f1f1f1 url(assets/md5images/1cd8586ba779b27732306050d9d26bbf.png) repeat-x left top;
}
/* ---------------- Header ---------------- */
#wright #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
}
#wright #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 --- */
#wright #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 24.28571428%;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 43.979591836% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

#wright #logo_image2 {
    position: absolute !important; /* !important overrides mbl styling */
    top: 55%;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 43.979591836% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}
#wright #header a#banner_link:focus img,
#wright #header a#logo_link:focus img {
  outline: 1px dashed #cea052;
}
/* ---------------- Navigation ---------------- */
#wright #navigation,
#wright #navigation #tabs {
    height: 47px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
}
#wright #navigation {
  border-bottom: 1px solid #d3d3d3;
}
#wright #navigation #tabtwo,
#wright #navigation #tabthree {
  display: none;
}
#wright #navigation #tabs,
#wright #navigation #tabs ul,
#wright #navigation #tabs ul li {
    padding: 0;
    margin: 0;
}
/* Flexbox Navigation July 2018 */
#wright #navigation #tabs,
#wright #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%;
}
#wright #navigation #tabs a {
    font: normal 17px "Roboto Condensed", Arial, Verdana, Helvetica, sans-serif;
    display: block;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    height: 47px;
    line-height: 47px;
    color: #666666;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    padding: 0 11px; /* with arial bold, this fits */
    margin: 0;
    border: 0;
    border-right: none;
}
#wright #navigation #tabs a:hover,
#wright #navigation #tabs a:active,
#wright #navigation #tabs a:focus {
    color: #000000;
    background-color: #f1f1f1;
    text-decoration: underline;
}
#wright #navigation #tabs li:first-child a { padding-left: 15px; }
#wright #navigation #tabs li:last-child a {
    border-right: none;
}
/* ---------------- Sidebar ---------------- */
#wright #sidebar h2 {
    font: normal 23px "Roboto Condensed", Arial, Verdana, Helvetica, sans-serif;
    color: #000;
    background: transparent;
    padding: 0;
    margin: 0 20px 0 10px;
    border: none;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    text-indent: 5px;
}
#wright #sidebar p.advanced {
  margin-bottom: 10px;
}
#wright #sidebar ul#side-notify {
  padding-top: 0;
  display: none;
}
#wright #sidebar a {
    font: normal 16px "Roboto Condensed", Arial, Verdana, Helvetica, sans-serif;
    color: #046a38;
    text-decoration: none;
}

#wright #sidebar a:hover,
#wright #sidebar a:active,
#wright #sidebar a:focus {
    color: #000000;
    text-decoration: underline;
}
#wright #sidebar #sidebar-search label {
    font: normal 14px Arial, Verdana, Helvetica, sans-serif;
    color: #000;
}
#wright #sidebar #sidebar-search {
    margin-top: 10px;
    padding-left: 15px;
}
#wright #sidebar #sidebar-search span.border { background: transparent; }

#wright input#search.search { border-color: #cea052; }

#wright input.searchbutton {
    font-size: 10px;
    background: #cea052;
    border: 0;
    border-top: 1px solid #cea052;
    padding: 4px 7px;
    margin-left: -5px;
    color: #000;
}
.mbl #wright input.searchbutton {
color: #000;
}
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

#wright #sidebar #social {
  height: 39px;
  display: flex;
  justify-content: flex-start;
  margin: 10px 0;
}
#wright #sidebar #social a:first-of-type {
  padding-left: 15px;
}
#wright #sidebar #social a {
  margin-right: 10px;
}
#wright #sidebar #social a:active img,
#wright #sidebar #social a:hover img,
#wright #sidebar #social a:focus img {
  outline: 1px dashed #000;
}
#wright #sidebar #social a:active,
#wright #sidebar #social a:hover,
#wright #sidebar #social a:focus {
  border-bottom: none;
}

#wright #sidebar .sidebar-search form {
    padding-left: 15px;
}

#wright #sidebar .sidebar-search form label {
    color: #000;
}

#wright #sidebar ul#navlist li a:active, 
#wright #sidebar ul#navlist li a:focus {
    border-bottom: 1px solid #046a38;
}
/* ---------------- Main Content ---------------- */
#wright #wrapper { /* for full-length sidebar content background/elements */
    background: url(assets/md5images/28e3db83da94743b39e54a1eb8a2e398.gif) repeat-y left top;
    margin: 10px 0;
}
/*#wright #content { padding-top: 16px; }*/
    /* --- Breadcrumbs --- */
#wright #main.text div.crumbs a:link,
#wright #main.text div.crumbs a:visited {
    text-decoration: none;
    color: #046a38;
}
#wright #main.text div.crumbs a:hover,
#wright #main.text div.crumbs a:active,
#wright #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
#wright #dcn-home > #homepage-intro { margin: 5px 0; }
 /* adds space under full-width main-content image */
#wright #home-page-banner { margin-bottom: 16px; }
    /* --- Headers --- */
#wright #dcn-home > h2,
#wright #dcn-home #homepage-intro h2 {
    font: normal 21px "Roboto Condensed", Arial, Verdana, Helvetica, sans-serif;
    text-transform: uppercase;
}
#wright #dcn-home #homepage-intro h2 {
  margin-top: 6px;
}
#wright #dcn-home #homepage-intro h2 a.btn.followable {
  text-transform: capitalize;
}
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: #046a38; }
#wright #dcn-home #cover-browse h3 a {
    font: 400 17px/1.6 Arial, Verdana, Helvetica, sans-serif;
    text-decoration: none;
}
#wright #dcn-home #cover-browse h3 a:hover,
#wright #dcn-home #cover-browse h3 a:focus,
#wright #dcn-home #cover-browse h3 a:active {
    text-decoration: underline;
}
    /* --- Links --- */
#wright #main.text a:link,
#wright #main.text a:visited {
    color: #046a38; /* declared for #network-icon text */
}
#wright #main.text a:hover,
#wright #main.text a:active,
#wright #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* PotD / Top DL widgets */
#wright #dcn-home .box.aag h2,
#wright #dcn-home .box.potd h2 {
    width: 267px;
    margin: 0;
    font: normal 18px "Roboto Condensed", Arial, Verdana, Helvetica, sans-serif;
    text-transform: uppercase;
    border-bottom: 1px solid #d3d3d3;
}
#wright #main.text .box a:link,
#wright #main.text .box a:visited {
    font: bold 13px Arial, Verdana, Helvetica, sans-serif;
    text-decoration: none;
    border-bottom: 1px solid #d3d3d3;
    background: none;
}
#wright #main.text .box a:hover,
#wright #main.text .box a:active,
#wright #main.text .box a:focus {
    text-decoration: underline;
}
    /* article-level text // default values 12px/13px */
#alpha .element p, #custom-fields .element p { font-size: 14px; }
#alpha .element h4, #custom-fields .element h4 { font-size: 15px; }

#wright #series-home .pdf,
#wright #series-home .native,
#wright #series-home .metadata-only,
#wright #series-home .external {
  line-height: 2.45em;
}
/* slideshow */
#dcn-home #slideshow {
    width: 100%;
    margin-top: 20px;
}

#wright .newCarousel { border: #dedede solid 1px; }

/* Home buttons */
#wright #main.text #homebuttons {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
#wright #main.text #homebuttons a {
  width: 324px;
  height: 52px;
  font: normal 17px "Roboto Condensed", Arial, Verdana, Helvetica, sans-serif;
  color: #fff;
  text-transform: uppercase;
  background-color: #046a38;
  margin-bottom: 16px;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  text-decoration: none;
}
#wright #main.text #homebuttons a img {
  padding-right: 5px;
}
#wright #main.text #homebuttons a:active,
#wright #main.text #homebuttons a:hover,
#wright #main.text #homebuttons a:focus {
  text-decoration: none;
  border-bottom: none;
}
#wright #main.text #homebuttons a:active p,
#wright #main.text #homebuttons a:hover p,
#wright #main.text #homebuttons a:focus p {
  text-decoration: underline;
}
#wright #main.text #homebuttons a p {
  margin: 0;
  text-decoration: none;
  padding-left: 15px;
  padding-right: 5px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
#wright #main.text #homebuttons a:nth-child(odd) {
    margin-right: 18px;
}
#wright #main.text #ir-peer h4 {
  font-size: 18px;
}

#wright #discipline-browser .discipline-browser dd, 
#wright #discipline-browser .new-discipline dd,
#wright .discipline-block .entry p {
  font-size: 14px;
}

#wright #discipline-browser .discipline-browser dt, 
#wright #discipline-browser .new-discipline dt,
#wright .discipline-block h2 {
  font-size: 18px;
  line-height: 24px;
}
#wright .discipline-block h4 {
  font-size: 16px;
}
#wright .discipline-switch {
  font-size: 14px;
}
/* ---------------- Footer ---------------- */
#wright #footer,
#wright #bepress a {
    height: 96px;
    background-color: #026636; }
#wright #footer p,
#wright #footer p a {
    font: normal 12px/2 Arial, Verdana, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none;
}

#wright #footer { position: relative; }

a#footer-logo-link { margin: 0; }

#footerlogo {
	position: absolute;
	top: 0;
	right: 0;
 }

#wright #footer a#footer-logo-link:focus img {
	outline: 1px dashed #cea052;
}

#wright #footer p:first-of-type { padding-top: 24px }
#wright #footer p a:hover,
#wright #footer p a:active,
#wright #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
      outline: 1px dashed #cea052;
}
#wright {
	background: url(assets/md5images/afa0014a8eaeaa7939f558c00f01d678.gif) repeat-x left bottom;
}
#wright #content {
    min-height: calc(100vh - 304px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #wright #wrapper:after {
    content: none; /* search pages */
}
.legacy #wright #wrapper {
  margin-bottom: 0;
}
.legacy #wright #content {
  min-height: calc(100vh - 294px);
}
#wright #container #footer a.secondary-link {
  font-size: 12px;
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #wright #wrapper {  background-image: none; }
/* Browse Authors accessibility fix- CSFR-2648 */
#wright #main.text .authorbrowser p.letters a:hover,
#wright #main.text .authorbrowser p.letters a:focus {
    background: url(/assets/azMe.jpg) bottom center no-repeat;
    color: #fff;
}

   /* --- Hide OpenURL link in favor of custom button --- */
#wright #main.text #open-url {
    display:none;
}

/* ---------------- 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 #wright #main.text #dcn-home .box.aag h2,
.mbl #wright #main.text #dcn-home .box.potd h2 {
  width: 100%;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #wright #header,
.mbl #wright #header a#banner_link img,
.mbl #wright #navigation {
    width: 100% !important;
}
.mbl #wright #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 24.28571428%;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 43.979591836% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

.mbl #wright #header #logo_image2 {
    position: absolute !important; /* !important overrides mbl styling */
    top: 55%;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 43.979591836% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

.mbl #footer-logo-link { display: none; }
