.top-header .wpml-ls-legacy-list-horizontal a {
    padding: 2px 6px 2px;
    font-size: 12px;
}


@media only screen and (min-width: 767px) {
    .top-header {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .header {
        padding: 40px 0;
    }

    .header .top-right-block li:nth-child(2) .but-01 span {
        display: block;
    }

    .header .top-right-block li:nth-child(2) .but-01 {
        width: auto;
        height: auto;
        border-radius: inherit;
        padding: 8px 10px;
        text-align: center;
        font-weight: bold;
    }

    .header .top-right-block li:nth-child(2) .but-01 img {
        display: none;
    }

    .top-header {
        display: block;
        padding: 5px 0;
        position: relative;
        z-index: 999;
        background-color: rgba(0, 0, 0, 0.22);
    }

    .top-header .wpml-ls-legacy-list-horizontal a span.wpml-ls-native {
        color: #2fc185;
    }

    .top-header .wpml-ls-legacy-list-horizontal>ul {
        display: flex;
    }

    .top-header .wpml-ls-legacy-list-horizontal {
        padding: 0;
        border: none;
    }

    .top-header .container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
    }

    .top-right-block>li:nth-child(1),
    .top-right-block>li:nth-child(4) {
        display: none;
    }

}

@media only screen and (max-width: 600px) {
    .header .top-right-block li:nth-child(2) .but-01 {
        max-width: 100px;
        padding: 5px 4px;
        font-size: 10px;
    }

}