/*custom rewrite*/

.write_to_consultation {
    margin-top: 100px;
    margin-bottom: 100px;
}

@media(max-width:992px) {
    .write_to_consultation {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}


/*headline*/

.headline-ometode {
    padding: 40px 0 20px 0;
}

.headline-ometode__title {
    font-size: 65px;
    line-height: 65px;
    color: #e20155;
    font-family: 'ProximaNova-Extrabld';
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headline-ometode__text {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 28px;
    padding: 0 140px;
    text-align: center;
    font-style: italic;
}

@media(max-width:1200px) {
    .headline-ometode__text {
        padding: 0;
    }
    .headline-ometode__title {
        font-size: 30px;
        line-height: 30px;
        display: block;
        text-align: center;
    }
}


/*advantages*/

.o-metodike__advantages {
    margin-bottom: 60px;
}

.advantages-ometode {
    padding: 30px 100px 50px 100px;
    background-color: #f4f4f4;
    display: flex;
    flex-wrap: wrap;
}

.advantages-ometode__item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 5px);
    margin-bottom: 20px;
}

.advantages-ometode__item:nth-child(odd) {
    margin-right: 5px;
}

.advantages-ometode__item:nth-child(even) {
    margin-left: 5px;
}

.advantages-ometode__title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #e20155;
    font-style: italic;
    font-weight: 600;
    font-family: inherit;
}

.advantages-ometode__content-wrap {
    display: flex;
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
}

.advantages-ometode__content {
    display: flex;
    padding: 40px 20px;
    background-color: #fff;
    min-height: 320px;
}

.advantages-ometode__img-wrap {
    min-width: 70px;
    height: 70px;
    margin-right: 20px;
}

.advantages-ometode__img {
    width: 100%;
    height: 100%;
}

.advantages-ometode__text {
    font-size: 18px;
    line-height: 28px;
    font-style: italic;
}

@media(max-width:992px) {
    .o-metodike__advantages {
        margin-bottom: 20px;
    }
    .advantages-ometode {
        flex-direction: column;
        padding: 30px;
    }
    .advantages-ometode__item {
        width: 100%;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
    }
    .advantages-ometode__content {
        flex-direction: column;
    }
    .advantages-ometode__img-wrap {
        margin-bottom: 10px;
    }
}

@media(max-width:400px) {
    .advantages-ometode__text {
        font-size: 16px;
    }
}


/*for_whom*/

.o-metodike__for-whom {
    margin-bottom: 40px;
}

.for-whom-ometode__inner {
    display: flex;
}

.for-whom-ometode__title {
    text-align: center;
    font-weight: 600;
}

.for-whom-ometode__item-wrap {
    display: flex;
    width: calc(33% - 20px);
    padding: 5px;
    border: 2px solid #e0e0e0;
}

.for-whom-ometode__item-wrap:nth-child(2) {
    margin: 0 30px;
}

.for-whom-ometode__item {
    background-color: #f4f4f4;
    padding: 20px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.for-whom-ometode__img-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.for-whom-ometode__text {
    padding: 0 20px;
    text-align: center;
    min-height: 170px;
}

.for-whom-ometode__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    height: 40px;
    background-color: #e20155;
    border-radius: 25px;
    color: #fff;
    font-family: 'PTSans';
    font-weight: 600;
    box-shadow: 0px 7px 17px 0px rgba(175, 0, 60, 0.44);
}

.for-whom-ometode__link:hover {
    color: #fff;
    background-color: #b30445;
}

@media(max-width:992px) {
    .for-whom-ometode__inner {
        flex-direction: column;
    }
    .for-whom-ometode__item-wrap {
        width: 100%;
        margin-bottom: 10px;
    }
    .for-whom-ometode__item-wrap:nth-child(2) {
        margin: 0;
    }
}


/*what-treat*/

.what-treat-ometode__content {
    background-image: url(img/bg-what-treat.jpg);
    padding: 80px 50px;
    display: flex;
    justify-content: space-between;
    background-size: cover;
    height: 770px;
    background-position: center;
}

.what-treat-ometode__title {
    text-align: center;
}

.what-treat-ometode__content-title {
    font-size: 23px;
}

.what-treat-ometode__text {
    font-size: 40px;
    line-height: 46px;
    color: #e20155;
    font-family: 'PTSans';
    font-weight: 600;
    margin-bottom: 0;
}

.what-treat-ometode__subtext {
    color: #e20155;
    font-style: italic;
}

.what-treat-ometode__content-left {
    max-width: 310px;
}

.what-treat-ometode__content-right {
    max-width: 350px;
}

.what-treat-ometode__content-item {
    margin-bottom: 40px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.what-treat-ometode__content-right .what-treat-ometode__text,
.what-treat-ometode__content-right .what-treat-ometode__subtext,
.what-treat-ometode__content-right .what-treat-ometode__content-title {
    text-align: right;
}

@media(max-width:1200px) {
    .what-treat-ometode__text {
        font-size: 25px;
        line-height: 30px;
    }
}

@media(max-width:992px) {
    .what-treat-ometode__content {
        flex-direction: column;
        padding: 0;
        height: auto;
    }
    .what-treat-ometode__content-left,
    .what-treat-ometode__content-right {
        max-width: 100%;
        background-color: rgba(255, 255, 255, 0.6);
        padding: 20px;
    }
    .what-treat-ometode__content-item {
        min-height: auto;
        margin-bottom: 10px;
    }
    .what-treat-ometode__text {
        font-size: 20px;
        line-height: 20px;
    }
}


/*questions*/

.questions-ometode {
    padding: 0 150px;
}

.questions-ometode__title {
    text-align: center;
}

.questions-ometode__question {
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'PTSans';
    font-size: 18px;
}

@media(max-width:1200px) {
    .questions-ometode {
        padding: 0;
    }
}


/*rewies*/

.rewievs__text {
    padding: 0 150px;
    font-size: 18px;
}

@media(max-width:1200px) {
    .rewievs__text {
        padding: 0;
        font-size: 16px;
    }
    .rewievs .rewievs__title {
        margin-bottom: 10px;
    }
}