/**
 * @file styles/variables.less
 *
 * Copyright (c) 2014-2020 Simon Fraser University
 * Copyright (c) 2003-2020 John Willinsky
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 *
 * @brief LESS variable that are used by the theme
 *
 */
/**
 * @file styles/modern.less
 *
 * @brief Modern forest-green visual refresh for the Health Sciences theme.
 */
html {
  scroll-behavior: smooth;
}
body {
  background: #FFF;
  color: #233129;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #DCEFE4;
  color: #001400;
}
::placeholder {
  color: #607068;
  font-style: normal;
  opacity: 1;
}
a,
.btn,
.nav-link,
.dropdown-item,
.form-control,
.page-link {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
a {
  color: #075B39;
}
a:hover,
a:focus {
  color: #0B6B43;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid rgba(11, 107, 67, 0.35);
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: #233129;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
/* Header */
.main-header {
  position: relative;
  z-index: 20;
  background: linear-gradient(135deg, #001400 0%, #003300 58%, #0B6B43 145%);
  border-bottom: 4px solid #0B6B43;
  box-shadow: 0 8px 28px rgba(0, 35, 18, 0.2);
  color: #fff;
}
/*
 * OJS renders separate desktop and mobile copies of the brand, user menu,
 * and language menu. Keep their responsive visibility explicit here because
 * this stylesheet is also shipped precompiled to avoid stale LESS caches.
 */
#userNav,
.navbar-logo,
#languageLargeNav {
  display: none !important;
}
.navbar-brand {
  display: flex;
}
#primaryNav-userNav,
#languageSmallNav {
  display: block;
}
.navbar-logo a,
.navbar-brand,
.navbar-logo-text {
  color: #fff;
}
.navbar-logo-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}
.navbar-logo-text:hover,
.navbar-logo-text:focus {
  color: #fff;
}
.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
}
.navbar-light .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .dropdown-item:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}
.dropdown-menu {
  padding: 0.55rem;
  background: #003300;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 35, 18, 0.14);
}
.dropdown-item {
  border-radius: 4px;
}
@media (min-width: 992px) {
  .main-header .container {
    padding-top: 2.35rem;
  }
  #userNav,
  .navbar-logo,
  #languageLargeNav {
    display: block !important;
  }
  .navbar-brand,
  #primaryNav-userNav,
  #languageSmallNav {
    display: none !important;
  }
  .navbar-logo {
    padding-top: 1.25rem;
    padding-bottom: 1.85rem;
  }
  .navbar-logo-text {
    font-size: 30px;
  }
  #primaryNav {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  #primaryNav .nav-link {
    padding: 0.9rem 1rem;
    color: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 6px;
  }
  #primaryNav .nav-link:hover,
  #primaryNav .nav-link:focus {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    border-color: transparent;
  }
  #primaryNav .dropdown-menu.show {
    top: calc(100% + 4px);
    padding: 0.8rem 1rem;
    background: #0B6B43;
    border: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 16px 40px rgba(0, 35, 18, 0.14);
  }
  #primaryNav .dropdown-item {
    color: #fff;
  }
  #primaryNav .dropdown-item:hover,
  #primaryNav .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
  }
  #userNav .nav-link,
  .language-toggle .dropdown-toggle {
    color: rgba(255, 255, 255, 0.82);
    border: 0;
    border-radius: 6px;
  }
  #userNav .nav-link:hover,
  .language-toggle .dropdown-toggle:hover,
  #userNav .nav-link:focus,
  .language-toggle .dropdown-toggle:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: transparent;
  }
  #userNav .dropdown-item,
  .language-toggle .dropdown-item {
    color: #fff;
  }
  #userNav .dropdown-item:hover,
  .language-toggle .dropdown-item:hover,
  #userNav .dropdown-item:focus,
  .language-toggle .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
}
/* Page structure and section rules */
.page-header {
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
}
.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.page-header h1:after {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-top: 1rem;
  background: linear-gradient(90deg, #003300, #0B6B43, #B8D8C5);
  border-radius: 999px;
}
.page-content {
  margin-bottom: 4rem;
  padding-top: 3.5rem;
  border-top-color: #B8D8C5;
}
@media (min-width: 992px) {
  .page-header h1:after {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Buttons and form controls */
.btn {
  padding: 0.65rem 1.15rem;
  background: #FFF;
  border: 1px solid #003300;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0, 51, 0, 0.06);
  font-weight: 700;
  color: #075B39;
}
.btn:hover,
.btn:focus,
.btn:active {
  background: #003300;
  border-color: #003300;
  box-shadow: 0 8px 18px rgba(0, 51, 0, 0.16);
  color: #fff;
  transform: translateY(-1px);
}
.btn-primary {
  background: #003300;
  border-color: #003300;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: #0B6B43 !important;
  border-color: #0B6B43 !important;
  color: #fff;
}
.btn-link,
.btn-text {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.btn-link:hover,
.btn-text:hover,
.btn-link:focus,
.btn-text:focus,
.btn-link:active,
.btn-text:active {
  background: #F4F8F5;
  border-color: transparent;
  box-shadow: none;
  color: #075B39;
  transform: none;
}
.form-control,
.form-select {
  background-color: #FFF;
  border: 1px solid #D7E3DB;
  border-radius: 6px;
  color: #233129;
}
.form-control:hover,
.form-select:hover {
  border-color: #B8D8C5;
}
.form-control:focus,
.form-select:focus {
  background-color: #FFF;
  border-color: #0B6B43;
  box-shadow: 0 0 0 0.22rem rgba(11, 107, 67, 0.14);
  color: #233129;
}
.form-check-input {
  border-color: #B8D8C5;
}
.form-check-input:checked {
  background-color: #003300;
  border-color: #003300;
}
legend {
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #B8D8C5;
  color: #075B39;
  font-weight: 700;
}
/* Panels and supporting components */
.card,
.search-filters,
.section-description,
.page-category-description-wrapper {
  background: #F7FAF8;
  border: 1px solid #D7E3DB;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 51, 0, 0.08);
}
.section-description,
.page-category-description-wrapper {
  padding: 1.5rem;
}
.card {
  overflow: hidden;
}
.card .card-body {
  padding: 1.25rem;
}
.badge-light,
.tagit-choice {
  background: #DCEFE4;
  color: #075B39;
}
.alert,
.modal-content {
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 35, 18, 0.14);
}
.alert-primary {
  background: #F4F8F5;
  border-color: #B8D8C5;
  color: #233129;
}
.alert-primary a,
.alert-primary a:hover,
.alert-primary a:focus,
.alert-primary a:active {
  color: #075B39;
}
.modal-content {
  background: #003300;
  color: #fff;
}
.page-link {
  color: #075B39;
}
.page-link:hover,
.page-link:focus {
  background: #003300;
  border-color: #003300;
  color: #fff;
}
.page-item.active .page-link {
  background: #DCEFE4;
  border-color: #B8D8C5;
  color: #075B39;
}
/* Homepage */
.homepage-image {
  max-height: 500px;
  overflow: hidden;
}
.homepage-image img {
  height: min(500px, 42vw);
  min-height: 280px;
  object-fit: cover;
}
.container-homepage-issue {
  margin-top: 0;
  border-top: 0;
}
.homepage-issue-current {
  color: #0B6B43;
  font-family: 'Fira Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.homepage-issue-identifier {
  color: #003300;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}
.homepage-issue-published {
  color: #607068;
}
.homepage-issue-cover,
.page-issue-cover,
.page-category-cover,
.article-details-cover {
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 35, 18, 0.14);
}
.homepage-issue-description-wrapper,
.page-issue-description-wrapper,
.article-details-main {
  background: #F7FAF8;
  border: 1px solid #D7E3DB;
  border-left: 4px solid #0B6B43;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 51, 0, 0.08);
}
.homepage-issue-description-wrapper,
.page-issue-description-wrapper {
  padding: 1.5rem;
}
.homepage-issue-description-wrapper {
  position: relative;
}
.homepage-issue-description-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #003300, #0B6B43, transparent);
  border-radius: 10px 10px 0 0;
}
.homepage-announcements {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  padding: 2rem 1rem;
  background: #F4F8F5;
  border-top: 1px solid #B8D8C5;
  border-bottom: 1px solid #B8D8C5;
}
.homepage-announcement {
  padding: 1rem 1.5rem;
}
.homepage-announcement + .homepage-announcement {
  border-left: 1px solid #B8D8C5;
}
.homepage-announcement-title {
  font-size: 1.25rem;
}
.homepage-issue-description:after {
  background-image: linear-gradient(rgba(247, 250, 248, 0), #F7FAF8 24%);
}
@media (min-width: 1200px) {
  .homepage-image-behind-issue:after {
    background: linear-gradient(180deg, rgba(0, 20, 0, 0.3), rgba(0, 20, 0, 0.72));
  }
  .homepage-image-behind-issue + .container-homepage-issue .homepage-issue-current,
  .homepage-image-behind-issue + .container-homepage-issue .homepage-issue-identifier,
  .homepage-image-behind-issue + .container-homepage-issue .homepage-issue-published {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }
}
@media (min-width: 992px) {
  .homepage-issue-description-wrapper,
  .page-issue-description-wrapper,
  .section-description,
  .page-category-description-wrapper {
    padding: 3rem;
  }
}
@media (max-width: 767px) {
  .homepage-announcement + .homepage-announcement {
    border-top: 1px solid #B8D8C5;
    border-left: 0;
  }
}
/* Issues and article lists */
.issue-toc-section + .issue-toc-section {
  border-top-color: #B8D8C5;
}
.issue-toc-section-title,
.category-title {
  position: relative;
  margin: 2.75rem 0 1.25rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, #F4F8F5, transparent);
  border-left: 4px solid #003300;
  border-bottom: 1px solid #B8D8C5;
  border-radius: 0 6px 6px 0;
  color: #075B39;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.article-summary {
  position: relative;
  margin: 0;
  padding: 1.65rem 1.25rem;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #D7E3DB;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.article-summary:hover {
  background: linear-gradient(90deg, #F4F8F5, #FFF 72%);
  border-left-color: #0B6B43;
  transform: translateX(2px);
}
.article-summary-title {
  margin-top: 0.3rem;
  font-size: 1.25rem;
  line-height: 1.45;
}
.article-summary-title a {
  color: #233129;
}
.article-summary-title a:hover,
.article-summary-title a:focus {
  color: #075B39;
}
.article-summary-authors,
.article-summary-pages,
.article-summary-date {
  color: #607068;
}
.article-summary-galleys .btn,
.article-details-galley .btn,
.homepage-issue-galleys .btn {
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
}
.issue-summary {
  padding-bottom: 2rem;
  border-bottom: 1px solid #B8D8C5;
}
.issue-summary-cover {
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 51, 0, 0.08);
}
/* Article page */
.article-details h1 {
  color: #233129;
  line-height: 1.2;
}
.article-details-issue-identifier a,
.article-details-doi a {
  color: #075B39;
}
.article-details-heading,
.article-details .item > .label {
  padding-left: 0.8rem;
  border-left: 3px solid #0B6B43;
  color: #075B39;
}
@media (min-width: 992px) {
  .article-details-main {
    padding: 3.25rem 4rem;
  }
  .article-details-main .article-details-heading,
  .article-details-main .item > .label {
    color: #233129;
  }
}
/* Search, sidebars, and footer */
.search-filters {
  padding: 1.5rem;
}
.search-filters h2 {
  color: #075B39;
}
.site-footer {
  margin-top: 4rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: linear-gradient(145deg, #001400, #00150d);
  border-top: 4px solid #0B6B43;
  color: rgba(255, 255, 255, 0.86);
}
.site-footer-sidebar {
  border-bottom-color: rgba(184, 216, 197, 0.42);
}
.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}
.site-footer a:hover,
.site-footer a:focus {
  color: #DCEFE4;
  text-decoration-color: #DCEFE4;
}
.pkp_block {
  padding: 1rem;
}
.pkp_block .title {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(184, 216, 197, 0.42);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.block_make_submission .block_make_submission_link {
  background: #fff;
  border-color: #fff;
  border-radius: 6px;
  color: #003300;
}
.block_make_submission .block_make_submission_link:focus,
.block_make_submission .block_make_submission_link:hover {
  background: #DCEFE4;
  border-color: #DCEFE4;
  color: #003300;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
