.leaflet-control-refresh .leaflet-control-refresh-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: 4px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z" /></svg>')
}

.leaflet-popup-photo a.leaflet-popup-close-button {
    top: -13px;
    right: -13px;
    background-color: #fff;
    padding: 5px;
    border-radius: 12px;
    width: 15px;
    height: 15px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
    color: #555;
}

.leaflet-popup-photo a.leaflet-popup-close-button:hover {
    color: #333;
    background-color: #eee;
}

.leaflet-popup-photo .leaflet-popup-content-wrapper {
    padding: 6px;
    border-radius: 4px;
}

.leaflet-popup-photo .leaflet-popup-content {
    margin: 0;
}

.leaflet-popup-photo .leaflet-popup-tip {
    background: white;
}

.leaflet-popup-photo img,
.leaflet-popup-photo video {
    display: block;
    width: 100%;
}

.leaflet-popup-photo p {
    margin: 5px 0 0 0;
}

.leaflet-marker-photo {
    border: .2rem solid #582727;
    border-radius: .25rem;
    background-color: #582727;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .25);
}

.leaflet-marker-photo div {
    width: 100%;
    height: 100%;
    border-radius: .125rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.leaflet-marker-photo b {
    top: -.5rem;
    right: -.625rem;
    color: #fff;
    height: 1rem;
    padding: .25rem;
    min-width: 1rem;
    font-size: .625rem;
    text-align: center;
    line-height: .5rem;
    border-radius: .5rem;
    background-color: #582727;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .25);
    position: absolute;
}

.leaflet-bar a {
    border-bottom: solid 1px rgba(88, 39, 39, .125);
}

.card-map .card-head {
    z-index: 999;
    position: absolute;
}

.card-map::before {
    top: 0;
    left: 0;
    right: 0;
    height: 10rem;
    opacity: 1;
    content: '';
    z-index: 998;
    position: absolute;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 249, 249, .75) 0%, rgba(255, 249, 249, .375) 75%,
            rgba(255, 249, 249, 0) 100%);
}

.card-map #map {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background: #E1E7EC;
    transition: opacity .125s;
}

.card-map #map .leaflet-right {
    right: 1rem;
}

.card-map #map .leaflet-bottom {
    bottom: 3rem;
}

.card-map .leaflet-pane {
    background: #E1E7EC;
    transition: opacity .375s;
}

.card-map .leaflet-container {
    background: transparent
}

.card-item-hide.card-map {
    animation: .375s mapCardHide;
}

.card-item-hide.card-map .leaflet-pane {
    transition: none;
    /* animation: .375s mapCardMapHide; */
}

.card-item-hide.card-map .leaflet-control-container,
.card-item-hide.card-map .card-head {
    animation: .375s mapCardHeadHide;
}

.card-item-active.card-map {
    animation: .375s mapCardShow .375s both;
}

.card-item-active.card-map .card-head {
    animation: .375s mapCardHeadShow .375s both;
}

.card-item-active.card-map #map {
    animation: .375s mapCardMapShow .75s both;
}

@keyframes mapCardShow {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes mapCardHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes mapCardHeadShow {
    0% {
        transform: translateX(1rem);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes mapCardHeadHide {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-1rem);
    }
}

@keyframes mapCardMapShow {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes mapCardMapHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}