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

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

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

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

html { background-color: #e1e1e1; }

body {
	font: normal 12px/1.5 'Roboto', sans-serif;  /* should be medium except when fitting into a fixed container */
	background-image: url(assets/md5images/464582fb7019a66b396172bca5d1c416.gif), url(assets/md5images/198c965db7b6df036f05fced9f243703.gif);
	background-repeat: repeat-x;
	background-position: left top, left bottom;
}

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

#asa #header {
	height: auto !important; /* !important overrides mbl styling */
}

#asa #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 --- 

#asa #logo_image {
	position: absolute !important; /* !important overrides mbl styling 
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo 
	width: 24.4897959183% !important;  /* 240 / 980 
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image }*/

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

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

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

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

#asa #navigation #tabs a {
	font: bold 14px 'Roboto', sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 54px;
	line-height: 54px;
	color: #000;
	background-color: transparent;
	padding: 0 11px; /* with arial bold, this fits */
	margin: 0;
	border: 0;
}

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

#asa #navigation #tabs #tabone a { padding-left: 10px; }

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

#asa #sidebar h2 {
	font: bold 15px 'Roboto', sans-serif;
	color: #000;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#asa #sidebar a {
	font: normal 13px 'Roboto', sans-serif;
	color: #0d3f62;
	text-decoration: none;
}

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

#asa #sidebar #sidebar-search label {
	font: normal 13px 'Roboto', sans-serif;
	color: #000;
}

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

#asa #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 */
/* #asa #content { padding-top: 16px; } */

	/* Sticky Footer */

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

#asa #content .text { margin-bottom: 15px; }

	/* --- Breadcrumbs --- */

#asa #main.text div.crumbs a:link,
#asa #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #104e7b;
}

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

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

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

	/* --- Headers --- */

#asa #dcn-home > h2 { font: bold 21px 'Roboto', 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: #104e7b; }*/

#asa #dcn-home #cover-browse h3 a {
	font: 400 17px/1.6 'Roboto', sans-serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#asa #dcn-home .box.aag h2,
#asa #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: bold 16px 'Roboto', sans-serif;
	border-bottom: 1px solid #d3d3d3;
}

#asa #main.text .box a:link,
#asa #main.text .box a:visited {
	font: bold 13px 'Roboto', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
	background: none;
}

#asa #main.text .box a:hover,
#asa #main.text .box a:active,
#asa #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 ---------------- */

#asa #footer-top {
	height: 136px;
	background-color: #e1e1e1;
	color: #000;
}

#asa #footer-top p { 
	width: 490px;
	float: left;
	margin: 24px 0 0;
	text-align: center;
}

#asa #footer-top p a { text-decoration: none; }

#asa #footer-top p a:hover,
#asa #footer-top p a:active,
#asa #footer-top p a:focus {
	color: #0d3f62;
	text-decoration: underline;
}

#asa img#footer-logo-left { float: left; }

#asa img#footer-logo-right { float: right; }

#asa #footer,
#asa #bepress a {
	height: 100px;
	background-color: #e1e1e1;
}

#asa #footer p a {
	font: normal 11px 'Roboto', sans-serif;
	color: #0d3f62;
	text-decoration: none;
}

#asa #footer p:first-of-type { padding-top: 22px; }

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

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

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

.legacy #asa #wrapper {	background: transparent; }

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

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

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

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

.mbl #asa #header #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 #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

.mbl #asa #dcn-home .box.aag h2,
.mbl #asa #dcn-home .box.potd h2 {
	width: 100%;
}

.mbl #asa #footer-top { display: none; }


/*--------Double column on main intro text MV 5/7/19--------*/
 	
#asa #main.text .bigbox{
  display:flex;
  flex-direction:row;
  max-width:100%;
  padding: 1%;
  justify-content: left;
  align-content: space-around;
  flex-wrap: wrap;
  margin: 1% auto;
}
 

#asa #main.text .bigbox h3 { 
 	font: 400 17px/1.6 'Roboto', sans-serif;
	text-decoration: none; }

#asa #main.text .bigbox h2 { font: bold 21px 'Roboto', sans-serif; }


#asa #main.text .bigbox ul.introlist * {
	list-style-type: none;
	margin: 0;
  	padding: 0;
  	background: none;}
 


#asa #main.text .littlebox{
  width:246px;
  text-align:left;
  margin:0% 3%;
  padding:0%;
}

#asa #main.text .bigbox ul.secondary_list * {
	list-style-type: none;
	margin: 0;
  	padding-left: 5px;
  	background: none;}


/*---------Hiding sidebar links MV 5/8/19----------*/


#asa #sidebar ul#side-browse li.author {display:none;} 
#asa #sidebar ul#side-browse li.discipline-browser {display:none;} 
#asa #sidebar h2#author_corner_heading {display:none;}
#asa #sidebar ul#side-author {display:none;} 
#asa #sidebar ul#side-author li.faq {display:none;} 
#asa #sidebar ul#side-author li.submit {display:none;} 

/*---------Hiding header in communities 6/18/20 MV----------*/

#asa #main.text #series-home h4 {display:none;} 

/*---------Sidebar image--------*/
#asa #sidebar #sidebar_logo {
	align-content: center;
}