/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  December 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/2896064de585ab29af951cf1df19b247.gif) repeat-x left top;
}


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

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

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

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

	/* --- Logo --- */

#ijesab #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;
	display: none;
}


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

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

/* Flexbox Navigation July 2018 */

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

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

#ijesab #navigation #tabs a {
	font: normal 12px Arial, Helvetica Neue, Helvetica, sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	transition: background 0.3s ease;
	line-height: 35px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
	text-transform: uppercase;
	/* float: left; Not needed? Using flexbox now */
  }

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

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

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

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


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

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

#ijesab #sidebar a:link,
#ijesab #sidebar a:visited {
	font: normal 12px Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}

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

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

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

#ijesab #sidebar ul#navlist li a {
	color: #fff;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #3c465f;
	border-bottom: 1px solid #323b51;
}

		/* Sidebar link colors */
#ijesab #sidebar ul#navlist li a:active,
#ijesab #sidebar ul#navlist li a:hover,
#ijesab #sidebar ul#navlist li a:focus {
	color: #fff;
	background-color: #841f27;
}


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

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

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

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

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

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


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

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

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

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

	/* --- Headers --- */

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

#ijesab #main.text .article-list h1 {
	margin-top: 3px;
}

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

	/* --- Links --- */

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

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

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

#ijesab .article-list .pdf,
#ijesab .article-list .native,
#ijesab .article-list .external,
#ijesab .article-list .none,
#ijesab .article-list p.edit {
	 line-height: 14px;
 }

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

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

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

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

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

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

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

#ijesab #masthead h2.masthead { font: 400 21px Arial, Helvetica Neue, Helvetica, sans-serif; }

#ijesab #masthead tr th {

}

#ijesab #masthead tr td {

}


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

#ijesab #footer,
#ijesab #footer #bepress a {
	height: 75px;
	background-color: #fff; }

#ijesab #footer {
	border-top: 1px solid #dcdcdc;
}

#ijesab #footer p,
#ijesab #footer p a  {
	font: normal 12px/1.6 Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #104e7b;
	text-decoration: none; }

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

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

#ijesab #footer a.secondary-link {
	font-size: 10px;
}
/* ---------------- Miscellaneous fixes ---------------- */
/* Submit form */
#ijesab #submit .field .field-border, 
#ijesab .box-border, 
#ijesab fieldset#sort_menu, #save_options, 
#ijesab table#import_table tbody tr:hover, 
#ijesab #date_publication_date td {
	background-color: transparent;
}
	/* --- Advanced Search --- */

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

.legacy #ijesab #content {
	border-left: 1px solid #dcdcdc;
	box-sizing: border-box;
	border-right: 1px solid #dcdcdc;
}
/* ---------------- Mobile ---------------- */

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

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

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

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

.mbl #ijesab #header,
.mbl #ijesab #header a img,
.mbl #ijesab #navigation {
	width: 100% !important;
}
.mbl #ijesab #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 24.4897959183% !important;  /* 240 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
	display: none;
}
