/* -----------------------------------------------
Journal local stylesheet.
Author:   Jami Wardlow
Version:  Oct 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

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

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

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

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

	/* --- Logo --- */

#ucilr #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 15.612245% !important;  /* 153 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#ucilr #header a#banner_link:focus img,
#ucilr #header a#logo_link:focus img {
    outline: 2px dotted #ecc333;
}

/* ---------------- Navigation (hidden for this design) ---------------- */

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

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

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

#ucilr #navigation #tabs a {
	font: bold 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?)*/
	transition: background 0.3s ease;
	line-height: 36px;
	color: #1b3d6d;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
	border-right: 1px solid #f3f3f3;
}

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

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

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

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

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


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

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

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

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

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

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

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

#ucilr #sidebar ul#navlist li a {
	color: #fff;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #275799;
	border-bottom: 1px solid #275799;
}

#ucilr #sidebar ul#navlist li a:active,
#ucilr #sidebar ul#navlist li a:hover,
#ucilr #sidebar ul#navlist li a:focus {
	color: #1b3d6d;
	background-color: #fff;
}

#ucilr #sidebar ul#navlist li:last-child a { border-bottom: none; }

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

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

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

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

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

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#ucilr #main.text div.crumbs a {
	text-decoration: none;
	color: #1b3d6d;
}

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

	/* --- Headers --- */

#ucilr #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: bold 23px 'Open Sans', sans-serif; /* Current Issue */
}

#ucilr .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: bold 21px 'Open Sans', 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 --- */

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

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

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

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

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

#ucilr #main.text div.doc { margin: 0 0 15px; }

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

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

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

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

#ucilr #coverart #beta .coverart-box h4 {
    font: normal 18px 'Open Sans', sans-serif; /* default is 18px */
    color: #000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf;
}

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

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

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

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

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

#ucilr #masthead h2.masthead { font: 400 21px 'Open Sans', sans-serif; }

#ucilr #masthead tr th {  }

#ucilr #masthead tr td {  }

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

#ucilr #footer,
#ucilr #footer #bepress a {
	height: 75px;
	background-color: #002244;
}

#bepress a:focus { outline: 2px dotted #ecc333; }

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

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

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

	/* Remove gap under search pages for full-width footer */

.legacy #ucilr #wrapper:after { content: none; }

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

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

.mbl #ucilr #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 15.612245% !important;  /* 153 / 980 */
	height: auto !important; /* !important avoides DC assigning incorrect height to logo image */
}

	/* fixes invisible space above header */

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

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

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

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


/* --- for 10th anniversary special edition button in home page intro text, dconrad 2-13-20 --- */
#ucilr a#anniv-btn.btn {
   font-size: 16px;
   padding: 10px;}


