﻿#map {
    width: 100%;
    height: 350px;
    margin: 0;
    padding: 0;
    border: 0;
    margin-top: 20px;
}

.MapPin-wrap {
    position: absolute;
    width: 50px;
    height: 50px;
    margin-top: -60.3553390593px;
    margin-left: -25px;
    transform-origin: 50% 60.3553390593% 0;
}

.MapPin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -8px;
    margin-left: -18px;
    transform-origin: 50% 60.3553390593% 0;
}

    .MapPin::after {
        position: absolute;
        display: block;
        box-sizing: border-box;
        width: 30px;
        height: 30px;
        content: "";
        transform: rotateZ(-45deg);
        border: 8px solid #f86f03;
        border-radius: 50% 50% 50% 50%;
    }

    .MapPin::before {
        position: absolute;
        display: block;
        box-sizing: border-box;
        width: 30px;
        height: 30px;
        content: "";
        transform: rotateZ(-45deg);
        border: 8px solid #cc5a00;
        border-radius: 50% 50% 50% 0;
    }


.UpcomingEvent .MapPin-wrap {
    position: absolute;
    width: 50px;
    height: 50px;
    margin-top: -60.3553390593px;
    margin-left: -25px;
    transform-origin: 50% 60.3553390593% 0;
}

.UpcomingEvent .MapPin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -18px;
    margin-left: -18px;
    transform-origin: 50% 60.3553390593% 0;
}

    .UpcomingEvent .MapPin::after {
        position: absolute;
        display: block;
        box-sizing: border-box;
        width: 40px;
        height: 40px;
        content: "";
        transform: rotateZ(-45deg);
        border: 10px solid #01b501;
        border-radius: 50% 50% 50% 50%;
    }

    .UpcomingEvent .MapPin::before {
        position: absolute;
        display: block;
        box-sizing: border-box;
        width: 40px;
        height: 40px;
        content: "";
        transform: rotateZ(-45deg);
        border: 10px solid green;
        border-radius: 50% 50% 50% 0;
    }

.Mapshadow {
    position: absolute;
}

    .Mapshadow::after {
        position: absolute;
        left: -62.5px;
        display: block;
        width: 25px;
        height: 25px;
        margin-top: -12.5px;
        content: "";
        transform: rotateX(55deg);
        border-radius: 50%;
        box-shadow: rgba(0, 0, 0, 0.5) 50px 0 10px;
    }

.city-name {
    background: #525ee1;
    width: max-content;
    text-align: center;
    padding: 2px 8px;
    color: #fff;
    border-radius: 5px;
    border: 1px #fff solid;
}


/* Keyframes for the wobble animation */
@keyframes wobble {
    0% {
        transform: rotateZ(0deg);
    }

    15% {
        transform: rotateZ(-45deg);
    }

    30% {
        transform: rotateZ(30deg);
    }

    45% {
        transform: rotateZ(-30deg);
    }

    60% {
        transform: rotateZ(15deg);
    }

    75% {
        transform: rotateZ(-15deg);
    }

    100% {
        transform: rotateZ(0deg);
    }
}

/* Keyframes for the bounce animation */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Apply the wobble animation */
.animate-wobble {
    animation: wobble 1.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Similar to bounce in dynamics.js */
}

/* Apply the bounce animation */
.animate-bounce {
    animation: bounce 1s cubic-bezier(0.34, 1.56, 0.64, 1); /* Similar to forceWithGravity in dynamics.js */
}
.leaflet-bottom.leaflet-right .leaflet-control-attribution.leaflet-control{display:none;}