/* -----------------------------------------------
Journal local stylesheet.
Author:   Paul Ryan
Version:  August 2017
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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


/* font */
@import url('https://fonts.googleapis.com/css?family=Crimson+Text|Open+Sans+Condensed:300,700|Open+Sans:400,700');

	/* --- Meta styles and background --- */

body {
	font: normal 12px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #ffffff;
}


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

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

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

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

	/* --- Logo --- */

#comminfolit #logo_image { /* include an image for accessibility */
	display: none;
}


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

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


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

#comminfolit #navigation #tabs a {
	font: 700 13px 'Open Sans Condensed', sans-serif;
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */
	transition: background 0.3s ease;
	line-height: 14px;
	color: #ffffff;
	background-color: transparent;
	padding: 0 11px;
	margin: 15px 0 0;
	border: 0;
	border-right: 1px solid #ffffff;
	float: left; }

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

#comminfolit #navigation #tabs li:last-child a { border-right: none; }

#comminfolit #navigation #tabs a span { font-size: 13px; }	/* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */

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

#comminfolit #navigation #tabs #tabtwo,
#comminfolit #navigation #tabs #tabthree { display: none; }

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

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

#comminfolit #sidebar a:link,
#comminfolit #sidebar a:visited {
	font: normal 12px 'Open Sans', sans-serif;
	color: #000077;
	text-decoration: none;
}

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

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

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

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

		/* Sidebar link colors */
#comminfolit #sidebar ul#navlist li a:active,
#comminfolit #sidebar ul#navlist li a:hover,
#comminfolit #sidebar ul#navlist li a:focus {
	color: #000000;
	background: #ffffff;
}

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


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

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

#comminfolit .sidebar-search h2 { font: bold 12px 'Open Sans', sans-serif; }

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

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

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


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

#comminfolit #content { background-color: #ffffff; }

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#comminfolit #main.text div.crumbs a {
	text-decoration: none;
	color: #000077;
}

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

	/* --- Headers --- */

#comminfolit #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 22px 'Crimson Text', serif; /* Current Issue */
}

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

	/* --- Links --- */

#comminfolit #main.text a:link,
#comminfolit #main.text a:visited {
	text-decoration: underline;
	color: #000077; }

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

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

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

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

#comminfolit #coverart #beta .coverart-box {
	font: normal 12px 'Open Sans', sans-serif;
	border: 0; }

#comminfolit #coverart #beta #coverart-box-container {
	border: 0; }

/* rule pushed cover art down
#coverart #beta	{ width: auto; }
*/

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

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


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

#comminfolit #footer,
#comminfolit #footer #bepress a {
	height: 90px;
	background-color: #eeeeee; }

#comminfolit #footer p,
#comminfolit #footer p a  {
	font: normal 12px/2 'Open Sans', sans-serif;
	color: #000077;
	text-decoration: none; }

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

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


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


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