/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  January 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Lato:300,400');
/* ---------------- Meta Elements ---------------- */

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

body {
	font: normal 12px/1.5 Arial, Helvetica Neue, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff;
}


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

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

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

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

	/* --- Logo --- */

#ohlj #logo_image { /* include an image for accessibility */
	position: absolute !important; /* !important overrides mbl styling */
	top: 18.018018018018018%;
	left: 0.4081632653%;  /* change to "left:" for left aligned logo */
	width: 28.57142857% !important;  /* 240 / 980 */
	height: 45.045045045045045% !important;
}

#ohlj #logo_image2 { /* include an image for accessibility */
	position: absolute !important; /* !important overrides mbl styling */
	top: 72.072072072072072%;
	left: 0.4081632653%;  /* change to "left:" for left aligned logo */
	width: 27.55102040816% !important;  /* 240 / 980 */
	height: 27.027027027027% !important;
}


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

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

#ohlj #navigation {
	background: url(../assets/md5images/cb6e3c2dc24c90cfefb1a0520ea67151.gif) repeat-x left top;
}
/* Flexbox Navigation July 2018 */

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

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

#ohlj #navigation #tabs a {
	font: normal 14px 'Lato', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	transition: background 0.3s ease;
	line-height: 36px;
	color: #fff;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
	/* float: left; Not needed? Using flexbox now */
  }

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

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

#ohlj #header a#banner_link:focus img {
	outline: 1px dashed #000;
}
#ohlj #header a#logo_link:focus img {
	outline: 1px dashed #000;
}
/* ---------------- Sidebar ---------------- */

#ohlj #sidebar { padding-top: 10px; }

#ohlj #sidebar a:link,
#ohlj #sidebar a:visited {
	font: 300 14px Helvetica Neue, Helvetica, Arial, sans-serif;
	color: #545a58;
	text-decoration: none;
}

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

#ohlj #sidebar li a:active,
#ohlj #sidebar li a:hover,
#ohlj #sidebar li a:focus {
	background-color: transparent;
}

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

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

#ohlj #sidebar ul#navlist li a {
	color: #fff;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #b1132b;
	border-bottom: 1px solid #940816;
}

		/* Sidebar link colors */
#ohlj #sidebar ul#navlist li a:active,
#ohlj #sidebar ul#navlist li a:hover,
#ohlj #sidebar ul#navlist li a:focus {
	color: #545a58;
	background-color: #ececec;
}

#ohlj #sidebar ul#navlist li:last-child a:active,
#ohlj #sidebar ul#navlist li:last-child a:hover,
#ohlj #sidebar ul#navlist li:last-child a:focus {
	border-bottom: 1px solid #ececec;
}
#ohlj #sidebar ul#navlist li:first-child a:active,
#ohlj #sidebar ul#navlist li:first-child a:hover,
#ohlj #sidebar ul#navlist li:first-child a:focus {
	border-top: 1px solid #ececec;
}


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

#ohlj #sidebar .sidebar-search label,
#ohlj .sidebar-search h2,
#ohlj #sidebar #issn p {
	color: #000; /* Search, "Enter search terms," ISSN" */
	border: 0;
	font: 300 13px Helvetica Neue, Helvetica, Arial, sans-serif;
}

#ohlj .sidebar-search h2 { font: bold 12px Arial, Helvetica Neue, Helvetica, sans-serif; }

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

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

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


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

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

#ohlj #content { background-color: transparent; }

#ohlj #sub {
	margin-top: 22px;
 	border-top: 1px solid #c3cfcb;
}

	/* --- Breadcrumbs --- */

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

#ohlj #main.text div.crumbs a {
	text-decoration: none;
	color: #b1132b;
}

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

	/* --- Headers --- */

#ohlj #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: 300 24px 'Lato', sans-serif; /* Current Issue */
}

#ohlj .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: 300 21px/2 'Lato', sans-serif;
	background: transparent;   /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #c3cfcb;
	padding-bottom: 0;
	margin-bottom: 25px;
}

	/* --- Links --- */

#ohlj #main.text a:link,
#ohlj #main.text a:visited {
	text-decoration: underline;
	color: #b1132b; }

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

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

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

#ohlj #main.text div.doc { margin: 0 0 15px; }
#ohlj div.article-list .pdf,
#ohlj div.article-list .native,
#ohlj div.article-list .external,
#ohlj div.article-list .none .openurl,
#ohlj div.article-list .none,
#ohlj div.article-list .metadata-only {
 width: auto;
}
#coverart #alpha .article-list p { margin-left: 48px; }
#ohlj #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 */
#ohlj #coverart #beta .coverart-box h4 {
    font: 300 18px/1.5 'Lato', sans-serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #c3cfcb; }

#ohlj #coverart #beta .coverart-box {
	font: normal 12px Arial, Helvetica Neue, Helvetica, sans-serif;
	border: 0; }

#ohlj #coverart #beta .coverart-box dd {
	padding-top: 3px;
}

#ohlj #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; }
*/

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

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

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

#ohlj #masthead h2.masthead { font: 400 21px 'Lato', sans-serif; }

#ohlj #masthead tr th {

}

#ohlj #masthead tr td {

}


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

#ohlj #footer,
#ohlj #footer #bepress a {
	height: 77px;
	background-color: #363636; }

#ohlj #footer #bepress a {
	background-image: url(../assets/md5images/412b8fe45b11971c060efbffbc5e865c.gif); }

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

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

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

#bepress a:focus {
	outline: 2px dashed #c3cfcb;
	outline-offset: -2px;
}
/* ---------------- Miscellaneous fixes ---------------- */

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

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


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

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

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

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

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

.mbl #ohlj #header,
.mbl #ohlj #header a img,
.mbl #ohlj #navigation {
	width: 100% !important;
}
.mbl #ohlj #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 18.018018018018018%;
	left: 0.4081632653%;  /* change to "right:" for right aligned logo */
	width: 28.57142857% !important;  /* 240 / 980 */
	height: 45.045045045045045% !important; /* Important avoides DC assigning incorrect height to logo image */
}

.mbl #ohlj #header #logo_image2 {
	position: absolute !important; /* !important overrides mbl styling */
	top: 72.072072072072072%;
	left: 0.4081632653%;  /* change to "right:" for right aligned logo */
	width: 27.55102040816% !important;  /* 240 / 980 */
	height: 27.027027027027% !important; /* Important avoides DC assigning incorrect height to logo image */
}

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

.mbl #ohlj #sidebar ul#navlist li:last-child a:active,
.mbl #ohlj #sidebar ul#navlist li:last-child a:hover,
.mbl #ohlj #sidebar ul#navlist li:last-child a:focus {
	border-bottom: 1px solid #940816;
}
.mbl #ohlj #sidebar ul#navlist li:first-child a:active,
.mbl #ohlj #sidebar ul#navlist li:first-child a:hover,
.mbl #ohlj #sidebar ul#navlist li:first-child a:focus {
	border-top: 1px solid #940816;
}

.mbl #ohlj #sidebar ul#navlist {
	margin-bottom: 10px;
}


/* Twitter feed in coverart area */

#ohlj #coverart #beta #coverart-box-container {
    border-top: none;
    border-bottom: none;
}

#ohlj #twitter-badge { margin-top: -16px; }

#ohlj #sidebar select, .form-table select { font-weight: bold; }

#ohlj form#sidebar-search .border { background: transparent;  }
