/* -----------------------------------------------
Journal local stylesheet.
Author:   Jami Wardlow
Version:  May 2018
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- 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 url(../assets/md5images/102b6e6d6e52d5795f5d1928afe26de3.gif) repeat left top;
}

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

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

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

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

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

	/* --- Logo --- */

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

#mjil #container {
	box-shadow: 0px 0px 6px 2px #cacaca; 
}

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

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


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

#mjil #navigation #tabs a {
	font: normal 13px Georgia, Times, "Times New Roman", serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	transition: background 0.3s ease;
	line-height: 32px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
	float: left; }

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

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

#mjil #navigation #tabs li:last-child a { padding-right: 25px; }   /* hidden but expands to fit 240px #tabs for IE + FF */

#mjil #navigation #tabs li:first-child a { padding-left: 15px; }


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


#mjil #sidebar {
	padding-top: 16px;
	background: linear-gradient(#f0f0f0, #fff);
}

#mjil #sidebar a:link,
#mjil #sidebar a:visited {
	font: normal 12px Times, "Times New Roman", Georgia, serif;
	color: #10445c;
	text-decoration: none;
}

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

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

#mjil #sidebar ul#navlist {
	border-top: 1px solid #f9f9f9; }
#mjil #sidebar ul#navlist li:first-child a {
	border-top: 1px solid #efefef; /* border is removed if #navlist has no content */
}

#mjil #sidebar ul#navlist li a {
	color: #10445c;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #eaeaea;
	border-bottom: 1px solid #f1f1f1;
}

		/* Sidebar link colors */
#mjil #sidebar ul#navlist li a:active,
#mjil #sidebar ul#navlist li a:hover,
#mjil #sidebar ul#navlist li a:focus {
	color: #10445c;
	background-color: #f0f0f0;
}

#mjil #sidebar ul#navlist li:last-child a { 
	border-top: 1px solid #f7f7f7;
	border-bottom: 1px solid #fcfcfc;
}


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

#mjil #sidebar .sidebar-search label,
#mjil .sidebar-search h2,
#mjil #sidebar #issn p {
	font-family: Times, "Times New Roman", Georgia, serif;
	color: #000; /* Search, "Enter search terms," ISSN" */
	border: 0; }

#mjil .sidebar-search h2 { 
	font: bold 12px Times, "Times New Roman", Georgia, serif;
	text-indent: 25px;
	background-color: transparent;
}

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

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

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


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

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

#mjil #wrapper { background-color: #fff; }

#mjil #main.text {
	background: #fff url(../assets/md5images/6cd6efad87d3c6da5a9c22a91c5ef073.gif) top center no-repeat;
	min-height: 350px;
	margin-top:  }

#mjil #main.text #masthead {
	display: none; }

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

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

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

	/* --- Headers --- */

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

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

#mjil #toc h4 { color: #000; }

	/* --- Links --- */

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

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

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

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

#mjil #main.text div.doc { margin: 0 0 15px; }
#mjil #main.text div.article-list .pdf { width: auto; }
#coverart #alpha .article-list p { margin-left: 48px; }
#mjil #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 */
#mjil #coverart #beta .coverart-box h4 {
    font: normal 18px Times, "Times New Roman", Georgia, serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf; }

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

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

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

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

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

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

#mjil #masthead tr th {

}

#mjil #masthead tr td {

}

#mjil #alpha,
#mjil #beta_7-3 { background-color: transparent; }

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

#mjil #footer { background: #c9c9c9 url(../assets/md5images/77498bf30ffe19e935911c35832d3f5a.gif) top left repeat-x; }

#mjil #footer,
#mjil #footer #bepress a {
	height: 75px;
	background-color: #c9c9c9; }

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

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


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

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

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

/* Small caps for Bluebook citation */

.smallcaps { font-variant: small-caps; }

/* CUSTOM-978 page number on homepage layout 03.05.2014 bnyikos and jpickrell */

#mjil .article-list p {
	padding-top: 0;
	padding-bottom: 0;
}

#mjil #main.text .article-list p span.doctitle { 
	display: block;
	width: 320px;
	float: left;
	padding-top: 5px;
	margin-right: 5px;
}

#mjil #main.text .article-list p span.auth {
	display: block;
	width: 140px;
	float: left;
	margin-bottom: 0;
	padding-top: 5px;
}

#mjil #main.text .article-list p span.pageno {
	display: block;
	width: 80px;
	float: left;
	padding-top: 5px;
	text-align: right;
}

/* styling for "In Memoriam" label for document type "memoriam" 07-25-2016 RKarberg*/

#mjil .article-list h2#memoriam { font-style: italic; }

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

  /* --- Hides navigation tabs on mobile CSFR-2286 --- */

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

/* Standardizing padding for navlist links on mobile JW 6/2018 */

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