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

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

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

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

body {
	font: normal 12px/1.5 'Roboto', sans-serif;  /* should be medium except when fitting into a fixed container */
	color: #414042;
	background: #fff url(assets/md5images/d421955ac12f0070c8f75492c0d4a840.gif) repeat-x left top;
}

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

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

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

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

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

	/* --- visible focus selector NS 10/24/19 --- */
	
#fontbonne #header a#banner_link:focus img,
#fontbonne #header a#logo_link:focus img {
    outline: 1px solid white;
    outline-offset: 5px;
 }


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

#fontbonne #navigation { margin-bottom: 2px; }

#fontbonne #navigation,
#fontbonne #navigation #tabs,
#fontbonne #navigation #tabs-right {
	height: 44px;
	overflow: hidden; /* have seen issues with tabs extending below nav container */
}

#fontbonne #navigation #tabs,
#fontbonne #navigation #tabs-right,
#fontbonne #navigation #tabs ul,
#fontbonne #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#fontbonne #navigation #tabs { width: 50%; }

#fontbonne #navigation #tabs ul { width: 100%; }

#fontbonne #navigation #tabs,
#fontbonne #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
}

#fontbonne #navigation #tabs-right {
	width: 50%;
	display: flex;
	justify-content: flex-end;
}

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

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

#fontbonne #navigation #tabs #tabone a { padding-left: 9px; }

#fontbonne #navigation #tabs #tabfour a { width: 105px !important; }

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

#fontbonne #sidebar { padding-top: 22px; }

#fontbonne #sidebar h2 {
	font: 900 20px 'Roboto', sans-serif;
	color: #fff;
	background: transparent;
	padding: 10px 0 0 0;
	border-top: 2px solid #fff;
	border-bottom: 0;
	margin: 0;
}

#fontbonne #sidebar h2:first-of-type { 
	padding-top: 0;
	border: 0;
}

#fontbonne #sidebar a {
	font: normal 15px 'Roboto', sans-serif;
	color: #fff;
	text-decoration: none;
}

#fontbonne #sidebar a:hover,
#fontbonne #sidebar a:active,
#fontbonne #sidebar a:focus {
	text-decoration: underline;
}

#fontbonne #sidebar #sidebar-search label {
	font: normal 15px 'Roboto', sans-serif;
	color: #fff;
}

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

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

/* fixing contrast for headings on My Account page */
#wrapper .text #myaccount thead tr th { color: #000; }

	/* Sticky Footer */

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

#fontbonne #main.text div.crumbs a:link,
#fontbonne #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #127ac5;
}

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

#fontbonne #box-left {
	width: 48%;
    margin-right: 0;
}

#fontbonne img#home-img { 
	width: auto;
	float: right;
	margin-right: 0;
}

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

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

	/* --- Headers --- */

#fontbonne #dcn-home #box-left h2 { font: 900 28px '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: #127ac5; }*/

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

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#fontbonne #dcn-home .box.aag h2,
#fontbonne #dcn-home .box.potd h2 {
	font: 900 24px 'Roboto', sans-serif;
	width: 267px;
	border-bottom: 1px solid #dedede;
	margin: 0;
}

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

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

#fontbonne #footer { margin-top: 2px; }

#fontbonne #footer,
#fontbonne #bepress a {
	height: 107px;
	background-color: #212322;
}

#fontbonne #bepress a:focus {
	outline: 1px solid white; /* visible focus selector - NS 10/28/19 */
	}

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

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

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

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

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

.legacy #fontbonne #wrapper {	background-image: none; }

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

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

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

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

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

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

.mbl #fontbonne #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 31.632653% !important;  /* 310 / 980 */
	height: auto !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 #fontbonne #dcn-home .box.aag h2,
.mbl #fontbonne #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

	/* hmw 2019-07-09 line above custom sidebar links */
#fontbonne #sidebar #sb-custom-lower h2.sb-custom-title {
	font: 900 20px 'Roboto', sans-serif;
	color: #fff;
	background: transparent;
	padding: 10px 0 0 0;
	border-top: 2px solid #fff;
	border-bottom: 0;
	margin: 0;
	}	
	
	
/* Library Files & Archives ETDs Intro and Article note aarder 8/23/19 KLM 9/27/19*/
#fontbonne p.offcampus {
        font-size: 15px;
}

/* Fixing hover and focus behavior of the A-Z author tool for accessibility - KLM 9-25-19 */
#fontbonne .authorbrowser p.letters a:hover,
#fontbonne .authorbrowser p.letters a:focus {
    background: url(/assets/azMe.jpg) bottom center no-repeat;
    color: #fff !important;
}         

/* sidebar social media icons - NS 10/28/19 */
 
#fontbonne #sidebar ul#social li {
    display: inline-block;
}
 
#fontbonne #sidebar ul#social li a {
    margin: 0 5px; /* removes 15px margin on all links in #sidebar. Adjust second number to adjust spacing between icons */
}
 
#fontbonne #sidebar ul#social li:first-child a {
    margin-left: 15px; /* horizontally aligns first icon with other sidebar content */
}

#fontbonne #sidebar ul#social li a:focus img {
    outline: 1px solid white;
    outline-offset: 5px; /* visible focus indicator */
 }

#fontbonne #sidebar ul#social li a:hover img {
	filter: invert(1);
	transition: all .5s;
 }


/* carousel adjustments - NS 11/18/19 */

#fontbonne .newCarousel .news-slider .text-content h2 {
    font-size: 20px; }
    
/* Adjusting rights statement images and title - NS 2/13/20 */
#fontbonne  #rights_statements h4 {
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: bold;
    line-height: 90%;
    margin-top: -8px;
    padding: 4px 4px 0px;
}
  
#fontbonne #rights_statements img {
    padding: 4px;
    width: 150px;
    height: auto;
}
 
#fontbonne #rights_statements p {
    font-size: 11px;
    padding: 4px;
}

/* Adjusting rights statement book gallery alignment - NS 4/29/20 */

#fontbonne #ir-book.left #rights_statements {
     margin-left: 178px; 
     width: 480px;
     padding-top: 10px;
}


/* custom button in the new style - NS 4/9/20 */

#fontbonne a.custom-btn {
    width: 100%;
    max-width: 140px !important;
    margin: 0;
    /* display: inline-block; */
    /* float: right; */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-shadow: none !important;
    background-image: none !important;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #0074cc !important;
    font-weight: normal;
    font-size: 16px;
    padding: 10px;
    margin: 10px;
    color: #fff !important;
    background: #0074cc !important;
}

/* list styling for exemption checkbox field in irb-faculty-x and irb-student-x 10/19/20 */

#fontbonne #exempt-c .box-border {
    font-weight:bold;
    padding-left:5px;}  
#fontbonne #exempt-c .box-border input#exempt {
    margin-top:15px;
    margin-right:100%;
    margin-bottom:0;
    display:block;}
