.bg-custom-dark {
    background-color: #1e355e !important;
}
.text-custom-dark {
    color: #1e335e !important;
}
.bg-custom-primary {
    background-color: #77b3d5 !important;
}
.text-custom-primary {
    color: #77b3d5 !important;
}
.bg-custom-light {
    background-color: rgb(119, 196, 213) !important;
}
.text-custom-light {
    color: rgb(119,196,213) !important;
}
.text-shadow-blur-10 {
    text-shadow: 0 0 10px black;
}
.hero5-bg1::after {
    background-image: url(/custom/images/hero/Hero_1-web.jpg);
    background-size: cover ;
    background-position: center top;
}
.hero5-bg2::after {
    background-image: url(/custom/images/hero/Hero_2-web.jpg);
    background-size: cover;
    background-position: center top;
}
.hero5-bg3::after {
    background-image: url(/custom/images/hero/Hero_4-web.jpg);
    background-size: cover;
    background-position: center top;
}

.hero5-bg4::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    z-index: -4;
    transform: scale(1);
    transition: all 5s;
    background-image: url(/custom/images/hero/Hero_5-web.jpg);
    background-size: cover;
    background-position: center top;
}
.hero5-single-slider .main-heading1 h1,
.hero5-single-slider .main-heading1 p {
    text-shadow: 0 0 10px black;
}
.hero5-single-slider .main-heading1 p {
    color: #fff;
}
.site-logo {
    max-width: 159px;
}
.theme-btn12,
.about-check-list5 ul li span.check,
.work5-box:hover {
    background-color: #204d74;
}

.about-check-list5 ul li span.check {
    padding: 0 3px;
}
.theme-btn12::after {
    background: #77c4d5;
}
.header-area.header-area5 .header-elements .main-menu-ex ul li a,
.title1 {
    color: #204d74;
}
.header-area.header-area5 .header-elements .main-menu-ex ul li a:hover,
.header-area.header-area5 .main-menu-ex.main-menu-ex1 ul li a.active {
    color: #77c4d5;
}
.theme-btn14.btn-inverse,
.theme-btn14.btn-inverse:hover {
    border-color: #77c4d5;
    color: #204d74;
    background-color: #fff;
}
.theme-btn14.btn-inverse::after {
    background-color: #fff;
}
.hero5-slider {
    height: 100vh;
}
.hero5-slider .slick-dots {
    top: 92.5%;
    left: 6%;
}
/*.mobile-sidebar {
    display: none;
}
.mobile-sidebar.mobile-menu-active {
    display: block;
}*/

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive.embed-responsive-16by9 {
    padding-bottom: 56%;
}
.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.research-box {
    background-color: #fff;
    border: solid 1px #77b3d5;
    border-radius: 4px;
}
.research-box .heading1 h4 a {
    color: #1e335e;
}
.research-box .heading1 h4 a:hover {
    color: #1e335e;
}
.common-hero .common-hero-heading {
    text-shadow: 0 0 10px #000;
}
.details-sidebar .caregory-itmes ul li a.active,
.details-sidebar .caregory-itmes ul li a:hover {
    background-color: #1e335e;
}
ol li {
    margin-bottom: 12px;
}
@media (min-width: 768px) {
    .header-area.header-area5.header-area-all > .container {
        max-width: unset;
        padding: 0 3rem;
    }
}
@media only screen and (min-width: 1200px) {
    .hero5-bg1::after,
    .hero5-bg2::after,
    .hero5-bg3::after {
        background-size: cover;
    }
}
.custom-bg-primary {
    background-color: #204d74 !important;
}

/* various style to eff with the hero slideshow.  may have to remove these */
.slick-slide {
    min-height: unset !important;
    height: 100vh;
}
.hero-content-container {
    position: absolute;
    width: 50%;
}

/* Mobile hero fix — full-width padded container + smaller heading so long
   words ("Groundbreaking", "Regenerative") don't overflow/clip on phones */
@media (max-width: 767px) {
  .hero-content-container {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 24px;
    box-sizing: border-box;
  }
  .hero5-single-slider .main-heading1 {
    text-align: left !important;
  }
  .hero5-single-slider .main-heading1 h1 {
    font-size: 30px !important;
    line-height: 1.25;
  }
}

/* Mobile hero: vertically center text so every slide sits at the same height
   (overrides the per-slide desktop top/bottom offsets that scatter on phones) */
@media (max-width: 767px) {
  .hero5-single-slider .hero-content-container {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .hero5-single-slider .main-heading1 {
    margin-top: 0 !important;
  }
}

/* BugHerd #40 (Jay, Option 1): hide decorative images on mobile — the two
   photos beside the Institute Mission text + the image beside "Discover More" */
@media (max-width: 767px) {
  .about5 .about5-images,
  .work5-image {
    display: none !important;
  }
}

/* ===== 2026-07-25 BugHerd #46: restore content typography inside Laborc article zones.
   The theme reset strips list bullets/margins; migrated article bodies rely on them. ===== */
.laborc-content .laborc-article ul { list-style: disc; margin: 0 0 18px 24px; padding-left: 12px; }
.laborc-content .laborc-article ol { list-style: decimal; margin: 0 0 18px 24px; padding-left: 12px; }
.laborc-content .laborc-article ul ul { list-style: circle; margin-bottom: 6px; }
.laborc-content .laborc-article li { margin-bottom: 8px; line-height: 1.6; }
.laborc-content .laborc-article p { margin-bottom: 16px; line-height: 1.7; }
.laborc-content .laborc-article h2 { margin: 30px 0 12px; }
.laborc-content .laborc-article h3 { margin: 24px 0 10px; }
.laborc-content .laborc-article h4 { margin: 20px 0 8px; }
.laborc-content .laborc-article table { border-collapse: collapse; margin: 0 0 18px; }
.laborc-content .laborc-article table td, .laborc-content .laborc-article table th { border: 1px solid #dfe3e0; padding: 6px 10px; }
.laborc-content .laborc-article blockquote { border-left: 4px solid #204d74; margin: 0 0 18px; padding: 8px 0 8px 16px; color: #444; }


/* ===== 2026-07-25 Laborc form styling: plugin forms (contact, donate, event
   registration, directory search) carry old-theme classes (.sm-form-control,
   .form-control, .button, .btn) the Laborc theme never defined. Scoped to the
   Laborc content zone so console/admin markup is untouched. ===== */
.laborc-content label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
  color: #1c2b33;
}
.laborc-content input[type="text"],
.laborc-content input[type="email"],
.laborc-content input[type="tel"],
.laborc-content input[type="number"],
.laborc-content input[type="password"],
.laborc-content textarea,
.laborc-content select {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #c9d2d8;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  color: #1c2b33;
  line-height: 1.4;
  margin-bottom: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.laborc-content select { cursor: pointer; }
.laborc-content input:focus,
.laborc-content textarea:focus,
.laborc-content select:focus {
  outline: none;
  border-color: #204d74;
  box-shadow: 0 0 0 3px rgba(32, 77, 116, .15);
}
.laborc-content input[type="submit"],
.laborc-content button[type="submit"],
.laborc-content .button,
.laborc-content .btn {
  display: inline-block;
  width: auto;
  margin: 20px 0 0;
  padding: 14px 32px;
  background: #204d74;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
}
.laborc-content input[type="submit"]:hover,
.laborc-content button[type="submit"]:hover,
.laborc-content .button:hover,
.laborc-content .btn:hover {
  background: #16374f;
  color: #fff;
}
/* sitemap table: plain link list, not the bordered data-table look */
.laborc-content .laborc-article table td { border: none; padding: 3px 6px; }
.laborc-content .laborc-article table a { color: #204d74; text-decoration: none; }
.laborc-content .laborc-article table a:hover { text-decoration: underline; }

/* main.js runs $('select').niceSelect() site-wide, replacing every <select> with
   div.nice-select -- so the select rules above only cover the no-JS fallback.
   Make the widget match the text inputs. */
.laborc-content .nice-select {
  display: block;
  float: none;
  width: 100%;
  height: auto;
  padding: 11px 44px 11px 14px;
  border: 1px solid #c9d2d8;
  border-radius: 6px;
  background: #fff;
  font-size: inherit;
  line-height: 1.4;
  margin-bottom: 14px;
}
.laborc-content .nice-select:after { right: 16px; }
.laborc-content .nice-select .list {
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
}
/* empty selects (no chosen option) collapse without a line box */
.laborc-content .nice-select .current { display: block; min-height: 1.4em; }

/* BugHerd #50 (2026-08-06): publications portfolio grid (Annual Reports etc.)
   The old theme shipped portfolio-6 grid CSS + isotope; Laborc has neither, so
   portfolio items stacked as a full-width list. Pure-CSS responsive grid — the
   baked inline isotope init is inert on jQuery 3 (jQuery(window).load throws),
   so no JS conflict. Applies to every publications page emitting the
   publications_31 portfolio markup. */
.laborc-content #portfolio.portfolio-6 { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:28px 24px; margin:30px 0 10px; }
.laborc-content .portfolio-item { background:#fff; border:1px solid #e5e9ee; border-radius:8px; padding:14px; text-align:center; transition:box-shadow .2s ease, transform .2s ease; }
.laborc-content .portfolio-item:hover { box-shadow:0 8px 22px rgba(22,38,58,.12); transform:translateY(-3px); }
.laborc-content .portfolio-image { position:relative; }
.laborc-content .portfolio-image img { width:100%; height:230px; object-fit:contain; display:block; border:1px solid #d8dee6; border-radius:4px; background:#fff; }
.laborc-content .portfolio-overlay { display:none; }
.laborc-content .portfolio-desc h5 { margin:12px 0 0 !important; font-family:inherit !important; font-size:15px !important; }
.laborc-content .portfolio-desc h5 a { color:#204d74; text-decoration:none; }
.laborc-content .portfolio-desc h5 a:hover { text-decoration:underline; }

/* BugHerd #49: news load-more pagination (template-pb_news_preview_35.tpl) */
.news-pagination { margin-top: 10px; }
.news-pagination #news-loadmore { min-width: 220px; cursor: pointer; }
.news-pagination #news-loadmore[disabled] { opacity: .6; cursor: wait; }
.news-pager-links { margin-top: 14px; font-size: 14px; color: #6b7280; }
.news-pager-links a { color: #0A0571; font-weight: 600; margin: 0 10px; text-decoration: underline; }

/* BugHerd #70 (2026-08-26, devLOG 842): breadcrumb bar.
   MOVED out of the dark .common-hero into its own strip directly beneath it,
   left-justified in the container (was: white text sitting under the H1 on the
   hero photo). The markup change is in the 22 Laborc templates; the styling
   lives HERE and not in their inline <style> blocks, which sit after this
   file's <link> and would otherwise win.
   SEPARATOR: the old rule was content:"\f105" with font-family:"Font Awesome 6
   Free" — a family this site does not ship (it has Font Awesome PRO 6.4.2), so
   the private-use codepoint fell back to a font with no glyph and rendered as a
   blank/tofu box. Replaced with a literal U+203A chevron in the inherited
   typeface: no icon-font dependency, cannot regress the same way.
   .breadcrumb is Bootstrap 5 (display:flex, list-style:none, margin-bottom:1rem). */
.laborc-crumbbar { background:#fff; border-bottom:1px solid #e3e7ec; }
.laborc-crumbbar .laborc-crumb { padding:14px 0; text-align:left; }
.laborc-crumb, .laborc-crumb a, .laborc-crumb span { color:#5a6472; font-size:15px; }
.laborc-crumb a { color:#204d74; text-decoration:none; }
.laborc-crumb a:hover { text-decoration:underline; }
.laborc-crumb ol, .laborc-crumb ul, .laborc-crumb ol.breadcrumb {
  list-style:none; padding:0; margin:0; background:none; flex-wrap:wrap; }
.laborc-crumb li, .laborc-crumb ol li, .laborc-crumb ul li { display:inline-block; margin-right:6px; }
.laborc-crumb li:last-child, .laborc-crumb li:last-child a { color:#5a6472; }
.laborc-crumb li + li::before {
  content:"\203A"; font-family:inherit; font-weight:400; margin-right:8px; color:#98a2b0; }
@media (max-width:767px) {
  .laborc-crumbbar .laborc-crumb { padding:10px 0; }
  .laborc-crumb, .laborc-crumb a, .laborc-crumb span { font-size:13px; }
}

/* BugHerd #119 (2026-09-30): buttons keep the light-blue hover colour but switch instantly - no sweep/lift animation */
.theme-btn12, .theme-btn12::after,
.theme-btn13, .theme-btn13::after,
.theme-btn14, .theme-btn14::after,
.theme-btn12:hover, .theme-btn12:hover::after,
.theme-btn13:hover, .theme-btn13:hover::after,
.theme-btn14:hover, .theme-btn14:hover::after { transition: none !important; }
.theme-btn5:hover { transform: none !important; }
.theme-btn5 span { transition: none !important; }

/* BugHerd #117 (2026-09-30): the mobile menu now takes over below 1250px (see navSmarty_mainNavLaborc.tpl).
   Theme mobile-menu.css only styles it under 770px, and that block also resets margins on every element,
   so only its menu rules (mobile-menu.css lines 33-387) are repeated here for 770-1249px. */
@media screen and (min-width:770px) and (max-width:1249.98px) {
    .mobile-sidebar ul, .mobile-sidebar li { list-style:none; margin:0; padding:0; }
    .mobile-sidebar a, .mobile-sidebar a:hover { outline:none; text-decoration:none; }
    /*Menu Css*/
    
    .mobile-logo a{
        font-size: 20px;
        font-weight: 700;
        color: #000;
        text-decoration: none;
    }


    .mobile-logo-unick {
        margin-top: -30px;
        margin-bottom: 10px;
    }
    
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 17px 0;
        z-index: 999;
        background: #fff;
    }

    .mobile-header.mobile-header2 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 17px 0;
        z-index: 999;
        background: #0D131D !important;
    }

    .mobile-header.mobile-header2 .mobile-nav-icon {
        color: #fff;
    }

    .mobile-header.mobile-header-main {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 17px 0;
        z-index: 999;
        background: #fff;
    }
    
    .mobile-header-elements {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .mobile-header-elements .mobile-logo {
        width: 160px;
    }
    
    .mobile-nav-icon {
        font-size: 23px; 
        border: 1px solid;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        color: #000;
    }
    
    .mobile-nav-icon {
        font-size: 23px;
        border: 1px solid;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        color: #000000;
    }
    
    .mobile-sidebar {
        position: fixed;
        height: 100%;
        width: 100%;
        background:#fff;
        z-index: 9999;
        padding: 40px 30px;
        left: -100%;
        top: 0;
        visibility: hidden;
        opacity: 0;
        transition: all .3s;
    }
    .mobile-sidebar .logo-m {
        width: 140px;
    }

    .mobile-sidebar.mobile-sidebar2 {
        position: fixed;
        height: 100%;
        width: 100%;
        background:#001936 !important;
        z-index: 9999;
        padding: 40px 30px;
        left: -100%;
        top: 0;
        visibility: hidden;
        opacity: 0;
        transition: all .3s;
    }

    .mobile-sidebar.mobile-sidebar2 .mobile-nav li a {
        color: #fff;
    }

    .mobile-sidebar.mobile-sidebar2 .menu-close {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 25px;
        color: #fff;
        cursor: pointer;
    }

    .mobile-sidebar.mobile-sidebar2 span.submenu-button:before {
        height: 2px;
        width: 20px;
        right: 0px;
        top: 22px;
        background: #fff;
    }

    .mobile-sidebar.mobile-sidebar2 span.submenu-button:after, span.submenu-button:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 2px;
        background: #fff;
        top: 12px;
        right: 9px;
        transition: all .3s;
    }

    .mobile-sidebar.mobile-sidebar2 .contact-box .pera a {
        display: inline-block;
        color: var(--Home-Page-3-Color-Text-Color, #ffffffc7);
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
        letter-spacing: 0.18px;
        margin-bottom: 16px;
    }

    .mobile-sidebar.mobile-sidebar2 .single-footer-items h3 {
        color: var(--Home-Page-3-Color-Text-Color, #ffffff);
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        text-transform: capitalize;
        margin-bottom: 16px;
        margin-top: 20px;
    }

    .mobile-sidebar.mobile-sidebar2 .contact-infos h3 {
        color: var(--Home-Page-3-Color-Text-Color, #ffffff);
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        text-transform: capitalize;
        margin-bottom: 16px;
        margin-top: 20px;
    }
    .mobile-sidebar.mobile-sidebar2 .contact-infos ul li a {
        height: 40px;
        width: 40px;
        background-color: #3a96a51c;
        border-radius: 50%;
        text-align: center;
        line-height: 0;
    }

    .mobile-sidebar.mobile-sidebar2 .mobile-button a {
        width: 100%;
        margin: 24px 0px;
    }

    

    .mobile-sidebar .logo-m {
        margin-top: -45px;
        margin-bottom: 20px;
    }
    
    .mobile-sidebar .contact-icon{
        background: #fff;
    }
    
    
    .mobile-sidebar.mobile-menu-active {
        left: 0;
        visibility: visible;
        opacity: 1;
        transition: all .3s;
        padding-top: 55px;
        max-height: 100%;
        overflow-y: scroll;
    }
    
    .menu-close {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 25px;
        color: #000;
        cursor: pointer;
    }
    
    .mobile-nav li a {
        font-size: 18px;
        line-height: 24px;
        color: #000;
        padding: 10px 0;
        display: block;
        font-weight: 500;
    }
    
    
    ul.mobile-nav-list {
        margin-top: 30px;
    }
    
    
    li.has-children {
        position: relative;
        z-index: 2;
    }
    
    span.mobile-nav-menu-icon {
        position: absolute;
        right: 0;
        top: 0;
        height: 50px;
        width: 50px;
        text-align: center;
        line-height: 50px;
        color: #fff;
    }
    
    ul.mobile-menu-sub {
        display: none;
        position: relative;
        left: 0;
        padding-left: 10px;
        transition: all .3s;
    }
    
    ul.mobile-menu-sub.sub-menu-active{
        display: block;
        position: relative;
        transition: all .3s;
    }
    
    
    
    .mobile-nav li {
        position: relative;
        z-index: 2;
    }
    
    span.submenu-button {
        position: absolute;
        width: 100%;
        height: 44px;
        top: 0;
        left: 0;
        z-index: 3;
        transition: all .3s;
    }
    
    span.submenu-button:after, span.submenu-button:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 2px;
        background: #000;
        top: 12px;
        right: 9px;
        transition: all .3s;
    }
    
    span.submenu-button:before {
        height: 2px;
        width: 20px;
        right: 0px;
        top: 22px;
    }
    
    span.submenu-button.submenu-opened:after {
        visibility: hidden;
        opacity: 0;
    }
    
    .sub-menu{
        display: none;
        padding-left: 15px;
    }
    
    
    span.multi-drop-icon {
        position: absolute;
        right: 10px;
        width: 20px;
        height: 100%;
        top: 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    
    ul.mobile-nav-list {
        max-height: 500px;
        overflow-y: scroll;
    }

    .single-footer.single-footer-menu.single-footer4 h3 {
        margin-bottom: 0;
    }

    .social.social4-menu.social4 {
        margin-top: 0;
    }

    a.mobile-menu-button.hash-nav {
        /* background: blue; */
        padding: 15px;
        border-radius: 5px;
        margin-top: 20px;
        border: 1px solid;
        text-align: center;
        margin-bottom: 20px;
    }

    .mobile-button a {
            width: 100%;
            text-align: center;
            margin-top: 20px;
    }

}

/* BugHerd #114 (2026-09-30): policy links in the copyright bar read like the footer text, not link-blue */
.footer-policy-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-policy-links a:hover { color: #77c4d5; }

/* BugHerd #115 (2026-09-30): slick's fade takes the outgoing slide to opacity 0 while the next one fades in,
   so the page background showed through mid-change and the photo looked washed out. The outgoing slide now
   stays opaque underneath until the new one is fully in (then drops out unseen); navy backs the slider while photos load.
   Photos are 2560px sRGB web copies (*-web.jpg) of the 3-10 MB originals, which stay in custom/images/hero/. */
.hero5-slider, .hero5-slider .slick-list { background-color: #10243a; }
.hero5-slider .slick-slide:not(.slick-current) { transition: opacity 0s linear 1s !important; }

/* BugHerd #110 (2026-09-30): Institute News cards - equal height, photo anchored to the bottom so the three line up */
.blog5 .row > .col-lg-4 { display: flex; }
.blog5 .blog5-box { display: flex; flex-direction: column; width: 100%; height: auto !important; }
.blog5 .blog5-box .image { margin-top: auto; padding-top: 20px; }
.blog5 .blog5-box .image img { aspect-ratio: 3 / 2; object-fit: cover; }

/* 2026-09-30: home Institute Mission checklist - the two lists stack below 992px; drop the second list's top margin there so there is no gap between items 2 and 3 */
@media (max-width: 991.98px) { .about-check-list5.check-list-2 { margin-top: 0 !important; } }

/* 2026-09-30 BugHerd #116/#102: stacked SPRI logo in the header; the theme's leftover green (--vtc-bg-main5 #174940: dropdown
   accent bar + dropdown link hover) and gold (#F6D06D: footer link hover, copyright links) replaced with the site navy / light blue */
.site-logo { max-width: none; }
.site-logo img { height: 64px; width: auto; max-width: none; }
:root { --vtc-bg-main5: #204d74; }
.footer-list5 li a:hover, .coppy-right5 .conditons-area5 a:hover { color: #77c4d5; }
