/* =========================================================
   NETMORE SHRINK HEADER
   START: 500PX
   FINAL: 350PX
========================================================= */


/* =========================================================
   ELEMENTOR WRAPPER
========================================================= */

.elementor-widget-netmore_shrink_header {
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-widget-netmore_shrink_header > .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
}


/* =========================================================
   MAIN WIDGET
========================================================= */

.nmsh-widget {
    position: relative;

    display: flex;
    justify-content: flex-end;
    align-items: flex-start;

    width: 100%;
    max-width: 100%;

    font-family: inherit;
    font-size: 12px;

    z-index: 9990;
}


/* =========================================================
   HEADER BAR
========================================================= */

.nmsh-bar {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 500px;
    max-width: 100%;

    min-height: 70px;

    margin-left: auto;
    margin-right: 0;

    padding: 10px 10px 10px 18px;

    background: #1D1B1C;

    border-radius: 5px;

    box-sizing: border-box;

    overflow: hidden;

    will-change: width;

    transition:
        width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   HAMBURGER
========================================================= */

.nmsh-toggle {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 40px;
    min-width: 40px;
    height: 46px;

    padding: 0;
    margin: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #FFFFFF;

    cursor: pointer;

    z-index: 3;
}

.nmsh-toggle-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 5px;

    width: 20px;
    height: 20px;
}

.nmsh-toggle-lines span {
    display: block;

    width: 20px;
    height: 1.5px;

    background: #FFFFFF;
}

.nmsh-toggle-label {
    display: none !important;
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.nmsh-mobile-logo {
    display: none;
}


/* =========================================================
   CTA BUTTONS
========================================================= */

.nmsh-cta,
.nmsh-panel-cta {
    position: relative;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-width: 190px;
    height: 40px;

    padding: 0;

    background: #97FF57 !important;
    color: #000000 !important;

    border: 1px solid transparent !important;
    outline: 0;

    text-decoration: none !important;
    text-transform: uppercase;

    white-space: nowrap;

    box-sizing: border-box;

    overflow: hidden;

    cursor: pointer;

    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}


/* =========================================================
   MARQUEE CONTAINER
========================================================= */

.nmsh-marquee {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =========================================================
   MARQUEE ITEM
========================================================= */

.nmsh-marquee-item {
    position: absolute;

    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 35px;

    width: 100%;
    height: 100%;

    padding: 0 18px;

    box-sizing: border-box;

    color: inherit;

    will-change: transform;

    transition:
        transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}


/* First item */

.nmsh-marquee-item:first-child {
    top: 0;

    transform: translate3d(0, 0, 0);
}


/* Duplicate item starts below */

.nmsh-marquee-item:last-child {
    top: 100%;

    transform: translate3d(0, 0, 0);
}


/* =========================================================
   CTA TEXT
========================================================= */

.nmsh-cta-text {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: inherit !important;

    font-size: 11px;
    line-height: 1;

    white-space: nowrap;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   CTA ARROW
========================================================= */

.nmsh-cta-arrow {
    display: inline-block;

    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    color: inherit !important;

    font-size: 15px;
    line-height: 1;

    white-space: nowrap;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   CTA HOVER
========================================================= */

.nmsh-cta:hover,
.nmsh-cta:focus,
.nmsh-panel-cta:hover,
.nmsh-panel-cta:focus {
    background: #000000 !important;

    color: #97FF57 !important;

    border: 1px solid #97FF57 !important;

    text-decoration: none !important;
}


/* =========================================================
   MARQUEE HOVER
========================================================= */

/* First line moves upward */

.nmsh-cta:hover .nmsh-marquee-item:first-child,
.nmsh-cta:focus .nmsh-marquee-item:first-child,
.nmsh-panel-cta:hover .nmsh-marquee-item:first-child,
.nmsh-panel-cta:focus .nmsh-marquee-item:first-child {
    transform: translate3d(0, -100%, 0);
}


/* Second line enters from below */

.nmsh-cta:hover .nmsh-marquee-item:last-child,
.nmsh-cta:focus .nmsh-marquee-item:last-child,
.nmsh-panel-cta:hover .nmsh-marquee-item:last-child,
.nmsh-panel-cta:focus .nmsh-marquee-item:last-child {
    transform: translate3d(0, -100%, 0);
}


/* =========================================================
   REMOVE OLD MARQUEE CLASSES
========================================================= */

.nmsh-marquee-track,
.nmsh-marquee-static,
.nmsh-cta-static {
    display: none !important;
}


/* =========================================================
   OVERLAY
========================================================= */

.nmsh-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.64);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 9997;
}


/* =========================================================
   SIDE MENU PANEL
========================================================= */

.nmsh-panel {
    position: fixed;

    top: 0;
    right: 0;

    width: min(520px, 92vw);
    height: 100dvh;

    background: #1D1B1C;
    color: #FFFFFF;

    transform: translate3d(100%, 0, 0);

    visibility: hidden;
    pointer-events: none;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;

    border-radius: 5px 0 0 5px;

    box-sizing: border-box;

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s;

    z-index: 9999;
}


/* =========================================================
   PANEL OPEN
========================================================= */

.nmsh-widget.is-open .nmsh-overlay {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.nmsh-widget.is-open .nmsh-panel {
    transform: translate3d(0, 0, 0);

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   PANEL TOP
========================================================= */

.nmsh-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    gap: 18px;

    padding: 16px 20px 0;

    box-sizing: border-box;

    opacity: 1;

    transform: none;

    transition: none;
}


/* =========================================================
   PANEL CONTENT FADE DOWN
========================================================= */

.nmsh-panel-content {
    padding: 34px 40px 60px;

    opacity: 0;

    transform: translate3d(0, -16px, 0);

    will-change: transform, opacity;

    transition:
        opacity 0.5s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);

    transition-delay: 0s;
}

.nmsh-widget.is-open .nmsh-panel-content {
    opacity: 1;

    transform: translate3d(0, 0, 0);

    transition-delay: 0.32s;
}


/* =========================================================
   CLOSE X
========================================================= */

.nmsh-close {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #FFFFFF;

    cursor: pointer;
}

.nmsh-close span {
    display: block;

    color: #FFFFFF;

    font-size: 34px;
    font-weight: 200;
    line-height: 1;

    transition:
        transform 0.3s ease;
}

.nmsh-close:hover span {
    transform: rotate(90deg);
}


/* =========================================================
   PANEL CTA
========================================================= */

.nmsh-panel-cta {
    min-width: 190px;

    height: 40px;
}

.nmsh-panel-cta .nmsh-marquee-item {
    gap: 28px;
}


/* =========================================================
   PANEL CONTENT ELEMENTS
========================================================= */

.nmsh-kicker {
    margin-bottom: 20px;

    font-size: 12px;
    line-height: 1.2;
}

.nmsh-menu-image {
    width: 100%;

    margin-bottom: 22px;

    overflow: hidden;

    border-radius: 7px;
}

.nmsh-menu-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 8 / 5;

    object-fit: cover;
}

.nmsh-company-name {
    margin: 0 0 6px;

    color: #FFFFFF;

    font-size: 30px;
    line-height: 1.15;
}

.nmsh-company-registration {
    margin-bottom: 28px;

    font-size: 14px;
    line-height: 1.5;
}

.nmsh-company-address {
    font-size: 15px;
    line-height: 1.55;
}


/* =========================================================
   BODY LOCK
========================================================= */

html.nmsh-menu-open,
body.nmsh-menu-open {
    overflow: hidden !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .nmsh-bar {
        width: 500px;

        min-height: 66px;

        padding: 9px 9px 9px 17px;
    }


    .nmsh-cta {
        min-width: 190px;

        height: 40px;
    }


    .nmsh-cta .nmsh-marquee-item {
        gap: 30px;

        padding: 0 16px;
    }


    .nmsh-panel-cta .nmsh-marquee-item {
        gap: 24px;

        padding: 0 14px;
    }


    .nmsh-panel-content {
        transform: translate3d(0, -14px, 0);
    }


    .nmsh-widget.is-open .nmsh-panel-content {
        transform: translate3d(0, 0, 0);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .elementor-widget-netmore_shrink_header,
    .elementor-widget-netmore_shrink_header > .elementor-widget-container {
        width: 100% !important;
    }


    .nmsh-widget {
        width: 100%;

        justify-content: center;
    }


    .nmsh-bar {
        width: 100%;
    max-width: calc(100% - 0px) !important;
    margin: 0 0px;
    padding: 6px 10px 8px 15px;
    }


    /* MOBILE LOGO */

    .nmsh-mobile-logo {
        display: block;

        position: absolute;

        left: 40%;
        top: 50%;

        transform: translate(-50%, -50%);

        pointer-events: none;

        z-index: 2;
    }


    .nmsh-mobile-logo img {
        display: block;

        width: 30px;
        height: 30px;

        object-fit: contain;
    }


    /* MAIN CTA */

    .nmsh-cta {
        width: 42%;
        max-width: 42%;

        min-width: 0;
    }


    .nmsh-cta .nmsh-marquee-item {
        gap: 12px;

        padding: 0 11px;
    }


    /* PANEL CTA */

    .nmsh-panel-cta {
        width: 48%;
        max-width: 48%;

        min-width: 0;
    }


    .nmsh-panel-cta .nmsh-marquee-item {
        gap: 12px;

        padding: 0 10px;
    }


    .nmsh-cta-text {
        font-size: 9px;
    }


    .nmsh-cta-arrow {
        font-size: 13px;
    }


    /* MOBILE PANEL */

    .nmsh-panel {
        top: 8px;
        right: 10px;

        width: calc(100% - 20px);
        height: calc(100dvh - 16px);

        border-radius: 6px;
    }


    .nmsh-panel-top {
        padding: 15px 20px 0;
    }


    .nmsh-panel-content {
        padding: 34px 40px 54px;

        transform: translate3d(0, -12px, 0);

        transition:
            opacity 0.45s ease,
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }


    .nmsh-widget.is-open .nmsh-panel-content {
        transform: translate3d(0, 0, 0);

        transition-delay: 0.28s;
    }


    .nmsh-company-name {
        font-size: 26px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .nmsh-bar {
        min-height: 64px;
    }


    .nmsh-toggle-lines,
    .nmsh-toggle-lines span {
        width: 18px;
    }


    .nmsh-mobile-logo img {
        width: 21px;
        height: 21px;
    }


    .nmsh-cta {
        width: 45%;
        max-width: 45%;
    }


    .nmsh-panel-cta {
        width: 50%;
        max-width: 50%;
    }


    .nmsh-cta .nmsh-marquee-item,
    .nmsh-panel-cta .nmsh-marquee-item {
        gap: 10px;
    }


    .nmsh-panel-content {
        padding-left: 38px;
        padding-right: 38px;
    }
}