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

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

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

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

body {
	font: normal 14px 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background-color:  #fff;
	background-image: url(assets/md5images/747a08964bd97c31e86dcb855ba8571d.gif), url(assets/md5images/fbf9fbf65ff36ffa43bae11f01e9cb34.gif);
	background-repeat: repeat-x, repeat-x;
	background-position: left top, left bottom;
}


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

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

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

#umaine #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 20.204082% !important;  /* 198 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}


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

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

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

#umaine #navigation #tabs,
#umaine #navigation #tabs ul {
	display: flex;
	justify-content: flex-start; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
	width: 100%;
}

#umaine #navigation #tabs a {
	font: normal 16px 'Open Sans', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 51px;
	line-height: 51px;
	color: #fff;
	background-color: transparent;
	padding: 0 15px;
	margin: 0;
	border: 0;
}

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

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


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

#umaine #sidebar h2 {
	font: normal 18px 'Roboto Slab', serif;
	color: #000;
	background: transparent;
	text-indent: 0;
	padding: 0;
	margin: 0 15px;
	border: none;
}

#umaine #sidebar a {
	font: normal 16px 'Open Sans', sans-serif;
	color: #0d3f62;
	text-decoration: none;
}

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

#umaine #sidebar #sidebar-search label {
	font: normal 16px 'Open Sans', sans-serif;
	color: #000;
}

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

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

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


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

#umaine #wrapper { /* for full-length sidebar content background/elements */
	background: url(assets/md5images/4c7efdc44ff4e0c066eda75cd9ea3fbd.gif) repeat-y left top;
}

#umaine #content { 
	padding-top: 16px;
	min-height: 600px;
}

	/* --- Breadcrumbs --- */

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

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

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

 /* adds space under full-width main-content image */
#umaine #home-page-banner { margin-bottom: 16px; }

#umaine #home-img { width: 100%; }

	/* --- Headers --- */

#umaine #dcn-home > h2 {
	font: normal 24px 'Roboto Slab', 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;
	padding-top: 3px;
	padding-bottom: 4px;
}

#umaine #dcn-home #cover-browse h3 a { font: normal 16px 'Open Sans', sans-serif; }

#umaine #dcn-home p { 
	font: normal 16px 'Open Sans', sans-serif;
	line-height: 24px;
	margin-bottom: 15px;
}

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#umaine #dcn-home .box.aag h2,
#umaine #dcn-home .box.potd h2 {
	width: 267px;
	margin: 0;
	font: normal 18px 'Roboto Slab', serif;
	border-bottom: 1px solid #c6c6c6;
}

#umaine #main.text .box a:link,
#umaine #main.text .box a:visited {
	font: bold 16px 'Open Sans', sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #c6c6c6;
	background: none;
}

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

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

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

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


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

#umaine #footer,
#umaine #bepress a {
	height: 82px;
	background-color: #1c2128; }

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

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

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

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

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

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

	/* --- Browse Research Columns (Flex) - NS 9/14/18 --- */
 
#umaine #main.text #cover-browse {
    display: flex
    }
    
#umaine #main.text .cover-browse-column {
    flex: 50%;
    }
    
    	/* --- Homepage Carousel --- */
    	
#umaine #dcn-home .newCarousel .news-slider .text-content {
width: 225px;
height: 250px; }
#umaine #dcn-home .newCarousel .news-slider .text-content p {
font-size: 14px; }

	/* Adjusting rights statement images and title - NS 9/14/18 */
	
#umaine #rights_statements img {
     height: auto;
     width: 150px;
     padding: 4px;
}
 
#umaine #rights_statements h4 {
    color:black;
    margin: 0;
    padding: 4px;
    font-weight: bold;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
}

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

	/* Adjusting third tier on community indexes (CUSTOM-1557) - NS 9/20/18 */

#umaine #container #wrapper #content #main.text #series-home ul li ul {
	margin: 12px 0 6px 12px; }
	
	
	/* visually hidden labels, not hidden for assistive tech - NS 7/30/19 */
	
#umaine label.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Custom display grid - NS 5/13/21 */

.displaygrid-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.displaygrid-column {
  flex: 1;
  padding: 0 4px;
}


.displaygrid-column img {
  margin-top: 8px;
  vertical-align: middle;
}

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

	/* 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 #umaine #dcn-home .box.aag h2,
.mbl #umaine #dcn-home .box.potd h2 {
	width: 100%;
}