/* -----------------------------------------------
bepress IR local stylesheet.
Author:   David Stienstra
Version:  March 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Crimson+Text:400,700|Rambla:400,700|Source+Sans+Pro');
/* ---------------- Meta Elements ---------------- */

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

body {
	font: normal 13px/1.5 'Rambla', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff;
}
#upjohn {
	background: url(assets/md5images/7ba0b539a14869fc2c1fd4fe2ff936ce.gif) top right repeat-x, url(assets/md5images/3721bc1b93846f1bd4b0a25471013b7c.gif) top left repeat-x;
	background-position: left top, right top;
	background-repeat: no-repeat;
	background-size: 51% 192px, 50% 192px;
}

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

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

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

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

#upjohn #header a#banner_link:focus img,
#upjohn #header a#logo_link:focus img {
  outline: 1px dashed #000;
}
/* ---------------- Navigation ---------------- */

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

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

/* Flexbox Navigation July 2018 */
#upjohn #navigation,
#upjohn #navigation #tabs {
	position: relative;
	width: 655px;
	float: right;
	background: transparent;
}

#upjohn #navigation {
	top: -78px;
	margin-bottom: -78px;
}

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

#upjohn #navigation #tabs a {
	font: bold 19px 'Rambla', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	height: 78px;
	line-height: 78px;
	color: #004a5e;
	transition: 0.3s ease-in-out;
	background-color: transparent;
	padding: 0 9px; /* with arial bold, this fits */
	margin: 0;
	border: 0;
	text-transform: uppercase;
	/* float: left; Not needed? Using flexbox now */
}

#upjohn #navigation #tabs li:first-child a { padding-left: 20px; }

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

/* ---------------- Sidebar ---------------- */
#upjohn #sidebar {
	padding-top: 25px;
}
#upjohn #sidebar h2 {
	font: bold 23px 'Crimson Text', serif;
	color: #474444;
	background: transparent;
	padding: 5px 0;
	margin: 0;
	border-bottom: 1px solid #c1c1c1;
}

#upjohn #sidebar ul#side-notify {
    padding-top: 0;
}

#upjohn #sidebar ul#side-author {
    display: none;
}

#upjohn #sidebar a {
	font: normal 13px 'Rambla', sans-serif;
	color: #004a5e;
	text-decoration: none;
}

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

#upjohn #sidebar #sidebar-search label {
	font: normal 13px 'Rambla', sans-serif;
	color: #474444;
}

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

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

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

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

#upjohn #wrapper { /* for full-length sidebar content background/elements */
	background: url(assets/md5images/babadb24850b937cef96f4892cd2969e.gif) repeat-y left top;
	margin-top: 8px;
}

	/* --- Breadcrumbs --- */

#upjohn #main.text div.crumbs a:link,
#upjohn #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #004a5e;
}

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

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

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

	/* --- Headers --- */

#upjohn #dcn-home > h2 {
	font: normal 23px 'Crimson Text', 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: #004a5e; 
	padding: 4px 0 4px 12px;
}

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

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

#upjohn #main.text h2#ir-about,  /* About.html */
#upjohn #main.text h2#top.html-title, /* authors.html */
#upjohn #main.text h2#faq-top.html-title, /* faq.html */
#upjohn #main.text h2#communities-title.html-title /* communities.html */ {
	font: bold 23px 'Crimson Text', serif;
	border-bottom: 1px solid #c1c1c1;
}
#upjohn #main.text h2#ir-about {
	margin-top: 9px;
}

#upjohn #main.text h2#faq-top.html-title,
#upjohn #main.text h2#top.html-title,
#upjohn #main.text h2#communities-title.html-title {
	margin-top: 10px;
}
	/* --- Links --- */

#upjohn #main.text a:link,
#upjohn #main.text a:visited {
	color: #004a5e; /* declared for #network-icon text */
}

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

	/* PotD / Top DL widgets */

#upjohn #dcn-home .box.aag h2,
#upjohn #dcn-home .box.potd h2 {
	width: 274px;
	margin: 0;
	font: bold 23px 'Crimson Text', serif;
	border-bottom: 1px solid #c1c1c1;
}

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

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

	/* article-level text // default values 12px/13px - headings font family added RAP 5/8/19 */

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

#alpha .element h4, #custom-fields .element h4 { font-size: 13px; font-family: 'Rambla', sans-serif;}

/* ---------------- Footer ---------------- */
#upjohn #footer {
	border-top: 1px solid #c1c1c1;
}
#upjohn #footer,
#upjohn #bepress a {
	height: 154px;
	background-color: #fff; }

#upjohn #footer p,
#upjohn #footer p a {
	font: normal 13px/1.7 'Rambla', sans-serif;
	color: #004a5e;
	text-decoration: none;
}

#upjohn #footer p.footer-disc {
	color: #000;
	font: normal 11px/1.5 'Source Sans Pro', sans-serif;
}
#upjohn #footer #service-policy p:first-of-type {
	padding-top: 10px;
	padding-bottom: 10px;
}

#upjohn #footer #service-policy a {
	font-size: 11px;
	margin: 0;
	text-decoration: underline;
}

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

/*Sticky Footer */
#upjohn #content {
    min-height: calc(100vh - 355px);  /* 310px varies by site. calculated by summing all fixed heights (header, navigation, footer, fixed margins between these elements) */
}
/* Search pages */
.legacy #upjohn #wrapper:after {
    content: none; /* search pages */
}

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

#upjohn #sidebar p.site-follow {
    text-align: left;
    margin-left: 5px;
    margin-bottom: 20px;
}

/* Home page boxes - RPoole 4/21/14 and 10/17/14 */
#upjohn #main.text .box.high,
#upjohn #main.text .box.low {
	width: 100%;
	margin-bottom: 0px;}

#upjohn #main.text .box.left,
#upjohn #main.text .box.right {
	width: 274px;
	margin-right: 8.8%;
	margin-top: 10px;
}

#upjohn #main.text .box.high h2 {
	border-bottom: 1px solid #c1c1c1;
	margin-top: 0;
	margin-bottom: 0;
	font: bold 23px 'Crimson Text', serif;
}

#upjohn #main.text .box.aag,
#upjohn #main.text .box.potd {
	margin-top: 0px;
	padding-top: 0px;
	width: 274px;
}

#upjohn #main.text .box.aag h2 {
	margin-bottom: 0px;}

#upjohn #main.text .box.aag .article-list {
	padding: 10px 0;
}

#upjohn #main.text .box.aag .article-list a {
	font-weight: normal;
	border: 0;
	padding-bottom: 1px;
	padding-top: 8px;
}

#upjohn #main.text .box.aag .article-list a:active,
#upjohn #main.text .box.aag .article-list a:hover,
#upjohn #main.text .box.aag .article-list a:link,
#upjohn #main.text .box.aag .article-list a:visited {
    text-decoration: underline; 
}

#upjohn #main.text .box.aag .article-list p {
	margin-left: 0;
 	padding-top: 0px;
	padding-bottom: 10px;
}

#upjohn #main.text .box.aag .article-list p.recent_pub {
	padding-bottom: 10px;
}

#upjohn #main.text .box.aag .article-list p a {
	padding-top: 0px;
}

#upjohn #main.text .box.potd h2 {
	margin-bottom: 18px; }

#upjohn #main.text .box.potd .content_block a.cover img {
	float: left;
	padding-right: 8px; }

#upjohn #main.text .box.potd .content_block p strong a {
	border: none;
	padding-bottom: 6px; }

#upjohn #main.text .box.potd .content_block p {
	line-height: 1.2em;
 	font-size: 13px;
}

#upjohn #main.text .box.potd .content_block {
	height: 180px; }

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

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

/* Browse Authors accessibility fix- CSFR-2648 */
#upjohn #main.text .authorbrowser p.letters a:hover,
#upjohn #main.text .authorbrowser p.letters a:focus {
    background: url(/assets/azMe.jpg) bottom center no-repeat;
    color: #fff;
}
/* ---------------- Mobile ---------------- */

/*fixes bullet underline for Browse Research and Scholarship links*/
.mbl #main #cover-browse h3 { text-decoration: none; }

.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
	display: block;
}

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

header#mobile-nav {
    font-size: 0;
    line-height: 0; }

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

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

.mbl #upjohn #main #cover-browse h3:before {
	font-size: 95%;
}

/* Upjohn Press intro text - RPoole orig 9/10/14 re-added after redesign 3/25/19*/ 
#upjohn #main.text #book-gallery #series-home {padding-top: 0px; padding-bottom: 0px;}
#upjohn #main.text #book-gallery #series-home .intro {padding-top: 0px; padding-bottom: 0px;}   
#upjohn #main.text #book-gallery #series-home .intro #intro-left {
	float: left;
	padding-right: 60px;}
#upjohn #main.text #book-gallery #series-home .intro p {
	line-height: 1.5em; margin-bottom: 2px;}
	
/* orcid id icon next to field value RPoole 2/17/21 */
#upjohn #orcid.element p a {
    background:transparent url(assets/md5images/2dddb203aa38ec94870d3ef2b43921c4.png) top left no-repeat;	
    padding-left:20px;
    padding-bottom:5px; } 
   
/* publication and article titles should use Rambla - added after SUP-31426 changes - RPoole 12/12/23 */   
      
#upjohn h2#series-title, #upjohn h1#series-title, #upjohn #alpha #title h1 {font-family: 'Rambla', sans-serif;}

/* add space above field headings mainly for top one on book pages - RPoole 12/12/23 */  
#upjohn #ir-book.right #alpha .element h2.field-heading {padding-top: 10px;}