@font-face {
    font-family: 'Involve';
    src: url('fonts/Involve-Regular.woff') format('woff'),
    url('fonts/Involve-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Involve';
    src: url('fonts/Involve-SemiBold.woff') format('woff'),
    url('fonts/Involve-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Involve';
    src:
            url('fonts/Involve-Bold.woff') format('woff'),
            url('fonts/Involve-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Involve', sans-serif;
}

.map-section {
    position: relative;
    height: 100%;
}

@media (max-width: 991px) {
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    position: relative;
    display: grid;
}

@media (max-width: 991px) {
    .map-wrapper {
        padding-top: 20px;
        padding-right: 20px;
        padding-left: 20px;
    }
}

.map-wrapper::after,
.map-wrapper::before {
    position: absolute;
    z-index: 1000;
    top: 0;
    width: 30px;
    height: 100%;
    content: '';
}

.map-wrapper::after {
    right: 0;
}

.map-wrapper::before {
    left: 0;
}

.map-wrapper-item {
    grid-column: 1/2;
    grid-row: 1/2;
    opacity: 0;
    transition: opacity 0.3s;
}

.map-wrapper-item.visible {
    z-index: 1;
    transition-delay: 0.3s;
    opacity: 1;
}

.map-info-panel-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 47px;
    margin-bottom: 20px;

    background: linear-gradient(90deg, #318FE7 0%, #59DE2C 100%);
    box-shadow: 0px 2.78222px 13.9111px rgba(0, 0, 0, 0.15);
    border-radius: 62.6px;
}

@media (min-width: 420px) and (max-width: 991px) {
    .map-info-panel-title {
        width: max-content;
    }
}

.map-info-panel-title-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 77px;
    padding-right: 2em;
    padding-left: 2em;
    background-color: #fff;
    border-radius: 62.6px;
}

.map-info-location-item {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D8D8D8;
}

@media (max-width: 991px) {
    .map-info-location-item {
        padding-bottom: 27px;
    }

    .map-info-location-item + .map-info-location-item {
        border-bottom: none;
    }
}

.map-info-location-item-content {

    padding-top: 8px;
}

@media (min-width: 992px) {

    .map-info-location-item-content {
        display: none;
    }

    .map-info-location-item-content.visible {
        display: block;

    }
}

.map-info-location-item-address {
    margin-bottom: 5px;
    font-size: 16px;
}

.map-info-location-item-phone {
    font-weight: 700;
    font-size: 30px;
    background: linear-gradient(to right, #318FE7, #59DE2C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: max-content;

    a {
        text-decoration: none;
    }
}

.map-info-location-item-mail {
    font-size: 16px;
    text-decoration: underline;
    color: #3392DF;
}

.map-info-location-item-mail a {
    color: inherit;
}

.map-info-location-item-mail:hover a,
.map-info-location-item-mail:hover {
    text-decoration: none;
}

.map-info-panel {
    background-color: #fff;
}

@media (min-width: 992px) {
    .map-info-panel {
        position: absolute;
        z-index: 10;
        top: 0;
        bottom: 0;
        left: max(20px, calc(50% - 600px));
        width: 383px;
        margin: auto;
        height: 90%;
        max-height: 538px;
        padding: 32px 35px;
        border-radius: 20px;
        overflow: auto;
    }

    .map-info-panel-inner {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .map-info-location-items {
        overflow: auto;
    }
}

@media (max-width: 991px) {
    .map-info-panel {
        padding-right: 20px;
        padding-left: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
        overflow: auto;
    }

    .map-info-panel-inner {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

.map-info-panel-title {
    font-weight: 600;
    font-size: 24px;
}

.select-location {
    position: relative;
    padding-right: 20px;
    padding-left: 0;
    font-weight: 600;
    font-size: 20px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.select-location:hover {
    opacity: 0.7;
}

@media (min-width: 992px) {
    .select-location {
        min-width: 10ch;
    }

    .select-location::after {
        position: absolute;
        right: 0;
        top: 0;
        width: 16px;
        height: 100%;
        content: '';
        background: url('drop-indicator.svg') no-repeat center;
    }

    .select-location.active::after {
        scale: 1 -1;
    }
}

@media (max-width: 991px) {
    .select-location {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .select-location::after {
        position: absolute;
        right: calc(100% + 2px);
        top: 0;
        bottom: 0;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin: auto;
        content: '';
        background: currentColor;
        opacity: 0;
    }

    .select-location.active::after {
        opacity: 1;
    }
}
@keyframes postvisible {
    from {
        opacity: 0;
    }

    /*50% {*/
    /*    opacity: 0;*/
    /*}*/

    to {
        opacity: 1;
    }
}