/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  November 2018
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
/* ---------------- Meta Elements ---------------- */

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

body {
	font: normal 12px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #43586c;
}

#yjmr #container {
	box-shadow: 1px 1px #2f3d4b, -1px 1px #2f3d4b, 2px 2px #324250, -2px 2px #324250, 3px 3px #354555, -3px 3px #354555, 4px 4px #374959, -4px 4px #374959, 5px 5px #3a4c5d, -5px 5px #3a4c5d, 6px 6px #3c4e60, -6px 6px #3c4e60, 7px 7px #3d5163, -7px 7px #3d5163, 8px 8px #3f5366, -8px 8px #3f5366, 9px 9px #405568, -9px 9px #405568, 10px 10px #415669, -10px 10px #415669;
}

html { background-color: #43586c; }

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

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

#yjmr #banner_image {
	display: block;
	width: 980px !important;
	height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}

#yjmr #banner_link { line-height: 0; } /* removes header/nav gap in mbl */

	/* --- Logo --- */

#yjmr #logo_image { /* include an image for accessibility */
	position: absolute !important; /* !important overrides mbl styling */
	bottom: 0;
	right: 0;  /* change to "left:" for left aligned logo */
	width: 35.9183673469% !important;  /* 240 / 980 */
	height: auto;
}


/* ---------------- Navigation ---------------- */
#yjmr #navigation {
	background: url(../assets/md5images/dd48813f2a203a0df064950980512ed7.png) no-repeat left top;
}
#yjmr #navigation,
#yjmr #navigation #tabs {
	height: 28px;
	overflow: hidden; } /* have seen issues with tabs extending below nav container */


#yjmr #navigation #tabs #tabone {
	margin-left: 13px;
}

/* Flexbox Navigation July 2018 */

#yjmr #navigation #tabs,
#yjmr #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%;
}

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

#yjmr #navigation #tabs #tabone {
	width: 125px;
}

#yjmr #navigation #tabs #tabtwo {
	width: 102px;
}

#yjmr #navigation #tabs #tabtwo a {		
  width: 61px !important;		
}

#yjmr #navigation #tabs a {
	font: normal 11px 'Open Sans', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	transition: background 0.3s ease;
	line-height: 28px;
	color: #104e7b;
	background-color: #f7e0a7;
	padding: 0 20px;
	margin: 0;
	border: 0;
	border-right: 1px solid #fff;
	/* float: left; Not needed? Using flexbox now */
  }

#yjmr #navigation #tabs a:hover,
#yjmr #navigation #tabs a:active,
#yjmr #navigation #tabs a:focus {
	text-decoration: underline;
	background-color: #e8e8e8;
	color: #0d3f62;
}

#yjmr #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
	border-right: 1px solid #f7e0a7;
 }

#yjmr #navigation #tabs li:last-child a:active,		
#yjmr #navigation #tabs li:last-child a:hover,		
#yjmr #navigation #tabs li:last-child a:focus {		
  border-right: 1px solid #e8e8e8;		
}

#yjmr #navigation #tabs a span { font-size: 11px; }	/* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */

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

#yjmr #sidebar { padding-top: 16px; }

#yjmr #sidebar ul li a {
	margin-left: 28px;
}

#yjmr #sidebar a:link,
#yjmr #sidebar a:visited {
	font: normal 12px 'Open Sans', sans-serif;
	color: #0d3f62;
	text-decoration: none;
}

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

	/* --- Highlighted sidebar links --- */

#yjmr #sidebar ul#navlist {
	border-top: none; }	 /* border added by ir-custom.css by default */
#yjmr #sidebar ul#navlist li:first-child a {
	border-top: 1px solid #e8e8e8; /* border is removed if #navlist has no content */
}

#yjmr #sidebar ul#navlist li a {
	color: #0d3f62;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #f7e0a7;
	border-bottom: 1px solid #e8e8e8;
	width: 227px;
	margin-left: 13px;
}

		/* Sidebar link colors */
#yjmr #sidebar ul#navlist li a:active,
#yjmr #sidebar ul#navlist li a:hover,
#yjmr #sidebar ul#navlist li a:focus {
	color: #0d3f62;
	background-color: #e8e8e8;
}

#yjmr #sidebar ul#navlist li:last-child a { border-bottom: none; }


	/* --- Sidebar text --- */
#yjmr #sidebar .sidebar-search {
	width: 217px;
	margin: 0px 10px 0px 13px;
}

#yjmr #sidebar input#search,
#yjmr #sidebar select {
	width: 120px;
}

#yjmr #sidebar .sidebar-search label,
#yjmr .sidebar-search h2,
#yjmr #sidebar #issn p {
	color: #000000; /* Search, "Enter search terms," ISSN" */
	border: 0; }

#yjmr .sidebar-search h2 { 
	font: bold 12px 'Open Sans', sans-serif;
 	text-indent: 25px;
}

#yjmr #sidebar #browse,
#yjmr #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */

#yjmr #sidebar p.advanced + div { display: none; }

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

#yjmr #sidebar #issn {
	width: 227px;
	margin-left: 13px;
}
/* ---------------- Main Content ---------------- */

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

#yjmr #content { background-color: #ffffff; }

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

#yjmr #main.text div.crumbs p { margin-bottom: 0; }

#yjmr #main.text div.crumbs a {
	text-decoration: none;
	color: #104e7b;
}

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

	/* --- Headers --- */

#yjmr #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 24px Georgia, Times, Times New Roman, serif; /* Current Issue */
}

#yjmr .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: normal 21px Georgia, Times, Times New Roman, serif;
	background: transparent;   /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #efbe40;
	padding-bottom: 0;
	margin-bottom: 25px;
}

	/* --- Links --- */

#yjmr #main.text a:link,
#yjmr #main.text a:visited {
	text-decoration: underline;
	color: #104e7b; }

#yjmr #main.text a:hover,
#yjmr #main.text a:active,
#yjmr #main.text a:focus {
	color: #000000;
	text-decoration: underline;
}
#yjmr #main.text .article-list a:link,
#yjmr #main.text .article-list a:visited {
	text-decoration: none; }

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

	/* --- PDF icons and article lists --- */

#yjmr #main.text div.doc { margin: 0 0 15px; }
#yjmr #main.text div.article-list .pdf { width: auto; }
#coverart #alpha .article-list p { margin-left: 48px; }
#yjmr #main.text div.article-list .pdf a { text-decoration: none; } /* removes extra underline on PDF icon */

	/* --- Editors and Cover art --- */

#coverart #beta {
	float: right; }

		/* Cover art */
#yjmr #coverart #beta .coverart-box h4 {
    font: normal 18px Georgia, Times, Times New Roman, serif; /* default is 18px */
    color: #000000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf; }

#yjmr #coverart #beta .coverart-box {
	font: normal 12px 'Open Sans', sans-serif;
	border: 0; }

#yjmr #coverart #beta #coverart-box-container {
	border: 0; }

/* this rule aligns cover art with other content, but sometimes breaks the layout, idk, seems fine i guess
#coverart #beta	{ width: auto; }
*/

#yjmr #coverart #beta dl  {
	margin-left: 0; }

#yjmr #coverart #beta #coverart-editors dt {
	font-size: 12px;
	padding-top: 10px; }

		/* Cover art disabled (not needed usually) */

#yjmr #masthead h2.masthead { font: 400 21px Georgia, Times, Times New Roman, serif; }

#yjmr #masthead tr th {

}

#yjmr #masthead tr td {

}


/* ---------------- Footer ---------------- */
#yjmr #footer {
	margin-bottom: 15px;
}

#yjmr #footer-top {
	width: 980px;
	height: 20px;
	background: #fff url(../assets/md5images/fe2165e43fe49292552c01096b683f37.gif) no-repeat left bottom;
}

#yjmr #footer,
#yjmr #footer #bepress a {
	height: 75px;
	background-color: #fff; }

#yjmr #footer p,
#yjmr #footer p a  {
	font: normal 12px/1.7 'Open Sans', sans-serif;
	color: #0d3f62;
	text-decoration: none; }

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

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


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

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

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

.legacy #yjmr #footer {
	margin-bottom: 0px;
}
/* ---------------- Mobile ---------------- */

.mbl #navigation #tabs {
	display: none;
}

.mbl #sidebar #issn p.sb-issn {
	pointer-events: none;
}

.mbl #yjmr #sidebar ul#navlist li a {
	padding: 6px 0px;
}

.mbl #yjmr #sidebar ul#navlist li {
	padding: 0px;
}

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

.mbl #yjmr #header,
.mbl #yjmr #header a img,
.mbl #yjmr #navigation {
	width: 100% !important;
}
.mbl #yjmr #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	bottom: 0;
	right: 0;  /* change to "right:" for right aligned logo */
	width: 35.9183673469% !important;  /* 240 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

.mbl #yjmr #footer-top {
	height: 0px;
	background-color: #fff;
}