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


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

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

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

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

	/* --- Logo --- */

#til #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: 22.857143% !important;  /* 224 / 980 */
	height: auto;
}


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

#til #navigation { border-radius: 9px 9px 0 0; }

#til #navigation #tabs { width: 290px; }

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

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

#til #navigation #tabs a {
	font: normal 13px 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: 42px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
	float: left; }

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

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

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

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


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

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

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

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

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

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

#til #sidebar ul#navlist li:first-child a {
	border-top: 1px solid #6475b3;
	border-bottom: 1px solid #aab1ce;
}

#til #sidebar ul#navlist li a {
	color: #fff;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #354ca1;
	border-top: 1px solid #6f7fb7;
	border-bottom: 1px solid #9ea7c9;
}

#til #sidebar ul#navlist li:last-child a { 
	border-top: 1px solid #7b89bc; 
	border-bottom: 1px solid #9ea7c9;
}

#til #sidebar ul#navlist li a:active,
#til #sidebar ul#navlist li a:hover,
#til #sidebar ul#navlist li a:focus {
	color: #354ca1;
	background-color: #edede5;
	border-top: 1px solid #edede5;
	border-bottom: 1px solid #edede5;
}

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

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

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

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

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

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


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

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

#til #content { background-color: #fff; }

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#til #main.text div.crumbs a {
	text-decoration: none;
	color: #0e3ba5;
}

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

	/* --- Headers --- */

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

#til .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: 25px;
}

	/* --- Links --- */

#til #main.text a:link,
#til #main.text a:visited {
	text-decoration: underline;
	color: #0e3ba5; }

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

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

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

#til #main.text div.doc { margin: 0 0 15px; }
#til #main.text div.article-list .pdf { width: auto; }
#coverart #alpha .article-list p { margin-left: 48px; }
#til #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 */
#til #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; }

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

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

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

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

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

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

#til #masthead tr th {

}

#til #masthead tr td {

}


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

#til #footer {
	height: 75px;
	background: url(../assets/md5images/cdddb218a93e4ccbad141c1567fbe2e0.gif) repeat-x;
}

#til #footer #bepress a { background: url(../assets/md5images/18507edf0955e65c651d6d35784709c3.gif) repeat-x; }

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

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

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


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

/* Author names and page numbers on index page */

#til #main.text .article-list p span.doctitle {display:block; width:310px; float:left; padding-top:5px; margin-right:15px;}
#til #main.text .article-list p span.auth {display:block; width:140px; float:left; margin-bottom:0; padding-top:5px;}  
#til #main.text .article-list p span.pageno {display:block; width:80px; float:left; padding-top:5px; text-align:right;}

/* smallcaps in citation - NS 4/9/19 */
.smallcaps {font-variant: small-caps;}

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

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


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

  /* --- Hides navigation tabs - CSFR-2286 --- */

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

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

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

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