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

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

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

body {
	/* style | variant | weight | stretch | size/line-height | family */
	font: normal 12px/1.5 Arial, Verdana, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
}


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

#eip #header {
	position: relative;  /* needed for logo positioning */ 
  	height: auto !important; /* !important overrides mbl styling */
  	margin: 0;
  	padding: 0 0 15px;
  	background-color: #ffffff;
}

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

	/* --- Logo --- */

#eip #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; 
}

#eip #logo,
#eip #logo_image { display: none; }


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

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


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

#eip #navigation #tabs a {
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */	
	line-height: 36px;
	font-weight: normal;
	color: #7d0000;
	background-color: #cccccc;
	padding: 0 11px; 
	margin: 0;
	border: 0;
	border-right: 1px solid #cccccc;
	float: left; }
	
#eip #navigation #tabs a:hover,
#eip #navigation #tabs a:active,
#eip #navigation #tabs a:focus {
	text-decoration: underline;
	background-color: #464748; }

#eip #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
	border-right: none; } 

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

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

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

#eip #sidebar a:link,
#eip #sidebar a:visited {
	color: #ffffff;
	text-decoration: none; }

#eip #sidebar a:hover,
#eip #sidebar a:active,
#eip #sidebar a:focus {
	text-decoration: underline; }

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

#eip #sidebar ul#navlist {
	border-top: 1px solid #cccccc; }	 /* border added by ir-custom.css by default */
	
#eip #sidebar ul#navlist li a {
	color: #ffffff;
	font-weight: normal;	
	background: #464748;
	border-bottom: 1px solid #cccccc; }	

		/* Sidebar link colors */
#eip #sidebar ul#navlist li a:active,
#eip #sidebar ul#navlist li a:hover,
#eip #sidebar ul#navlist li a:focus {
	color: #000000;
	background: #cccccc; 
}	
	
	/* --- Sidebar text --- */
	
#eip #sidebar #sidebar-search label,
#eip .sidebar-search h2,
#eip #sidebar #issn p {
	color: #ffffff; /* Search, "Enter search terms," ISSN" */
	border: 0; } 

#eip .sidebar-search h2 { font-weight: bold; }	

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

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


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

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

	/* --- Breadcrumbs --- */

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

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

	/* --- Headers --- */

#eip #main.text .article-list h1 { font-size: 24px; }  /* Current Issue */

#eip .article-list h2 { /* Article, or other doctype */
	font: normal 21px Georgia, "Times New Roman", Times, serif;
	background: transparent; /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #bfbfbf; }	

	/* --- Links --- */

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

	/* --- PDF icons --- */

#eip #main.text div.article-list .pdf a { text-decoration: none; } /* removes extra underline on PDF icon */	


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

#eip #footer {
	border-top: 9px solid #7d0000;
	height: 75px;
	background-color: #cccccc; }

#eip #footer p,
#eip #footer p a  {
	font-size: 12px;
	color: #181819;
	text-decoration: none; }

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

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


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

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

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

.mbl #eip #navigation #tabs a { display: none; }	/* removes navs (otherwise they're invisible, but clickable) */