
html body .final-header {
    padding-top: 32px;
    @media only screen and (max-width: 1024px) {
        padding-top: 8px;
    }
}

html body.scrolled .final-header {
    padding-top: 0;
}

/*html body .new-main-menu,*/
/*html body .elementor-widget-icon {*/
/*    transform: translateY(-31px);*/
/*}*/

html body .elementor-widget-icon i,
html body .elementor-widget-icon svg path {
    color: #fff;
    /*stroke: #fff;*/
}

@media only screen and (max-width: 1024px) {
    html body.scrolled .elementor-location-header {
        max-height: fit-content !important;
        height: fit-content !important;
    }
}

html body .elementor-location-header .final-header .header-menu-holder {

    transform:  translateY(-32px);

    @media only screen and (max-width: 1024px) {
        transform: translateY(0);
    }

    transition: none !important;
}

html body.show-custom-newsbanner .elementor-location-header .final-header .header-menu-holder {
    transform:  translateY(38px);
    transition: none !important;
    @media only screen and (max-width: 1024px) {
        transform:  translateY(0);
        transition: none !important;
    }
}

html body.scrolled .elementor-location-header .final-header .header-menu-holder {
    transform: translateY(0);
}

html body .elementor-location-header .final-header .newsbanner-container {
    position: absolute;
}

html .show-custom-newsbanner .elementor-location-header .final-header .main-menu,
html .show-custom-newsbanner .elementor-location-header .final-header .my-ips-logged_out,
html .show-custom-newsbanner .elementor-location-header .final-header .search-trigger,
html .show-custom-newsbanner .elementor-location-header .final-header .my-ips-logged_in,
html .show-custom-newsbanner .elementor-location-header .final-header .menu-divider,
html .show-custom-newsbanner .elementor-location-header .final-header .grid-icon.list-items,
html .show-custom-newsbanner .elementor-location-header .final-header .open-lang--popup {
    transform: translateY(0) !important;
}

html body.scrolled .new-main-menu {
    transform: translateY(0);
}

html body .new-scrolled-logo {
    display: none;
}

html body.scrolled .new-scrolled-logo {
    display:     block;
    padding-top: 8px;
    @media only screen and (max-width: 1024px) {
        padding-top: 0;
    }
}

html body.scrolled .new-main-logo {
    display: none;
}

html body.menu-is-open .new-main-logo {
    display: none;
}

html body.menu-is-open .new-scrolled-logo {
    display: block;
}

html body.menu-is-open .elementor-location-header {
    background-color: #fff;
}

html body.menu-is-open .new-scrolled-logo .elementor-widget-container {
    padding-top: 0 !important;
}


.search-function {
    position:       absolute;
    opacity:        0;
    pointer-events: none;
}

html body.show-custom-newsbanner .newsbanner-container {
    position: absolute;
    top:      32px;
    @media only screen and (min-width: 480px) and (max-width: 1024px) {
        top:   8px;
        right: 24px
    }
}

@media only screen and (min-width: 480px) and (max-width: 1024px) {
    html body.show-custom-newsbanner .final-header .new-right-content-holder {
        padding-top: 0;

    }

    html body.scrolled .final-header .new-right-content-holder {
        padding-top: 0;
    }
}

@media only screen and (max-width: 1024px) {
    html body.show-custom-newsbanner .newsbanner-container {
        position: relative;
        top:      0 !important;

    }

    html body.show-custom-newsbanner .newsbanner-container .custom-news-banner--holder {
        width:         100vw;
        left:          24px;
        border-radius: 0;
    }

}

@media only screen and (max-width: 479px) {
    html body.show-custom-newsbanner .newsbanner-container .custom-news-banner--holder {
        left:          0;
    }
}

@media only screen and (max-width: 1200px) {
    html body .elementor-location-header .final-header .my-ips-logged_out,
    html body .elementor-location-header .final-header .my-ips-logged_in {
        display: none !important;
    }
}

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

    html body.scrolled .final-header .new-right-content-holder {
        padding-bottom:  0;
        justify-content: center;
    }

    html body.scrolled .final-header .open-mobile-menu-trigger svg path {
        fill: #444;
    }
}

@media only screen and (max-width: 1024px) {
    .search-function {
        width:           calc(100vw - 48px) !important;
        padding:         0 !important;
        display:         flex;
        flex-direction:  row;
        flex-wrap:       nowrap;
        align-content:   center;
        justify-content: center;
        align-items:     center;
    }

    .close-search-trigger {
        position: absolute !important;
        z-index:  99999;
    }

}

@media only screen and (max-width: 479px) {
    .search-opened .new-main-logo,
    .search-opened .new-scrolled-logo {
        display: none !important;
    }
}

/* ------------------------------------
-------------Search-----------------
-------------------------------------*/

html body .elementor-location-header .header-menu-holder {
    transition: ease-in-out .3s transform !important;
}

html body.search-opened .header-menu-holder {
    opacity:        0;
    pointer-events: none;
}

html body.show-custom-newsbanner.search-opened .header-menu-holder {
    transform: translateY(62px) !important;
}

html body.show-custom-newsbanner.search-opened .search-function {
    transition:     none !important;
    /*transform:      translateY(0) !important;*/
    transform:      translateY(30px) !important;
    margin-top:     0;
    opacity:        1;
    pointer-events: all;
    z-index:        99999;
}

html body:not(.show-custom-newsbanner).search-opened .search-function {
    transition:     none !important;

    opacity:        1;
    pointer-events: all;
    z-index:        99999;
    transform:      translateY(-41px) !important;
    @media only screen and (max-width: 1024px) {
        transform: translateY(0px) !important;
    }
    margin-top:     0;
}

html body.scrolled.search-opened .search-function {
    transition:     none !important;
    transform:      translateY(23px) !important;
    /* margin-top: 24px; */
    opacity:        1;
    pointer-events: all;
    z-index:        99999;
    min-height:     80px;
}

html body.scrolled.search-opened .search-function .e-search-input {
    border-color: #444;
}

html body.scrolled.search-opened .search-function .e-search-input::placeholder {
    font-weight: bold;
    color:       #444;
}

html body.scrolled.search-opened .search-function * {
    color: #444 !important;
}

html body.search-opened .search-function .close-search-trigger {
    cursor: pointer;
}


html body .elementor-location-header .desktop-header .elementor-widget-icon:hover .elementor-widget-container {
    box-shadow: inset 0 -2px 0 0 #FFFFFF;
}

html body.scrolled .elementor-location-header .desktop-header .elementor-widget-icon:hover .elementor-widget-container {
    box-shadow: inset 0 -2px 0 0 #DD042B;
}

html body .elementor-location-header .desktop-header .elementor-nav-menu > li,
html body .elementor-location-header .desktop-header .elementor-nav-menu {
    min-height: 81px;
    max-height: 81px;
}

html body .elementor-location-header .desktop-header .elementor-widget-icon .elementor-widget-container {
    min-height:  81px;
    max-height:  81px;
    display:     flex;
    align-items: center;
    cursor:      pointer;
    margin:      0;
}

html body .elementor-location-header .desktop-header .elementor-widget-icon .elementor-widget-container .elementor-icon-wrapper {
    line-height: 1;
    margin:      0 !important;
}


.search-opened--popup .popup-logo-holder,
.search-opened--popup .popup-menu-holder {
    opacity:        0;
    pointer-events: none;
}