.leaflet-sidebar {
    position: absolute;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 3px;
    z-index: 2000;

}

.leaflet-sidebar.left {
    left: -350px;
    transition: left 0.5s, width 0.5s;

    padding-right: 0;
}

.leaflet-sidebar.right {
    right: -350px;
    transition: right 0.5s, width 0.5s;

    padding-left: 0;
}

.leaflet-sidebar.left.visible {
    left: 0;
}

.leaflet-sidebar.right.visible {
    right: 0;
}

.leaflet-left {
    transition: left 0.5s;
}

.leaflet-right {
    transition: right 0.5s;
}

.leaflet-sidebar > .leaflet-control {
    height: 100%;
    width: 100%;
    overflow: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 15px 15px;
    font-size: 1.1em;
    background: #ffffff;

    -webkit-border-radius: 0px;
    border-radius: 4px;
}



.leaflet-touch .leaflet-sidebar > .leaflet-control {
    box-shadow: none;
    border: 0px solid rgba(0, 0, 0, 0.2);
    background-clip: padding-box;
}

@media(max-width:767px) {

    .leaflet-sidebar,
    .sidenav {
        width: 100%;
        padding: 0;
    }

    .leaflet-sidebar.left {
        left: -100%;
    }

    .leaflet-sidebar.right {
        right: -100%;
    }

    .leaflet-sidebar.left.visible {
        left: 0;
    }

    .leaflet-sidebar.right.visible {
        right: 0;
    }

    .leaflet-sidebar > .leaflet-control {
        box-shadow: none;
        -webkit-border-radius: 0;
        border-radius: 0;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 100%;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 100%;
    }

    .leaflet-touch .leaflet-sidebar > .leaflet-control {
        border: 0;
    }
}

@media(min-width:732px) and (max-width:991px) {

    .leaflet-sidebar,
    .sidenav {
        width: 250px;
        overflow-x: auto;
        overflow-y: auto;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 250px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 250px;
    }
}


@media(min-width:320px) and (max-width:720px) {

    .sidenav,
    .leaflet-sidebar {
        width: 150px;
        overflow-x: auto;
        overflow-y: auto;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 150px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 150px;
    }
}

@media(min-width:992px) and (max-width:1199px) {

    .leaflet-sidebar,
    .sidenav {
        width: 350px;
        overflow-x: auto;
        overflow-y: auto;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 350px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 300px;
    }
}

@media(min-width:1200px) {

    .leaflet-sidebar,
    .sidenav {
        width: 400px;
        font-size: 14px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 400px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 400px;
    }
}

@media(min-width:1500px) {

    .leaflet-sidebar,
    .sidenav {
        width: 500px;
        font-size: 14px;
    }

    .leaflet-sidebar.left.visible ~ .leaflet-left {
        left: 500px;
    }

    .leaflet-sidebar.right.visible ~ .leaflet-right {
        right: 500px;
    }
}
