.price {
    background: #FAFAFA;
    margin: 0 -20px;
}

.price.is-clinic-page {
    background-color: transparent;
}

.price.is-clinic-page .price__body {
    background: #FAFAFA;
}

.price_loader {
    position: relative;
    min-height: 60px;
}

.price_loader:before {
    content: '';
    position: absolute;
    display: block;
    background-color: rgba(255, 255, 255, 0.4);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 20px 0;
    z-index: 1;
}

@media (min-width: 869px) {
    .price_loader:before {
        border-radius: 30px 30px 30px 0;
    }
}

.price_loader:after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    border: 1px solid #000000;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation-name: rotation;
    animation-duration: .4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

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

.price__head {
    padding: 30px;
    background-color: #F79A81;
}

/*.price__head_purple {
    background-color: #572F8E;
}*/

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

.price-form__select-wrap .select2-container .select2-selection--single .select2-selection__rendered {
    text-overflow: initial;
    white-space: normal;
    height: 100%;
    display: flex;
    line-height: 1;
    align-items: center;

}

.price-list__group_more,
.price-list__group_hidden,
.price-list__group_empty {
    display: none;
}

.price-list__group_show {
    display: block;
}

.price-more {
    display: block;
    margin: 50px auto 0;
}

.price-more_open:before {
    display: none;
}

.price-more__text {
    display: none;
}

.price-more_open .price-more__text {
    display: inline;
}

.price-more_hidden {
    display: none;
}

.price-list__head {
    display: flex;
    align-items: center;
    padding: 15px 45px 15px 30px;
    cursor: pointer;
    position: relative;
    border: 0;
    border-top: 1px solid #C4C4C4;
}

.price-list__group:first-child .price-list__head {
    border-top: 0;
}

.price-list__group:last-child .price-list__head_open {
    border-bottom: 1px solid #C4C4C4;
}

.price-list__group_empty .price-list__head {
    border: 0;
}

.price-list__head:before,
.price-list__head:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: #666666;
}

.price-list__group_empty .price-list__head:before,
.price-list__group_empty .price-list__head:after {
    display: none;
}

.price-list__head:before {
    transform: translateY(-50%) rotate(90deg);
    transition: transform .2s ease-in-out;
}

.price-list__head_open:before {
    transform: translateY(-50%) rotate(0);
    transition: transform .2s ease-in-out;
}

.price-list__count {
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: #999999;
    margin-right: 12px;
}

.price-list__title {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
}

.price-list__body {
}

.price-list__item {
    padding: 20px 30px;
    border: 0;
    border-bottom: 1px solid #C4C4C4;
}

.price-list__item_hidden {
    display: none;
}

.price-list__group:last-child .price-list__item:last-child {
    border-bottom: 0
}

.price-list__item:nth-child(odd) {
    background: #F5F5F5;
}

.price-list__article {
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: #999999;
    margin-bottom: 9px;
}

.price-list__name {
    font-weight: normal;
    font-size: 12px;
    line-height: 140%;
    margin-bottom: 9px;
}

.price-list__price {
    line-height: 140%;
    font-size: 12px;
    display: inline-block;
}

.price-list__price_old {
    text-align: right;
    margin-right: 20px;
}

.price-list__price-num {
    font-weight: 500;
    font-size: 20px;
    margin-right: 5px;
}

.price-list__price-num_old {
    position: relative;
    font-size: 17px;
}
.price-list__price-num_old:after {
    content: '';
    position: absolute;
    width: calc(100% + 40px);
    height: 1px;
    background-color: #333333;
    top: 50%;
    left: -4px;
    transform: rotate(4deg);
}

.price-public-offer {
    padding: 0 20px;
    margin-top: 20px;
}

.price-list__disclaimer {
    margin-top: 20px;
    font-size: 14px;
    color: grey;
}
.price-list__disclaimer-top{
    color: grey;
    margin-bottom: 10px;
}

@media (min-width: 375px) {

}

@media (min-width: 576px) {
    .price {
        margin: 0;
    }
}

@media (min-width: 869px) {
    .price-form {
        display: flex;
    }

    .price-form__item {
        flex: 1 1 auto;
        margin: 0 20px 0 0;
        min-width: 30%;
        max-width: 50%;
    }

    .price-form__item:last-child {
        margin: 0;
    }

    @supports (display: grid) {
        .price-form.new_price_form {
            display: block;
        }

        .price-form {
            display: grid;
            grid-template-columns: 40% auto;
            grid-gap: 20px;
        }

        .price-form_three-piece {
            grid-template: repeat(2, auto) / repeat(2, 1fr);
        }

        .price-form__item {
            max-width: 100%;
            width: 100%;
            margin: 0;
        }

        .price-form_three-piece .price-form__item:last-child {
            grid-column: 1 / -1;
        }
    }

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

    .price-list__head:before,
    .price-list__head:after {
        height: 2px;
        width: 16px;
    }

    .price-list__count {
        font-size: 15px;
    }

    .price-list__title {
        font-size: 20px;
    }

    .price-list__body-grid {
        display: table;
        width: 100%;
    }

    .price-list__item {
        display: table-row;
        padding: 0;
        border: 0;
    }

    .price-list__item_hidden {
        display: none;
    }

    .price-list__item > * {
        border-top: 1px solid #C4C4C4;
    }

    .price-list__group:last-child .price-list__item:last-child > *{
        border-bottom: 0
    }

    .price-list__article {
        display: table-cell;
        margin-bottom: 0;
        padding: 20px 24px 20px 40px;
        font-size: 13px;
        width: 120px;
    }

    .price-list__name {
        display: table-cell;
        padding: 20px 24px;
        margin-bottom: 0;
        font-size: 16px;
        width: calc(100% - (120px + 175px));
    }

    .price-list__name:first-child {
        padding: 20px 24px 20px 40px;
    }

    .price-list__price {
        display: table-cell;
        padding: 20px 40px 20px 24px;
        white-space: nowrap;
        font-size: 16px;
        width: 175px;
    }

    .price-list__price_old {
        padding: 20px 15px 20px 24px;
    }
}

@media (min-width: 1189px) {
    .price__head {
        padding: 35px 80px;
    }

    @supports (display: grid) {
        .price-form_three-piece {
            grid-template: auto / repeat(3, 1fr);
        }

        .price-form_three-piece .price-form__item:last-child {
            grid-column: initial;
        }
    }

    .price-list__head {
        padding: 15px 72px 15px 32px;
    }

    .price-list__count {
        margin-left: 40px;
    }

    .price-list__article {
        padding: 25px 24px 25px 90px;
        width: 175px;
    }

    .price-list__name {
        padding: 25px 24px;
        width: calc(100% - (175px + 210px));
    }

    .price-list__name:first-child {
        padding: 25px 24px 25px 90px;
    }

    .price-list__price {
        padding: 25px 80px 25px 24px;
        width: 210px;
    }

    .price-list__price_old {
        padding: 25px 15px 25px 24px;
    }
}

.clinics-prices .price-list__head{
    padding-top: 30px;
    padding-bottom: 30px;
    border-top-color: #E6E6E6;
}
.clinics-prices .price-list__head:before, .clinics-prices .price-list__head:after {
    right: 36px;
}
.price-list__price-num {
    font-weight: 400;
}
.price-list__button-holder {
    display: table-cell;
    padding: 10px 35px 10px 30px;
    height: 100%;
}
.price-list__button {
    padding-top: 8px;
    padding-bottom: 6px;
    font-weight: 400;
    font-size: 14px;
}
.price-list__button-holder {
    padding: 10px 0;
}
@media (min-width: 869px) {
    .price-list__item > * {
        border-top-color: #E6E6E6;
    }
    .price-list__button-holder {
        padding: 10px 35px 10px 30px;
    }
}
@media (min-width: 1189px) {
    .clinics-prices .price-list__count {
        margin-right: 40px;
        margin-left: 0;
    }
    .price-list__price {
        padding-right: 6px;
        text-align: right;
    }
}

