/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Jami Wardlow
Version:  Oct 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

@import url('https://fonts.googleapis.com/css?family=Oswald:400,700&display=swap');

	/* --- Meta styles and background --- */

body {
	font: normal 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/0aaa8d947a12166081bbe5536becf93f.gif) repeat-x left top;
}

#und { background: url(assets/md5images/1efd8735d5b28a42431fa161c43d5e84.gif) repeat-x left bottom; }

/* ---------------- Header ---------------- */

#und #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#und #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 */
}

#und #banner_link { line-height: 0; } /* removes header/nav gap in mbl */

#und #header a { display: block; }

#und #header a#logo_link {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 38.265306% !important; /* use percentages to not break landscape view on mobile */
	height: auto !important;
	}

#und #header a:focus { outline: 1px solid #00662b; }

	/* --- Logo --- */

#und #logo_image {
	width: 100% !important;
	height: 100% !important;
}

/* ---------------- Navigation ---------------- */

#und #navigation { background: transparent; }

#und #navigation,
#und #navigation #tabs {
	height: 90px;
	overflow: hidden; /* have seen issues with tabs extending below nav container */
}

#und #navigation #tabs,
#und #navigation #tabs ul,
#und #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#und #navigation #tabs,
#und #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

#und #navigation #tabs a {
	font: normal 16px 'Oswald', sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 90px;
	line-height: 90px;
	color: #000;
	background-color: transparent;
	padding: 0 34px;
	margin: 0;
	border: 0;
}

#und #navigation #tabs a:hover,
#und #navigation #tabs a:active,
#und #navigation #tabs a:focus {
	text-decoration: underline;
}

#und #navigation #tabs #tabone a { padding-left: 0; }

/* ---------------- Sidebar ---------------- */

#und #sidebar h2 {
	font: normal 24px 'Oswald', sans-serif;
	color: #000;
	text-indent: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#und #sidebar a {
	font: normal 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #00662b;
	text-decoration: none;
}

#und #sidebar a:hover,
#und #sidebar a:active,
#und #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

#und #sidebar ul li a,
#und #sidebar p { margin-left: 0; }

#und #sidebar #sidebar-search label {
	font: normal 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #000;
}

#und #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 0;
}

#und #sidebar #sidebar-search span.border { background: transparent; }

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

/* ---------------- Main Content ---------------- */

	/* Sticky Footer */

#und #content { /* calculates 100% viewport height - (total heights of header, navigation and footer) */
	min-height: calc(100vh - 334px);
}
	/* --- Breadcrumbs --- */

#und #main.text div.crumbs a:link,
#und #main.text div.crumbs a:visited { color: #000; }

#und #main.text div.crumbs a:hover,
#und #main.text div.crumbs a:active,
#und #main.text div.crumbs a:focus { color: #00662b; }

#und #dcn-home > #homepage-intro { margin: 15px 0; }

 /* (is this even a thing anymore?) adds space under full-width main-content image 
#und #home-page-banner { margin-bottom: 16px; }*/

	/* --- Headers --- */

#und #dcn-home > h2 {
	font: normal 32px 'Oswald', sans-serif;
	margin-top: 10px;
}

#und h2 {
	font-size: 32px;
	line-height: 1.4em;
}

#und #main.text #gallery_items h2 a:link,
#und #main.text #gallery_items h2 a:visited {
	font-size: 16px;
	font-weight: normal;
	color: #000;
}

h3 {
	margin: 0;
	font-size: 16px;
	text-decoration: underline;
}

h4 {
	font-size: 16px;
	font-weight: normal;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */
#dcn-home #cover-browse h3 { color: #00662b; }

#und #dcn-home #cover-browse h3 a {
	font: 400 16px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
}

#und #dcn-home #cover-browse h3 a:hover,
#und #dcn-home #cover-browse h3 a:focus,
#und #dcn-home #cover-browse h3 a:active {
	text-decoration: underline;
}

	/* --- Links --- */

#und #main.text a:link,
#und #main.text a:visited {
	color: #00662b; /* declared for #network-icon text */
}

#und #main.text a:hover,
#und #main.text a:active,
#und #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#und #dcn-home .box.aag h2,
#und #dcn-home .box.potd h2 {
	font: normal 24px 'Oswald', sans-serif;
	width: 267px;
	border: 0;
	margin: 0;
}

#und #main.text .box a:link,
#und #main.text .box a:visited {
	background: none;
	font: bold 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
}

#und #main.text .box a:hover,
#und #main.text .box a:active,
#und #main.text .box a:focus {
	text-decoration: underline;
}

#und #dcn-home div.box.aag p a.activity-by-year { padding-top: 10px !important; }

	/* 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: 17px; }

/* ---------------- Footer ---------------- */

#und #footer,
#und #bepress a {
	height: 94px;
	background-color: #000;
}

#bepress a:focus { outline: 1px solid #00662b; }

#und #footer p,
#und #footer p a {
	font: normal 16px/2 "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #fff;
	text-decoration: none;
}

#und #footer p:first-of-type { padding-top: 20px; }

#und #footer p a:hover,
#und #footer p a:active,
#und #footer p a:focus {
	text-decoration: underline;
}

#container #footer a.secondary-link { font-size: 16px; }

/* ---------------- Miscellaneous fixes ---------------- */

	/* --- Search --- */

	/* Remove gap under search pages for full-width footers */

.legacy #und #wrapper:after { content: none; }

	/* Default styling altered per client request */

#und #content .facet dt {
    background: none;
    font-family: Oswald, sans-serif;
    font-size: 16px;
    font-weight: normal!important;
    color: black;
}

#und #content dd, #und #content dd a {
    font-size: 16px;
}

#und #results-wrapper {
	border: none;
	border-bottom: 4px solid #009A44;
}

#und #results-facets {  
    border: none;
    border-right: 1px solid #ddd;
    padding-right: 1rem;
}

#und #results-list .title a {
    font-weight: bold;
    font-size: 16px;
}

#und .result {
    font-size: 16px;
}

#und #results-list .author strong,
#results-list .year strong {
    color: black;
    font-size: 16px;
}

#und #query-wrapper input#simple-search {
	padding: 11px 5px;
	border-radius: 0;
}

#und #query-wrapper legend {
    font-weight: normal;
    font-size:32px;
}

#und #query-wrapper legend {
    font-weight: normal;
    font-size: 32px
}

#und .discipline-block .header { border: 0; }

#und .discipline-block h2 { font-size: 24px; }

#und .discipline-browser dt,
#und .new-discipline dt {
	font-size: 16px;
	font-weight: bold;
}

#und .discipline-browser dt,
#und .new-discipline dt,
#und .discipline-browser dd,
#und .new-discipline dd { line-height: 20px; }

#und #ir-peer { margin-left: -6px; }

#und .disc2, #info-box p a,
#und .communities dt,
#und .communities dt a:link,
#und .communities dt a:visited { font-size: 16px; }

#und .divider,
#und .series-div { background: none; }

#und p.collection-follow,
#und p.publication-follow { border-bottom: 0; }

#und #sub { border-top: 0; }

#und #alpha #authors p.author { border-bottom: 0; }

#und #alpha .author,
#und #series-home .chair { border-top: 0; }

#und p.letters {
	background: 0;
	border: 0;
	font-size: 18px;
}

#und #main.text .authorbrowser p.letters a:hover,
#und #main.text .authorbrowser p.letters a:focus {
   background: 0;
}

#und h2#series-title,
#und #series-home h2 {
	font-family: 'Oswald', sans-serif;
	line-height: 1.4em;
	text-align: left;
	margin-left: 0;
}

#und #main.text h2#series-title a:link,
#und #main.text h2#series-title a:visited,
#und #main.text #series-home h2 a:link,
#und #main.text #series-home h2 a:visited {
	color: #000;
	text-decoration: underline;
}

#und #main.text h2#series-title a:hover,
#und #main.text h2#series-title a:active,
#und #main.text #series-home h2 a:hover, 
#und #main.text #series-home h2 a:active {
	color: #00662b;
}

#und #series-home p { margin: 0; }

#und .white,
#und button.white {
	position: relative;
	display: inline-block;
	text-align: center;
	min-width: 250px;
	padding: 1rem 2rem;
	text-decoration: none;
	box-shadow: inset 0 0 0 2px #009a44;
	overflow: hidden;
	z-index: 1;
	border: 0;
	background-color: transparent;
	transition: color .3s ease;
	line-height: 1;
	background-image: none;
	box-sizing: border-box;
  	border-radius: 0;
	font-family: Oswald, sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 1px;
}

#und .white:before,
#und button.white:before {
  position: absolute;
  content: "";
  width: 0;
  top: 0;
  height: 110%;
  left: -20%;
  transform: skewX(-35deg);
  z-index: -1;
}

#und .white:after,
#und button.white:after {
  background: rgba(0, 154, 68, .5);
  transition: all .45s;
}

#und .white:hover:before,
#und button.white:hover:before {
  width: 140%;
}

#und .white:after,
#und button.white:after {
  position: absolute;
  content: "";
  width: 0;
  top: 0;
  height: 110%;
  left: -20%;
  transform: skewX(-35deg);
  z-index: -1;
}

#und .white:hover:after,
#und button.white:hover:after {
  width: 240px;
}

#und .white:before,
#und button.white:before {
  background: #009a44;
  transition: all .6s;
}

#und #save_search a:hover {
  background-color: transparent;
}

#und #results-sub-header {
	background: none;
	border: none;
}

/*#und #main.text a:link,
#und #main.text a:visited {
	background: white;
	border: none;
}*/

#und #main.text p.pdf a:link,
#und #main.text p.pdf a:visited {
	background: transparent;
}

#und input[type=text]#search-string,
#und input[type=text]#search-string:focus {
	padding: 1rem;
	width: 96%;
}

#und #rows {
	background: none;
	border: none;
}

#und #results-facets {
	border-right: none;
	background: none;
}

/* ---------------- Mobile ---------------- */

.mbl #und #header,
.mbl #und #header a img,
.mbl #und #navigation {
	width: 100% !important;
}

.mbl #und #header a { display: inline; }

.mbl #und #header a#logo_link {
	position: absolute !important;
	top: 0;
	right: 0;
	width: 38.265306% !important; /* use percentages to not break landscape view on mobile */
	height: auto !important;
}

.mbl #und #header #logo_image {
	width: 100% !important;
	height: 100% !important; /* Important avoides DC assigning incorrect height to logo image */
}

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0;
}

	/* fixes bullet underline for Browse Research and Scholarship links */

.mbl #main #cover-browse h3 { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #und #dcn-home .box.aag h2,
.mbl #und #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

/* fixes space after ul on community page */
#und #main.text #series-home ul, ul.bulleted {
    margin: 0 0 0 0; }
    
    	
/*Adding scroll list for items with many authors  per CUSTOM-363 CB 8/6/21*/	
#alpha #authors {
	overflow-y: auto;
	max-height: 250px; 
	border-top: solid 2px #666;
	border-bottom: solid 1px #666;
	margin-bottom: 5px;
}

 #alpha #authors p.author {border-top: 0; border-bottom: 0;}
 
 /*Adding padding for block-quote formatting in intro text 09/27/2024 -STorhaus*/
#und #main.text #series-home div.intro p.blockquote {
	padding-left: 25px
}
 
 /* Formatting for the custom login.inc page SBT 2026-04-02 */
#und #ndus-login-custom * {
    font-size: 30px;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
    margin: 0;
}
#und #ndus-login-custom {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    width: 90%;
}
#und .loginspecial {
    font-size: 20px;
}
