/* INDEX MODULAR NAVIGATION CSS */


/* ================================================================
   SOURCE: css/sections/03-navigation-common.css
   ================================================================ */
/* ================================================================
   NIINE CSS SECTION
   03-navigation-common.css
   Navigation, common buttons and shared components
   Extracted in original top-to-bottom order.
   ================================================================ */

}

.circular-effect-to-bottom {
    left: 0 !important;
    border-bottom-left-radius: 400%;
    border-bottom-right-radius: 400%
}

#navigation.modern {
    height: 70px;
    line-height: 70px
}

.bg-soft-gradient5:before {
    opacity: .7;
    z-index: 0 !important
}

.bg-soft-gradient5:before {
    background: linear-gradient(to right bottom, #fbb33d, #ee3533)
}

.scrolled .bg-soft-gradient5:before {
    opacity: .9 !important
}

.long-btn1 {
    top: 30%;
    padding-left: 60px;
    padding-right: 60px;
    line-height: normal;
    z-index: 999
}

#gdpr-cookie-message a {
    text-decoration: underline
}

.img-logo-ni {
    position: relative;
    left: 80px
}

.principalsponsor {
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
    color: #01c5ff;
    padding: 10px 0;
    font-size: 60px;
    position: relative;
    left: 80px;
    font-family: 'Seoge UI', sans-serif !important
}

.sponortext {
    font-size: 30px;
    text-align: left;
    padding: 20px 0
}

.rrlogo {
    width: 13%
}

.img-sliders {
    width: 100px !important;
    height: auto !important
}

.img-sliders-2 {
    width: 60px !important;
    height: auto !important
}



/* ================================================================
   SOURCE: css/sections/17-final-navigation-responsive.css
   ================================================================ */
/* ================================================================
   NIINE CSS SECTION
   17-final-navigation-responsive.css
   Final navigation/mobile rules
   Extracted in original top-to-bottom order.
   ================================================================ */

/* ================================================================
   CSS STEP 3
   Original <style> block #3
   Kept in original top-to-bottom order
   ================================================================ */

.spinner__item1{background-color:#ee3533!important;}

#navigation a.nav-link img{transition: 0.5s ease all;}

#navigation.modern.white-nav.scrolled a.nav-link img{width:55px !important}

.mobile-buyniinelogo{float: right;display:none;}



@media only screen and (max-width: 1120px){

.mobile-buyniinelogo{float: right;display:block;}
a.stay.nav-link.buynowbut{line-height: 26px !important;margin-top: 8px;text-transform: uppercase;font-weight: 600;}
}

/* =========================================================
   FULL BANNER IMAGE — ACTUAL HEIGHT / NO CROPPING
   Desktop banners are 2000x836 and 2000x832.
   The image height therefore follows its natural aspect ratio.
   ========================================================= */

/* Keep the banner below the 70px navigation */
#home {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 70px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
/* =========================================================
   SAME BACKGROUND COLOUR AS LOGO / NAVIGATION
   ========================================================= */

#home {
    background-color: #ffffff !important;
}
/* Do not force the slider to 100vh */
#home .niine-home-slider {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    top: auto !important;
    overflow: visible !important;
}

/* Remove the original 98vh banner height */
#home .homesliderimgblk {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
}

/* Show the complete image at its original aspect ratio */
#home .homesliderimgblk img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Slick must not impose a fixed slide height */
#home .slick-list,
#home .slick-track,
#home .slick-slide,
#home .slick-slide > div {
    height: auto !important;
    min-height: 0 !important;
}

/* Keep mobile banner natural as well */
@media screen and (max-width: 1024px) {
    #home {
        margin-top: 70px !important;
        padding: 0 !important;
    }

    #home .niine-home-slider {
        height: auto !important;
    }

    #home .homesliderimgblk {
        height: auto !important;
    }

    #home .homesliderimgblk img {
        width: 100% !important;
        height: auto !important;
    }
}
/* =========================================================
   SPACE BETWEEN BANNER AND SANITARY NAPKINS HEADING
   ========================================================= */

#about {
    padding-top: 50px !important;
}

#about h1.bold-title.mini-mt.t-center {
    margin-top: 0 !important;
}

/* ================================================================
   SOURCE: css/sections/18-final-mobile-fixes.css
   ================================================================ */
/* ================================================================
   NIINE CSS SECTION
   18-final-mobile-fixes.css
   Final mobile fixes
   Extracted in original top-to-bottom order.
   ================================================================ */

/* ================================================================
   CSS STEP 4
   Original <style> block #4
   Kept in original top-to-bottom order
   ================================================================ */

@media only screen and (max-width: 700px){ 
#footer .row{margin-right: 0;margin-left: 0;}
#breadcrumb .row{margin-right: 0;margin-left: 0;}
}

/* ================================================================
   PREVENTA VIDEO LIGHTBOX FIX
   - Ensures the lightbox close button is always visible/clickable.
   - Keeps the YouTube iframe above the overlay and responsive.
   ================================================================ */
#lg-container-1 .lg-toolbar,
.lg-toolbar { z-index: 1090 !important; }
.lg-actions,
.lg-close { z-index: 1095 !important; }
.lg-close {
  display: block !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
  color: #fff !important;
  background: rgba(0,0,0,.65) !important;
  border: 2px solid rgba(255,255,255,.9) !important;
  border-radius: 50% !important;
  text-align: center !important;
  font-size: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}
.lg-close:before {
  content: "×" !important;
  display: block !important;
  font-family: Arial, sans-serif !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  line-height: 39px !important;
  color: #fff !important;
}
.lg-close:after { display: none !important; }
.lg-outer .lg-video-cont,
.lg-outer .lg-video,
.lg-outer iframe {
  max-width: 100% !important;
}
.lg-outer .lg-video-cont { width: min(900px, 90vw) !important; }
.lg-outer .lg-video-object { width: 100% !important; }
@media (max-width: 600px) {
  .lg-close { top: 6px !important; right: 6px !important; width: 40px !important; height: 40px !important; line-height: 40px !important; }
  .lg-close:before { font-size: 29px !important; line-height: 35px !important; }
}


/* ================================================================
   INDEX PRODUCTS DROPDOWN ISOLATION
   The Products parent intentionally does not use Bootstrap's generic
   .dropdown-toggle class. This keeps external/generic dropdown styling
   from attaching to the navigation item.
   ================================================================ */
#navigation .products-dropdown-toggle {
    position: relative;
}
#navigation .products-dropdown-toggle > .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
#navigation .products-dropdown-toggle:hover > .dropdown-menu,
#navigation .products-dropdown-toggle.nav-open > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
#navigation.modern .columns .products-dropdown-toggle > .dropdown-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 2000;
}
#navigation .products-dropdown-toggle > a::after {
    content: none !important;
    display: none !important;
}


/* ================================================================
   INDEX MODULAR - MOBILE NAVIGATION RESTORATION
   The navigation drawer is created by js/index/navigation.js.
   These rules intentionally apply only at mobile/tablet widths.
   ================================================================ */
#navigation .mobile-nav-button {
    display: none;
    position: relative;
    float: right;
    width: 42px;
    height: 70px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1101;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
}

#navigation .mobile-nav-button span,
#navigation .mobile-nav-button::before,
#navigation .mobile-nav-button::after {
    content: "";
    position: absolute;
    left: 8px;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
#navigation .mobile-nav-button span { top: 50%; margin-top: -1px; }
#navigation .mobile-nav-button::before { top: 50%; margin-top: -9px; }
#navigation .mobile-nav-button::after { top: 50%; margin-top: 7px; }

#navigation.mobile-open .mobile-nav-button span { opacity: 0; }
#navigation.mobile-open .mobile-nav-button::before {
    transform: translateY(8px) rotate(45deg);
}
#navigation.mobile-open .mobile-nav-button::after {
    transform: translateY(-8px) rotate(-45deg);
}

#mobile-navigation {
    display: none;
}

@media (max-width: 1119px) {
    #navigation .columns {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #navigation .nav-menu {
        display: none !important;
    }

    #navigation .mobile-nav-button {
        display: flex !important;
    }

    #navigation .logo {
        max-width: calc(100% - 58px);
    }

    #navigation .logo img {
        max-width: 170px;
        max-height: 50px;
    }

    #mobile-navigation {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 360px);
        height: 100dvh;
        max-height: 100dvh;
        padding: 82px 0 30px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        box-shadow: -10px 0 35px rgba(0,0,0,.18);
        transform: translateX(105%);
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transition: transform .3s ease;
        z-index: 1100;
        -webkit-overflow-scrolling: touch;
    }

    #mobile-navigation.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    #mobile-navigation .mobile-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 2;
    }

    #mobile-navigation .mobile-close::before,
    #mobile-navigation .mobile-close::after {
        content: "";
        position: absolute;
        top: 15px;
        left: 3px;
        width: 26px;
        height: 2px;
        background: #333;
    }
    #mobile-navigation .mobile-close::before { transform: rotate(45deg); }
    #mobile-navigation .mobile-close::after { transform: rotate(-45deg); }

    #mobile-navigation ul {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        background: #1a1b1d;
    }

    #mobile-navigation li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #mobile-navigation li > a {
        display: block;
        position: relative;
        width: 100%;
        min-height: 46px;
        height: auto;
        padding: 14px 24px;
        color: #eee;
        font-size: 13px;
        font-weight: 700;
        line-height: 22px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        box-sizing: border-box;
    }

    #mobile-navigation li > a:hover,
    #mobile-navigation li > a:focus {
        background: rgba(255,255,255,.06);
        color: #fff;
    }

    #mobile-navigation .mobile-dropdown {
        display: none;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #111;
        list-style: none;
    }

    #mobile-navigation .mobile-dropdown.open {
        display: block;
    }

    #mobile-navigation .mobile-dropdown a {
        display: block;
        min-height: 44px;
        height: auto;
        padding: 11px 38px;
        color: #eee;
        background: #111;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.35;
        white-space: normal;
    }

    #mobile-navigation .mobile-dropdown a:hover,
    #mobile-navigation .mobile-dropdown a:focus {
        background: #222;
        color: #fff;
    }

    #mobile-navigation .mobile-dropdown-toggle > a {
        padding-right: 48px;
    }

    #mobile-navigation .mobile-dropdown-toggle > a::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: translateY(-70%) rotate(45deg);
        transition: transform .2s ease;
    }

    #mobile-navigation .mobile-dropdown-toggle.open > a::after {
        transform: translateY(-30%) rotate(225deg);
    }
}

@media (max-width: 575px) {
    #navigation .columns {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    #navigation .logo img {
        max-width: 155px;
        max-height: 48px;
    }
    #mobile-navigation {
        width: min(90vw, 360px);
    }
}
