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

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

@import url('https://fonts.googleapis.com/css2?family=Arvo&display=swap');

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

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

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

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

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

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

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

#jmu #header a#banner_link:focus img,
#jmu #header a#logo_link:focus img {
    outline: 2px dotted #fff;
}

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

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

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

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

#jmu #navigation #tabs a {
	font: normal 17px Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 50px;
	line-height: 50px;
	color: #450084;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

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

#jmu #navigation #tabs #tabone a { padding-left: 15px; } /* switch for right-aligned nav tabs */

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

#jmu #sidebar h2 {
	font: normal 17px 'Arvo', serif;
	text-indent: 7px;
	color: #000;
	background: #dacce6;
	padding: 7px;
	margin: 0;
	border: none;
}

#jmu #sidebar a {
	font: normal 13px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #6600ff;
	text-decoration: none;
}

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

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

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

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

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

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

	/* Sticky Footer */

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

#jmu #main.text { margin-top: 6px; }

	/* --- Breadcrumbs --- */

#jmu div.crumbs { margin-top: 5px; }

#jmu #main.text div.crumbs a:link,
#jmu #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #6600ff;
}

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

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

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

	/* --- Headers --- */

#jmu #dcn-home > h2 {
	font: bold 21px 'Arvo', serif;
	margin-top: 10px;
}

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: #6600ff; }

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

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#jmu #dcn-home .box.aag h2,
#jmu #dcn-home .box.potd h2 {
	font: normal 15px 'Arvo', serif;
	width: 267px;
	border-bottom: 1px solid #cfcfcf;
	margin: 0;
}

#jmu #main.text .box a:link,
#jmu #main.text .box a:visited {
	background: none;
	font: bold 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #cfcfcf;
}

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

#jmu #footer,
#jmu #bepress a {
	height: 109px;
	background-color: transparent;
}

#bepress a:focus,
#jmu #footer a#footer-logo-link:focus img {
	outline: 2px dotted #6600ff;
}

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

#jmu #footer p:first-of-type { padding-top: 44px; }

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

/* Additional footer logo */
 
#jmu #footer { position: relative; }
 
a#footer-logo-link { margin: 0; }
 
#footerlogo {
    position: absolute;
    top: 0;
    right: 0;
 }

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

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

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

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

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

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

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

#jmu .text #myaccount thead tr th { color: #000; }

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

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

.mbl #jmu #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 23.061224% !important;  /* 226 / 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;
}

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

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

	/* stacks headings and spans in .box */

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

.mbl #footer-logo-link { display: none; } /* logos aren't hidden by mbl footer */

/* Book metadata header fix dseitz 5-14-15 */
#jmu #ir-book #identifier h4,
#jmu #ir-book #keywords h4,
#jmu #ir-book #bp_categories h4,
#jmu #ir-book #publication_date h4,
#jmu #ir-book #publisher h4,
#jmu #ir-book #city h4  { 
    float: none;
    font: 13px Arial, Verdana, Helvetica, sans-serif;
    font-weight: bold;
    padding: 4px 4px 0 4px;  }
    
#madisonmagazine #jmu #main.text #masthead { display: none; }   

/* Removing header text on about page to test SEO, PR 1/25/16 */

#jmu #ir-about.html-title { text-indent: -9999px; }

/* adding bullet points to list item in Graduate Showcase or 2/17/16 */

#jmu ul.event-list li {
    list-style: outside; }

/*removing date and time for celebrationofscholarship-grad and celebrationofscholarship-honors orodriguez 4.8.16 */
    
#celebrationofscholarship-grad #series-home table.vcalendar th, #celebrationofscholarship-grad #series-home p.duration {display:none;}

#celebrationofscholarship-grad #series-home table.vcalendar tr.year {display:none;}


#celebrationofscholarship-honors #series-home table.vcalendar th, #celebrationofscholarship-honors #series-home p.duration {display:none;}

#celebrationofscholarship-honors #series-home table.vcalendar tr.year {display:none;}

/*hiding jump buttons in snp on mobile */

.mbl #jmu #wrapper #sidebar {
    clear: both;
    } 

.mbl #jmu a.btn.hide-button-mobile { display: none; }   


/*historicclothing orodriguez 9.30.16 */

#jmu .container_12 .grid_9, .container_16 .grid_12 {
    width: 70%;
}

#jmu .container_12 .grid_3 img {
    width: 120px;
    border: 1px solid #ddd;
}

/* 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) */
 
}

.verticalalign { height: 0; }
#content div.clear { height: 0; }
          
/*Styling for dual columns on /sull image gallery - ADoran 4/14/17 */             
#jmu .sull-cols { 
 display: inline-block; 
 width: 49%; 
 vertical-align: top;
}

#jmu .sull-cols li {
    list-style: square;
    padding-left:0;
}

/*Hiding input boxes for instruction only fields on submission form for Activities series - ADoran 9/26/17 */
#jmu #main.text #engagement_submission_instructions-c .field-border,
#jmu #main.text #engagement_submission_instructions,
#jmu #main.text #engagement_closing_instructions-c .field-border,
#jmu #main.text #engagement_closing_instructions {display:none;}

/* Homepage Slideshow */

#jmu #dcn-home .newCarousel {
    border: 1px solid #ddd; }

#jmu #dcn-home .newCarousel .news-slider .text-content {
    width: 225px;
    height: 200px; }

#jmu #dcn-home .newCarousel .news-slider .text-content h2 {
    font-size: 16px; }

#jmu #dcn-home .newCarousel .news-slider .text-content p { 
    line-height: 1.4em; }

#jmu #dcn-home .newCarousel .news-slider .image-content {
    height: 100%;
    max-height: 200px;
    vertical-align: middle !important; }
    
#jmu #dcn-home .newCarousel .news-slider .image-content a {
    display: block;
    width: 100%;
    max-width: 400px;
    height: 100%;
    max-height: 200px;
    float: right;
    vertical-align: middle !important; }
    
#jmu #dcn-home .newCarousel .news-slider .image-content img {
        width: 100%;
        max-width: 400px;
        height: 100%;
        max-height: 200px; }

/* Adjust position of illumeria video player aarder/1/14/18 */

 #jmu #ir-book #custom-fields #njvid_src {padding-left: 185px}

 /* adjust height of native streaming player for audio files -RKarberg 2/12/2020 */
#jmu #main.text #native-streaming.multi-media {
    height: 100% !important; }

/* Adjusting spacing of boxes on homepage - ADoran 11/22/21 */
#jmu #cover-browse .box.top.left {width:300px; margin-right:60px;}
#jmu #cover-browse .box.top.right {width:300px; margin-right:0px;}