:root {
    --clr-neutral-black: #000;
    --clr-neutral-white: #fff;
    --clr-accent-200: #EF7E26;
    --clr-neutral-gray: #717171;
    --clr-neutral-light-gray: #f1f5f8;
    --Link: #EF7E26;
}

.svg-plus-dims {
    height: 16px;
    width: 16px
}

.svg-minus-dims {
    height: 16px;
    width: 16px
}

.svg-close-dims {
    height: 11px;
    width: 11px
}

.svg-collapse-arrow-dims {
    height: 20px;
    width: 20px
}

.svg-details-calendar-dims {
    height: 18px;
    width: 18px
}

.svg-details-marker-dims,
.svg-details-phone-dims {
    height: 19px;
    width: 19px
}

.map-widget {
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 'map panel';
    gap: 30px;
}

.map-widget__panel {
    grid-area: panel;
    background-color: #141414;
    border: 1px solid #424242;
    border-radius: 10px;
    height: 630px;
    position: relative;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
    width: 100%;
    z-index: 1
}

.map-widget__search {
    border-bottom: 1px solid #424242;
    padding: 30px;
    height: 105px;
    position: relative
}

.map-widget__search-clear,
.map-widget__search-full-list {
    border-radius: 99px;
    bottom: 3px;
    height: 40px;
    margin: auto;
    padding: 0;
    position: absolute;
    top: 0;
    z-index: 1
}


.map-widget__search-clear {
    display: none;
    right: 30px;
    width: 40px;
}

.map-widget__search-clear.is-active {
    display: block
}

.map-widget__search-clear .map-widget__search-clear-icon {
    fill: var(--clr-neutral-white);
    -webkit-transition: all .2s;
    transition: all .2s
}

.map-widget__search-full-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    left: 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
    width: 60px;
}

.map-widget__search-full-list.is-active span:first-of-type,
.map-widget__search-full-list.is-active span:nth-of-type(2),
.map-widget__search-full-list.is-active span:nth-of-type(3) {
    width: 16px
}

.map-widget__search-full-list.is-active span:first-of-type:before,
.map-widget__search-full-list.is-active span:nth-of-type(2):before,
.map-widget__search-full-list.is-active span:nth-of-type(3):before {
    left: -4px
}

.map-widget__search-full-list:after {
    background-color: #424242;
    bottom: 0;
    content: "";
    display: block;
    height: 39px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px
}

.map-widget__search-full-list span {
    position: relative;
    width: 14px
}

.map-widget__search-full-list span,
.map-widget__search-full-list span:before {
    background: #fff;
    display: block;
    height: 2px;
    -webkit-transition: all .2s;
    transition: all .2s
}

.map-widget__search-full-list span:before {
    content: "";
    left: 0;
    position: absolute;
    width: 2px
}

.map-widget__search-full-list span:first-of-type {
    width: 20px
}

.map-widget__search-full-list span:nth-of-type(2) {
    width: 14px
}

.map-widget__search-full-list span:nth-of-type(3) {
    width: 7px
}

.map-widget__input {
    background: #222222;
    border: none;
    border-radius: 99px;
    color: var(--clr-neutral-white);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1px;
    height: 40px;
    line-height: normal;
    padding-inline: 75px 55px;
    position: relative;
    -webkit-transition: -webkit-box-shadow .2s;
    transition: -webkit-box-shadow .2s;
    transition: box-shadow .2s;
    transition: box-shadow .2s, -webkit-box-shadow .2s;
    width: 100%;
    /* position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto; */
    z-index: 0
}

.map-widget__input::placeholder {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1px;
}

.map-widget__input:focus,
.map-widget__input:focus-visible {
    outline: none
}

.map-widget__list {
    height: calc(100% - 105px);
    padding: 0;
}

.map-widget__list .simplebar-track {
    background-color: #141414;
    right: 0px;
    top: 10px;
    bottom: 10px;
}

.map-widget__list .simplebar-track.simplebar-vertical {
    width: 24px;
}

.map-widget__list .simplebar-scrollbar:before {
    margin-inline: auto;
    cursor: grab;
    background-color: #EF7E26;
    width: 6px !important;
}

.map-widget__list-inner {
    padding-right: 24px;
}

.map-widget-item {
    display: -ms-grid;
    display: grid;
    /* -ms-grid-columns: 1fr; */
    -ms-grid-columns: 48px 1fr;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
    cursor: pointer;
    grid-template-columns: 48px 1fr;
    /* grid-template-columns: 1fr; */
    padding: 30px
}

.map-widget-item:not(:first-child) {
    border-top: 1px solid #424242;
}

.map-widget-item--preloader {
    cursor: default
}

.map-widget-item.is-active .map-widget-item__title {
    color: var(--clr-accent-200)
}

.map-widget-item__cover {
    background-color: #f1f5f8;
    border-radius: 4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 48px;
    padding: 8px;
    position: relative;
    width: 48px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.map-widget-item__cover--preloader {
    -webkit-animation: gradientAnimation 2s infinite;
    animation: gradientAnimation 2s infinite;
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, hsl(0, 0%, 12%)), color-stop(50%, hsl(0, 0%, 20%)), color-stop(75%, hsl(0, 0%, 12%)));
    background: linear-gradient(90deg, hsl(0, 0%, 12%) 25%, hsl(0, 0%, 20%) 50%, hsl(0, 0%, 12%) 75%);
    background-size: 400% 400%
}

.map-widget-item__cover img {
    max-height: 100%;
    /* mix-blend-mode: darken */
}

.map-widget-item__title {
    color: var(--clr-neutral-white);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 4px;
    text-wrap: balance;
    letter-spacing: 1px;
    -webkit-transition: color .2s ease;
    transition: color .2s ease
}

.map-widget-item__title--preloader {
    -webkit-animation: gradientAnimation 2s infinite;
    animation: gradientAnimation 2s infinite;
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, hsl(0, 0%, 12%)), color-stop(50%, hsl(0, 0%, 20%)), color-stop(75%, hsl(0, 0%, 12%)));
    background: linear-gradient(90deg, hsl(0, 0%, 12%) 25%, hsl(0, 0%, 20%) 50%, hsl(0, 0%, 12%) 75%);
    background-size: 400% 400%;
    border-radius: 4px;
    height: 22px;
    margin-bottom: 10px;
    max-width: 174px
}

.map-widget-item__label {
    margin-left: 3px;
    position: relative;
    top: 2px
}

.map-widget-item__address {
    color: var(--clr-neutral-100);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    /* margin-bottom: 10px */
}

.map-widget-item__address--preloader {
    -webkit-animation: gradientAnimation 2s infinite;
    animation: gradientAnimation 2s infinite;
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, hsl(0, 0%, 12%)), color-stop(50%, hsl(0, 0%, 20%)), color-stop(75%, hsl(0, 0%, 12%)));
    background: linear-gradient(90deg, hsl(0, 0%, 12%) 25%, hsl(0, 0%, 20%) 50%, hsl(0, 0%, 12%) 75%);
    background-size: 400% 400%;
    border-radius: 4px;
    height: 13px;
    margin-bottom: 4px;
    max-width: 230px
}

.map-widget-item__address--preloader+.map-widget-item__address--preloader {
    margin-bottom: 16px
}


.map-widget__details {
    background-color: #212121;
    border-radius: 10px;
    display: none;
    max-height: 280px;
    left: 0;
    max-width: calc(50% - 15px);
    position: absolute;
    bottom: 0;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
    width: 100%;
    z-index: 1;
}

.map-widget__details-inner {
    height: 100%;
    max-height: 280px;
}

.map-widget__details .simplebar-track.simplebar-vertical {
    width: 24px;
    top: 50px;
    bottom: 15px;
}

.map-widget__details .simplebar-track {
    background: #212121;
}

.map-widget__details .simplebar-scrollbar:before {
    width: 6px !important;
    margin-inline: auto;
}

.map-widget__details .simplebar-content {
    height: 100%
}

.map-widget__details--open {
    display: block
}

.map-widget__details-close {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #EF7E26;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    position: absolute;
    right: 6px;
    top: 6px;
    z-index: 1
}

.map-widget__details-close-icon {
    color: #fff;
}

.map-widget__details-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: inherit
}

.map-widget__details-content-inner {
    padding: 24px 50px 24px 24px;
}


.map-widget__details-service {
    color: var(--clr-neutral-100);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 8px;
}

.map-widget__details-title {
    font-size: 24px;
    line-height: normal;
    margin-bottom: 6px;
}

.map-widget__details-official,
.map-widget__details-title {
    color: var(--clr-neutral-white);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1px;
}

.map-widget__details-official {
    font-size: 16px;
    line-height: 1.2;
    margin-top: 15px
}

.map-widget__details-schedule {
    margin-top: 20px;
}

.map-widget__details-schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
}

.map-widget__details-schedule-list li {
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.map-widget__details-row:not(:first-child) {
    margin-top: 20px
}

.map-widget__details-address {
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: balance;
    letter-spacing: 1px;
}

.map-widget__details-phone {
    color: var(--clr-neutral-white);
    font-size: 20px
}

.map-widget__details-email,
.map-widget__details-phone {
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    text-wrap: balance;
}

.map-widget__details-email {
    color: var(--Link);
    font-size: 12px;
    letter-spacing: 1px;
}

.map-widget__details-shedule-text {
    color: #717171;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 6px;
    text-wrap: balance
}

.map-widget__map {
    grid-area: map;
    height: 630px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    z-index: 0
}


#map [class*=-copyrights-pane] {
    display: none
}

.map-widget__control {
    height: 140px;
    margin: auto;
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px
}

.map-widget__button,
.map-widget__control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.map-widget__button {
    -ms-flex-negative: 0;
    background: #fff;
    border: 1px solid transparent;;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25);
    flex-shrink: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    height: 40px;
    padding: 0;
    -webkit-transition: background-color .2s, border-color .2s;
    transition: background-color .2s, border-color .2s;
    width: 40px
}

.map-widget__button:active {
    background: #EF7E26;
    border-color: #EF7E26;
}

.map-widget__button:active .map-widget__button-icon {
    color: #fff;
}

.map-widget__button.is-collapsing .map-widget__button-icon {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg)
}

.map-widget__button-icon {
    color: #141414;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transition: all .2s;
    transition: all .2s
}

.map-widget__not-found {
    margin-block: 0;
    padding: 30px;
}

@-webkit-keyframes gradientAnimation {
    0% {
        background-position: 100% 0
    }

    to {
        background-position: 0 0
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 100% 0
    }

    to {
        background-position: 0 0
    }
}

@media screen and (max-width: 992px) {
    .map-widget {
        grid-template-areas:
            'map'
            'panel';
        grid-template-columns: 1fr;
    }

    .map-widget__panel {
        bottom: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        height: calc(100vh - 500px);
        left: 0;
        max-width: 100%;
        top: unset
    }


    .map-widget__details {
        bottom: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        height: calc(100vh - 500px);
        max-height: 100%;
        left: 0;
        max-width: 100%;
        top: unset;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        z-index: 2
    }

    .map-widget__details-inner {
        height: calc(100vh - 500px);
        max-height: 100%;
    }

    #map {
        height: 300px
    }

    .map-widget__control {
        bottom: unset;
        top: 15px
    }

    .map-widget__button {
        height: 30px;
        width: 30px
    }
}

@media screen and (max-width: 768px) {
    .map-widget {
        gap: 20px;
    }

    #map {
        height: 250px
    }

    .map-widget__control {
        top: 10px;
        left: 10px;
    }

    .map-widget__panel {
        height: calc(100vh - 420px);
    }

    .map-widget__details {
        height: calc(100vh - 420px);
    }

    .map-widget__details-content-inner {
        padding: 15px 50px 15px 15px;
    }

    .map-widget__details-inner {
        height: calc(100vh - 420px);
    }

    .map-widget__search {
        height: 72px;
        padding: 15px;
    }

    .map-widget__search-full-list {
        left: 15px;
        width: 50px;
    }

    .map-widget__search-clear {
        right: 15px;
    }
    .map-widget__input {
        padding-inline: 65px 55px;
    }

    .map-widget-item {
        padding: 15px;
        column-gap: 15px;
    }

    .map-widget__list {
        height: calc(100% - 72px);
    }
}

@media screen and (max-width: 575px) {
    .map-widget-item {
        -ms-grid-columns: 40px 1fr;
        grid-template-columns: 40px 1fr
    }

    .map-widget-item__cover {
        height: 40px;
        width: 40px
    }
}

@media (hover:hover) and (pointer:fine) {
    .map-widget__search-clear:hover .map-widget__search-clear-icon {
        fill: var(--clr-accent-200)
    }

    .map-widget__search-full-list:hover span,
    .map-widget__search-full-list:hover span:after,
    .map-widget__search-full-list:hover span:before {
        background: var(--clr-accent-200)
    }

    .map-widget-item:hover .map-widget-item__title {
        color: var(--clr-accent-200)
    }

    .map-widget__button:hover {
        border-color: #EF7E26;
    }
}
