/* -----------------------------------------------
Journal local stylesheet.
Author:   Paul Ryan
Version:  February 2017
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

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

html { background-color: #46494e; }	

body {
	/* style | variant | weight | stretch | size/line-height | family */
	font: normal 13px/1.5 "Times New Roman", Times, serif;  /* should be medium except when fitting into a fixed container */
	background: #ffffff; 
}

#mjil { background: #ffffff url(../assets/md5images/3c37c1553e12af8c2cd4e0755a885161.gif) repeat-x left bottom; }


/* ---------------- 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; /* avoids warping improperly sized header image */
}

#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;  
	right: 0;  /* change to "left:" for left aligned logo */
	width: 24.4897959183% !important;  /* 240 / 980 */
	height: auto; 
}


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

#mjil #navigation { background-color: #f1f0f5; }

#mjil #navigation,
#mjil #navigation #tabs {
	height: 36px;
	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: bold 13px "Times New Roman", Times, serif;		
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */	
	transition: 0.2s ease-out;	
	line-height: 36px;
	color: #8e3246;
	background-color: transparent;
	padding: 0 11px; 
	margin: 0;
	border: 0;
	float: right; }
	
#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: 13px; }	/* nav tab font size (default: 13px). Using font shorthand style specification causes display issue with My Account pages */

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

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

#mjil #sidebar a:link,
#mjil #sidebar a:visited {
	font: normal 13px "Times New Roman", Times, serif;	
	color: #8e3246;
	text-decoration: none; 
}

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

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

#mjil #sidebar ul#navlist {
	border-top: none; }	 /* border added by ir-custom.css by default */
#mjil #sidebar ul#navlist li:first-child a {
	border-top: none; /* border is removed if #navlist has no content */	
}	
	
#mjil #sidebar ul#navlist li a {
	color: #ffffff;
	transition: 0.2s ease-out;	
	font-weight: normal;	
	background: #46494e;
	border-bottom: 1px solid #ffffff; 
}	

		/* 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: #8e3246;
	background: #ffffff; 
}	

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

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

#mjil .sidebar-search h2 { 
	font: bold 13px "Times New Roman", Times, serif;
	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; }


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

#mjil #wrapper { 
	background-image: none;
	background-color: #ffffff; }

#mjil #content { 
	background-color: transparent;
	min-height: 600px; }

#mjil #content .text { margin: 0 20px 0 32px; }	

#sub { 
	width: 672px;
	margin: 22px 0 10px; }

#main.text span.pull-right a.btn.followable { margin-right: 16px; }

	/* --- Breadcrumbs --- */

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

#mjil #main.text div.crumbs a {
	text-decoration: none;
	color: #8e3246; 
}	
	
#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 New Roman", Times, serif; /* Current Issue */
}

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

	/* --- Links --- */

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

#mjil #main.text a:hover,
#mjil #main.text a:active,
#mjil #main.text a:focus { 
	color: #000000;
	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: #000000;
	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 New Roman", Times, serif; /* default is 18px */
    color: #000000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf; }

#mjil #coverart #beta .coverart-box {
	font: normal 13px "Times New Roman", Times, serif;
	border: 0; }

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

#coverart #beta	{ width: auto; }	

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

#mjil #coverart #beta #coverart-editors dt {
	font-size: 13px; }
#mjil #coverart #beta #coverart-editors dd {
	padding-top: 10px; }
#mjil #coverart #beta #coverart-editors {
	text-align: right; }


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

#bepress a { background: url(../assets/md5images/26b39a6457afade414d17d96072f2e73.gif) no-repeat top left; }

#mjil #footer {
	height: 75px;
	background-color: #46494e; }

#mjil #footer p {
	padding-top: 25px; }

#mjil #footer p,
#mjil #footer p a  {
	font: normal 13px "Times New Roman", Times, serif;
	color: #ffffff;
	text-decoration: none; }

#mjil #footer #bepress a {
	height: 75px; }

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

#mjil #footer p.secondary-links {padding-top:0px;}


/* ---------------- Miscellaneous fixes ---------------- */
	
#sidebar #lrc-badge { display: none; }	

#masthead { display: none; }
	
/* ---------------- Mobile ---------------- */

/* Fixing Editorial Board display - bd 2017-02-14 */

#mjil #content #coverart #coverart-editors h4 {max-width: 229px; text-align: right;}