.services {

}

.services__search {
    position: relative;
}

/*.services__search-input {*/
/*    font-size: 13px;*/
/*    padding-left: 36px;*/
/*    height: 40px;*/
/*}*/

/*.services__search-input::placeholder {*/
/*    font-size: 13px;*/
/*}*/


@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.services__body {
    margin-top: 6px;
}

.services__body_hidden {
    display: none !important;
}

.services__body_toggle {
    display: none;
}

.services__title {
    display: none;
    text-align: center;
    font-size: 28px;
}

.services__subtitle {
    /*display: none;*/
    text-align: center;
    font-size: 20px;
}

.services__tabs {
    display: none;
}

.services__tabs-item.is-hide {
    display: none;
}

.services__section {
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.services__section.is-hide {
    display: none;
}

.services__section:last-child {
    border-bottom: 0;
}

.services__body_toggle .services__section:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.services__section_js-template {
    display: none;
}

.services__header {
    padding: 12px 0 9px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services__name,
.services__name:hover {
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFE;
    margin-right: 10px;
}

.services__show {
    display: flex;
    align-items: center;
    height: 25px;
    border-radius: 30px;
    padding: 0 14px;
    background: transparent url("data:image/svg+xml,%3Csvg width='9' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.17.17a.58.58 0 00-.12.64C.07.88.12.94.17 1L4.1 4.86a.47.47 0 00.51.1c.06-.02.11-.05.16-.1L8.69 1a.58.58 0 000-.83.6.6 0 00-.83 0L4.43 3.54 1 .17a.6.6 0 00-.83 0z' fill='%23FFFFFE'/%3E%3C/svg%3E") no-repeat center;
    background-position-x: calc(100% - 9px);
    border: 0;
    box-shadow: none;
}

.services__show_active {
    padding-right: 24px;
    background-color: rgba(255, 255, 255, 0.4);
}

.services__counter {
    display: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFE;
}

.services__show_active .services__counter {
    display: block;
}

.services__list {
    padding-bottom: 15px;
    display: none;
}

.services__link {
    display: block;
    padding: 8px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 12px;
    line-height: 140%;
    color: #FFFFFE;
    margin-bottom: 3px;
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
}

.services__link:hover,
.services__link:active {
    color: #FFFFFE;
}

.services__col {
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
}

.services__link:nth-child(n + 5) {
    /*display: none;*/
}

.services__link_mere {
    position: relative;
    font-weight: 500;
}

.services__link-icon {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    width: 5px;
    height: 9px;
    fill: #FFFFFE;
}

.services__link:nth-child(n + 5).services__link_mere {
    /*display: flex;*/
}

.services__error {
    display: none;
    padding: 30px 15px;
    text-align: center;
    color: white;
}

.services__error a {
    text-decoration: underline;
    color: white;
}

.services__error a:hover,
.services__error a:active {
    text-decoration: none;
    color: white;
}

.services__error_show {
    display: block;
}

.services__toggle {
    display: block;
    margin: 12px auto 14px;
    padding: 0 20px 0 0;
    border: 0;
    box-shadow: none;
    font-size: 12px;
    line-height: 120%;
    color: #FFFFFE;
    position: relative;
    background: transparent;
}

.services__toggle:after {
    content: '';
    display: block;
    width: 9px;
    height: 6px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: transparent url("data:image/svg+xml,%3Csvg width='9' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.17.17a.58.58 0 00-.12.64C.07.88.12.94.17 1L4.1 4.86a.47.47 0 00.51.1c.06-.02.11-.05.16-.1L8.69 1a.58.58 0 000-.83.6.6 0 00-.83 0L4.43 3.54 1 .17a.6.6 0 00-.83 0z' fill='%23FFFFFE'/%3E%3C/svg%3E") no-repeat center;
}

.services__toggle_active:after {
    transform: translateY(-50%) rotate(180deg);
}

.price-form__select-wrap {
    margin-bottom: 20px;
    max-width: 100%;
}

/*@media (min-width: 375px) {*/
/*    .services__search-input {*/
/*        font-size: 16px;*/
/*    }*/

/*    .services__search-input::placeholder {*/
/*        font-size: 16px;*/
/*    }*/
/*}*/

@media (min-width: 576px) {
    .services {

    }
}

@media (min-width: 869px) {
    .services {

    }

    .services_theme_banner {
        margin: auto;
        width: calc(100% / 12 * 11);
    }

    .services__body {
        display: block;
        margin-top: 35px;
    }

    .services__title {
        display: block;
        font-weight: normal;
        font-size: 48px;
        line-height: 120%;
        margin-bottom: 24px;
        text-align: center;
    }

    /*.services__search-input {*/
    /*    height: 48px;*/
    /*    padding-right: 50px;*/
    /*}*/
    .services__body {
        display: block;
        margin-top: 35px;
    }

    .services__tabs {
        display: flex;
        position: relative;
        padding: 0 7px;
    }

    .services_theme_banner .services__tabs {
    }

    .services__tabs:after {
        position: absolute;
        content: '';
        left: 0;
        bottom: 1px;
        width: 100%;
        height: 1px;
        background: #BDBDBD;
        z-index: 0;
    }

    .services__tabs-item {
        font-weight: 300;
        font-size: 14px;
        padding: 0 4px 10px;
        border-bottom: 3px solid transparent;
        position: relative;
        z-index: 1;
        cursor: pointer;
        opacity: 0.8;
        color: #ffffff;
        margin-right: 10px;
    }

    .services__tabs-item:last-child {
        margin-right: 0;
    }

    .services_theme_banner .services__tabs-item {
        padding: 0 4px 10px;
    }

    .services_theme_light .services__tabs-item {
        color: #463B3F;
    }

    .services__tabs-item_active {
        opacity: 1;
        font-weight: 500;
        border-bottom: 3px solid #F6C33A;
    }

    .services_theme_banner .services__tabs-item_active {
        border-color: #E4623F;
    }

    .services__tabs-counter {
        display: none;
        border-radius: 30px;
        padding: 0 4px;
        min-width: 20px;
        background-color: #F2B2A1;
        font-weight: 500;
        font-size: 12px;
        color: #fff;
        text-align: center;
        position: absolute;
        top: -12px;
        right: -5px;
    }

    .services__tabs-counter_active {
        display: block;
    }

    .services__section {
        display: none;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .services__section_active {
        display: block;
    }

    .services__body_toggle .services__section:last-child {
        border-bottom: 0;
    }

    .services__header {
        display: none;
    }

    .services__list {
        display: flex;
        width: calc(80% + 26px);
        padding: 11px 11px 0;
        margin: 0 -13px;
    }

    .services_theme_banner .services__list {
        width: auto;
    }

    .services__col {
        flex: 0 0 50%;
    }

    .services_theme_banner .services__col {
        flex-basis: calc(100% / 3);
    }

    .services__link:nth-child(n + 5) {
        /*display: block;*/
    }

    .services__link {
        font-size: 14px;
        background: none;
        padding: 8px 13px;
        margin-bottom: 0;
    }

    .services_theme_light .services__link {
        color: #463B3F;
    }

    .services__link_mere {
        column-span: all;
        display: flex;
        align-items: center;
        margin-top: 25px;
    }

    .services_theme_banner .services__link_mere {
        column-span: none;
        margin-top: 0;
    }

    .services__link-icon {
        position: static;
        transform: none;
        margin-left: 10px;
    }

    .services_theme_light .services__link-icon {
        fill: #463B3F;
    }

    .services__toggle {
        display: none;
    }

    .services__search-list {
        display: flex;
    }

    .price-form__select-wrap {
        margin: 0 20px 0 0;
        flex: 0 0 40%;
        max-width: 40%;
    }

    .price-form__search {
        flex: 1 1 auto;
    }
}

@media (min-width: 1189px) {
    .services_theme_banner {
        width: calc(100% / 12 * 8);
    }

    .services__inner {
        width: calc(100% / 12 * 8);
    }

    .services__tabs-item {
        padding: 0 4px 15px;
        margin-right: 15px;
    }

    .services__tabs-item:last-child {
        margin-right: 0;
    }

    .services_theme_banner .services__tabs-item {
        padding: 0 6px 15px;
    }

    .services__list {
        width: 70%;
    }

    .services_theme_banner .services__list {
        min-height: 230px;
    }
}
