/* Override for Global Styles */
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
	background-color: #f4f6ff;
	color: #10375C;
}

p {
text-align: start;
font-size: 14px;
line-height: 1.8;
}

a {
  color: #127681;
  text-decoration: none;

}

a:hover, a:focus {
color: #f3c623;
text-decoration: underline;
}

.btn-default {
color: #10375C;
border-style: solid;
border-width: 1px 1px 1px 1px;
border-color: #F3C623;
background-color: #F3C623;
border-radius: 30px 30px 30px 30px;
padding: 03px 30px 03px 30px;
margin: 0% 0% 0% 0%;
font-size: 16px;
word-spacing: 0px;
}

.btn-default:hover {
  transform: scale(1.1); 
	border-color: #F3C623;
background-color: #F3C623;
}

.btn-primary {
    color: #000;
    background-color: #F3C623;
    border-color: #F3C623;
}

.btn-primary:hover {
    color: #F3C623;
    background-color: #127681;
    border-color: #127681;
}

#article-inline-sidebar > div.pkp_block.block_inline_html_how_to_cite.how-to-cite > div.panel-body > div:nth-child(3) {
padding-top: 1em;
position: relative;
display: inline-block;
vertical-align: middle;
}

#article-inline-sidebar > div.pkp_block.block_inline_html_how_to_cite.how-to-cite > div.panel-body > div:nth-child(2){
padding-top: 1em;
position: relative;
display: inline-block;
vertical-align: middle;
}

.btn, .pkp_block.block_make_submission a {
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
border-radius: 30px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}


.label {
display: inline;
padding: .2em .6em .3em;
font-size: 75%;
font-weight: 700;
line-height: 1;
color: #10375C;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}

/* Override styles for the header and navigation elements */
.navbar-default, .header_view {
  background-color: #127681;
  border-color: #127681;
}

/* Site title/logo styling */
#headerNavigationContainer .site-name a.navbar-brand {
  color: #F4F6FF;
  font-size: 0.7em;
  font-weight: 600;
  text-decoration: none;
}

/* Main navigation centering */
#main-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline-start: 0;
  margin: 0;
  list-style: none;
  line-height: 1.6;
  font-weight: 500;
}

/* Nav links */
.navbar-default .nav > li > a,
.header_view .nav > li > a {
  color: #f3c623;
  font-size: 16px;
  text-transform: uppercase;
}

/* Hide the built‑in search */
.navbar-form,
.search-form {
  display: none !important;
}

/* Header utility (ISSN + social icons) stacked by default */
.header-utilities-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 1em;
  font-weight: 500;
  font-size: 0.9em;
  color: #f1c40f;
}
.header-utilities-inline .header-social a {
  margin-left: 0.5em;
  color: inherit;
  font-size: 2em;
}
.header-utilities-inline .header-social a:hover {
  color: #000;
}

/* Make flex handle layout, remove floats */
.navbar-text.navbar-left.header-utilities-inline {
  float: none !important;
}

/* ========== HEADER ROW GRID ========== */
/* Turn each header-row into a flex container */
.header-row {
  display: flex;
  align-items: center;
  padding: 0.5em 0;
  width: 100%;
  height: 5em;
}

/* First row: social | title | user */
.header-row-1 {
 margin-top: 2em;
}
.header-row-1 .header-social-col,
.header-row-1 .header-user-col {
  flex: 1;
}
.header-row-1 .header-title-col {
  flex: 1;
  text-align: center;
}

/* Second row: ISSN | nav | search */
.header-row-2 {
  padding-top: 0.75em;
}
.header-row-2 .header-issn-col,
.header-row-2 .header-search-col {
  flex: 1;
}
.header-row-2 .header-nav-col {
  flex: 2;
  text-align: center;
}

/* Override Bootstrap’s float on col-sm-4 if needed */
.header-row .col-sm-4 {
  float: none !important;
}

/* ========== ROW‑SPECIFIC STYLES ========== */
/* Top social icons */
.header-social-top {
  margin: 0;
}
.header-social-top a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5em;
  height: 2.5em;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #F4C400;
  font-size: 1.2em;
  margin-right: 0.5em;
}
.header-social-top a:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Title */
.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
  color: #FFF;
  font-weight: 600;
  text-decoration: none;
}

/* User menu top‑right */
.header-user-col .nav-pills > li > a {
  color: #F4C400;
  text-transform: uppercase;
  font-weight: 500;
}

/* ISSN bottom‑left */
.header-issn {
  color: #F4C400;
  font-weight: 500;
}

/* Primary nav bottom‑center */
.header-nav-col .nav > li > a {
  color: #F4C400;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5em 1em;
}

/* Search bottom‑right */
.header-search-col .search-form input,
.header-search-col .search-form button {
  border: none;
  color: #FFF;
}

/* Utility alignment helpers */
.align-items-center {
  display: flex;
  align-items: center;
}
.text-center { text-align: center; }
.text-right  { text-align: right; }

.header-row-1 {
  display: flex !important;
  align-items: center;
}


/* Let the title take up everything else */
.header-row-1 .header-title-col {
  flex: 1 1 auto;
  text-align: center;
}

.navbar-default .navbar-brand, .header_view .navbar-brand {
color: #F4F6FF;
}

.navbar-brand site-title:hover{
color: #f3c623;
}
#headerNavigationContainer > div > div.row.header-row.header-row-1.align-items-center > div.col-sm-4.text-center.header-title-col > a:hover {
color: #f3c623;
}
.header-social a,
.header-social a:hover,
.header-social a:focus,
.header-social a:active {
  text-decoration: none !important;
}

/* ===== Mobile-first header tweaks (Bootstrap 3) ===== */

/* Center brand between left/right toggles on xs/sm */
@media (max-width: 991px) { /* xs + sm */
  #headerNavigationContainer .navbar-header {
    position: relative;
    min-height: 54px;
  }
  #headerNavigationContainer .navbar-brand.navbar-brand-centered {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 10px 0;
    height: 54px;
    line-height: 34px;
    text-align: center;
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #headerNavigationContainer .navbar-brand.navbar-brand-centered img {
    max-height: 34px;
    width: auto;
  }

  /* Right-align the search toggle */
  #headerNavigationContainer .navbar-toggle-right {
    float: right;
    margin-right: 10px;
  }

  /* Give left toggle some spacing so it doesn't collide with brand */
  #headerNavigationContainer .navbar-toggle {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  /* Collapsed nav blocks */
  #jin-main-nav,
  #jin-search {
    border-top: 1px solid #e7e7e7;
  }

  /* Mobile ISSN placement */
  #jin-main-nav .mobile-issn {
    margin-left: 15px;
  }

  /* Stack menus nicely */
  #jin-main-nav .nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Mobile user menu spacing */
  #jin-main-nav .mobile-user-menu {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 5px;
  }

  /* Social links within collapse */
  #jin-main-nav .mobile-social {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 5px;
  }
  #jin-main-nav .mobile-social li > a {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* Search collapse padding */
  .navbar-search-collapse {
    padding: 10px 15px;
  }
}

/* ===== Desktop refinements (md+) ===== */
@media (min-width: 992px) {
  #headerNavigationContainer .navbar-brand.navbar-brand-logo img {
    max-height: 64px;
    width: auto;
  }
  .header-social-top i {
    font-size: 16px;
  }
  .header-issn {
    font-weight: 600;
    letter-spacing: 0.02em;
  }
}

/* Shared/utility */
.header-row {
  padding: 8px 0;
}
.header-social-top > li {
  margin-right: 8px;
}
.header-social-top > li:last-child {
  margin-right: 0;
}

/* Make primary desktop nav tight and centered */
.header-nav-col .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: middle;
}
.header-nav-col .navbar-nav > li > a {
  padding: 8px 12px;
}

/* Ensure pills in the top-right don’t wrap weirdly */
.header-user-col .nav {
  display: inline-block;
}

/* Optional: subtle border between desktop rows */
.header-row-1 {
  border-bottom: 1px solid #eee;
}

/* Improve focus visibility for accessibility */
#headerNavigationContainer a:focus,
#headerNavigationContainer button:focus {
  outline: 2px solid #0a66c2;
  outline-offset: 2px;
}


/* Phones & tablets (≤991px): hide desktop header */
@media (max-width: 991px) {
  .header-desktop {
    display: none !important;
  }
}

/* Desktop (≥992px): hide all mobile-only pieces, even if .collapse tries to open */
@media (min-width: 992px) {
  .header-mobile-only {
    display: none !important;
  }
  /* Specifically defeat Bootstrap's .navbar-collapse.collapse desktop override */
  #jin-main-nav.collapse,
  #jin-search.collapse {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* Optional: if you see any stray horizontal space from collapsed blocks */
#jin-main-nav,
#jin-search {
  margin: 0;
  padding: 0;
  border: 0;
}


/* Override styles for the slider */

#main-content > div > div.col-sm-6.homepage-slider > div > div > h3{
	color: #10375C;
font-size: 42px;
	font-weight: 700;
	line-height: 1.3;
	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
}

#headerNavigationContainer > div > div.navbar-header.visible-xs.visible-sm.header-mobile-only > button { 
	background-color: #fff;
}

#main-content > div > div.col-sm-6.homepage-slider > div > div > p.slide-authors{
	font-size: 16px;
font-weight: 400;
margin: 0 0 5px;
display: inline-block;
}

#main-content > div > div.col-sm-6.homepage-slider > div > div > p.slide-link > a { 
margin-top: 2em;
}



.slick-slider {
position: relative;
display: block;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
-khtml-user-select: none;
-ms-touch-action: pan-y;
touch-action: pan-y;
width: 88%;
-webkit-tap-highlight-color: transparent;
}

@media (max-width: 991px) {
  /* ensure our mobile header behaves like "collapsed" navbar on sm too */
  #headerNavigationContainer .navbar-header { float: none; }

  /* force the hamburger to appear up to 991px */
  #headerNavigationContainer .navbar-toggle {
    display: block;               /* Bootstrap hides it ≥768 by default */
    margin-top: 10px;
    margin-bottom: 10px;
  }

  /* make the collapse actually collapse up to 991px (override BS3 desktop rule) */
  #headerNavigationContainer .navbar-collapse.collapse {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  #headerNavigationContainer .navbar-collapse.collapse.in {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* vertical stack for nav items inside the collapse */
  #headerNavigationContainer .navbar-nav {
    float: none !important;
    margin: 7.5px 0;
  }
  #headerNavigationContainer .navbar-nav > li { float: none; }
  #headerNavigationContainer .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Desktop (≥992px): keep mobile-only pieces hard-hidden (prevents duplicates) */
@media (min-width: 992px) {
  .header-mobile-only { display: none !important; }
  #jin-main-nav.collapse,
  #jin-search.collapse {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}


/* Home Modifications */

#main-content > div > section.current_issue > div > div.heading.row > div { 
text-align: start;
line-height: 2;
font-size: 14px;
}

.journal-description h3 {
  text-align: right;
}

.journal-description h4 {
  text-align: center;
  margin-top: 1.35em;
  margin-bottom: 0.75em;
  line-height: 1.5;
  color: #127681;
  text-transform: uppercase;

}

.pkp_page_index .journal-description, .pkp_page_index .additional_content {
margin-top: 0em;
margin-bottom: 2em;
}

/* ORCID modification */

body > div > div > main > div > div > div > div.article-main > div.authors > div > div > a > svg {
	width: 20px !important;
  height: 20px !important;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

body > div > div > main > div > div > div > div.article-main > div.authors > div > div > a > svg > path {
	width: 20px !important;
  height: 20px !important;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;	
}



/* Style the link text next to the icon */
.orcid a {
  font-size: 0.9rem;
  vertical-align: middle;
  text-decoration: none;
}

/* Image masonry modification */

/* Image grid for inline HTML galleys */
.page_article .inline_html_galley .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.page_article .inline_html_galley .image-grid > figure {
  margin: 0;                 /* kill default figure margins */
  display: flex;             /* keep caption attached */
  flex-direction: column;
}

.page_article .inline_html_galley .image-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}



.page_article .inline_html_galley .image-grid figcaption {
  margin-top: .4rem;
  color: #666;
  font-size: .95rem;
  line-height: 1.35;
}

#article-inline-sidebar > div.pkp_block.block_inline_html_download > div > a.galley-link.btn.btn-primary {
  margin-left: 1em !important;
	margin-top: 1em !important;
	margin-bottom: 1em !important;
}

#citationOutput > div > div > div.csl-right-inline > a {
font-size:12px;}



/* --- Most Read: narrow cards that wrap (stack) when Inline HTML Galley is present --- */
body.pkp_op_view:has(.inline_html_galley) .block_most_read .pkp-most-read-grid,
body.has-inline-galley.pkp_op_view .block_most_read .pkp-most-read-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* ↓ tweak width here */
  gap: 0px;
  margin: 0;
  padding: 0;
  overflow: visible; /* no scroller */
}

/* neutralize Bootstrap's column floats inside this mode */
body.pkp_op_view:has(.inline_html_galley) .block_most_read .most_read_article[class*="col-"],
body.has-inline-galley.pkp_op_view .block_most_read .most_read_article[class*="col-"] {
  float: none !important;
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

/* card layout */
body.pkp_op_view:has(.inline_html_galley) .block_most_read .most_read_article .panel-body,
body.has-inline-galley.pkp_op_view .block_most_read .most_read_article .panel-body {
  min-height: 120px;              /* adjust if you want shorter/taller cards */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* optional: tighten metrics */
body.pkp_op_view:has(.inline_html_galley) .block_most_read .most_read_article_metric,
body.has-inline-galley.pkp_op_view .block_most_read .most_read_article_metric {
  margin-top: 6px;
  font-size: 12px;
  opacity: .85;
}

#article-inline-sidebar > div.pkp_block.block_most_read > div > ul > li {
padding: 0px 15px;
}

/* phone: single column for readability */
@media (max-width: 480px) {
  body.pkp_op_view:has(.inline_html_galley) .block_most_read .pkp-most-read-grid,
  body.has-inline-galley.pkp_op_view .block_most_read .pkp-most-read-grid {
    grid-template-columns: 1fr;
  }
}

.block_most_read .most_read_article_title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;          /* ⇠ change to 3 if you want */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  max-height: calc(1.25em * 2);   /* keep height consistent with the clamp */
}


/* About Page Fix */

#aboutListItem{
  margin-bottom: 10px;
}

/*Shariff List override*/
.list-group-item, .pkp_block ul li {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
background-color: #fff;
border: 0px #fff;
}

/*hypothesis modifications*/
  /* Default highlight color */
  .hypothesis-highlight {
    background-color: rgba(244, 196, 0, 0.35);  /* #F4C400 @ ~35% */
    cursor: pointer;
    transition: background-color .15s ease;
  }

  /* Hover state for a bit more contrast */
  .hypothesis-highlight:hover {
    background-color: rgba(244, 196, 0, 0.5);
  }

  /* Focused/active highlight when an annotation is selected */
  .hypothesis-highlight-focused,
  .hypothesis-highlight.hypothesis-highlight-focused {
    background-color: rgba(18, 118, 129, 0.25); /* #127681 @ ~25% */
    outline: 2px solid #127681;
    outline-offset: 1px;
  }