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

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

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

body {
	font: normal 12px/1.5 Arial, Verdana, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #1c4488 url(../assets/md5images/bae67d5c4082447eead938fc3a2b2a25.gif) top left repeat-x; 
}


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

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

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

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


	/* --- Logo --- */

#jac #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: 25.30612244898% !important;  /* 248 / 980 */
	height: auto; 
}


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

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


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

#jac #navigation #tabs a {
	font: normal 14px Arial, Verdana, Helvetica, sans-serif;		
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */	
	transition: 0.2s ease-in-out;	
	line-height: 54px;
	color: #ffffff;
	text-transform: uppercase;
	background-color: transparent;
	padding: 0 15px; 
	margin: 0;
	border: 0;
	float: left; }
	
#jac #navigation #tabs a:hover,
#jac #navigation #tabs a:active,
#jac #navigation #tabs a:focus {
	text-decoration: underline;
}

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

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

#jac #navigation #tabs #tabthree { display: none; }

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

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

#jac #sidebar a:link,
#jac #sidebar a:visited {
	font: normal 12px Arial, Verdana, Helvetica, sans-serif;	
	color: #1c4488;
	text-decoration: none; 
}

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

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

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

		/* Sidebar link colors */
#jac #sidebar ul#navlist li a:active,
#jac #sidebar ul#navlist li a:hover,
#jac #sidebar ul#navlist li a:focus {
	color: #000000;
	background: #ffffff; 
}	

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

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

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

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


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

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

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

	/* --- Headers --- */

#jac #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 22px Arial, Verdana, Helvetica, sans-serif; /* Current Issue */
}

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

	/* --- Links --- */

#jac #main.text a:link,
#jac #main.text a:visited {
	text-decoration: underline;
	color: #1c4488; }

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

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

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

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

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

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

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


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

#jac #footer {
	height: 75px;
	background-color: #1c4488; }

#jac #footer p,
#jac #footer p a  {
	font: normal 12px/1.8 Arial, Verdana, Helvetica, sans-serif;
	color: #ffffff;
	text-decoration: none; }

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

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

/* Additional footer logo */

#jac #footer { position: relative; }

a#footerlink { margin: 0; }

#footerlogo { 
	position: absolute;
	top: 0;
	right: 0;
 } 

.mbl #footerlink { display: none; } /* logos aren't hidden by mbl footer */

/* ---------------- Miscellaneous fixes ---------------- */
	
	/* --- Advanced Search --- */	

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

#jac #container { background: #fff; }

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

