/* -----------------------------------------------
Journal local stylesheet.
Author:   Sean Beld
Version:  March 2, 2018
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

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

body {
	font: normal 12px/1.5 Arial, Verdana, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #f0efea;
}


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

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

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

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

	/* --- Logo --- */
  
#jpt #logo_image { /* include an image for accessibility */
  position: absolute !important; /* !important overrides mbl styling */
	top: 3.174603174%;
	left: 3.469387755%;  /* change to "left:" for left aligned logo */
	width: 37.04081632% !important;  /* 227 / 980 */
	height: auto;
}

#jpt #header a#banner_link:focus img,
#jpt #header a#logo_link:focus img {
  outline: 1px dashed #000000;
}


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

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


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

#jpt #navigation #tabs a {
	font: normal 12px Arial, Verdana, 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: 36px;
	color: #000;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
	float: left; }

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

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

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

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

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


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

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

#jpt #sidebar a:link,
#jpt #sidebar a:visited {
	font: normal 12px Arial, Verdana, Helvetica, sans-serif;
	color: #006633;
	text-decoration: none;
}

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

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

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

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

		/* Sidebar link colors */
#jpt #sidebar ul#navlist li a:active,
#jpt #sidebar ul#navlist li a:hover,
#jpt #sidebar ul#navlist li a:focus {
	color: #006633;
	background-color: #fff;
}

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


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

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

#jpt .sidebar-search h2 { font: bold 12px Arial, Verdana, Helvetica, sans-serif; }

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

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

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


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

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

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

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#jpt #main.text div.crumbs a {
	text-decoration: none;
	color: #006633;
}

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

	/* --- Headers --- */

#jpt #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 24px Arial, Verdana, Helvetica, sans-serif; /* Current Issue */
}

#jpt .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: normal 21px Arial, Verdana, 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 --- */

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

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

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

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

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

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

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

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

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

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

#jpt #masthead h2.masthead { font: 400 21px Arial, Verdana, Helvetica, sans-serif; }

#jpt #masthead tr th {

}

#jpt #masthead tr td {

}


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

#jpt #footer,
#jpt #footer #bepress a {
	height: 75px;
	background-color: #0e6747; }

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

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

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


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

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

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


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

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

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

.mbl #jpt #header,
.mbl #jpt #header a#banner_link img,
.mbl #jpt #navigation {
    width: 100% !important;
}
.mbl #jpt #header #logo_image {
    position: absolute !important; /* !important overrides mbl styling */
    top: 3.174603174%;
    left: 3.469387755%;  /* change to "right:" for right aligned logo */
    width: 37.04081632% !important;  /* 240 / 980 */
    height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

/* --- sidebar social media --- */

#jpt .sb-custom-ul li {
    /* display: inline; */
    float: left;
}

#jpt div#sb-custom {
    margin-top: 50px;
}

#jpt .sb-custom-ul li.facebook {
    margin-left: 13px;
}

/* Sidebar images - hmw 2018-10-03 
#jpt #sidebar #sb-custom-lowest img {
	width: 200px;height: auto;
} */


/* Sidebar images - hmw 2018-10-03 */
#jpt #sidebar #sb-custom a img {
	width: 200px;height: auto;
}

#jpt #container #wrapper #sidebar #sb-custom-lowest a img {
    padding-bottom: 10px;
}

/* Display button on journals.html but not on journal homepage hmw 2019-09-10 */
#jpt #peerreviewtext {
    display: none;
}