.soderzanie1 {
    --main-color: #266b8e;
}

h1 {
    margin-bottom: 35px;
}

h2, h3, .h2, .h3 {
    margin-top: 70px;
    margin-bottom: 35px;
    padding: 0;
}

@media (width <= 767.98px) {
    h2, h3, .h2, .h3 {
        margin-block: 2rem 1rem;
    }
}

.page-ban {
    margin-bottom: 30px;
    position: relative;
    height: 402px;
    padding: 86px 35px 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #7dc2dc center url(/images/sozdanie-sajta-medicina/ban.jpg);
}
.page-ban img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.page-ban__text {
    max-width: 610px;
    width: 48%;
    /* margin-right: 380px; */
    /* position: absolute;
    left: 77px;
    top: 38%; */
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
@media (width <= 767.98px) {
    .page-ban {
        height: auto;
        padding: 40px 20px 80px;
    }
    .page-ban__text {
        font-size: 20px;
    }
}
@media (max-width: 575.98px) {
    .page-ban__text {
        left: 16%;
        top: 12%;
        width: 80%;
    }
}

@media(min-width: 1500.98px) {
    div.portfolio_box {
        width: 20%;
    }
}

.list-medheart {
    margin: 40px 0;
    padding: 0;
}
.list-medheart li {
    margin-bottom: 1rem;
    list-style: none;
    position: relative;
    padding-left: 60px;
    font-size: 16px;
    font-weight: 600;
}
.list-medheart li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: no-repeat url(/images/sozdanie-sajta-medicina/ic_1.png);
    display: block;
    width: 25px;
    height: 22px;
}
@media (max-width: 767.98px) {
    .list-medheart li {
        padding-left: 40px;
    }
}

.general-requ {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
}
.general-requ__el {
    padding: 40px;
    background-color: #eaf9fe;
    border-radius: 8px;
}
.general-requ__bottom {
    grid-column: 1/3;
}
.general-requ__el-title {
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
}
.general-requ__el ul {
    margin: 0;
    padding: 0;
}
.general-requ__el ul li {
    list-style: none;
    position: relative;
    margin-bottom: 1rem;
    padding-left: 50px;
}
.general-requ__el ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 17px;
    height: 17px;
    background: no-repeat url(/images/sozdanie-sajta-medicina/ic_2.png);
}
@media (max-width: 767.98px) {
    .general-requ__el {
        padding: 20px;
    }
}

.general-requ__bottom {
    margin-bottom: 110px;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.general-requ__bottom-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.general-requ__bottom-left .general-requ__el-title {
    margin-bottom: 30px;
}
.general-requ__bottom-photo img {
    display: block;
    max-width: 100%;
    height: auto;
}
.general-requ__bottom-right {
    position: relative;
}
.general-requ__bottom-right img {
    width: 466px;
    position: absolute;
    top: 7px;
    left: 27px;
    border-radius: 8px;
    box-shadow: 0px 10px 40px 0 rgba(158, 193, 204, 0.5);
}

.general-requ-other {
    margin-top: 55px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}
.general-requ-other__item {
    min-height: 248px;
    flex: 0 0 calc(25% - 18px);
    padding: 110px 25px 45px;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-color: #4caacc;
    background-image: url(/images/sozdanie-sajta-medicina/is2.png);
    background-position: 25px 19px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.general-requ-other__item:last-child {
    justify-self: center;
}
.general-requ-other__item a {
    color: inherit;
}
@media (max-width: 991.98px) {
    .general-requ-other__item {
        flex-basis: calc(33.33% - 18px);
    }
    .general-requ-other__item {
        padding-inline: 10px;
    }
}
@media (max-width: 767.98px) {
    .general-requ-other__item {
        flex-basis: calc(50% - 18px);
        font-size: 16px;
        min-height: unset;
        padding-bottom: 16px;
    }
    .general-requ__bottom {
        margin-bottom: 0;
    }
}

.general-requ-other-ps {
    margin-top: 14px;
    position: relative;
    display: flex;
    align-items: center;
}
.general-requ-other-ps::before {
    content: "";
    display: block;
    width: 70px;
    height: 82px;
    margin-right: 28px;
    background: no-repeat url(/images/sozdanie-sajta-medicina/emb.png);
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .general-requ {
        grid-template-columns: 1fr;
    }
    .general-requ__bottom {
        grid-column: auto;
    }
}


.b-tariffs {
    margin-bottom: 150px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.b-tariffs__el {
    min-height: 650px;
    position: relative;
    padding: 30px 37px 280px;
    border-radius: 8px;
    background-color: #eaf9fe;
}
.b-tariffs__el:nth-child(2) {
    background-color: #d3f4ff;
}
.b-tariffs__el:nth-child(3) {
    background-color: #aaecff;
}
.b-tariffs__el-type {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1;
}
.b-tariffs__el-title {
    margin-bottom: 36px;
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
}
.b-tariffs__el-title a {
    color: inherit;
}
.b-tariffs__el-list {
    margin: 0;
    padding: 0;
}
.b-tariffs__el-list li {
    position: relative;
    list-style: none;
    padding-left: 45px;
    font-size: 18px;
}
.b-tariffs__el-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 23px;
    height: 21px;
    background: no-repeat url(/images/sozdanie-sajta-medicina/ic_2.png);
}
.b-tariffs__el-list li a {
    color: inherit;
}
.b-tariffs__el-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-inline: inherit;
    padding-bottom: 26px;
}

.b-tariffs__el-price-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}
.b-tariffs__el-price-row + .b-tariffs__el-price-row {
    margin-top: 16px;
}
.b-tariffs__el-name {
    font-size: 17px;
}
.b-tariffs__el-name a {
    color: inherit;
}
.b-tariffs__el-value {
    font-size: 30px;
    font-weight: 600;
}
.b-tariffs__el-value span {
    font-size: 17px;
}
.b-tariffs__el-btn-wrap {
    margin-top: 40px;
}
.b-tariffs__el-btn-wrap .btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 16px 10px;
    background-color: #4b8fdd;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}
.b-tariffs__el-btn-wrap .btn:hover {
    background-color: #1b5dd6;
}
@media (max-width: 991.98px) {
    .b-tariffs {
        grid-template-columns: 1fr;
    }
    .b-tariffs__el {
        min-height: initial;
        padding-bottom: 0;
    }
    .b-tariffs__el-bottom {
        position: static;
    }
}
@media (max-width: 767.98px) {
    .b-tariffs {
        margin-bottom: 60px;
    }
    .b-tariffs__el {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.b-meduchr {
    margin-bottom: 150px;
}
.b-meduchr__title {
    margin-bottom: 40px;
}
.b-meduchr__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}
.b-meduchr__item {
    position: relative;
    flex: 0 0 calc(25% - 18px);
    min-height: 380px;
    padding: 20px 20px 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.b-meduchr__item-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.b-meduchr__item-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.b-meduchr__item-bottom {
    min-height: 160px;
    padding-bottom: 10px;
    overflow: hidden;
}
.b-meduchr__item-title {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.b-meduchr__item-text {
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.13;
    color: #fff;
}
.b-meduchr__item-text a {
    color: inherit;
}
@media (max-width: 991.98px) {
    .b-meduchr__item {
        flex-basis: calc(33.33% - 18px);
    }
}
@media (max-width: 767.98px) {
    .b-meduchr {
        margin-bottom: 30px;
    }
    .b-meduchr__item {
        flex-basis: calc(50% - 18px);
        padding-inline: 10px;
    }
    .b-meduchr__item-text {
        font-size: 14px;
    }
}


.b-zapis {
    margin-top: 40px;
    margin-bottom: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.b-zapis__item {
    flex: 0 0 calc(33% - 20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px 25px 30px;
    border-radius: 8px;
    background-color: #e9f7fb;
}
.b-zapis__item-descr {
    margin-top: 57px;
    grid-column: 1 / 3;
}
.b-zapis__item-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}
.b-zapis__item-descr {
    font-size: 16px;
    line-height: 1.13;
}

@media (max-width: 767.98px) {
    .b-zapis {
        flex-direction: column;
    }
}

.h-low {
    text-transform: initial;
}

.t-warning {
    padding-left: 42px;
    background: no-repeat url(/images/sozdanie-sajta-medicina/warning.png) left center;
}

.wt-block {
    margin-bottom: 90px;
}
.wt-block__title {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: #266b8e;
}
.wt-block__text {
    margin-bottom: 45px;
}
@media (width <= 767.98px) {
    .wt-block {
        margin-bottom: 60px;
    }
}