@charset "utf-8";

/* ———————————————————————————————————————————
   0.  IMPORTS  (unchanged)
   ——————————————————————————————————————————— */
@import url(reset.css);
@import url(grid/960gsfluid.css);
@import url(../base/minified/jquery-ui.min.css);
@import url(pnotify/jquery.pnotify.default.css);
@import url(text.css);
@import url(base.min.css);
@import url(controls.css);
@import url(font-awesome.css);
@import url(application.min.css);

/* ———————————————————————————————————————————
   1.  GLOBAL UTILITIES
   ——————————————————————————————————————————— */
a{word-break:break-word;overflow-wrap:anywhere;}
.published{display:none;}

/* ———————————————————————————————————————————
   2.  MAIN CONTENT WIDTH ALIGNMENT
   ——————————————————————————————————————————— */
.pkp_navigation_primary_wrapper{
    max-width:1140px;
    margin:0 auto;
    padding-left:.5rem;
    box-sizing:border-box;
}

/* ———————————————————————————————————————————
   3.  FULL-WIDTH BLACK STRIP BEHIND THE MENU
   ——————————————————————————————————————————— */
.pkp_navigation_primary_row{position:relative;z-index:1;}
.pkp_navigation_primary_row::before{
    content:"";
    position:absolute;
    top:0;left:50%;
    transform:translateX(-50%);
    width:100vw;height:100%;
    background:#000;
    z-index:-1;
}

/* ———————————————————————————————————————————
   4.  WHITE SEPARATORS BETWEEN TOP-LEVEL ITEMS
   ——————————————————————————————————————————— */
#navigationPrimary>li{border-right:1px solid #fff;padding:0 0rem;}
#navigationPrimary>li:last-child{border-right:none;}
#navigationPrimary>li:hover,
#navigationPrimary>li:focus-within,
#navigationPrimary>li.active{border-color:#fff;}

/* ———————————————————————————————————————————
   5.  BRAND COLOURS
   ——————————————————————————————————————————— */
:root{
    --jos-green:#00706B;
    --jos-green-light:#009f87;
    --jos-cta:#126872;
    --jos-cta-hover:#158a93;
}

/* content links (base) */
.pkp_structure_main a,
.pkp_page_content a,
.obj_article_details a{color:var(--jos-green);}
.pkp_structure_main a:hover,
.pkp_page_content a:hover,
.obj_article_details a:hover{color:var(--jos-green-light);}

/* navigation links stay white */
.pkp_navigation_primary a,
.pkp_navigation_user_wrapper a,
.pkp_site_nav_menu a{color:#fff;}
.pkp_navigation_primary a:hover,
.pkp_navigation_user_wrapper a:hover,
.pkp_site_nav_menu a:hover{color:#e6e6e6;}

/* ———————————————————————————————————————————
   6.  DROPDOWN MENU ITEMS (keep green, not CTA style)
   ——————————————————————————————————————————— */
.dropdown-menu>li>a{color:var(--jos-green);}
.dropdown-menu>li>a:hover{
    color:var(--jos-green-light);
    background:#f2f2f2;
}

/* ———————————————————————————————————————————
   7.  “MAKE A SUBMISSION” CTA   (only real buttons)
   ——————————————————————————————————————————— */
a.cmp_button,
a.pkp_button{
    background:var(--jos-cta)!important;
    color:#fff!important;
    border:none!important;
    border-radius:4px;
    padding:.55rem 1.3rem;
    font-weight:600;
    display:inline-block;
    transition:background .2s ease;
}
a.cmp_button:hover,
a.cmp_button:focus,
a.pkp_button:hover,
a.pkp_button:focus{
    background:var(--jos-cta-hover)!important;
    color:#fff!important;
}

/* ———————————————————————————————————————————
   8.  FOOTER  •  FULL-WIDTH BLACK  •  3-COLUMN LAYOUT
   ——————————————————————————————————————————— */
.pkp_structure_footer{
    position:relative;
    background:#000;
    color:#fff;
    width:100vw;
    left:50%;
    margin-left:-50vw;
}
.pkp_structure_footer .pkp_footer_content{
    max-width:1280px;
    margin:0 auto;
    padding:1.25rem 2rem;
    display:flex;
    flex-wrap:wrap;
    gap:2rem;
    justify-content:space-between;
    align-items:flex-start;
    font-size:.93rem;
    line-height:1.45;
}
.footer-col{flex:1 1 0;min-width:200px;}
.footer-col h3,
.footer-col strong:first-child{
    font-size:1.15rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.03em;
    color:#fff;
    margin:0 0 .65rem 0;
    display:block;
}
.footer-col p,
.footer-col a{color:#bbb;margin:0 0 .45rem 0;}
.footer-col a:hover{color:#e0e0e0;text-decoration:underline;}
.site-links{display:flex;flex-wrap:wrap;column-gap:2rem;row-gap:.35rem;}
.site-links br{display:none;}
.site-links a{flex:0 0 50%;max-width:50%;}
.footer-copy{
    flex:1 1 100%;
    text-align:center;
    font-size:.82rem;
    color:#bbb;
    margin-top:.9rem;
}
.ojs-credit{
    flex:1 1 100%;
    text-align:right;
    font-size:.8rem;
    color:#bbb;
}
@media(max-width:768px){
    .pkp_structure_footer .pkp_footer_content{flex-direction:column;text-align:center;}
    .footer-col{text-align:center;}
    .ojs-credit{text-align:center;margin-top:.75rem;}
}
.pkp_structure_footer a{color:#bbb;}
.pkp_structure_footer a:hover{color:#e0e0e0;text-decoration:underline;}

/* ───────────────────────────────────────────────
   Sidebar “Make a Submission” CTA  •  Green fill
   ─────────────────────────────────────────────── */
.pkp_block.block_make_submission a.block_make_submission_link{
    background:#126872 !important;
    color:#fff !important;
    font-size:1.05rem !important;
    font-weight:600 !important;
    padding:0.9rem 2rem !important;
    border:none !important;
    border-radius:6px !important;
    display:inline-block !important;
    text-align:center;
}
.pkp_block.block_make_submission a.block_make_submission_link:hover,
.pkp_block.block_make_submission a.block_make_submission_link:focus{
    background:#158a93 !important;
    color:#fff !important;
}

/* ———————————————————————————————————————————
   GALLEYS — outline by default; PDF filled green
   (Article + Issue + Home; works in sidebar too)
   ——————————————————————————————————————————— */

/* Default outline for ALL galley links */
.pkp_page_article a.galley-link,
.pkp_page_article .obj_galley_link a,
.pkp_page_issue   a.galley-link,
.pkp_page_issue   .obj_galley_link a,
.pkp_page_index   a.galley-link,
.pkp_page_index   .obj_galley_link a{
  background:transparent !important;
  border:2px solid var(--jos-green) !important;
  color:var(--jos-green) !important;
  border-radius:4px;
  padding:.45rem .75rem;
  line-height:1.2;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  white-space:normal;
  overflow:visible;
}
.pkp_page_article a.galley-link .fa,
.pkp_page_article .obj_galley_link a .fa,
.pkp_page_issue   a.galley-link .fa,
.pkp_page_issue   .obj_galley_link a .fa,
.pkp_page_index   a.galley-link .fa,
.pkp_page_index   .obj_galley_link a .fa{
  color:var(--jos-green) !important;
}

/* PDF ONLY — filled green (all public pages) */
.pkp_page_article a.obj_galley_link.pdf,
.pkp_page_issue   a.obj_galley_link.pdf,
.pkp_page_index   a.obj_galley_link.pdf,
.pkp_page_article .galleys a[href*="viewPdf"],
.pkp_page_issue   .galleys a[href*="viewPdf"],
.pkp_page_index   .galleys a[href*="viewPdf"],
.pkp_page_article .galleys a[href$=".pdf"],
.pkp_page_issue   .galleys a[href$=".pdf"],
.pkp_page_index   .galleys a[href$=".pdf"]{
  background-color:var(--jos-green) !important;
  border-color:var(--jos-green) !important;
  color:#fff !important;
}
.pkp_page_article a.obj_galley_link.pdf .fa,
.pkp_page_issue   a.obj_galley_link.pdf .fa,
.pkp_page_index   a.obj_galley_link.pdf .fa,
.pkp_page_article .galleys a[href*="viewPdf"] .fa,
.pkp_page_issue   .galleys a[href*="viewPdf"] .fa,
.pkp_page_index   .galleys a[href*="viewPdf"] .fa,
.pkp_page_article .galleys a[href$=".pdf"] .fa,
.pkp_page_issue   .galleys a[href$=".pdf"] .fa,
.pkp_page_index   .galleys a[href$=".pdf"] .fa{
  color:#fff !important;
}

/* Hover / focus / active */
.pkp_page_article a.galley-link:hover,
.pkp_page_issue   a.galley-link:hover,
.pkp_page_index   a.galley-link:hover{
  background:rgba(0,112,107,.08) !important;
  border-color:var(--jos-green-light) !important;
  color:var(--jos-green) !important;
}
.pkp_page_article a.obj_galley_link.pdf:hover,
.pkp_page_issue   a.obj_galley_link.pdf:hover,
.pkp_page_index   a.obj_galley_link.pdf:hover,
.pkp_page_article .galleys a[href*="viewPdf"]:hover,
.pkp_page_issue   .galleys a[href*="viewPdf"]:hover,
.pkp_page_index   .galleys a[href*="viewPdf"]:hover,
.pkp_page_article .galleys a[href$=".pdf"]:hover,
.pkp_page_issue   .galleys a[href$=".pdf"]:hover,
.pkp_page_index   .galleys a[href$=".pdf"]:hover{
  background:var(--jos-green-light) !important;
  border-color:var(--jos-green-light) !important;
  color:#fff !important;
}
.pkp_page_article a.obj_galley_link.pdf:active,
.pkp_page_issue   a.obj_galley_link.pdf:active,
.pkp_page_index   a.obj_galley_link.pdf:active,
.pkp_page_article .galleys a[href*="viewPdf"]:active,
.pkp_page_issue   .galleys a[href*="viewPdf"]:active,
.pkp_page_index   .galleys a[href*="viewPdf"]:active,
.pkp_page_article .galleys a[href$=".pdf"]:active,
.pkp_page_issue   .galleys a[href$=".pdf"]:active,
.pkp_page_index   .galleys a[href$=".pdf"]:active{
  background-color:#055d57 !important;
  border-color:#055d57 !important;
  color:#fff !important;
}

/* Full-width in sidebar lists */
.pkp_page_article .pkp_sidebar .galleys a.galley-link,
.pkp_page_issue   .pkp_sidebar .galleys a.galley-link,
.pkp_page_index   .pkp_sidebar .galleys a.galley-link{
  display:block;
  width:100%;
  box-sizing:border-box;
}

/* ———————————————————————————————————————————
   HOME (INDEX) — “View All Issues” as green link, keep arrow
   ——————————————————————————————————————————— */
.pkp_page_index .cmp_more_link a,
.pkp_page_index a.read_more,
.pkp_page_index .obj_issue_toc .more a,
.pkp_page_index a[href*="/issue/archive"]{
  color:var(--jos-green) !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  text-decoration:underline;
}
/* make sure the arrow/icon beside it inherits green and keeps spacing */
.pkp_page_index .cmp_more_link a .fa,
.pkp_page_index a.read_more .fa,
.pkp_page_index .obj_issue_toc .more a .fa,
.pkp_page_index a[href*="/issue/archive"] .fa{
  color:var(--jos-green) !important;
  margin-left:.35em;
}
.pkp_page_index .cmp_more_link a:hover,
.pkp_page_index a.read_more:hover,
.pkp_page_index .obj_issue_toc .more a:hover,
.pkp_page_index a[href*="/issue/archive"]:hover{
  color:var(--jos-green-light) !important;
  text-decoration:underline;
}
.pkp_page_index .cmp_more_link a:hover .fa,
.pkp_page_index a.read_more:hover .fa,
.pkp_page_index .obj_issue_toc .more a:hover .fa,
.pkp_page_index a[href*="/issue/archive"]:hover .fa{
  color:var(--jos-green-light) !important;
}


/* ———————————————————————————————————————————
   MOBILE: Article download bar (galley buttons)
   ——————————————————————————————————————————— */
@media (max-width: 768px){
  .obj_article_details .galleys{
    position:sticky;
    top:0;
    background:#fff;
    padding:.6rem .75rem;
    border-bottom:1px solid #e9e9e9;
    z-index:1000;
  }
  .obj_article_details .galleys,
  .obj_article_details .galleys .pkp_button_group{
    display:flex;
    gap:.5rem;
    flex-wrap:wrap;
    align-items:stretch;
  }
  .obj_article_details .galleys a,
  .obj_article_details .galleys .obj_galley_link,
  .obj_article_details .galleys .galley_link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:.6rem 1rem;
    font-weight:600;
    text-align:center;
    flex:1 1 auto;
  }
  .obj_article_details .galleys + .galleys{display:none;}
}
@media (max-width: 768px){
  .obj_article_details .galleys{top:56px;} /* match your fixed header if any */
}


/* RESET & RESTYLE THE SEARCH SUBMIT BUTTON */
.pkp_page_search .cmp_form .submit button.submit {
  /* Nuke theme visuals */
  background: var(--jos-cta) !important;      /* #126872 */
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;

  /* Make it look like your CTAs */
  color: #fff !important;
  border-radius: 6px !important;
  padding: .6rem 1rem !important;
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer;
}

/* Kill any theme pseudo-elements that draw the blue chunk */
.pkp_page_search .cmp_form .submit button.submit::before,
.pkp_page_search .cmp_form .submit button.submit::after {
  content: none !important;
}

/* Add a white magnifier icon before the label (Font Awesome is loaded in your CSS) */
.pkp_page_search .cmp_form .submit button.submit span::before,
.pkp_page_search .cmp_form .submit button.submit::before {
  content: "\f002";
  font-family: "FontAwesome";
  margin-right: .5rem;
  display: inline-block;
  line-height: 1;
  color: #fff;
}

/* Hover */
.pkp_page_search .cmp_form .submit button.submit:hover,
.pkp_page_search .cmp_form .submit button.submit:focus {
  background: var(--jos-cta-hover) !important; /* #158a93 */
  color: #fff !important;
  outline: none;
}

/* Add a white magnifier icon inside the green Search button */
.pkp_page_search .cmp_form .submit button.submit {
  position: relative;
  padding-left: 2rem !important;   /* room for the icon */
}

.pkp_page_search .cmp_form .submit button.submit::before {
  content: "\f002" !important;     /* Font Awesome search icon */
  font-family: "FontAwesome";
  position: absolute;
  left: .7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95em;
  line-height: 1;
  color: #fff;
  pointer-events: none;
}

