.elementor-2345089 .elementor-element.elementor-element-a6a728a{--display:flex;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-8bd1041 */<style>

/* =========================================================
   SMART FIXED HEADER
========================================================= */

#extrh-header {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    /* pro běžné návštěvníky vysoko nad obsahem webu */
    z-index: 999999 !important;

    background: #ffffff !important;

    transform: translateY(0);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    box-shadow:
        0 1px 0 rgba(15, 47, 87, 0.08),
        0 5px 18px rgba(15, 47, 87, 0.10);

    will-change: transform;
}


/* samotný obsah hlavičky */
#extrh-header .exh-header {
    background: #ffffff !important;
}


/* =========================================================
   PŘIHLÁŠENÝ ADMIN
   Hlavičku dáme POD nativní WordPress admin bar.
   Admin baru samotného se vůbec nedotýkáme.
========================================================= */

body.admin-bar #extrh-header {
    top: 32px !important;
    z-index: 9000 !important;
}


/* =========================================================
   SCHOVÁNÍ / ZOBRAZENÍ
========================================================= */

#extrh-header.extrh-hidden {
    transform: translateY(-110%) !important;
}

#extrh-header.extrh-visible {
    transform: translateY(0) !important;
}


/* =========================================================
   PROSTOR PRO FIXED HEADER
========================================================= */

body {
    padding-top: 76px !important;
}


/* =========================================================
   MOBILNÍ ADMIN BAR
========================================================= */

@media (max-width: 782px) {

    body.admin-bar #extrh-header {
        top: 46px !important;
        z-index: 9000 !important;
    }

}


/* =========================================================
   TABLET + MOBIL
========================================================= */

@media (max-width: 980px) {

    body {
        padding-top: 70px !important;
    }

}


/* =========================================================
   MALÝ MOBIL
========================================================= */

@media (max-width: 480px) {

    body {
        padding-top: 64px !important;
    }

}

</style>


<script>

(function () {

    function initExtrhSmartHeader() {

        const header = document.getElementById('extrh-header');

        if (!header) {
            return;
        }

        let lastScroll = window.scrollY;
        let upwardDistance = 0;

        const hideAfter = 120;
        const showAfter = 25;

        header.classList.add('extrh-visible');


        window.addEventListener(
            'scroll',
            function () {

                const currentScroll = window.scrollY;
                const delta = currentScroll - lastScroll;


                /* úplně nahoře */
                if (currentScroll <= 10) {

                    header.classList.remove('extrh-hidden');
                    header.classList.add('extrh-visible');

                    upwardDistance = 0;
                    lastScroll = currentScroll;

                    return;
                }


                /* scroll dolů */
                if (delta > 2) {

                    upwardDistance = 0;

                    if (currentScroll > hideAfter) {

                        header.classList.add('extrh-hidden');
                        header.classList.remove('extrh-visible');

                    }

                }


                /* scroll nahoru */
                else if (delta < -2) {

                    upwardDistance += Math.abs(delta);

                    if (upwardDistance >= showAfter) {

                        header.classList.remove('extrh-hidden');
                        header.classList.add('extrh-visible');

                        upwardDistance = 0;

                    }

                }


                lastScroll = currentScroll;

            },
            {
                passive: true
            }
        );

    }


    if (document.readyState === 'loading') {

        document.addEventListener(
            'DOMContentLoaded',
            initExtrhSmartHeader
        );

    } else {

        initExtrhSmartHeader();

    }

})();

</script>/* End custom CSS */