#block-search {
    background-color: #7A3226 !important;
    width: 100%;
    box-sizing: border-box;
    max-width: 1300px;
    margin: 0 auto;
}
#block-search-inner {
    background-color: #7A3226;
    width: 100%;
    box-sizing: border-box;
    max-width: 1300px;
    margin: 20px auto;
}
.tl-container {
    padding: 0 30px;
}
#block-search.contact {
    background-color: #7A3226 !important;
    margin: -40px auto 0;
}
#tl-anchor {
    margin: 0 auto;
    max-width: 1280px;
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
    color: #545454;
}
#tl-booking-form {
    margin:  20px auto 30px;
    max-width: 1330px;
    width: 100%;
}
.tl-button {
    font-family: 'Open Sans',Arial,sans-serif;
    font-size: 13.5px;
    font-weight: bold;
    font-style: normal;
    display: block;
    text-decoration: none !important;
    cursor: pointer;
    max-width: 180px;
    width: 100%;
    padding: 12px;
    margin: 12px 0 20px;
    text-align: center;
    white-space: normal;
    border-radius: 4px;
    color: #ffffff !important;
    background-color: #7a3226;
    border: 1px solid;
    border-color: #fff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0%), 0 1px 0 0 rgb(255 255 255 / 0%) inset;
    text-shadow: 0 0 0 rgb(0 0 0 / 0%);
}
.tl-button:hover {
    color: #7a3226 !important;
    background-color: #993f30;
    background-image: -webkit-linear-gradient(bottom, #fff, #fff);
    background-image: linear-gradient(0deg, #fff, #fff);
    border: 1px solid #7a3226;
    text-decoration: none !important;
    cursor: pointer;
}

.tl-button-cert-container {
    position: relative;
    z-index: 110;
    margin: -77px auto 30px;
}

.tl-button-cert-container--desktop {
    z-index: auto !important;
}

.tl-button-cert,
.tl-button-cert-inner {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: #7A3226;
    border: 1px solid #7A3226;
    max-width: 200px;
    height: 50px;
    text-decoration: none;
    color: #FFF !important;
    cursor: pointer;
    font-family: "Commissioner", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    text-transform: uppercase;
}

.tl-button-cert {
    margin-left: auto;
}
.tl-button-cert-inner {
    margin: 20px auto 30px;
}

.tl-button-cert:hover,
.tl-button-cert-inner:hover {
    background-color: #FFF;
    border: 1px solid #7A3226;
    color: #7A3226 !important;
    text-decoration: none;
    cursor: pointer;
}

.tl-with-fancybox jdiv {
    display: none !important;
}

@media screen and (max-width: 1399px) {
    #block-search.tl-main {
        margin-top: 30px;
    }
}
@media screen and (max-width: 1024px) and (min-width: 951px) {
    div.eltd-position-center-inner div.eltd-mobile-logo-wrapper {
        display: none !important;
    }
}

/*адаптация кнопки сертификатов*/

@media screen and (max-width: 1524px){
    .tl-button-cert-container--desktop {
        display: none;
    }
}

@media screen and (min-width: 1525px){
    .tl-button-cert-container {
        top: 10px;
    }

    .tl-button-cert-container--mobile {
        display: none;
    }
}

@media screen and (min-width: 1229px) and (max-width: 1524px){
    .tl-button-cert-container {
        top: 97px;
        right: 10px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1228px){
    .tl-button-cert-container {
        top: 5px;
    }
}

@media screen and (min-width: 560px) and (max-width: 1024px){
    .tl-button-cert-container {
        top: 166px;
    }
}

@media screen and (max-width: 559px){
    .tl-button-cert-container {
        top: 207px;
    }
    .tl-button-cert {
        margin: 0 auto;
    }
}