/*new-select*/
.new-select {
    width: 100%;
    height: 56px;
    background: transparent;
    box-shadow: 0 6px 10px 0px rgb(0 0 0 / 10%);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    color: var(--title-color);
    border: none;
    position: relative;
    cursor: pointer;
}

.new-select__input-field {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    font-size: 16px;
    padding: 16px;
    position: relative;
    background-color: #fff;
    z-index: 1;
}

.new-select__input-field:focus,
.new-select__input-field:hover,
.new-select__input-field:focus .new-select__dropdownlist {
    border: none;
    -webkit-box-shadow: 0 3px 5px 0 rgb(0 0 0 / 20%);
    min-height: 245px;
    box-shadow: 0 3px 5px 0 rgb(0 0 0 / 20%);
    outline: none;
}

.new-select__input-field:focus ._list_hidden {
    min-height: auto;
    max-height: auto;
    visibility: visible;
    opacity: 1;
}

.new-select__dropdownlist {
    position: absolute;
    border: none;
    background: #fff;
    width: 100%;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 6px 10px 0px rgb(0 0 0 / 10%);
    border-radius: 4px;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 150;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease 0s;
}

._list_hidden {
    min-height: 0;
    max-height: 0;
    visibility: hidden;
    opacity: 0;
}

.new-select__dropdownitem {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-color);
    border-bottom: 1px solid #f7f7f7;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.new-select__dropdownitem:hover {
    color: var(--primary-color);
    background-color: #f4f4f4;
}

.new-select__dropdownitem:not(:nth-last-child(1)) {
    border-bottom: transparent;
}


.new-select .btn-dropdown:hover,
.new-select .btn-remove:hover {
    background-color: #b9ffc7;
}

/*-----------------------*/
.my_select_box .chosen-container {
    width: 100%;
}

.my_select_box .chosen-single {
    width: 100%;
    height: 56px;
    display: block;
    background: transparent;
    box-shadow: 0 6px 10px 0px rgb(0 0 0 / 10%);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    color: var(--title-color);
    border: none;
    line-height: 56px;
}

.my_select_box .chosen-single span {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-color);
    border-bottom: 1px solid #f7f7f7;
    padding: 8px 16px;
    transition: all 0.3s ease;
}


/* /new-select*/


.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 56px;
    width: 100%;
    padding: 10px 38px 10px 16px;
    background-image: url("/local/templates/test-cms/images/svg/arrow.svg");
    background-position: right 18px center;
    background-repeat: no-repeat;
    background-size: 20px;
    transition: border-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    transition: border-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out, -webkit-box-shadow 0.1s ease-in-out;
    border: none;
    -webkit-box-shadow: rgba(0, 0, 0, .1) 0 6px 10px 0px;
    box-shadow: 0 6px 10px 0px rgba(0, 0, 0, .1);
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    color: var(--title-color);
    cursor: pointer;
}

.custom-select::placeholder {
    font-size: 16px;
    text-transform: inherit;
    color: #8E8888;
    font-weight: 400;
}

select {
    font-family: GothamPro;
    font-size: 16px;
    color: #8e8888;
}

.custom-select:hover {
    border: none;
}

.custom-select:focus {
    border: none;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .2);
    outline: none;
}

option {
    color: var(--title-color);
    width: 100%;
}

@media (min-width: 769px) {
    .select--JK {

    }
}

.select__company--container {
    display: flex;
    margin: 32px 0 64px;
    width: 100%;
}

.select__company--container span {
    position: relative;
}

.select__company--container .chosen-container-single {
    flex: 0 0 auto;
    width: calc(50% - 16px) !important;
}

.btn-dropdown {
    position: absolute;
    top: 0;
    right: 18px;
    color: var(--gray2-color);
    height: 100%;
    width: 56px;
    background-color: #fff;
    transition: all 0.2s ease 0s;
    pointer-events: none;
}

.btn-dropdown:hover {
    color: var(--primary-color);
}

.custom-select:hover btn-dropdown {
    color: var(--primary-color);
}

.btn-remove {
    position: absolute;
    right: 0;
    font-size: 1.2em;
    color: var(--gray2-color);
    top: 0;
    width: 0px;
    height: 0px;
    background: transparent;
    opacity: 0;
    transition: all 0.2s ease 0s;
}

.btn-remove.btn-remove_show {
    opacity: 1;
    width: 56px;
    height: 56px;
    background: #fff;
}

.selects-devider {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    color: #A3BDC2;
    font-size: 10px;
    text-align: center;
    max-height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}


.info-company__breadcrumbs {
    margin-bottom: 44px;
    text-align: center;
}

.info-company__breadcrumbs h3 {
    color: var(--title-color);
    font-weight: 700;
    font-size: 32px;
    margin-top: 4px;
    position: relative;
    display: inline-block;
}

@media (max-width: 480px) {
    .info-company__breadcrumbs h3 {
        font-size: 24px;
        max-width: calc(100% - 30px);
    }
}

.info-company__breadcrumbs h3::before,
.info-company__breadcrumbs h3::after {
    content: '';
    background-color: var(--primary-color);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -13px;
}

.info-company__breadcrumbs h3::after {
    left: auto;
    right: -13px;
}

.contact-cards__container {
}

.contact-cards__body {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(470px, 1fr));
    grid-gap: 32px;
    width: 100%;
    position: relative;
}

@media (max-width: 1023px) {
    .select__company--container {
        flex-direction: column;
    }

    .select__company--container .chosen-container-single {
        width: 100% !important;
    }

    .selects-devider {
        transform: rotate(0deg);
        margin: 12px 0;
        font-size: 16px;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-cards__body {
        grid-template-columns: 1fr 1fr;
        grid-gap: 24px;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__chief {
        grid-row: 1;
        grid-column: 1;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__requisites {
        grid-row: 1;
        grid-column: 2;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__reception {
        grid-row: 2;
        grid-column: 1 / span 2;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__map {
        grid-row: 4;
        grid-column: 1 / span 2;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__visit {
        grid-row: 3;
        grid-column: 1 / span 2;
    }
}

@media (max-width: 768px) {
    .contact-cards__body,
    .info-company:not(.js_tszh_contacts_empty) .contact-cards__body {
        grid-template-columns: 1fr;
        grid-gap: 16px;
    }

    .contact-card__chief {
        margin-top: 0;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__chief,
    .info-company:not(.js_tszh_contacts_empty) .contact-card__requisites,
    .info-company:not(.js_tszh_contacts_empty) .contact-card__reception {
        grid-row: unset;
        grid-column: unset;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__map {
        grid-row: 5;
        grid-column: unset;
    }

    .info-company:not(.js_tszh_contacts_empty) .contact-card__visit {
        grid-row: 4;
        grid-column: unset;
    }
}

.contact-card {
    position: relative;
    background-color: #fff;
    padding: 24px 32px 30px;
    line-height: 1.5;
    /*min-width: 568px;*/
}

@media (max-width: 768px) {
    .contact-card {
        padding: 24px 16px;
    }
}

.contact-card__body {
    position: relative;
    height: 100%;
}

.contact-card:not(:nth-child(1)) {
    -webkit-box-shadow: 0px 10px 16px -11px rgba(20, 29, 31, 0.3);
    box-shadow: 0px 10px 16px -11px rgba(20, 29, 31, 0.3);
    border-radius: 4px;
}

.card__content {
    position: relative;
}

.contact-card__title {
    color: var(--title-color);
    font-weight: 700;
    font-size: 20px;
}

.contact-card__text {
    color: #669099;
    font-weight: 400;
    font-size: 16px;
}

.contact-card__chief {
    background-color: transparent;
    padding-top: 0;
    margin-top: 28px;
    min-height: 342px;
}

.contact-card__chief::before {
    background: #fff;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 270px;
    -webkit-box-shadow: 0px 10px 16px -11px rgba(20, 29, 31, 0.3);
    box-shadow: 0px 10px 16px -11px rgba(20, 29, 31, 0.3);
    border-radius: 4px;
}

.contact-card__reception {
    -ms-grid-column-span: 2;
    grid-column: span 2;
    background-color: var(--gray-color);
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr -webkit-min-content 1fr;
    -ms-grid-columns: 1fr min-content 1fr;
    grid-template-columns: 1fr -webkit-min-content 1fr;
    grid-template-columns: 1fr min-content 1fr;
    padding: 40px 50px;
    font-weight: bold;
    font-size: 18px;
    color: var(--border-color);
    width: 100%;
    flex: 0 0 100%;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .contact-card__reception {
        padding: 32px;
        grid-template-columns: 1fr;
    }
}

.chief .contact-card__body {
    text-align: center;
    z-index: 2;
    position: relative;
}

.chief-info {
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.chief-info .btn {
    margin-top: 24px;
}

.chief-photo {
    height: auto;
    max-height: 226px;
    min-width: 226px;
    max-width: 226px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
}

.chief-photo._icon-image-outter::before {
    color: var(--lightgray-color);
    font-size: 216px;
    position: absolute;
    top: -28px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: -1;
}

.chief-photo__image {
    border-radius: 50%;
    border: 4px solid #fff;
    -webkit-filter: drop-shadow(0px 4px 16px rgba(0, 0, 0, 0.05));
    filter: drop-shadow(0px 4px 16px rgba(0, 0, 0, 0.05));
    padding: 0 0 27% 0;
    width: 166px;
    height: 166px;
    background-color: var(--lightgray-color);
    text-align: justify;
}

.chief-photo__image_empty img {
    padding: 0 26px;
}

.chief_empty .chief-info {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    max-height: 145px;
}

._hidden {
    display: none;
    transition: all 0.2s ease 0s;
    opacity: 0;
}

._active {
    display: block;
    transition: all 0.2s ease 0s;
    opacity: 1;
}


.contact-card__requisites {
    min-height: 342px;
}

.requisites .contact-card__title {
    margin-bottom: 24px;
}

.requisites .requisites-grid__item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 196px auto;
    grid-template-columns: 196px auto;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media (max-width: 480px) {
    .requisites .requisites-grid__item {
        grid-template-columns: inherit;
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }
}

.requisites .requisites-grid__item:not(:nth-last-of-type(1)) {
    margin-bottom: 16px;
}

.requisites .requisites-grid__name {
    display: flex;
    align-items: flex-start;
}

.requisites .requisites-grid__value {
    text-align: right;
    color: var(--gray-color);
    font-weight: 700;
    display: flex;
    align-items: flex-end;
}

@media (max-width: 480px) {
    .requisites .requisites-grid__value {
        text-align: left;
    }
}

.contact-card__requisites-grid {
    position: relative;
}

.requisites_empty .contact-card__requisites-grid {
    max-height: 100%;
}

.requisites_empty .contact-card__body p {
    display: flex;
    width: 100%;
    height: calc(100% - 30px);
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    /* Только такая реализация срабола в сафари в нужном виде */
    background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94));
    z-index: 1;
    margin-top: 30px;
}

.reception__item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.reception__item_schedule {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 400;
}

.reception__item_schedule:hover {
    text-decoration: none;
    transition: var(--transition);
}

.reception__item_schedule span {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
}

.reception__item_schedule:hover span {
    font-weight: 600;
}

.reception__item_schedule sup {
    margin-right: 8px;
}

.reception__warning {
    font-size: 4.19em;
    margin: 0 39px;
    -webkit-transform: scaleY(0.978);
    -ms-transform: scaleY(0.978);
    transform: scaleY(0.978);
    color: var(--primary-color);
    align-items: center;
    justify-content: center;
    display: flex;
}

@media (max-width: 767px) {
    .reception__warning {
        margin: 24px 0;
        font-size: 3em;
    }
}

.contact-card__map {
    padding: 0;
    /*max-height: 600px;*/
    max-height: 100%;
}

.levelup__map {
    height: 100%;
}

ymaps.ymaps-2-1-79-map {
    min-height: 245px;
}

.ymaps-2-1-79-ground-pane {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.contact-card__visit {
    padding: 42px 48px;
    position: relative;
}

@media (max-width: 768px) {
    .contact-card__visit {
        padding: 24px 16px;
    }
}

.visit .contact-card__title {
    margin-bottom: 24px;
}

.visit__bg {
    position: absolute;
    top: 40px;
    right: 0;
    font-size: 12em;
    max-height: 192px;
    height: calc(100% - 80px);
    max-width: 120px;
    width: 100%;
}

.visit-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.visit-item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin: 8px 0;
}

.visit-item__value:nth-child(1) {
    width: calc(100% - 60px);
}

.visit-item__icon {
    text-align: left;
    color: #669099;
    margin-right: 15px;
}

.visit-item__icon._icon-map::before {
    font-size: 1.54em;
}

.visit-item__icon._icon-phone::before {
    font-size: 1.44em;
}

.visit-item__icon._icon-mail::before {
    font-size: 1.24em;
}

.visit__timetable {
    margin-top: 60px;
}

.visit-logo {
    height: 56px;
    margin-bottom: 32px;
}

.visit-title {
    color: var(--title-color);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.visit-address {
    color: var(--gray-color);
    margin-top: 8px;
}

.timetable {
}

.timetable__body {
}

.timetable__item {
    margin-bottom: 16px;
}

.timetable__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.timetable__row:last-child {
    margin-bottom: 24px;
}

.timetable__name {
}

.timetable__data {
    font-weight: 700;
    font-size: 16px;
    line-height: 148%;
    color: var(--gray-color);
    white-space: nowrap;
}

