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

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

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@800&family=Source+Sans+Pro:wght@400;700&display=swap');

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

body {
	font: normal 13px/1.5 'Source Sans Pro', sans-serif;  /* should be medium except when fitting into a fixed container */
	color: #333;
	background: #fff url(assets/md5images/d79ce023edea2c6295462e107bd3696a.png) no-repeat center top;
}

#indiana { background: url(assets/md5images/b772a7d4e29b7b3a8ad73fa11670695f.gif) repeat-x left bottom; }

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

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

#indiana #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 --- */

#indiana #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 36.428571% !important;  /* 357 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#indiana #header a#banner_link:focus img {
    outline: 2px dotted #a80532;
}

#indiana #header a#logo_link:focus img {
    outline: 2px dotted #fff;
}

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

#indiana #navigation,
#indiana #navigation #tabs {
	height: 46px;
	/*overflow: hidden; have seen issues with tabs extending below nav container */
	white-space: nowrap;
}

#indiana #navigation #tabs {
	margin-left: 268px;
	width: 567px;
}

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

#indiana #navigation #tabs,
#indiana #navigation #tabs ul {
	display: flex;
	justify-content: flex-end;
}

#indiana #navigation #tabs a {
	font: normal 16px 'Source Sans Pro', sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 19px;
	line-height: 19px;
	color: #a80532;
	background-color: transparent;
	padding: 0 11px;
	margin: 12px 0;
	border: 0;
	border-right: 1px solid #f5f5f5;
}

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

#indiana #navigation #tabs li:last-child a {
    border-right: none;
}

#indiana #navigation #nav-tagline {
	color: #333; 
	float: right;
	margin-right: 10px;
	font: normal 16px 'Source Sans Pro', sans-serif;
	line-height: 42px;
}

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

#indiana #sidebar {
	width: 221px;
	padding-top: 24px;
	margin-right: 29px;
	background-color: #edebeb;
}

#indiana #sidebar h2 {
	font: 800 14px 'Raleway', sans-serif;
	text-transform: uppercase;
	color: #333;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#indiana #sidebar a {
	font: normal 13px 'Source Sans Pro', sans-serif;
	color: #a80532;
	text-decoration: none;
}

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

#indiana #sidebar input#email_address, 
#indiana #sidebar input#search,
#indiana #sidebar select {
	width: 120px;
}

#indiana #sidebar #sidebar-search label {
	font: normal 13px 'Source Sans Pro', sans-serif;
	color: #333;
}

#indiana #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

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




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

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

/* this has been creating a gap on top of full-width homepage images. trying to figure out if it's actually necessary for any reason */
/* #indiana #content { padding-top: 16px; } */

#indiana #wrapper { background-color: transparent; }

	/* Sticky Footer */

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

#indiana #main.text div.crumbs a:link,
#indiana #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #a80532;
}

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

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

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

	/* --- Headers --- */

#indiana #dcn-home > #cover-browse {
    display: inline-block;
    padding-bottom: 22px;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 25px;
}

#indiana #dcn-home > h2 {
	border-top: 1px solid #d9d9d9;
	padding-top: 20px;
	font: normal 27px 'Raleway', sans-serif;
}
 
#indiana #main.text .col-1 {  /* #main.text needed for weight to override ir-layout.css #dcn-home > * rules */
    display: inline-block;
    vertical-align: text-top; /* aligns cols in cover_text h3 */
    width: 45%;
    padding: 0 2%;
    margin: 0 !important; /* !important overrieds !important in ir-adapt.css */
    float: none; }
 
#indiana #main.text .col-2 {
    float: right;
    width: 45%;
    padding: 0 1%; }

h3 {
	margin: 0;
	text-decoration: underline;
}

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

#indiana #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 'Source Sans Pro', sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#indiana #dcn-home .box.aag h2,
#indiana #dcn-home .box.potd h2 {
	font: normal 18px 'Raleway', sans-serif;
	width: 267px;
	border-bottom: 1px solid #d9d9d9;
	margin: 0;
}

#indiana #main.text .box a:link,
#indiana #main.text .box a:visited {
	background: none;
	font: bold 13px 'Source Sans Pro', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d9d9d9;
}

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

	/* article-level text // default values 12px/13px */

#alpha .element p, #custom-fields .element p { font-size: 12px; }

#alpha .element h4, #custom-fields .element h4 { font-size: 13px; }

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

#indiana #footer { border-top: 25px solid #fff; }

#indiana #footer,
#indiana #bepress a {
	height: 80px;
	background-color: #4a3d30;
}

#bepress a:focus { outline: 2px dotted #a80532; }

#indiana #footer p,
#indiana #footer p a {
	font: normal 12px/2 'Source Sans Pro', sans-serif;
	color: #fff;
	text-decoration: none;
}

/* #indiana #footer p:first-of-type { padding-top: ##px; } */

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

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

	/* --- Advanced Search --- */

.legacy #indiana #wrapper {
	background-image: none;
	background-color: #fff;
}

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

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

	/* --- Browse Authors accessibility fix (CSFR-2684) --- */

#indiana #main.text .authorbrowser p.letters a:hover,
#indiana #main.text .authorbrowser p.letters a:focus {
   background: url(/assets/azMe.jpg) bottom center no-repeat;
   color: #fff;
}

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

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

.mbl #indiana #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 36.428571% !important;  /* 357 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

	/* fixes invisible space above header */

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

.mbl #indiana #main.text .col-1,
.mbl #indiana #main.text .col-2 { width: 100%; }

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

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

	/* stacks headings and spans in .box */

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

.mbl #indiana #navigation #nav-tagline { display: none; }


/* Series titles left-justified - SD 1/27/25 */
#indiana h2#series-title {
       text-align:left;
       margin:10px 0 0 0;
       padding:0 0 10px;
       text-transform:uppercase; }