
body {
    font: 15px/25px "PT Sans Caption", Arial, sans-serif;
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-weight: normal;
    font-stretch: normal;
    font-family: "PT Sans Caption", Arial, sans-serif;
}

.header-block-wrapper {
    background: #fff;
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 114px;
}

.header-block-item.header-block-item_right {
    text-align: right;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: center;
    height: 114px;
}

.maxwidth-theme {
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
}

.logo {
    position: relative;
    height: 114px;
    line-height: 107px;
    z-index: 10;
}

.address {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #666;
    display: block;
    margin: 1px 0 0;
    position: relative;
    vertical-align: top;
    font-weight: 700;
    line-height: 1.2857em;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.block-specialist {
    background-image: url(../img/background.jpg);
    background-position: 50%;
    background-size: cover;
}

.first-box {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.block-specialist-photo, .block-specialist-text {
    text-align: left;

}

.specialist-photo {
    width: 400px;
    height: 396px;
    background-image: url(/upload/iblock/dc2/jnjmqb8s6suzmn30f7bmeix7emvb847o.png);
    background-position: 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.block-specialist-photo-wrapper {
    padding: 70px;
}

.no-vertical-padding {
    padding-top: 0;
    padding-bottom: 0;
}

p.doc-subname {
    margin-bottom: 0px !important;
    font-size: 12px;
}

p.doc-name {
    margin: 0 0;
}

p.doc-name span {

    color: #333;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 173, 0, 0.5);
    line-height: 26px;
}

span.name {
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    text-align: left;
}

span.price {
    font-size: 1.2em;
    font-weight: 600;
}

.service {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
}

.service-block {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
}

.service.btn.btn-default {
    font-size: 1em;
}

.service .btn {
    font-size: 1.2em;
}

.header-text {
    color: #333;
    margin-bottom: 0;
    font-size: 14px;
    letter-spacing: 0.7px;
}

.sub-header-text {
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.specialist-about {
    display: flex;
    flex-wrap: wrap;
}

.specialist-about-item {
    border-top: 5px solid rgba(255, 173, 0, 0.3);
    margin: 10px;
    padding: 20px;
    background: #f5f8f9;
    width: 29%;
    color: #333;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.specialist-about-item span.year {
    font-size: 20px;
    color: #444;
    font-weight: 600;
}

section.reviews {
    background: #f5f8f9;
}

.reviews .item {
    background: #fff;
    margin: 0;
    border-radius: 3px;
    border: 1px solid #ecf2f4;
    background: #FFF;
    padding: 36px 40px 30px 79px;
    border: none;
    background: #FFF;
    border-radius: 3px;
    overflow: hidden;
}

.reviews.item-views .item {
    padding: 36px 40px 30px 79px;
    border: none;
    background: #FFF;
    border-radius: 3px;
    overflow: hidden;
}

.item-views.table-type-block .item {
    margin: 0;
    border-radius: 3px;
    border: 1px solid #ecf2f4;
    background: #FFF;
}

.reviews .item .title {
    margin-bottom: 18px;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.3889em;
    color: #333;
    position: relative;

}

.reviews .item .title:before {
    content: "";
    position: absolute;
    left: -48px;
    top: 4px;
    width: 22px;
    height: 16px;
    background: url('../img/quote.svg') 0 0 no-repeat;
    background-color: #ffad00;
}

.reviews .item .date {
    margin: 0 0 4px;
    color: #999;
}

.twosmallfont {
    font-size: .86667em;
    line-height: 1.3846em;
}

.slick-prev, .slick-next {
    background: #fff;
    height: 40px;
    width: 40px;
    border-radius: 40px;
    box-shadow: 0 5px 20px 0 rgba(18, 25, 38, 0.1);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: #ffffff;
    background: #ffad00;
}

.reviews ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
}

.slick-prev:before, .slick-next:before {
    color: #ffad00;
}

.slick-prev:hover:before, .slick-prev:focus:before, .slick-next:hover:before, .slick-next:focus:before {
    color: #ffffff;
}

.slick-next {
    right: -5px;

}

.slick-prev {
    left: -5px;
}

.slides.items {
    max-height: 520px;
    overflow: hidden;
}

.slides.items.slick-initialized {
    max-height: none;
    overflow: visible;
}

.rheumatism {
    background-image: url("../img/background.jpg");
    background-position: 50%;
    background-size: cover;
}

.rheumatism-block-text {
    margin-bottom: 30px;
}

.rheumatism-block-text.curl {
    font-style: italic;
    font-size: 1em;
    line-height: 1.2em;
}

blockquote:before {
    background-image: url(../img/quotas-big.svg);
    background-size: contain;
    background-color: transparent !important;
}

.doctor-treats-block-item {
    font-size: 1.2em;
    line-height: 1.3em;
    padding-left: 30px;
    position: relative;
    margin-bottom: 13px;
}

.doctor-treats-block-item:before {
    content: "";
    position: absolute;
    height: 15px;
    width: 15px;
    background-image: url(../img/plus.svg);
    background-size: contain;
    left: 0;
    bottom: 50%;
    transform: translateY(50%);
}

.about-rheumatism {
    font-size: 1.2em;
    margin-bottom: 35px;
}

.button-centred {
    font-size: 1.2em;
    margin: 20px auto;
    text-align: center;
}

footer .header-block-item.header-block-item_right {
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 20px;
    height: auto;
}

footer {
    background: none repeat scroll 0 0 #f1f1f1;
    border-top: 2px solid rgba(255, 173, 0, 0.5);
}

.modal-header {
    border: none;
}

.modal-header h4 {
    margin-top: 0;
}

/* header feedback start */
.modal-header .modal-header__feedback {
    margin-top: 0;
    font-size: 1.3333em;
    font-weight: 700;
    color: #333;
}
/* header feedback end */

.modal-body {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    padding: 30px;
    line-height: 30px;
    color: #333;
}

.modal-phone {
    margin-top: 20px;
    font-weight: 600;
    font-size: 26px;
}

.collapse.navbar-collapse.navbar-ex2-collapse {
    height: 1px !important;
    overflow: hidden !important;
}

.navbar-default {
    display: none;
}

.navbar-collapse a.menu-link {
    border: none;
    font-weight: 700;
    padding: 10px 12px;
    position: relative;
    text-transform: none;
    color: #333;
    width: auto;
}

.navbar-collapse a.menu-link:hover {
    color: #ffad00;
}

.navbar-collapse {
    max-height: 400px;
    border-top: 2px solid rgba(255, 173, 0, 0.5);
    transition: 0.2s;
}

.navbar-collapse.in {
    overflow: visible;
    margin-bottom: 20px;
    padding-top: 60px;
    padding-bottom: 20px;
    border-top: 2px solid rgba(255, 173, 0, 0.5);
    position: fixed;
    background: #fff;
    width: 100%;
    opacity: 1 !important;
    z-index: 981;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #fff;
}

.navbar-default .navbar-toggle:focus .icon-bar, .navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #ffad00;
}

form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    margin: 0 auto;
    align-items: center;
    font-size: 16px;
}

input.form-field {
    border: navajowhite;
    border-bottom: 2px solid #d8d8d8;
    margin-bottom: 10px;
    padding: 15px 0px 3px;
    font-size: 16px;
    width: 100%;
}

input.btn.btn-default.form-submit {
    font-size: 1.2em;
    margin: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

.form-message {
    margin: 20px 0 0;
    padding: 5px 16px;
    width: 100%;
    color: #666;
}

.form-message.error {
    border: 2px solid #f4523b;
}

.form-message.success {
    border: 2px solid #36c57f;
}
#scroll-header{
    transition: 0.1s ease-in;
    top: 10px;
}
#scroll-header.header_min {
    position: fixed;
    z-index: 1000;
    width: 100%;
    box-shadow: 2px 2px 15px -5px rgba(255, 173, 0, 0.7);
    top:0;

}
@media (max-width: 1200px) {
    button.navbar-toggle {
        display: block !important;
        margin-right: 0;

    }

    .collapse.navbar-collapse.navbar-ex2-collapse {
        height: 1px !important;
        overflow: hidden;
    }

    nav.mega-menu.sliced {
        display: none;
    }

    nav.navbar-default {
        height: 114px;
        display: flex;
        justify-content: flex-end;
        background: transparent;
        align-items: center;
    }

}

@media (max-width: 992px) {
    .specialist-about-item {
        width: 45%;
    }
}

@media (max-width: 767px) {

    .specialist-photo {
        width: 200px;
        height: 200px;
    }

    .header-menu {
        display: none;
    }

    .block-specialist-text {
        margin-top: 40px;
        margin-bottom: 40px;
    }

}

@media (max-width: 630px) {
    @media (max-width: 992px) {
        .specialist-about-item {
            width: 97%;
        }
    }
    .block-specialist-photo-wrapper {
        padding: 50px 20px;
    }

    .logo {
        width: 100%;
        line-height: 60px;
        height: 60px;
    }
    .logo img{
        height: 90%;
    }

    .header-block-item.header-block-item_right {
        align-items: flex-start;
        justify-content: space-between;
        padding-bottom: 20px;
        height: auto;
        width: 90%;
    }

    .block-specialist-photo, .block-specialist-text {
        padding: 0;
    }

    .first-box {
        text-align: justify;
        padding: 40px 10px;
    }

    blockquote {
        padding: 0 0 0 45px;
    }

    nav.navbar-default {
        height: 90px;
    }
}

@media (max-width: 500px) {
    .header-block-item.header-block-item_right.col-xs-12.col-sm-6 {
        flex-direction: column-reverse;
        align-items: center;
    }

    .service-block {
        flex-direction: column;
    }

    .specialist-photo {
        width: 150px;
        height: 150px;
    }

    .sub-header-text {
        font-size: 22px;
    }

    .reviews .item {
        padding: 6px 8px 13px 50px;
        font-size: 12px;
        line-height: 14px;
    }

    .rheumatism-block-text.button-centred {
        font-size: 1em;
    }
}

.top-header {
    position: relative;
    padding: 12px 0;
    background: #f7f9fa;
    z-index: 13;
}
.top-header-block {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}
.top-header-right {
    width: 100%;
    text-align: right;
}
.top-header-left {
    width: 100%;
}
.top-header p {
    margin: 0;
    font-size: 14px;
    line-height: 17px;
}
/* services */
.services-list .item-border {
    position: relative;
    border: 1px solid #ecf2f4;
    border-radius: 3px;
    position: relative;
    display: block;
    margin: 0 0 -1px;
    overflow: hidden;
    padding: 0;
}
.services-list .top-row.clearfix {
    width: 100%;
    cursor: pointer;
    padding: 24px 25px 24px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.services-list .title.with_p {
    width: 100%;
    font-size: 1.0667em;
    line-height: 1.5625em;
    font-weight: bold;
    color: #333;
}
.services-list .media{
    width: 100%;
    margin: 0 0 0 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;

}
.services-list .media .prices{
    margin-right: 20px;

}
body .services-list .btn.white {
    color: #ffad00 !important;
    border: 1px solid rgba(255,173,0,0.3);
    background-color: white;
}
.services-list .subtitle{
    margin: 70px 0 40px;
    text-align: center;
    color: #333;
    font-weight: bold;
    font-size: 1.5em;

}
/* services end */
.grey-border-bottom{
    border-bottom: 1px solid #ecf2f4;
}
.grey-border-bottom.doctor-treats-block{
    padding-bottom: 20px;
    margin-bottom: 50px;
}


.news-block-main .slice_block .image {
    height: 175px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}
.news-block-main .slice_block {
    border-radius: 3px;
    border: 1px solid #ecf2f4;
    background: #FFF;
    height: 395px;
}
.news-block-main {
    display: flex;
}
.news-block-main .wrap {
    margin: 15px;
    width: 30%;
}

.news-block-main  .wrap:focus{
    outline:none;
}
.news-block-main .body-info{
    padding: 26px 30px 24px;
}
.news-block-main .body-info .title {
    margin: 0 0 9px;
    font-size: 1.0667em;
    font-weight: 700;
    line-height: 1.5625em;
    color: #333;
    cursor: pointer;
}
.news-block-main .body-info .title a{
    color: #333;
}
.news-block-main .body-info .title a:hover{
    color: #ffad00;
    text-decoration: none;
}
.news-block-main .body-info .period{
    font-size: .867em;
    line-height: 1.3846em;
}
div.news-detail img.detail_picture {
    float: left;
    margin: 0 8px 6px 1px;
    max-width: 600px;
    height: auto;
}


/*block-specialists*/

.block-specialists-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.block-specialists-block-item {
    width: 49%;
    height: 100%;
}

.block-specialists .item {
    margin: 16px 0;
    border-radius: 3px;
    border: 1px solid #ecf2f4;
    background: #FFF;
    padding: 0;
    position: relative;
    height: 150px;
    width: 100%;
}
.shadow1 {
    box-shadow: none;
    transition: box-shadow .3s ease;
    -moz-transition: box-shadow .3s ease;
    -ms-transition: box-shadow .3s ease;
    -o-transition: box-shadow .3s ease;
    -webkit-transition: box-shadow .3s ease;
}
.shadow1:hover {
    z-index: 1;
    -webkit-box-shadow: 0 5px 20px 0 rgba(18,25,38,0.1);
    -moz-box-shadow: 0 5px 20px 0 rgba(18,25,38,0.1);
    box-shadow: 0 5px 20px 0 rgba(18,25,38,0.1);
}

.block-specialists .item .image {
    position: relative;
    z-index: 1;
    float: left;
    width: 160px;
    height: 100%;
    text-align: left;
    overflow: hidden;
    background-position: 50%;
    background-size: cover;
}
.block-specialists .item .image>.wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.block-specialists .item .info {
    padding: 20px 10px 20px 180px;
    margin: -6px 0;
}

.block-specialists .item .title {
    margin: 0;
    font-size: 1.2em;
    line-height: 1.3889em;
    font-weight: 700;
    margin-bottom: 6px;
}
.block-specialists .item .text {
    margin: 8px 0 0;
    padding: 0;
}
.dark-color{
    color: #333;
}
.service-group-main-block-item {
    width: 100%;
    /*width: 46%;*/
    margin: 2%;
}
.service-group-main-block {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .service-group-main-block-item {
        width: 100%;
        margin: 0;
    }
    .news-block-main .slice_block{
        height: 460px;
    }
}
@media (max-width: 991px) {
    .news-block-main {
        display: flex;
        flex-wrap: wrap;
    }
    .news-block-main .wrap {
        margin: 15px 2%;
        width: 46%;
    }
}
@media (max-width: 767px) {
    .services-list .top-row.clearfix {
        flex-direction: column;
        padding: 12px;
    }
    .services-list .title.with_p {
        margin-bottom: 16px;
    }
}
@media (max-width: 650px) {
    .news-block-main .wrap {
        margin: 2%;
        width: 96%;
    }
    .news-block-main .slice_block {
        height: auto;
    }
}@media (max-width: 550px) {
    .service-group-main-block {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-between;
    }
    .block-specialists .item .image {
        height: 150px;
        width: 100%;
    }
    .block-specialists .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .block-specialists .item .info {
        padding: 12px;
        height: 255px;
    }
    .service-group-main-block-item {
        width: 100%;
        margin: 1%;
    }
}
@media (max-width: 425px) {
    .service-group-main-block {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        max-width: 200px;
        align-items: center;
        margin: 0 auto;
    }
    .block-specialists .item .info {
        height: auto;
    }
}

.specialist-about-modal {
    flex-direction: column;
}
.specialist-about-modal .specialist-about-item{
    width: 100%;
    font-size: 16px;
    text-align: left;
    line-height: 20px;
}
a {
    cursor: pointer !important;
}
.dark-color:hover{
    color: initial;
}
/* Контейнер для горизонтальной прокрутки */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

/* Стили для таблиц */
.methods-table,
.howitgoes-table{
    width: 100%;
    min-width: 800px; /* Комфортная минимальная ширина для каждой таблицы, чтобы текст не сжимался слишком сильно */
    border-collapse: collapse;
    margin-bottom: 30px; /* Отступ между первой и второй таблицей */
}

/* Убираем отступ у последней таблицы в контейнере */
.methods-table:last-child {
    margin-bottom: 0;
}

/* Стили для шапки таблицы */
.methods-table thead {
    background-color: #ffc000;
}

.methods-table thead th,
.howitgoes-table thead th{
    color: #000000;
    font-weight: 700;
    padding: 12px 15px;
    text-align: left;
}

/* Стили для ячеек */
.methods-table td,
.howitgoes-table td{
    padding: 12px 15px;
    vertical-align: top;
    border: 1px solid #e0e0e0; /* Ненавязчивые границы для удобства чтения */
}

/* Стили для второй строки в теле таблицы (размер и курсив) */
.methods-table tbody tr:nth-child(2) {
    font-size: 0.9em;
    font-style: italic;
    background-color: #fafafa; /* Легкий фон для выделения блока с временем и восстановлением */
}