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

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

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

body {
	font: normal 13px/1.5 Georgia, Times, "Times New Roman", serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(assets/md5images/4ecc82fcafacccffda0b17b1174803ec.gif) repeat-x left top;
}

#nsp { background: url(assets/md5images/32ed5f00e104858e32f1370b9d0c122f.gif) repeat-x left bottom; }

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

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

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

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

#nsp #header a#banner_link:focus img,
#nsp #header a#logo_link:focus img {
    outline: 1px dotted #f3c600;
}

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

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

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

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

#nsp #navigation #tabs a {
	font: normal 12px Georgia, Times, "Times New Roman", serif;
	text-transform: uppercase;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 48px;
	line-height: 48px;
	color: #104e7b;
	background-color: transparent;
	padding: 0 10px;
	margin: 0;
	border: 0;
}

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

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

#nsp #sidebar {
	background-color: #efefef;
}

#nsp #sidebar h2 {
	font: normal 15px Georgia, Times, "Times New Roman", serif;
	color: #000;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#nsp #sidebar a {
	font: normal 13px Georgia, Times, "Times New Roman", serif;
	color: #0d3f62;
	text-decoration: none;
}

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

#nsp #sidebar #sidebar-search label {
	font: normal 13px Georgia, Times, "Times New Roman", serif;
	color: #000;
}

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

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

	/* Sticky Footer */

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

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

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

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

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

	/* --- Headers --- */

#nsp #dcn-home > h2 { font: normal 21px Georgia, Times, "Times New Roman", serif; }

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: #104e7b; }

#nsp #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 Georgia, Times, "Times New Roman", serif;
	text-decoration: none;
}

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

	/* --- Links --- */

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

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

	/* PotD / Top DL widgets */

#nsp #dcn-home .box.aag h2,
#nsp #dcn-home .box.potd h2 {
	font: normal 16px Georgia, Times, "Times New Roman", serif;
	width: 267px;
	border-bottom: 1px solid #d3d3d3;
	margin: 0;
}

#nsp #main.text .box a:link,
#nsp #main.text .box a:visited {
	background: none;
	font: bold 13px Georgia, Times, "Times New Roman", serif;
	text-decoration: none;
	border-bottom: 1px solid #d3d3d3;
}

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

#nsp #footer,
#nsp #bepress a {
	height: 92px;
	background-color: #878787;
}

#bepress a:focus { outline: 1px dotted #fff; }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Homepage Slideshow EK 8/13/2020 */

#nsp #dcn-home .newCarousel {
border: 1px solid #ddd;
margin-bottom: 10px; }

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

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

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

#nsp #dcn-home .newCarousel .news-slider .image-content {
height: 100%;
max-height: 250px; }

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

#nsp #dcn-home .newCarousel .news-slider .image-content img {
width: auto;
max-width: 400px;
height: auto;
max-height: 250px;
vertical-align: middle !important; }

/* ISSN styling on peer_review_list.html JR 8/17/2020 */
#nsp #main.text #ir-peer.container_12 .grid_12 .grid_9 #nsp-peerrevpage #issn p.sb-issn,
#nsp #main.text #ir-peer.container_12 .grid_12 .grid_9 #nsp-peerrevpage #issn p.sb-extra-issn { 
  letter-spacing:normal;
  line-height:normal;
  margin:0;
  text-align:left;
  text-transform:none; 
  }