/* Общие стили для блоков */
.sp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.sp-block-table table tr {
    background: #f7f7f7;
    color: #8a8a8a;
}

.sp-block-table table tr:nth-child(odd) {
    background: #e7e6e6;
}

.sp-block-table table tr:hover {
    background: #d4d4d4;
    color: #000;
}

.sp-block-table table td {
    text-align: left;
    border: 1px solid #ccc;
    padding: 5px;
}

.sp-block-table p {
    margin: 0;
}

.sp-image img {
    width: 100%;
}

.sp-video iframe,
.sp-video-gallery iframe {
    border-width: 0;
}

.sp-iblock-sections {
    padding: 10px;
    border: 1px solid #c3c3c3;
    margin: 10px 0;
}

.sp-iblock-elements {
    padding: 10px;
    border: 1px solid #c3c3c3;
    margin: 10px 0;
}

.sp-properties {
    width: 400px;
    border-collapse: collapse;
}

.sp-properties_title {
    border: 1px solid #ccc;
    padding: 0 5px;
    font-weight: bold;
}

.sp-properties_text {
    border: 1px solid #ccc;
    padding: 0 5px;
}

.sp-gallery-items {
    overflow: hidden;
}

.sp-gallery-item {
    float: left;
    height: 220px;
    padding: 5px;
    /*width: 20%;*/
}

.sp-gallery-item-img-wrapper {
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: block;
    color: inherit;
}

.sp-gallery-item img {
    display: block;
    max-width: 100%;
    left: 50%;
    max-height: 100%;
    max-width: none;
    position: relative;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    -moz-transform: translate(-50%, -50%) translateZ(0);
    -o-transform: translate(-50%, -50%) translateZ(0);
    -ms-transform: translate(-50%, -50%) translateZ(0);
    transform: translate(-50%, -50%) translateZ(0);
}

.sp-gallery-item-text {
    background-color: rgba(255, 255, 255, .7);
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    width: 100%;
}

.sp-gallery-item-text:hover {
    opacity: 1;
}

.sp-gallery-item-text::after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.sp-gallery-item-text-content {
    display: inline-block;
    vertical-align: middle;
    width: 90%;
}

.sp-button_link,
.sp-button_link:link,
.sp-button_link:visited {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    background: #ccc;
    color: #333;
}

.sp-button_link:hover {
    text-decoration: none;
    background: #333;
    color: #ccc;
}

/*accordion*/
.sp-accordion {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.sp-accordion-title {
    border-top: 1px solid #ccc;
    color: #444;
    cursor: pointer;
    padding: 10px;
    text-align: left;
}

.sp-accordion-title:first-child {
    border-top: none;
}

.sp-accordion-container {
    padding: 0 10px 10px;
    display: none;
    overflow: hidden;
}

.sp-accordion-title:after {
    content: '\02795';
    font-size: 12px;
    color: #777;
    float: right;
    margin: 2px 5px;
}

.sp-accordion-title__active:after {
    content: "\2796";
}

.sp-complex-table {
    display: table;
    table-layout: fixed;
    border-spacing: 0;
    width: 100%;
}

.sp-complex-row {
    display: table-row;
}

.sp-complex-col {
    display: table-cell;
    vertical-align: top;
}

.banners-big__title h2 {
    font-size: 42px;
    line-height: 52px;
}

.bg-fix {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.company-item__picture--static {
    position: static;
    height: 100vh;
    max-height: 500px;
    border-radius: 4px;
}

.flexbox--direction-row {
    gap: 50px;
}

.my-lists-link {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.my-lists-link__item {
    flex: 0 1 calc((100% - 90px) / 4);
    min-width: 0;
}

.my-lists-link__card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 240px;
    overflow: hidden;
    border-radius: 4px;
    background: #f3f5f7;
    color: #fff;
    text-decoration: none;
}

.my-lists-link__card:hover,
.my-lists-link__card:focus {
    color: #fff;
    text-decoration: none;
}

.my-lists-link__card:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 62%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .58) 100%);
    pointer-events: none;
}

.my-lists-link__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.my-lists-link__card:hover .my-lists-link__image {
    transform: scale(1.04);
}

.my-lists-link__content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 26px;
    z-index: 2;
    text-align: center;
}

.my-lists-link__label {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
}

.my-lists-link__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 1199px) {
    .my-lists-link__item {
        flex-basis: calc((100% - 60px) / 3);
    }
}

@media (max-width: 991px) {
    .my-lists-link__item {
        flex-basis: calc((100% - 30px) / 2);
    }
}

@media (max-width: 575px) {
    .my-lists-link {
        gap: 20px;
    }

    .my-lists-link__item {
        flex-basis: 100%;
    }
}


.nb-services-cards__card {
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 34px;
    background: #fff;
    border: 1px solid #dfe7ec;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(20, 50, 70, 0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nb-services-cards__card[href]:hover {
    transform: translateY(-3px);
    border-color: #e9eef2;
    box-shadow: 0 14px 30px rgba(20, 50, 70, 0.12);
    text-decoration: none;
}

.nb-services-cards__arrow {
    position: absolute;
    top: 38px;
    right: 38px;
    width: 28px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #b8b8b8;
    transition: color .2s ease, transform .2s ease;
}

.nb-services-cards__card[href]:hover .nb-services-cards__arrow {
    color: #d71920;
    transform: translateX(4px);
}

.nb-services-cards__image {
    width: 140px;
    height: 140px;
    margin-bottom: 34px;
    overflow: hidden;
    border-radius: 50%;
    background: #f1f3f5;
}

.nb-services-cards__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nb-services-cards__section {
    margin-bottom: 12px;
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.35;
}

.nb-services-cards__title {
    margin-bottom: 20px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;
    transition: color .2s ease;
}

.nb-services-cards__card[href]:hover .nb-services-cards__title {
    color: #d71920;
}

.nb-services-cards__preview {
    color: #3f4a56;
    font-size: 16px;
    line-height: 1.55;
}

@media (max-width: 560px) {
    .nb-services-cards {
        padding: 28px 0;
    }

    .nb-services-cards__card {
        min-height: 0;
        padding: 28px 28px 26px;
    }

    .nb-services-cards__arrow {
        top: 28px;
        right: 28px;
    }
}

.index-block__preview {
    margin-bottom: 40px;
}

.complex-blog-list {
    margin: 40px 0;
}

.complex-blog-list .complex-blog-list__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.complex-blog-list .complex-blog-list__head-left {
    max-width: 980px;
}

.complex-blog-list .complex-blog-list__title {
    margin: 0 0 22px;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 500;
    color: #333;
}

.complex-blog-list .complex-blog-list__preview {
    max-width: 930px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #666;
}

.complex-blog-list .complex-blog-list__preview p {
    margin: 0;
}

.complex-blog-list .complex-blog-list__head-right {
    padding-top: 14px;
    white-space: nowrap;
}

.complex-blog-list .complex-blog-list__section-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.2;
    color: #222;
    text-decoration: none;
}

.complex-blog-list .complex-blog-list__section-arrow {
    display: inline-flex;
    color: #999;
}

.complex-blog-list .complex-blog-list__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.complex-blog-list [data-role="blog-item"].is-hidden {
    display: none;
}

.complex-blog-list .complex-blog-list__item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.complex-blog-list .complex-blog-list__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.complex-blog-list .complex-blog-list__image-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f4f4f4;
    text-decoration: none;
}

.complex-blog-list .complex-blog-list__image {
    display: block;
    width: 100%;
    aspect-ratio: 350 / 235;
    overflow: hidden;
    background: #f4f4f4;
}

.complex-blog-list .complex-blog-list__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.complex-blog-list .complex-blog-list__item:hover .complex-blog-list__image img {
    transform: scale(1.03);
}

.complex-blog-list .complex-blog-list__image--empty {
    background: linear-gradient(135deg, #f3f5f7, #e8edf1);
}

.complex-blog-list .complex-blog-list__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 28px 26px;
}

.complex-blog-list .complex-blog-list__sticker {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 4px 9px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.25;
    color: #666;
    background: #fff;
}

.complex-blog-list .complex-blog-list__item-title {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #222;
}

.complex-blog-list .complex-blog-list__item-title a {
    color: inherit;
    text-decoration: none;
}

.complex-blog-list .complex-blog-list__date {
    margin-top: auto;
    font-size: 13px;
    line-height: 1.4;
    color: #999;
}

.complex-blog-list .complex-blog-list__bottom {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.complex-blog-list .complex-blog-list__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    padding: 8px 12px;
    background: transparent;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
}

.complex-blog-list .complex-blog-list__more:hover {
    color: var(--theme-base-color, #00a8b0);
}

.complex-blog-list .complex-blog-list__more-icon {
    display: inline-flex;
    color: #999;
}

@media (max-width: 1199px) {
    .complex-blog-list .complex-blog-list__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .complex-blog-list {
        padding: 34px 0;
    }

    .complex-blog-list .complex-blog-list__head {
        flex-direction: column;
        margin-bottom: 32px;
    }

    .complex-blog-list .complex-blog-list__head-right {
        padding-top: 0;
    }

    .complex-blog-list .complex-blog-list__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .complex-blog-list .complex-blog-list__title {
        font-size: 28px;
    }

    .complex-blog-list .complex-blog-list__grid {
        grid-template-columns: 1fr;
    }
}

.bottom_nav.mobile_slider {
    display: flex;
}

.complex-blog-list .more_text_ajax .svg {
    top: 9px;
    left: 0;
}

.complex-blog-list .complex-blog-list__more span {
    padding-left: 10px;
}

.faq-sp-container {
    margin: 40px 0;
}

/* start style price iblock_sections.php */
.nb-price-sections {
    margin: 24px 0 40px;
}

.nb-price-sections__group {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 45px;
    align-items: start;
    margin-bottom: 36px;
}

.nb-price-sections__group:last-child {
    margin-bottom: 0;
}

.nb-price-sections__heading {
    position: sticky;
    top: 90px;
    align-self: start;
    padding-top: 2px;
}

.nb-price-sections__heading-inner {
    max-width: 270px;
}

.nb-price-sections__heading-text,
.nb-price-sections__heading-link {
    display: inline-block;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 700;
    color: #3f464d;
    text-decoration: none;
}

.nb-price-sections__heading-link:hover {
    color: var(--theme-base-color, #d71920);
    text-decoration: none;
}

.nb-price-sections__table {
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.nb-price-sections__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 24px;
    align-items: center;
    min-height: 80px;
    padding: 22px 95px 22px 30px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}

.nb-price-sections__row:nth-child(odd) {
    background: #fafafa;
}

.nb-price-sections__row:last-child {
    border-bottom: 0;
}

.nb-price-sections__service {
    min-width: 0;
    font-size: 18px;
    line-height: 1.35;
    color: #102235;
}

.nb-price-sections__price {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    color: #202020;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .nb-price-sections__group {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nb-price-sections__heading {
        position: static;
        top: auto;
    }

    .nb-price-sections__heading-inner {
        max-width: none;
    }

    .nb-price-sections__heading-text,
    .nb-price-sections__heading-link {
        font-size: 20px;
    }

    .nb-price-sections__row {
        padding-right: 30px;
    }
}

.nb-price-sections__content {
    min-width: 0;
}

.nb-price-sections__row.is-hidden {
    display: none;
}

.nb-price-sections__more {
    padding-top: 22px;
    text-align: center;
}

.nb-price-sections__load-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

.nb-price-sections__load-more:hover {
    text-decoration: none;
}

.nb-price-sections__load-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .nb-price-sections__row {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 0;
        padding: 18px;
    }

    .nb-price-sections__service {
        font-size: 16px;
    }

    .nb-price-sections__price {
        text-align: left;
    }
}

/* end style price iblock_sections.php */

.directions .nav.nav-tabs {
    display: none;
}

.directions .detail.js-popup-block.specializations {
    margin-top: -30px;
}

.nb-services-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.nb-services-cards__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 34px 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe7ec;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(20, 50, 70, 0.05);
    contain: paint;
    transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}

.nb-services-cards__card:hover,
.nb-services-cards__card:focus {
    text-decoration: none;
}

.nb-services-cards__card--link:hover {
    border-color: #cfdce5;
    background-color: #fff;
}

.nb-services-cards__card--link::after {
    content: "→";
    position: absolute;
    top: 34px;
    right: 34px;
    color: #b8b8b8;
    font-size: 24px;
    line-height: 1;
    transition: color .16s ease;
}

.nb-services-cards__card--link:hover::after {
    color: #d71920;
}

.nb-services-cards__image {
    display: block;
    width: 140px;
    height: 140px;
    margin-bottom: 34px;
    overflow: hidden;
    border-radius: 50%;
    background: #f1f3f5;
    flex: 0 0 auto;
}

.nb-services-cards__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nb-services-cards__section {
    margin-bottom: 12px;
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.35;
}

.nb-services-cards__title {
    margin-bottom: 20px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;
    transition: color .16s ease;
}

.nb-services-cards__card--link:hover .nb-services-cards__title {
    color: #d71920;
}

.nb-services-cards__preview {
    color: #3f4a56;
    font-size: 16px;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .nb-services-cards__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nb-services-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .company-item__picture--static {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: 16 / 11;
    }

    .flexbox--direction-row {
        gap: 10px;
    }

    .bg-fix {
        background-size: contain;
    }
}

@media (max-width: 560px) {
    .nb-services-cards__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nb-services-cards__card {
        min-height: 0;
        padding: 28px;
    }

    .nb-services-cards__card--link::after {
        top: 28px;
        right: 28px;
    }
}

.nb-check-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 70px;
    row-gap: 24px;
    margin: 30px 0;
}

.nb-check-columns ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nb-check-columns li {
    position: relative;
    min-height: 28px;
    margin-bottom: 24px;
    padding-left: 42px;
    color: #222;
    font-size: 16px;
    line-height: 1.35;
}

.nb-check-columns li:last-child {
    margin-bottom: 0;
}

.nb-check-columns .ul-check ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 10px;
    height: 18px;
    border-right: 4px solid #1598c3;
    border-bottom: 4px solid #1598c3;
    transform: rotate(45deg);
    background: none;
}

.nb-check-columns li p {
    margin: 0 0 8px;
}

.nb-check-columns li p:last-child {
    margin-bottom: 0;
}

.right_block .detail.detail-maxwidth.services_programm {
    max-width: 100%;
}

@media (max-width: 991px) {
    .nb-check-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }
}

@media (max-width: 600px) {
    .nb-check-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nb-check-columns li {
        margin-bottom: 18px;
        padding-left: 34px;
        font-size: 15px;
    }
}

.detail.specializations {
    font-size: 16px;
}
