/* -----------------------------------------------
Journal local stylesheet.
Author:   Jami Wardlow
Version:  Jul 2019
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: #ececec;
}

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

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

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

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

	/* --- Logo --- */

#ij-sotl #logo_image { display: none; }

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

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

#ij-sotl #navigation #tabs,
#ij-sotl #navigation #tabs ul,
#ij-sotl #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#ij-sotl #navigation #tabs,
#ij-sotl #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

#ij-sotl #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 (does it tho?)*/
	line-height: 36px;
	color: #000;
	background-color: transparent;
	padding: 0 10px;
	margin: 0;
	border: 0;
}

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

#ij-sotl #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 */

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

#ij-sotl #navigation #tabs li:first-child a { padding-left: 13px; }


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

#ij-sotl #sidebar { padding-top: 16px; }

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

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

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

#ij-sotl #sidebar ul#navlist {
	border-top: none; /* border added by ir-custom.css by default */
}

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

#ij-sotl #sidebar ul#navlist li a {
	color: #fff;
	font-weight: normal;
	background-color: #192136;
	border-bottom: 1px solid #283350;
}

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

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

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

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

#ij-sotl #sidebar p.advanced + div { display: none; }

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

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

#ij-sotl #main.text div.crumbs a:hover,
#ij-sotl #main.text div.crumbs a:active,
#ij-sotl #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

	/* --- Headers --- */

#ij-sotl #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 */
}

#ij-sotl .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 #cecece;
	padding-bottom: 0;
	margin-bottom: 25px;
}

	/* --- Links --- */

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

#ij-sotl #main.text a:hover,
#ij-sotl #main.text a:active,
#ij-sotl #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

#ij-sotl #main.text .article-list a:link,
#ij-sotl #main.text .article-list a:visited {
	text-decoration: none;
}

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

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

#ij-sotl #main.text div.doc { margin: 0 0 15px; }

/* testing replacing the below with what follows: 
#ij-sotl #main.text div.article-list .pdf { width: auto; } */

#ij-sotl div.article-list .pdf,
#ij-sotl div.article-list .native,
#ij-sotl div.article-list .external,
#ij-sotl div.article-list .none .openurl,
#ij-sotl div.article-list .none,
#ij-sotl div.article-list .metadata-only {
 width: auto;
}

#coverart #alpha .article-list p { margin-left: 48px; }

#ij-sotl #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 */

#ij-sotl #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;
}

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

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

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

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

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

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

#ij-sotl #masthead tr th {  }

#ij-sotl #masthead tr td {  }

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

#ij-sotl #footer,
#ij-sotl #footer #bepress a {
	height: 74px;
	background-color: #d3bc93;
}

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

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

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

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

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

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

.mbl #ij-sotl #header,
.mbl #ij-sotl #header a img,
.mbl #ij-sotl #navigation {
	width: 100% !important;
}

.mbl #ij-sotl #header #logo_image { display: none; }

	/* fixes invisible space above header */

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

  /* --- Standardizing padding for navlist links --- */

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

.mbl #ij-sotl #sidebar ul#navlist li { padding: 0px; }

	
/* Indent for hanging indents on submission guidelines page */
#ij-sotl .hangingindent {
    	padding-left: 22px;
    	text-indent: -22px; }

/* intro text image styling dconrad 9-4-14 */ 
#ij-sotl #main.text p img {
	background: none repeat scroll 0 0 #FFFFFF;
    	float: left;
   	margin-left: 10px;
    	margin-right: 10px;
    	overflow: hidden;
    	padding: 5px 5px 5px 0; } 
    	
/* adjust list styling on static pages, dconrad 10-25-17 */ 
#ij-sotl #container #wrapper #content #main.text li {
	padding-bottom:0;
	line-height: 1.8em;}
