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

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

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
	font: normal 14px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fff url(../assets/md5images/ada967f65d71dc8a27cfdd5123882d4f.gif) repeat-x left top;
}

#tfr { background: url(../assets/md5images/94be8e67ee61e0c5cb95d0d96bc318bc.gif) repeat-x left bottom; }

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

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

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

	/* --- Logo --- */

#tfr #logo_image,
#tfr #header a#logo_link {
	display: none;
}

#tfr #header a#banner_link:focus img,
#tfr #header a#logo_link:focus img {
    outline: 2px dotted #7a7876;
}

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

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

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

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

#tfr #navigation #tabs a {
	font: bold 12px "Montserrat", sans-serif;
	text-transform: uppercase;
	display: block;
	line-height: 37px;
	color: #fff;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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

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

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

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


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

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

#tfr #sidebar a:link,
#tfr #sidebar a:visited {
	font: normal 14px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #104e7b;
	text-decoration: none;
}

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

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

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

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

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

#tfr #sidebar ul#navlist li a:active,
#tfr #sidebar ul#navlist li a:hover,
#tfr #sidebar ul#navlist li a:focus {
	color: #104e7b;
	background-color: #fff;
}

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

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

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

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

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

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

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

#tfr #issn p { letter-spacing: .13em; }

#tfr #sidebar a:focus img { outline: 2px dotted #104e7b; }

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

#tfr #content { 
	min-height: calc(100vh - 236px); /* sticky footer: calculates 100% viewport height - (total heights of header, navigation and footer) */
	background-color: #fff;
}

#sub { margin-top: 22px; }

	/* --- Breadcrumbs --- */

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

#tfr #main.text div.crumbs a {
	text-decoration: none;
	color: #104e7b;
}

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

	/* --- Headers --- */

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

#tfr .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 #ddd;
	padding-bottom: 0;
	margin-bottom: 25px;
}

#tfr #masthead caption,
#tfr #masthead h4 {
	font: normal 21px Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #000;
	text-align: left;
	padding: 15px 0;
}

	/* --- Links --- */

#tfr #main.text a:link,
#tfr #main.text a:visited {
	text-decoration: underline;
	color: #104e7b;
}

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

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

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

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

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

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

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

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

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

#tfr #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 #ddd;
}

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

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

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

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

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

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

#tfr #masthead tr th {  }

#tfr #masthead tr td {  }

	/* Article pages series */

#tfr #alpha .element p,
#tfr #custom-fields .element p,
#tfr #alpha #recommended_citation p,
#tfr #alpha #attach_additional_files .files span {
	font-size: 14px;
}

#tfr #beta_7-3 #beta-disciplines.aside p {
	font-size: 14px !important;
}

#tfr #alpha .element h4,
#tfr #custom-fields .element h4,
#tfr #beta_7-3 h4,
#tfr #alpha #attach_additional_files .related strong {
	font-size: 15px !important;
}
#tfr #alpha #title.element p {
	font-size: 22px;
}

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

#tfr #footer,
#tfr #footer #bepress a {
	height: 74px;
	background-color: #737270;
}

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

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

#tfr  #footer a.secondary-link { font-size: 11px; }

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

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

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

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

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

#tfr #main.text a:link span.icon-question-sign {
	text-decoration: none;
}

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

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

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

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

/*centering social media icons in sidebar KKunaniec 3-1-2023 */
#tfr #social-icons {
	margin-left:auto;
	margin-right:auto;
	display:inline-block;}
	
/*Submissions page formatting KKunaniec 3-1-2023 */

	#tfr .column {
	display:inline-block;
	min-width:60px;
	padding-right:12px;
	max-width:220px;
}


/* Styling for CAS log-in 04-27-21 Kkunaniec */
#gvsu-login {
	border: 3px #f2f2f2 solid;
	padding: 15px;
	width: 610px;
}

#gvsu-login .gvsulogin_panel {margin-top:28px;}


#gvsu-login a:link,
#gvsu-login a:visited {
	font-weight: bold;
  color: #13599F;
  font-size: 18px;
}

#gvsu-login div {
	display: inline-block;
	vertical-align: top;
}

.gvsulogin_panel p {
	margin: 0;
}

.gvsulogin_panel h2 {
	margin: 0;
}

div.gvsulogin_panel p {
	padding-left: 215px;
}

div.gvsulogin_panel a {
	padding-left: 215px;
	display:inline-block;
}


#gvsu-login img {
	float:left;

}

/* For Authors Page Button - kkunaniec 7/29/2024 */
#tfr #author-button {
	margin:auto;
	display:block;
    text-align:center;
}

#tfr #author-button a {
	width: 100%;
    max-width: 150px !important;
    text-align: center !important;
    text-decoration: none !important;
    background: #fff !important;
    border: 1px solid #000 !important;
    font-weight: normal;
    font-size: 16px;
    padding: 12px;
    color: #fff !important;
    background: #205FA4 !important;
	margin-bottom: 20px;
}

#tfr #tfr-center p, h4, h2 {
	text-align:center;
}