/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 16px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(assets/md5images/2d000ce52241f2203c9c0e36621840f6.png) no-repeat center top;
}
/* ---------------- Header ---------------- */
#cwu #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
  background: transparent;
}
#cwu #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 --- */
#cwu #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 34.666666666667%;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 29.795918367% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}
#cwu #header a#banner_link:focus img,
#cwu #header a#logo_link:focus img {
  outline: 1px dashed #fff;
}
/* ---------------- Navigation ---------------- */
#cwu #navigation,
#cwu #navigation #tabs {
    height: 48px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
}
#cwu #navigation #tabs,
#cwu #navigation #tabs ul,
#cwu #navigation #tabs ul li {
    padding: 0;
    margin: 0;
}
/* Flexbox Navigation July 2018 */
#cwu #navigation #tabs,
#cwu #navigation #tabs ul {
    display: flex;
    justify-content: center; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
    width: 100%;
}
#cwu #navigation #tabs a {
    font: bold 16px 'Open Sans', sans-serif;
    display: block;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    height: 48px;
    line-height: 48px;
    color: #fff;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    padding: 0 32px; /* with arial bold, this fits */
    margin: 0;
    border: 0;
    border-right: none;
    text-transform: uppercase;
}
#cwu #navigation #tabs a:hover,
#cwu #navigation #tabs a:active,
#cwu #navigation #tabs a:focus {
    text-decoration: underline;
}

/* ---------------- Sidebar ---------------- */
#cwu #sidebar {
  background-color: #f1f1f1;
  padding-top: 8px;
  margin-top: 40px;
  margin-bottom: 20px;
}
#cwu #sidebar h2 {
    font: bold 18px/1.7 'Open Sans', sans-serif;
    color: #000;
    background: transparent;
    padding: 0;
    margin: 0;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
}
#cwu #sidebar h2#sidesearch {
  border-top: none;
}

#cwu #sidebar a {
    font: normal 16px 'Open Sans', sans-serif;
    color: #dd0d0d;
    text-decoration: none;
}
#cwu #sidebar a:hover,
#cwu #sidebar a:active,
#cwu #sidebar a:focus {
    color: #000000;
    text-decoration: underline;
}
#cwu #sidebar #sidebar-search label {
    font: normal 16px 'Open Sans', sans-serif;
    color: #000;
}
#cwu #sidebar #sidebar-search {
    margin-top: 8px;
    padding-left: 15px;
}
#cwu #sidebar #sidebar-search span.border { background: transparent; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

#cwu #sidebar #lrc-badge a:hover,
#cwu #sidebar #lrc-badge a:active,
#cwu #sidebar #lrc-badge a:focus {
  background: transparent url(/assets/images/lrc_badge.png) center center no-repeat;
  outline: 1px dashed #000;
}

#cwu #sidebar a:hover img,
#cwu #sidebar a:active img,
#cwu #sidebar a:focus img {
  outline: 1px dashed #000;
}

#cwu #sidebar form#browse {
  padding-left: 15px;
}

#cwu #sidebar form label {
  color: #000;
}
#cwu #sidebar ul#side-notify {
  padding-top: 0;
}
/* ---------------- Main Content ---------------- */
#cwu #wrapper { /* for full-length sidebar content background/elements */
    background: url(assets/md5images/d6d867b996df4ec38dcab975ba133f7c.gif) repeat-y left top;
}
#cwu #content #main.text {
  padding-top: 36px;
}
#cwu #dcn-home span.site-follow a {
  margin-left: 0;
}
    /* --- Breadcrumbs --- */
#cwu #main.text div.crumbs a:link,
#cwu #main.text div.crumbs a:visited {
    text-decoration: none;
    color: #dd0d0d;
}
#cwu #main.text div.crumbs a:hover,
#cwu #main.text div.crumbs a:active,
#cwu #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
#cwu #dcn-home > #homepage-intro { margin: 15px 0; }
 /* adds space under full-width main-content image */
#cwu #home-page-banner { margin-bottom: 16px; }
    /* --- Headers --- */
#cwu #dcn-home > h2,
#cwu #main.text h2#hometitle {
    font: normal 21px 'Open Sans', 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: #dd0d0d; }
#cwu #dcn-home #cover-browse h3 a {
    font: 400 17px/1.6 'Open Sans', sans-serif;
    text-decoration: none;
}
#cwu #dcn-home #cover-browse h3 a:hover,
#cwu #dcn-home #cover-browse h3 a:focus,
#cwu #dcn-home #cover-browse h3 a:active {
    text-decoration: underline;
}
    /* --- Links --- */
#cwu #main.text a:link,
#cwu #main.text a:visited {
    color: #dd0d0d; /* declared for #network-icon text */
}
#cwu #main.text a:hover,
#cwu #main.text a:active,
#cwu #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* PotD / Top DL widgets */
#cwu #dcn-home .box.aag h2,
#cwu #dcn-home .box.potd h2 {
    width: 267px;
    margin: 0;
    font: bold 20px 'Open Sans', sans-serif;
    border-bottom: 1px solid #d3d3d3;
}
#cwu #main.text .box a:link,
#cwu #main.text .box a:visited {
    font: bold 16px 'Open Sans', sans-serif;
    text-decoration: none;
    border-bottom: 1px solid #d3d3d3;
    background: none;
}
#cwu #main.text .box a:hover,
#cwu #main.text .box a:active,
#cwu #main.text .box a:focus {
    text-decoration: underline;
}
    /* article-level text // default values 12px/13px */
#alpha .element p, #custom-fields .element p { font-size: 16px; }
#alpha .element h4, #custom-fields .element h4 { font-size: 18px; }

#cwu #alpha #recommended_citation p {
  font-size: 16px;
}

#cwu #series-home .pdf,
#cwu #series-home .native,
#cwu #series-home .metadata-only,
#cwu #series-home .external {
  line-height: 3em;
}
#cwu #breadcrumb a,
#cwu .crumbs p a,
#cwu #pager li {
  font-size: 13px;
}
#cwu .extra {
  font-size: 18px;
}

#cwu .extra .files span {
  font-size: 16px !important;
}
#cwu #beta_7-3 h4 {
  font-size: 16px !important;
}
#cwu #beta-disciplines.aside {
  font-size: 16px;
}
#cwu .discipline-browser dd,
#cwu .new-discipline dd,
#cwu dl.communities dd ul li {
  font-size: 16px;
}
#cwu dl.communities dd ul li {
  line-height: 1.3em;
}
#cwu .discipline-browser dt,
#cwu .new-discipline dt {
  font-size: 18px;
}
#cwu .communities dt,
#cwu .communities dt a:link {
  font-size: 16px;
  font-weight: normal;
}
#cwu #content .subnav li {
  font-size: 13px;
}
#cwu #ir-communities-container a {
  line-height: 1.3em;
}
#cwu .discipline-browser dd, 
#cwu .new-discipline dd {
  padding: 3px 0;
}
/* Homepage buttons */
#cwu #homebuttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 16px;
}
#cwu #homebuttons a {
  width: 45%;
  margin-right: 5%;
  margin-bottom: 5%;
  height: 55px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  outline: 1px solid #e7e7e7;
  text-decoration: none;
}
#cwu #homebuttons a:active,
#cwu #homebuttons a:hover,
#cwu #homebuttons a:focus {
  border-bottom: none;
  text-decoration: underline;
  outline: 1px solid #000;
}

#cwu #homebuttons a h3 {
  font: bold 16px 'Open Sans', sans-serif;
  color: #000;
  text-align: center;
  margin: auto;
  text-decoration: none;
}
#cwu #announce h4 {
  font-size: 18px;
}
#cwu #announce h3 {
  font-size: 16px;
}
/* ---------------- Footer ---------------- */
#cwu #footer {
    height: 80px;
    background-color: #ab0032; }
#cwu #bepress a {
    height: 78px;
    background-color: #ab0032;
    margin: 1px 0;
  }
#cwu #footer p,
#cwu #footer p a {
    font: normal 12px/2 'Open Sans', sans-serif;
    color: #fff;
    text-decoration: none;
}
#cwu #footer p:first-of-type { padding-top: 16px }
#cwu #footer p a:hover,
#cwu #footer p a:active,
#cwu #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
      outline: 1px dashed #fff;
}
#cwu {
    background: url(assets/md5images/caa81a8513f8c0b99f85d4b71ec8c42c.gif) repeat-x left bottom;
}
#cwu #content {
    min-height: calc(100vh - 353px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #cwu #wrapper:after {
	content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #cwu #wrapper {  background-image: none; }
/* Browse Authors accessibility fix- CSFR-2648 */
#cwu #main.text .authorbrowser p.letters a:hover,
#cwu #main.text .authorbrowser p.letters a:focus {
    background: url(/assets/azMe.jpg) bottom center no-repeat;
    color: #fff;
}
/* custom Ask Us pop-out clean-up*/

.lcs_slide_out header {
  background: transparent !important;
  height: unset;
}
.lcs_slide_out header.nav-up {
  top: unset;
}

.lcs_slide_out-r {
  border: none !important;
}

.lcs_slide_out-r.open {
  border: 1px solid #ccc !important;
}
/* ---------------- 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 #cwu #main.text #dcn-home .box.aag h2,
.mbl #cwu #main.text #dcn-home .box.potd h2 {
  width: 100%;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #cwu #header,
.mbl #cwu #header a#banner_link img,
.mbl #cwu #navigation {
    width: 100% !important;
}
.mbl #cwu #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 34.666666666667%;
    left: 0;  /* change to "right:" for right aligned logo */
    width: 29.795918367% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}
.mbl #cwu #content {
	min-height: unset;
}
.mbl #cwu #sidebar {
  padding-top: 0;
  padding-bottom: 0;
}
.mbl #cwu #header {
  background: url(assets/md5images/2a30c9942f06321ab3497bfcaf949487.png) no-repeat left top;
}

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

.mbl #cwu #footer {
	background-color: #ab0032 !important; /* plug in footer background color */
	background-image: none !important;
}
.mbl #cwu #homebuttons {
  display: block;
}
.mbl #cwu #homebuttons a {
  width: 100%;
  margin-right: 0;
}
.mbl #cwu #homebuttons a h3 {
  font-size: 14px;
  font-weight: normal;
}
