/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  2022
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:wght@400;600&family=IBM+Plex+Serif:wght@400;700&display=swap');
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 16px/1.5 'IBM Plex Serif', serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(assets/md5images/80b37b2ca5673bab2dffccf0a109e609.png) repeat-x left top;
}

#usfca {
  background: url(assets/md5images/22698c33be2a862c924fef0a1ad1e989.png) no-repeat center top,
    url(assets/md5images/4ce9a77df5e80ecc8acecce9867da56a.gif) repeat-x left bottom;
}
/* ---------------- Header ---------------- */
#usfca #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
  background: transparent;
}
#usfca #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 --- */
#usfca #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 32.720588235%;
    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 */
}
#usfca #header a#banner_link:focus img,
#usfca #header a#logo_link:focus img {
  outline: 1px dashed #fdbb30;
}
/* ---------------- Navigation ---------------- */
#usfca #navigation,
#usfca #navigation #tabs {
    height: 55px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
}
#usfca #navigation #tabs,
#usfca #navigation #tabs ul,
#usfca #navigation #tabs ul li {
    padding: 0;
    margin: 0;
}
/* Flexbox Navigation July 2018 */
#usfca #navigation #tabs,
#usfca #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%;
}
#usfca #navigation #tabs a {
    font: 600 20px 'Fira Sans Extra Condensed', sans-serif;
    display: block;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    height: 55px;
    line-height: 55px;
    color: #fff;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    padding: 0 15px; /* with arial bold, this fits */
    margin: 0;
    border: 0;
    border-right: none;
    text-transform: uppercase;
}

#usfca #navigation #tabs #tabthree {
  display: none;
}
#usfca #navigation #tabs a:hover,
#usfca #navigation #tabs a:active,
#usfca #navigation #tabs a:focus {
    text-decoration: underline;
    color: #000;
    background-color: #fff;
}
#usfca #navigation #tabs li:first-child a { padding-left: 15px; }

/* ---------------- Sidebar ---------------- */
#usfca #sidebar h2 {
    font: bold 16px/1.7 'Fira Sans Extra Condensed', sans-serif;
    color: #fff;
    background: transparent;
    padding: 0;
    border-bottom: 2px solid #fdbb30 !important;
    border-top: none;
    text-indent: 0;
    margin: 0 15px;
}
#usfca #sidebar ul#side-notify {
  padding-top: 0;
}
#usfca #sidebar {
  background-color: #00543c;
  padding-top: 16px;
  margin-bottom: 36px;
}
#usfca #sidebar a {
    font: normal 15px 'IBM Plex Serif', serif;
    color: #fff;
    text-decoration: none;
}
#usfca #sidebar a:hover,
#usfca #sidebar a:active,
#usfca #sidebar a:focus {
    text-decoration: underline;
}
#usfca #sidebar #sidebar-search label {
    font: normal 14px 'IBM Plex Serif', serif;
    color: #fff;
}
#usfca #sidebar #sidebar-search {
    margin-top: 8px;
    padding-left: 15px;
}
#usfca #sidebar #sidebar-search span.border { background: transparent; }

#usfca #sidebar #social {
  width: 100%;
  margin: 0 15px;
  display: flex;
  justify-content: flex-start;
}
#usfca #sidebar #social a {
  margin-right: 12px;
}

#usfca #sidebar #social a:active img,
#usfca #sidebar #social a:hover img,
#usfca #sidebar #social a:focus img {
  outline: 1px solid #fdbb30;
}

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */
/* ---------------- Main Content ---------------- */
#usfca #wrapper { /* for full-length sidebar content background/elements */
    background: url(assets/md5images/55a6a0b90787891049927bf168871d11.gif) repeat-y left top;
    margin-top: 36px;
}
#usfca acronym {
  border-bottom: none;
  text-decoration: none;
}
/*#usfca #content { padding-top: 16px; }*/
    /* --- Breadcrumbs --- */
#usfca #main.text div.crumbs a:link,
#usfca #main.text div.crumbs a:visited {
    text-decoration: none;
    color: #00543c;
}
#usfca #main.text div.crumbs a:hover,
#usfca #main.text div.crumbs a:active,
#usfca #main.text div.crumbs a:focus {
    text-decoration: underline;
    color: #000000;
}
#usfca #dcn-home > #homepage-intro { margin: 15px 0; }

#usfca #dcn-home > p {
  margin-bottom: 16px;
}
 /* adds space under full-width main-content image */
#usfca #home-page-banner { margin-bottom: 16px; }
    /* --- Headers --- */
#usfca #dcn-home > h2 {
    font: normal 21px 'Fira Sans Extra Condensed', sans-serif;
}
#usfca #main.text h2 {
  font: 600 24px 'Fira Sans Extra Condensed', 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: #00543c; }
#usfca #dcn-home #cover-browse h3 a {
    font: 400 17px/1.6 'IBM Plex Serif', serif;
    text-decoration: none;
}
#usfca #dcn-home #cover-browse h3 a:hover,
#usfca #dcn-home #cover-browse h3 a:focus,
#usfca #dcn-home #cover-browse h3 a:active {
    text-decoration: underline;
}
    /* --- Links --- */
#usfca #main.text a:link,
#usfca #main.text a:visited {
    color: #00543c; /* declared for #network-icon text */
}
#usfca #main.text a:hover,
#usfca #main.text a:active,
#usfca #main.text a:focus {
    color: #000000;
    text-decoration: underline;
}
    /* PotD / Top DL widgets */
#usfca #dcn-home .box.aag h2,
#usfca #dcn-home .box.potd h2 {
    width: 267px;
    margin: 0;
    font: 600 20px 'Fira Sans Extra Condensed', sans-serif;
    border-bottom: 1px solid #dfdfdf;
}
#usfca #main.text .box a:link,
#usfca #main.text .box a:visited {
    font: bold 14px 'IBM Plex Serif', serif;
    text-decoration: none;
    border-bottom: 1px solid #dfdfdf;
    background: none;
}
#usfca #main.text .box a:hover,
#usfca #main.text .box a:active,
#usfca #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: 16px; }

#usfca #main.text {
  padding-top: 0;
}
/* Home buttons */
#usfca #main.text #homebuttons {
  width: 100%;
  margin-top: 0;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}
#usfca #main.text #homebuttons a {
  border: 2px solid #00543c;
}

#usfca #main.text #homebuttons a:active,
#usfca #main.text #homebuttons a:hover,
#usfca #main.text #homebuttons a:focus {
  border: 2px solid #fdbb30;
  text-decoration: none;
}

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

h2, #search-title, .article-list h1, h1.title, #article h2, #article-series h2, .article-list h2, table.editors th, h2.masthead strong, legend {
  font-size: 15px;
  font-weight: 600;
}
#usfca #ir-communities-container table.ygtvtable * {
  height: 18px;
  display: inline-flex;
}

#usfca dl.communities dd ul li {
  font-size: 16px;
}
#usfca dl.communities dd {
  padding-left: 20px;
}
#usfca #content ul li,
#usfca .communities dd ul li {
  margin-left: 32px;
}
#usfca #main.text #network-icon,
#usfca #main.text #network-icon a {
  font-size: 14px;
}
#usfca #main.text #network-icon a img {
  height: 24px;
  width: 24px;
}

#usfca #alpha h4, #usfca #series-home h4 {
  font-size: 18px;
}
#usfca #alpha #recommended_citation p {
  font-size: 14px;
}
#usfca #content ul li,
#usfca .communities dd span,
#usfca .communities dd ul li {
  background-position: 0 0.3em;
}
#usfca #ir-communities-container .ygtvtm {
  background-position-y: -3997px !important;
}
#usfca #ir-communities-container .ygtvtp {
  background-position-y: -6397px !important;
}

#usfca #ir-communities-container .ygtvtmh,
#usfca #ir-communities-container .ygtvtmhh {
  background-position-y: -4797px !important;
}
#usfca #ir-communities-container .ygtvtph,
#usfca #ir-communities-container .ygtvtphh {
  background-position-y: -7197px !important;
}
#usfca .communities dt, #usfca .communities dt a:link, #usfca .communities dt a:visited {
  font-size: 16px;
}
#usfca .discipline-browser dt, #usfca .new-discipline dt {
  font-size: 16px;
}
#usfca .discipline-browser dd, #usfca .new-discipline dd {
  font-size: 14px;
}
#usfca #myaccount #usfca-login-custom {
  background-color: #00543c;
  border-radius: 5px;
}
#usfca #myaccount #usfca-login-custom p {
  text-align: center;
  line-height: 3em;
}
#usfca #myaccount #usfca-login-custom p a {
  color: #fff;
  text-decoration: none;
}
#usfca #myaccount #usfca-login-custom p a:hover,
#usfca #myaccount #usfca-login-custom p a:active,
#usfca #myaccount #usfca-login-custom p a:focus {
  text-decoration: underline;
}
/* ---------------- Footer ---------------- */
#usfca #footer {
    height: 76px;
    background-color: #00543c; }
#usfca #bepress a {
    height: 74px;
    background-color: #00543c;
    margin: 1px 0;
  }
#usfca #footer p,
#usfca #footer p a {
    font: normal 14px/2 'Fira Sans Extra Condensed', sans-serif;
    color: #fff;
    text-decoration: none;
}
#usfca #container #footer a.secondary-link {
  font-size: 12px;
}
#usfca #footer p:first-of-type { padding-top: 10px }
#usfca #footer p a:hover,
#usfca #footer p a:active,
#usfca #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
      outline: 1px dashed #fdbb30;
}

/* Additional footer logo */

#usfca #footer { position: relative; }

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

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

#usfca #footer a#footer-logo-link:focus img {
    outline: 1px dashed #fdbb30;
}
#usfca #content {
    min-height: calc(100vh - 439px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #usfca #wrapper:after {
	content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #usfca #wrapper {  background-image: none; }
/* Browse Authors accessibility fix- CSFR-2648 */
#usfca #main.text .authorbrowser p.letters a:hover,
#usfca #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 #usfca #main.text #dcn-home .box.aag h2,
.mbl #usfca #main.text #dcn-home .box.potd h2 {
  width: 100%;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #usfca #header,
.mbl #usfca #header a#banner_link img,
.mbl #usfca #navigation {
    width: 100% !important;
}
.mbl #usfca #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 32.72058823%;
    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 #usfca #header {
  background: url(assets/md5images/09adf5408df21a4b6b81d16ccd436f5a.png) no-repeat left top;
}

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

.mbl #usfca #footer {
	background-color: #00543c !important; /* plug in footer background color */
	background-image: none !important;
}

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

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

.mbl #usfca #sidebar #social {
  margin: 0 !important;
}

/* Expert Gallery Suite SW Gallery */
.egs-profile-gallery {
	display: block; /* removes descender space below inline element */
 /* left aligned */
	margin: -16px 0 -16px -42px; /* #content .text padding: 16px 0; and #content .text (margin 32px) + #sidebar (margin 10px) */

}
