.leaflet-sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1000;
}
.leaflet-sidebar.collapsed {
    width: 40px;
}
@media (max-width: 769px) {
    .leaflet-sidebar {
        position: absolute;
        top: 55%;
        bottom: 0;
        max-height: 450px;
        margin: 0 20px 0 20px;
        /*width: 100%;
        overflow: hidden;*/
        z-index: 2000;
        height: 260px;
    }
    .leaflet-sidebar.collapsed {
        width: 90%;
        height: 50px;
        transition: all ease-in 1s;
    }

    .img-header-card {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 0px;
        height: 50%;
        min-width: 100px;
        max-width: 100px;
        min-height: 100px;
        max-height: 100px;
    }
    .card-img-top {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .card-title{
        text-align: center;
        font-size: small;
    }


}
@media (min-width: 768px) {
    .leaflet-sidebar {
        top: 10px;
        bottom: 10px;
        transition: width 0.5s;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .leaflet-sidebar {
        width: 305px;
        max-width: 305px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .leaflet-sidebar {
        width: 390px;
        max-width: 390px;
    }
}
@media (min-width: 1200px) {
    .leaflet-sidebar {
        width: 460px;
        max-width: 460px;
    }
}
.leaflet-sidebar-left {
    left: 0;
}
@media (min-width: 768px) {
    .leaflet-sidebar-left {
        left: 10px;
    }
}
.leaflet-sidebar-right {
    right: 0;
}
@media (min-width: 768px) {
    .leaflet-sidebar-right {
        right: 10px;
    }
}
.leaflet-sidebar-tabs {
    top: 0;
    bottom: 0;
    height: 100%;
    background-color: #fff;
}
.leaflet-sidebar-left .leaflet-sidebar-tabs {
    left: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-tabs {
    right: 0;
}

@media (max-width: 769px) {
    .leaflet-sidebar-tabs,
    .leaflet-sidebar-tabs > ul {
        position: absolute;
        width: 100% !important;
        height: 40px !important;
        margin: 0;
        padding: 0;
        list-style-type: none !important;
        display: flex !important;
        align-items: stretch !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-content: center !important;
        justify-content: space-around !important;
        align-items: flex-start !important;
    }
    .leaflet-sidebar-tabs > li > a,
    .leaflet-sidebar-tabs > ul > li > a {
        display: block;
        width: 100%;
        height: 100%;
        line-height: 40px;
        color: inherit;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
    }
    .leaflet-sidebar-tabs > li:hover,
    .leaflet-sidebar-tabs > ul > li:hover {
        /*color: #000 !important;
        background-color: #eee !important;*/
    }
    .leaflet-sidebar-tabs > li.active,
    .leaflet-sidebar-tabs > ul > li.active {
        border-top: solid 2px #0074d9;
    }
    .leaflet-sidebar-tabs > li.disabled,
    .leaflet-sidebar-tabs > ul > li.disabled {
        color: rgba(51, 51, 51, 0.4);
    }
    .leaflet-sidebar-tabs > li.disabled:hover,
    .leaflet-sidebar-tabs > ul > li.disabled:hover {
        background: 0 0;
        background-color: red;
    }
    .leaflet-sidebar-tabs > li.disabled > a,
    .leaflet-sidebar-tabs > ul > li.disabled > a {
        cursor: default;
    }
    .leaflet-sidebar-tabs > li > a,
    .leaflet-sidebar-tabs > ul > li > a {
        display: block;
        width: 100%;
        height: 100%;
        line-height: 40px;
        color: inherit;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
    }
    .leaflet-sidebar-tabs > ul + ul {
        bottom: 0;
    }
    .leaflet-sidebar-content {
        position: absolute  !important;
        top: 0 !important;
        bottom: 0 !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        margin-left: -40px !important;
    }
    .leaflet-sidebar-left .leaflet-sidebar-content {
        left: 40px  !important;
        right: 0 !important;
    }
    .leaflet-sidebar-right .leaflet-sidebar-content {
        left: 0 !important;
        right: 40px !important;
        width:90% !important;
    }
    .leaflet-sidebar.collapsed > .leaflet-sidebar-content {
        overflow-y: hidden !important;
        margin-left: -40px !important;
    }
    .collapsed > .leaflet-sidebar-content {
        overflow-y: hidden !important;
    }
    .leaflet-sidebar-pane {
        /*display: none !important;*/
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
        padding: 40px 10px !important;
        height: 240px !important;
    }
    .leaflet-sidebar-pane.active {
        display: block !important;
        height: 240px !important;
    }
    .leaflet-sidebar-pane > .card{
        display: flex !important;
        flex-direction: row !important;
    }
    .leaflet-sidebar-header{
        margin: 0px -20px 0 !important;
    }
}
.leaflet-sidebar-tabs,
.leaflet-sidebar-tabs > ul {
    position: absolute;
    width: 40px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: normal;
	justify-content: space-around;
	align-items: center
}
.leaflet-sidebar-tabs > li,
.leaflet-sidebar-tabs > ul > li {
    /*width: 100%;*/
    height: 40px;
    color: #333;
    font-size: 12pt;
    overflow: hidden;
    transition: all 80ms;
    margin-top: 5px;
    margin-bottom: 5px;
}
.leaflet-sidebar-tabs > li:hover,
.leaflet-sidebar-tabs > ul > li:hover {
    color: #000;
    background-color: #eee;
}
.leaflet-sidebar-tabs > li.active,
.leaflet-sidebar-tabs > ul > li.active {
	color: #000;

    /* color: #fff;
    background-color: #0074d9;*/
}
.leaflet-sidebar-tabs > li.disabled,
.leaflet-sidebar-tabs > ul > li.disabled {
    color: rgba(51, 51, 51, 0.4);
}
.leaflet-sidebar-tabs > li.disabled:hover,
.leaflet-sidebar-tabs > ul > li.disabled:hover {
    background: 0 0;
}
.leaflet-sidebar-tabs > li.disabled > a,
.leaflet-sidebar-tabs > ul > li.disabled > a {
    cursor: default;
}
.leaflet-sidebar-tabs > li > a,
.leaflet-sidebar-tabs > ul > li > a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    color: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}
.leaflet-sidebar-tabs > ul + ul {
    bottom: 0;
    display: none !important;
}
.leaflet-sidebar-content {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
    overflow-x: hidden;
    overflow-y: auto;
}
.leaflet-sidebar-left .leaflet-sidebar-content {
    left: 40px;
    right: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-content {
    left: 0;
    right: 40px;
}
.leaflet-sidebar.collapsed > .leaflet-sidebar-content {
    overflow-y: hidden;
}
.collapsed > .leaflet-sidebar-content {
    overflow-y: hidden;
}
.leaflet-sidebar-pane {
    display: none;
    left: 0;
    right: 0;
    box-sizing: border-box;
    padding: 10px 20px;
}
.leaflet-sidebar-pane.active {
    display: block;
}
@media (min-width: 768px) and (max-width: 991px) {
    .leaflet-sidebar-pane {
        min-width: 265px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .leaflet-sidebar-pane {
        min-width: 350px;
    }
}
@media (min-width: 1200px) {
    .leaflet-sidebar-pane {
        min-width: 420px;
    }
}
.leaflet-sidebar-header {
    margin: -10px -20px 0;
    height: 40px;
    padding: 0 20px;
    line-height: 40px;
    font-size: 14.4pt;
    color:#000;
    /*color: #fff;
    background-color: #0074d9;*/
}
.leaflet-sidebar-right .leaflet-sidebar-header {
    padding-left: 40px;
}
.leaflet-sidebar-close {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
}
.leaflet-sidebar-left .leaflet-sidebar-close {
    right: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-close {
    left: 0;
}
.leaflet-sidebar {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}
@media (min-width: 768px) {
    .leaflet-sidebar {
        border-radius: 4px;
    }
    .leaflet-sidebar.leaflet-touch {
        border: 2px solid rgba(0, 0, 0, 0.2);
    }
}
@media (max-width: 768px) {
    .leaflet-sidebar {
        border-radius: 4px !important;
        width: 90%;
        height: 268px;
        transition: all ease-in 1s;
    }
    .leaflet-sidebar.leaflet-touch {
        border: 2px solid rgba(0, 0, 0, 0.2) !important;

    }
}
.leaflet-sidebar-left.leaflet-touch {
    box-shadow: none;
    border-right: 2px solid rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
    .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
        transition: left 0.5s;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
        left: 315px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
        left: 400px;
    }
}
@media (min-width: 1200px) {
    .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
        left: 470px;
    }
}
@media (max-width: 769px) {
    .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
        left: 0px !important;
    }
}
.leaflet-sidebar-left.collapsed ~ .leaflet-control-container .leaflet-left {
    left: 50px;
}
.leaflet-sidebar-right.leaflet-touch {
    box-shadow: none;
    border-left: 2px solid rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
    .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
        transition: right 0.5s;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
        right: 315px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
        right: 400px;
    }
}
@media (min-width: 1200px) {
    .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
        right: 470px;
    }
}
.leaflet-sidebar-right.collapsed ~ .leaflet-control-container .leaflet-right {
    right: 50px;
}

.top-90{
    top: 91% !important;
    transition: all ease-in 1s;
}
