/* -----------------------------------------------
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;600;700&display=swap');
/* ---------------- Meta Elements ---------------- */
    /* --- Meta styles and background --- */
body {
    font: normal 14px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
    background: #fff url(assets/md5images/0866a0443fe743779d77b291ff2e2854.png) no-repeat center top;
}
/* ---------------- Header ---------------- */
#bates #header {
    position: relative;  /* needed for logo positioning */
  height: auto !important; /* !important overrides mbl styling */
  background: transparent;
}
#bates #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 --- */
#bates #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 64%;
    right: 9.183673469%;  /* change to "right:" for right aligned logo */
    width: 15.51020408% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}
#bates #header a#banner_link:focus img,
#bates #header a#logo_link:focus img {
  outline: 1px solid #000;
}
/* ---------------- Navigation ---------------- */
#bates #navigation,
#bates #navigation #tabs {
    height: 46px;
    overflow: hidden; /* have seen issues with tabs extending below nav container */
    white-space: nowrap;
}
#bates #navigation #tabs,
#bates #navigation #tabs ul,
#bates #navigation #tabs ul li {
    padding: 0;
    margin: 0;
}
/* Flexbox Navigation July 2018 */
#bates #navigation #tabs,
#bates #navigation #tabs ul {
    display: flex;
    justify-content: flex-end; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
    width: 100%;
}
#bates #navigation #tabs a {
    font: normal 15px 'Open Sans', sans-serif;
    display: block;
    width: auto !important; /* fixes "my account" not fitting in container on page load */
    height: 46px;
    line-height: 46px;
    color: #fff;
    transition: 0.3s ease-in-out;
    background-color: transparent;
    padding: 0 15px; /* with arial bold, this fits */
    margin: 0;
    border: 0;
}
#bates #navigation #tabs a:hover,
#bates #navigation #tabs a:active,
#bates #navigation #tabs a:focus {
    color: #000000;
    background-color: #fff;
    text-decoration: underline;
}
/* ---------------- Sidebar ---------------- */
#bates #sidebar {
  background: linear-gradient(to bottom, #babbba, #fff);
  border-radius: 5px;
}
#bates #sidebar h2 {
    font: 600 16px 'Open Sans', sans-serif;
    color: #000;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
}
#bates #sidebar a {
    font: normal 14px 'Open Sans', sans-serif;
    color: #881124;
    text-decoration: none;
}
#bates #sidebar a:hover,
#bates #sidebar a:active,
#bates #sidebar a:focus {
    color: #000000;
    text-decoration: underline;
    background: transparent;
}
#bates #sidebar #sidebar-search label {
    font: normal 13px 'Open Sans', sans-serif;
    color: #000;
}
#bates #sidebar #sidebar-search {
    margin-top: 8px;
    padding-left: 15px;
}
#bates #sidebar #sidebar-search span.border { background: transparent; }
.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

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

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

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

#bates #sidebar form label {
  color: #000;
}
#bates #sidebar ul#side-notify {
  padding-top: 0;
}

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

/* Browse Disciplines */
#bates #content .subnav li {
  font-size: 13px;
}

#bates .discipline-browser dt,
#bates .new-discipline dt {
  font-size: 15px;
}
#bates .discipline-browser dd,
#bates .new-discipline dd,
#bates dl.communities dd ul li {
  font-size: 14px;
}

#bates .discipline-browser dd,
#bates .new-discipline dd {
    padding: 3px 0;
}
/* Submit Research */
#bates .communities dt,
#bates .communities dt a:link {
  font-size: 14px;
  font-weight: normal;
}
#bates dl.communities dd ul li {
    line-height: 1.3em;
}

/* Announcements */
#bates #main.text #announce h3,
#bates #main.text #announce h4 {
  font-size: 15px;
}

/* Site subpage headings */
#bates #main.text h2#ir-about,
#bates #main.text h2#faq-top,
#bates #main.text h2#communities-title,
#bates #main.text h2#top,
#bates #main.text h2#submit-title,
#bates #main.text #announce h2 {
  font-size: 22px;
  font-weight: 600;
}
/* Homepage buttons */
#bates #homebuttons {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0;
}
#bates #homebuttons a {
  height: 137px;
  width: 137px;
  border-radius: 10px;
  background-color: #881124;
}
#bates #homebuttons a h3 {
  color: #fff;
  font: normal 14px 'Open Sans', sans-serif;
  text-decoration: none;
  text-align: center;
  margin: 0 5px;
}
#bates #homebuttons a {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: 0 18px 18px 0;
}
#bates #homebuttons a img {
  margin: 0 10px;
}

#bates #homebuttons a:active h3,
#bates #homebuttons a:hover h3,
#bates #homebuttons a:focus h3 {
  text-decoration: none;
  border-bottom: none;
}
#bates #main.text #homebuttons a:active,
#bates #main.text #homebuttons a:hover,
#bates #main.text #homebuttons a:focus {
  text-decoration: none;
  border-bottom: none;
}
#bates #homebuttons a:active,
#bates #homebuttons a:hover,
#bates #homebuttons a:focus {
  outline: 2px solid #000;
}
#bates #series-home .pdf, 
#bates #series-home .native, 
#bates #series-home .metadata-only, 
#bates #series-home .external {
  line-height: 2.4em;
}
/* ---------------- Footer ---------------- */
#bates #footer {
    height: 78px;
    background-color: #111111; }
#bates #bepress a {
    height: 76px;
    margin: 1px 0;
    background-color: #111111; }
#bates #footer p,
#bates #footer p a {
    font: normal 13px/2 'Open Sans', sans-serif;
    color: #fff;
    text-decoration: none;
}
#bates #container #footer a.secondary-link {
  font-size: 11px;
}
#bates #footer p:first-of-type { padding-top: 13px } 
#bates #footer p a:hover,
#bates #footer p a:active,
#bates #footer p a:focus {
    text-decoration: underline; }
#bepress a:focus {
      outline: 1px dashed #fff;
}
#bates {
    background: url(assets/md5images/958ae8ccfffe489eb56d8747df9c9945.gif) repeat-x left bottom;
}
#bates #content {
    min-height: calc(100vh - 481px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #bates #wrapper:after {
    content: none; /* search pages */
}
/* ---------------- Miscellaneous fixes ---------------- */
    /* --- Advanced Search --- */
.legacy #bates #wrapper {  background-image: none; }
/* Browse Authors accessibility fix- CSFR-2648 */
#bates #main.text .authorbrowser p.letters a:hover,
#bates #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 #bates #main.text #dcn-home .box.aag h2,
.mbl #bates #main.text #dcn-home .box.potd h2 {
  width: 100%;
}
header#mobile-nav {
    font-size: 0;
    line-height: 0; }
.mbl #bates #header,
.mbl #bates #header a#banner_link img,
.mbl #bates #navigation {
    width: 100% !important;
}
.mbl #bates #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 64%;
    right: 9.183673469%;  /* change to "right:" for right aligned logo */
    width: 15.51020408% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}
.mbl #bates #footer #bepress a {
	background: transparent url(assets/md5images/188eb6a871ce07235b37712060592af4.gif) center no-repeat !important;
	height: 50px !important;
	margin: 0px !important;
}

.mbl #bates #footer {
	background-color: #111111 !important; /* plug in footer background color */
	background-image: none !important;
}
.mbl #bates #header {
  background: url(assets/md5images/557b47f607154e108d35284fbbb73365.png) no-repeat left top;
}
.mbl #bates #content {
    min-height: unset;
}
.mbl #bates #homebuttons h3 {
  font-size: 14px !important;
}

/* CSS carried over from pre-redesign */
dl#bates-login {
	display:block;
	width:645px;
	height:150px;
	border:1px solid #CCCCCC;}

#bates-login dt {
	padding-left:10px;
	background:#CCCCCC;
	font:12px/24px Arial, sans-serif;
	font-weight:bold;
font-size: 18px;
	color:#13599F;}

#bates-login dd {
	padding:5px;
	margin:30px 0;
font-size: 16px;}

#bates-login dd img {
	height:35px;
	width:120px;
	border:0;
	margin-left:30px;
	margin-right:25px; }

#bates-login a:link,
#bates-login a:visited {
	font:12px/30px Arial, sans-serif;
	vertical-align:top;
	font-weight:bold;
	color:#13599F;
	font-size: 18px;
	padding-left: 30px;}

#bates #myaccount form { margin:0;padding:0; }
#bates #myaccount table#login { margin:0;padding:0;width:645px;
border:1px solid #CCCCCC;background:#fff;}

#bates #myaccount table#login td,
#bates #myaccount table#login th { background:#fff; border:0; font-family:Arial, Verdana, Helvetica, sans-serif; text-transform:none;}
#bates #myaccount table#login th { width:128px; }

#bates #recent a img {
        height:96px;
        width:72px;
	margin: 0;
        padding-top:5px;}

#bates #myaccount p.loginspecial {font-size: 14px;}

#bates #myaccount dl#bates-login dd span#login_sub {
	padding-left: 254px;
	font-size: 15px;}

/* Hide Browse Disciplines Link - JClark 10/20/15 */
#bates #sidebar ul#side-browse li.discipline-browser {
	display:none; }
/* Adjustments to Main Content Area -JClark 10/20/15 */
#bates #dcn-home p#scarab-intro,
#bates #main.text p#scarab-intro {
	margin-top: 20px;
	margin-bottom: 20px; }
#bates #dcn-home #cover-browse,
#bates #main.text #cover-browse {
	margin-top: 20px; }
/* Hiding Disciplines Box on articles -JClark 10/21/15 */
#bates #amercul_studies_theses #beta_7-3 #beta-disciplines p {
	display: none; }
/*
 	Display "Yes" instead of "1" beneath
	"Community Engagement" field on ETDs
	MBL 9-13-17
*/
#bates #community_engagement p {display: none;}
#bates #community_engagement {padding-left: 5px; text-indent: -4px;}
#bates div#community_engagement:after {content: "Yes";}
/* Display peer reviewed heading on article info page MBL 10/13/17 */
#bates #peer_reviewed.element p {display:none;}
/* additional styling for instructional text on login page -RKarberg 3/23/2017
#bates-login dd span#login-sub {
	color: red;}
	*/

        
 /* Adding button for OpenURL links -AH 06202023*/
#bates a#openurl.ignore {
	background: url(assets/md5images/2ccad489100b4293f66f3b4df8a627cf.png) no-repeat;
	height: 30px;
	width: 120px;
	float: right;
	overflow: hidden;
	text-indent: 100%; 
	line-height: 5em; }       
