﻿body *:focus-visible {
    outline: 1px dotted #000;
}

.complex-page-section {
    margin-bottom: 38px;
    color: black;
}

.complex-page-content b, .complex-page-content strong {
    font-weight: 600;
}

.complex-page-content a {
    color: #004677;
}

.complex-info-section {
    display: flex;
    align-items: center;
}

.complex-photo-wrapper {
    width: 544px;
    max-width: 100%;
    flex-shrink: 0;
    margin-right: 44px;
    overflow: hidden;
    border-radius: 15px;
}

.complex-photo-wrapper img{
    display: block;
    width: 100%;
}

.complex-description p {
    margin: 0 0 10px 0;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.5;
}

.complex-description p strong{
    font-weight: 500;
}

.complex-description p:last-child {
    margin-bottom: 0;
}
.complex-scheme-section {
    background: #F8F8F8;
    border-radius: 10px;
    padding: 27px 30px;
    display: flex;
    align-items: center;
}

.complex-scheme-section:before {
    display: block;
    content: '';
    width: 112px;
    height: 112px;
    background: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/scheme-icon.png") center center no-repeat;
    background-size:contain;
    flex-shrink: 0;
    margin-right: 30px;
}

.complex-scheme-text{
    margin-bottom: 20px;
}

.complex-scheme-text p {
    margin: 0 0 10px 0;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
}

.complex-scheme-text p:last-child {
    margin: 0;
}

.complex-scheme-text p a {
    color: #004677;
    font-weight: 600;
    text-decoration: underline;
}

.scheme-link {
    display: block;
    width: 190px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #004677!important;
    padding: 14px;
    border: 1px solid #004677;
    border-radius: 5px;
    text-decoration: none;
    transition: all, 300ms;
}

.scheme-link:hover {
    color: white !important;
    background: #004677;
    transition: all, 300ms;
}

.page .tabs-wrapper {
    display: flex;
    padding-left: 0;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    border: 1px solid #CFD8E0;
    list-style-type: none;
}

.page .tab-item{
    flex-grow: 1;
    margin: 0
}

.page .tab-item .tab {
    display: block;
    width: 100%;
    cursor: pointer;
    background: #F8F8F8;
    padding: 22px 10px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: #000000;
}

.page .tab-item .tab.active {
    background: #1369C1;
    color:#fff;
}

.tabs-content {
    border: 1px solid #CFD8E0;
    border-top-color: transparent;
    border-radius: 0px 0px 10px 10px;
    padding: 30px;
}

.tab-content{
    display: none;
}

.tab-content.active{
    display: block;
}

.complex-address-block{
    display: flex;
    margin-bottom: 38px;
}

.complex-map-container{
    flex-shrink: 0;
    margin-right: 40px;
    max-width: 518px;
    overflow:hidden;
}

.complex-contact-group {
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
}

.complex-contact-group::before{
    display: block;
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.complex-contact-group.phone::before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/phone.png");
}

.complex-contact-group.metro::before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/metro.png");
}

.complex-contact-group.address::before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/address.png");
}

.complex-contact-group.schedule::before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/clock.png");
}

.complex-contact-group.email::before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/mail.png");
}

.complex-contact-group.no-icon {
    padding-left: 0
}

.complex-contact-group dt{
    font-size: 15px;
    font-weight: 600;
    display: inline;
}

.complex-contact-group dd {
    font-size: 15px;
    font-weight: 300;
    display: inline;
}

.complex-contact-group dd strong{
    font-weight: 500;
}

.complex-contact-group dd a{
    font-weight: 600;
    color:#004677;
    text-decoration: underline;
}

.complex-buttons-wrapper{
    display: flex;
    justify-content: space-between;
}

.complex-button {
    display: block;
    width: 275px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #004677 !important;
    padding: 14px 5px;
    border: 1px solid #004677;
    border-radius: 5px;
    text-decoration: none;
    transition: all, 300ms;
    margin-right: 10px;
    max-width: 100%;
}

.complex-button:hover {
    color: white !important;
    background: #004677;
    transition: all, 300ms;
}

.complex-button:last-child {
    margin-right:0;
}

.walk-scheme {
    color: #4B5963 !important;
    border-color: #4B5963;
}

.walk-scheme:hover {
    background: #4B5963;
}

.payment-link-wrapper{
    margin-bottom: 34px;
}

.payment-link-wrapper .payment-link {
    display: flex;
    width: 230px;
    background: #004677;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #FFFFFF !important;
    padding: 12px;
    align-items: center;
    justify-content: center;
}

.payment-link:before {
    display: block;
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/payment.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    margin-right: 12px;
    flex-shrink: 0;
}

.closest-services-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.closest-services-block {
    width: 48.7%;
    margin-bottom: 28px;
    padding: 20px 20px 20px 40px;
    border: 1px solid #E1E1E1;
    border-radius: 15px;
}

.closest-services-block .closest-services-block-header {
    margin: 0 0 20px 0;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: #004677;
    display: flex;
    align-items: center;
}

.closest-services-block-header:before{
    display: block;
    content:"";
    width: 62px;
    height: 62px;
    flex-shrink:0;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 20px;
}

.banks-block .closest-services-block-header:before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/banks.png");
}

.parkings-block .closest-services-block-header:before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/parkings.png");
}

.cafe-block .closest-services-block-header:before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/cafe.png");
}

.hostels-block .closest-services-block-header:before {
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/complex-page/hostels.png");
}

.closest-services-block .closest-services-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.closest-services-block .closest-services-item{
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 300;
}

.closest-services-block .closest-services-item strong {
    font-weight: 600;
}

.closest-services-block .closest-services-item a {
    font-weight: 600;
    text-decoration: underline;
    color: #004677!important;
}

.closest-services-block-fullwidth{
    width: 100%;
}

.page .responses-list {
    padding-left: 0;
}

@media (max-width: 1240px) {
    .complex-address-block {
        flex-wrap: wrap;
    }

    .complex-address-info {
        width: 100%;
    }

    .complex-map-container {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    #YMapsID{
        max-width: 100%;
    }

    .complex-buttons-wrapper {
        justify-content: flex-start;
    }
}


@media (max-width: 990px) {
    .complex-info-section {
        flex-wrap: wrap;
    }

    .complex-photo-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .closest-services-block {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .complex-buttons-wrapper{
        display: block;
    }

    .complex-button{
        margin-bottom: 20px;
        margin-right: 0;
    }

    .complex-scheme-section{
        flex-wrap: wrap;
    }

    .complex-scheme-content{
        width: 100%;
    }

    .complex-scheme-section:before{
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 400px) {
    .closest-services-block .closest-services-block-header {
        display: block;
    }

    .closest-services-block-header:before{
        margin: auto;
    }
}


