/* -----------------------------------------------
Journal local stylesheet.
Author:   David Stienstra
Version:  May 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: #601c2d url(../assets/md5images/ecd763bdf39a7fdf42878c6965495585.gif) repeat-x left top;
}


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

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

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

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

	/* --- Logo --- */

#crjcsm #logo_image { /* include an image for accessibility */
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "left:" for left aligned logo */
	width: 19.48979591836% !important;  /* 240 / 980 */
	height: auto;
}


/* ---------------- Navigation ---------------- */
#crjcsm #navigation {
	background: url(../assets/md5images/04e974337ebd99b543bdf662990eee75.gif) repeat-x left top;
}


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


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

#crjcsm #navigation #tabs a {
	font: normal 17px 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: 44px;
	color: #a72323;
	background-color: transparent;
	padding: 0 15px;
	margin: 0;
	border: 0;
	border-right: 1px solid #fff;
	float: left; }

#crjcsm #navigation #tabs a:hover,
#crjcsm #navigation #tabs a:active,
#crjcsm #navigation #tabs a:focus {
	text-decoration: underline;
	color: #ffcf03;
	background-color: #a72323;
}

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

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

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


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

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

#crjcsm #sidebar a:link,
#crjcsm #sidebar a:visited {
	font: normal 14px Arial, Helvetica Neue, Helvetica, sans-serif;
	color: #8d1e1e;
	text-decoration: none;
}

#crjcsm #sidebar a:hover,
#crjcsm #sidebar a:active,
#crjcsm #sidebar a:focus {
	color: #8d1e1e;
	text-decoration: underline;
}

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

#crjcsm #sidebar ul#navlist {
	border-top: none; }	 /* border added by ir-custom.css by default */
#crjcsm #sidebar ul#navlist li:first-child a {
	border-top: 1px solid #be7173; /* border is removed if #navlist has no content */
}

#crjcsm #sidebar ul#navlist li a {
	color: #8d1e1e;
	transition: background 0.3s ease;
	font-weight: normal;
	background-color: #e8e5e1;
	border-bottom: 1px solid #be7173;
}

		/* Sidebar link colors */
#crjcsm #sidebar ul#navlist li a:active,
#crjcsm #sidebar ul#navlist li a:hover,
#crjcsm #sidebar ul#navlist li a:focus {
	color: #a62323;
	background-color: #fffbeb;
}

	/* --- Sidebar text --- */
#crjcsm #sidebar .sidebar-search label {
	font: normal 14px Arial, Helvetica Neue, Helvetica, sans-serif;
}

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

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

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

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

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

#crjcsm #sidebar #sidebar-images img {
	display: block;
	margin: auto;
}

#crjcsm #sidebar img#doaj {
	padding-bottom: 15px;
}

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

#crjcsm #wrapper { /* for full-length sidebar content background/elements */
	background: url(../assets/md5images/f60683c7d2f90ca95c452b7cc6d5d10b.gif) repeat-y left top;
 	margin-top: 16px;
}

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#crjcsm #main.text div.crumbs a {
	text-decoration: none;
	color: #a72323;
}

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

	/* --- Headers --- */

#crjcsm #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 22px Georgia, Times, Times New Roman, serif; /* Current Issue */
}

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

	/* --- Links --- */

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

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

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

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

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

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

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

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

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

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

#crjcsm #masthead h2.masthead { font: 400 21px Georgia, Times, Times New Roman, serif; }

#crjcsm #masthead tr th {

}

#crjcsm #masthead tr td {

}


/* ---------------- Footer ---------------- */
#crjcsm #footer {
	border-top: 1px solid #a22429;
	margin-bottom: 10px;
}

#crjcsm #footer,
#crjcsm #footer #bepress a {
	height: 88px;
	background-color: #fffbeb; }

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

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

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

/* Additional footer logo */
	 
#crjcsm #footer { position: relative; }
	 
a#footer-logo-link { margin: 0; }
	 
#footerlogo {
	position: absolute;
	top: 0;
	right: 0;
}

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

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

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


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

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

.mbl #sidebar #issn p.sb-issn,
.mbl #sidebar #issn p.sb-extra-issn {
pointer-events: none;
}

/* Move this rule the to the bottom of ir-local.css */
.mbl #footer-logo-link { display: none; } /* logos aren't hidden by mbl footer */

/* Hiding first three navigation tabs hmw 6.14.18 */
#crjcsm #navigation #tabs li#tabone {display: none}
#crjcsm #navigation #tabs li#tabtwo {display: none}
#crjcsm #navigation #tabs li#tabthree {display: none}

/* ISBN Formatting - bd 2018-07-10 */
#crjcsm #sidebar #issn p {text-align:left;padding-left:15px;}

/* Sidebar images - bd 2018-07-10 */
#crjcsm #sidebar #sb-custom-lowest img {width: 200px;height: auto;}
#crjcsm #sidebar #sb-custom-lowest h3.imgsdbr {text-indent:0;padding-left:15px;}

/* Added images to Editorial Board - hmw 2019.01.07 */
#crjcsm #main.text #editorial-board img {
height: auto;
width: 150px;
float: left;
margin: 0 10px 0 0;
}
 
#crjcsm #main.text .clearfix:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}