.page-head .inner-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 0;
    max-height: unset;
    height: auto;
}
.page-head.background-after.dostavka {
    background: url("../img/bg_dostavka.jpg") bottom center;
    background-size: cover;
}
.page-head.background-after.dostavka::before {
    background-color: rgba(0, 0, 0, 0.75);
    content:"";
    position: absolute;
    display: block;
    top:0;
    bottom: 0;
    left:0;
    right:0;
}
.page-head.background-after.page-head::after {
    content:none;
}
section.page-head.dostavka .inner-bg img {
    height: auto;
    width: 100%;
    margin-top: -25%;
}
section.page-head.dostavka .inner-bg {
    height:100%;
    max-height: unset;
}
.uslug-block {
    padding-top:100px;
}
.uslug-block .block-items .right-block {
    -ms-flex-order: 2;
    order: 2;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 100%;
}
h1 {
    line-height: 100%;
}
.row-headers-background {
    display:none;
}
.dostavka .amoforms_iframe {
    position:relative !important;
    top:0;
    bottom: unset;
}
/*========================
    Tariffs table
 ========================*/
.tariff-block__table {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid #E0E0E0;
}
.tariffs {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
}
.tariffs tr:nth-child(2n+1) {
    background-color: #f4f4f4;
}
.tariffs tr.header {
    background-color: #f4f4f4;
}
.tariffs td {
    padding: 10px 20px;
    color:#1A1919;
    border-right: 2px solid #E2E2E2;
}
.tariffs tr td:first-child {
    border-left: unset;
}
.tariffs tr td:last-child {
    border-right: unset;
}
.tariffs tr.header td {
    font-weight: bold;
    padding:20px;
}
.tariff-block button.show-all {
    border: 1px solid #7D152E;
    background-color: #7D152E !important;
    border-radius: 8px;
    padding:15px 20px 15px 55px !important;
    position:relative;
}
.tariff-block button.show-all span {
    color:#FFFFFF;
    font-weight: 700;
    font-size: 18px;
    line-height: 16px;
}
.tariff-block button.show-all:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background: #F4F4F4;
    left: 0;
    top: 50%;
    margin-top: -12.5px;
    margin-left:20px;
}
.tariff-block button.show-all:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    left:0;
    border: 3px solid #7D152E;
    transform: rotate(45deg);
    border-left: none;
    border-top: none;
    margin-left: 28px;
    top: 50%;
    margin-top: -6px;
}

.direction-block__tile li{
    list-style:none;
    background: #c7c4c4;
    border-left:1px solid #760000;
    font-weight: 600;
    padding:5px;
    margin-right:1.5rem;
    margin-bottom: 1rem;
}
.seo_show_all:checked ~ .tariff-block__table {
    height: 100%;
}
.tariff-block__text * {
    margin-bottom: 0px;
}
button.show-all {
    color: #fff;
    background-color: #7D152E !important;
    border-color: #7D152E !important;
}
button.show-all label {
    cursor: pointer;
}
.show-all label > .showen, .seo_show_all:checked ~ .show-all label > .hidden {
    opacity: 1;
    font-size: 1rem;
    display: inline-block;
}
.show-all label > .hidden, .seo_show_all:checked ~ .show-all label > .showen {
    opacity: 0;
    font-size: 0rem;
    display: none;
}
.seo_show_all:checked ~ .show-all:after {
    transform: rotate(-135deg);
    top:-4px;
}
.show-all-animate {
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
/*============================
    MEDIA
 ============================*/
@media (max-width: 1199.98px) {
    .uslug-block {
        padding-top:1rem;
    }
    ul.header-list .header-list__item {
        font-size:1rem !important;
    }
    .tariff-block__table {
        overflow-x: auto;
    }
}
/*========================
    AmoCRM
 =======================*/

@media (max-width: 575.98px) {
    .amoforms__field__name-header {
        font-size: 1.5rem;
    }
    .amoforms__fields__container_header {
        height: 60px;
    }
    .amoforms__fields__container__inner_terms * {
        font-size: 0.75rem;
    }
}