
            .legend { text-align: left; line-height: 18px; color: #555; } .legend i { width: 18px; height: 18px; float: left; margin-right: 8px; opacity: 0.7; }


            .clase_terreno_numero{
                width: 24px !important;
                height: 24px !important;
                margin-left: -12px !important;
                margin-top: -12px !important;
                border-radius: 18px;
                text-align: center;
                color: #3F51B5;
                background-color: #fff;
                font-size: 16px;
                border: 2px solid #3F51B5;
            }

            .clase_manzana_numero{
                width: 24px !important;
                height: 24px !important;
                margin-left: -12px;
                margin-top: -12px;
                border-radius: 18px;
                text-align: center;
                /*color: #3F51B5;*/
                color: #3F51B5;
                background-color: #E4DF1D;
                font-size: 16px;
                border: 2px solid #fff;
            }
            
            #map{
                width:100%;
                min-height:650px;
                }

.legendModal {
    bottom: 0;
 /*   right: 0;*/
    border-radius: 20px 20px 0 0;
    background-color: #ededed;
    width: 225px;

}
.modal-header {
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px 20px 0 0;
    padding: 20px 35px;
    display: inline-flex;
    justify-content: space-between;
    background-color: #fff;
}

.legendModal .modal-header {
    padding: 15px 25px 12px;
    border-radius: 20px 20px 0 0;
}

.legendModal-title {
    font-size: 20px;
    font-weight: 600;
}
.modal-close {
    display: inline-block;
    vertical-align: top;
    height: 30px;
    width: 30px;
    text-align: center;
}

.legendModal-square {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
}
.greenBackground {
    background-color: #61e73f !important;

}

.legendModal-text {
    display: inline-block;
    vertical-align: top;
    line-height: 1.4;
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}
.yellowBackground {
    background-color: #f19212!important;


}
.redBackground {
    background-color: #d22c3f!important;

}
.leaflet-bottom .leaflet-control {
    margin-bottom: 0px;
}
.legendModal-item {
    padding: 8px 0;
}
.legendModal-body {
    padding: 16px 24px;
    box-sizing: border-box;
    justify-content: space-between;
}

.leaflet-popup-content {
    margin: 13px 0px;
    line-height: 1.4;
    width: 200px !important;
}
.leaflet-container a.leaflet-popup-close-button {
    padding: 18px 10px 0 0 !important;

}

@media screen and (max-width:800px){
    #map{
    width:100%;
    min-height:70vh;
    }
    
    .legendModal {
    width: 120px;
    border-radius: 10px 10px 0 0;
    }
    .legendModal .modal-header {
    padding: 8px 15px 8px;
    }
    .legendModal-title {
    font-size: 12px;
    }
    .legendModal-body {
    padding: 8px 15px;
    }
    .legendModal-item {
    padding: 0 0;
    }
    .legendModal-square {
    width: 15px;
    height: 15px;
    }
    .legendModal-text {
    font-size: 10px;
    }
}
