/* -----------------------------------------------
Journal local stylesheet.
Author:   Jami Wardlow
Version:  Jan 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-image: url(../assets/md5images/e379d17191c8a2d780652da1eda26229.gif), url(../assets/md5images/429c1e13410441f0f415a3c389abbf9d.gif);
	background-repeat: repeat-x;
	background-position: left top, left bottom;
}

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

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

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

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

	/* --- Logo --- */

#clcweb #logo_image { display: none; }

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

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


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

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

#clcweb #navigation #tabs a {
	font: bold 12px Arial, "Helvetica Neue", Helvetica, sans-serif;
	text-transform: uppercase;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	transition: background 0.3s ease;
	line-height: 38px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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

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

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

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


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

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

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

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

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

#clcweb #sidebar ul#navlist { border-top: 0; }

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

#clcweb #sidebar ul#navlist li a:active,
#clcweb #sidebar ul#navlist li a:hover,
#clcweb #sidebar ul#navlist li a:focus {
	color: #7a242f;
	background-color: #fff;
	border-bottom: 1px solid #fff;
}

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

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

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

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

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

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


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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#clcweb #main.text div.crumbs a {
	text-decoration: none;
	color: #7a242f;
}

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

	/* --- Headers --- */

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

#clcweb .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 --- */

#clcweb #main.text a:link,
#clcweb #main.text a:visited {
	text-decoration: underline;
	color: #7a242f; }

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

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

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

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

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

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

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

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

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

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

#clcweb #masthead tr th {

}

#clcweb #masthead tr td {

}


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

#clcweb #footer,
#clcweb #footer #bepress a {
	height: 106px;
	background-color: #e1e1e1; }

#clcweb #footer #bepress a { background-position: top; }

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

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

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


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

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

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


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

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

.mbl #clcweb #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 #clcweb #sidebar ul#navlist li a { padding: 6px 0px; }

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








/* Left-aligned All Issues page by editor request CM 2019-01-14 */
#toc h1, #toc h2, #toc h3, #toc h4, #toc p, #ed h3, #ed h4 {
text-align: left;
}

/* Hide "Thematic Cluster:" document type (along with Introduction via CUSTOM-1824) in order to utilize issue intro text to customize Thematic Cluster doctype label display.  CM 2021-04-21 */
#clcweb #container #wrapper #content #main.text .article-list h2#cluster {
	display:none;
	}



