﻿@keyframes leaflet-left-toolbar-show {
    0% {
        transform: translate(-100%, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}

.leaflet-bar {
    box-shadow: none;
}

.leaflet-container {
    font-family: 'Roboto', 'Avenir', Helvetica, Arial, sans-serif;
    height: 100%;
    min-height: 100%;
}

.leaflet-right .leaflet-control {
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.5s;
    animation: leaflet-right-toolbar-show 0.5s ease-in-out;
    transform: translate(-10px, 10px);
}

@keyframes leaflet-right-toolbar-show {
    0% {
        transform: translate(100%, 10px);
    }

    100% {
        transform: translate(-10px, 10px);
    }
}

.leaflet-draw-guides .leaflet-draw-guide-dash {
    position: absolute;
}

    .leaflet-draw-guides .leaflet-draw-guide-dash:before {
        content: '';
        width: 3px;
        height: 3px;
        background-color: #fff;
        display: block;
    }

.leaflet-top.leaflet-left {
    right: 8px;
    left: unset;
    top: 50%;
    width: fit-content;
    transform: translateY(-50%);
}

.leaflet-touch .leaflet-control-zoom.leaflet-control, .leaflet-top .leaflet-control-zoom.leaflet-control {
    margin: 0;
    border: none;
}

    .leaflet-touch .leaflet-control-zoom.leaflet-control > a, .leaflet-top .leaflet-control-zoom.leaflet-control > a {
        border-radius: 50% !important;
        margin-bottom: 8px;
        border: none;
        width: 36px;
        height: 36px;
        line-height: 36px;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.7);
    }

.leaflet-marker-pane .leaflet-marker-icon.leaflet-interactive.leaflet-editing-icon.leaflet-div-icon {
    background: #fff;
    border-color: transparent;
    border-radius: 50%;
    margin-top: -5px !important;
    margin-bottom: 0px !important;
    margin-left: 0 !important;
    margin-left: -5px !important;
    width: 10px !important;
    height: 10px !important;
    outline: 0;
}

    .leaflet-marker-pane .leaflet-marker-icon.leaflet-interactive.leaflet-editing-icon.leaflet-div-icon:after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 4px;
        height: 4px;
        background-color: #000;
        border-radius: 50%;
    }

.leaflet-draw-section .leaflet-draw-toolbar {
    border: none;
    display: flex;
    flex-direction: row;
}

    .leaflet-draw-section .leaflet-draw-toolbar a {
        width: auto;
        height: auto;
        line-height: 14px;
        border: none;
        border-radius: 0;
        font-weight: 500;
        font-size: 12px;
        background-color: rgba(0, 0, 0, 0.7);
        font-family: 'Roboto', Arial, sans-serif;
        padding: 8px;
        color: #fff;
        white-space: nowrap;
        margin-left: 8px;
    }

        .leaflet-draw-section .leaflet-draw-toolbar a.leaflet-draw-edit-edit {
            display: none;
        }

        .leaflet-draw-section .leaflet-draw-toolbar a:last-child, .leaflet-draw-section .leaflet-draw-toolbar a:first-child {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        .leaflet-draw-section .leaflet-draw-toolbar a:first-child {
            margin-left: 0px;
        }

    .leaflet-draw-section .leaflet-draw-toolbar.leaflet-draw-toolbar-notop {
        display: none;
    }

@media (max-width: 768px) {
    .leaflet-draw-section .leaflet-draw-toolbar {
        flex-direction: column;
    }

        .leaflet-draw-section .leaflet-draw-toolbar a, .leaflet-draw-section .leaflet-draw-toolbar a:first-child, .leaflet-draw-section .leaflet-draw-toolbar a:last-child {
            margin: 0 0 6px 0;
            width: 130px;
        }
}

.leaflet-draw-section .leaflet-draw-actions {
    margin: 0;
    padding: 0;
    min-width: 170px;
}

    .leaflet-draw-section .leaflet-draw-actions li {
        list-style-type: none;
        display: flex;
    }

        .leaflet-draw-section .leaflet-draw-actions li a {
            color: #fff;
            padding: 6px;
            font-size: 12px;
            background-color: rgba(0, 0, 0, 0.7);
            width: 100%;
            font-weight: 500;
            margin-top: 4px;
        }

.leaflet-draw-tooltip {
    background-color: #fff;
    border-radius: 10px;
    opacity: 0.65;
    position: relative;
    top: 16px;
    left: 16px;
    cursor: pointer;
}

    .leaflet-draw-tooltip br {
        display: none;
    }

    .leaflet-draw-tooltip span {
        display: block;
        width: 100px;
        padding: 4px;
    }

.leaflet-control-attribution {
    display: none;
}

.leaflet-interactive {
    cursor: pointer;
}
