/* leaflet legend */
.leaflet_legend_wrapper {
    display: None;
    justify-content: space-around;
    align-items: center;
    flex-flow: row wrap;
    width: 100vw;
    background-color: white;
    margin-left: 0px !important;
    padding: 4px !important;
    opacity: .9;
    bottom: 0px;
    max-height: 40px;
    position: relative;
}

.leaflet-bottom .leaflet-control {
    margin-bottom: 0px;
}
@media only screen and (max-width: 800px) {
    .leaflet_legend_wrapper {
    max-height: 35px;
    padding: 0px !important;
    }
}
.leaflet_legend_wrapper .legend_title{
    font-weight: 500;
    height: 100%;
    padding: 5px 5px;
    border-radius: 3px;
    font-family: 'banner';
    font-size: 16px;
    display: inline-block;
    min-width: 300px;
    text-align: center;
}
.leaflet_legend_wrapper .legend_title:before {
    content: "\f05a";
    font-family: 'FontAwesome';
    font-size: 120%;
}

.leaflet_legend_wrapper .legend_title:hover {
    cursor: pointer;
    color: black;
}

.leaflet_legend_wrapper .legend_element {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row nowrap;
}

.leaflet_legend_wrapper .legend_element .element_title {
    margin-left: 10px;
}

.leaflet_legend_wrapper .div_icon {
    display: block;
    justify-content: unset;
    align-items: unset;
    flex-flow: unset;
    width: 26px;
    height: 26px;
    border: 2px solid white;
    border-radius: 50%;
}
.leaflet_legend_wrapper .div_icon.good{
    background-color: #12b3c4;
    box-shadow: 0px 0px 0 2px #2cb4c7
}

.leaflet_legend_wrapper .div_icon.fair{
    background-color: #29a884;
    box-shadow: 0px 0px 0 2px #29a884
}
.leaflet_legend_wrapper .div_icon.moderate{
    background-color: #f0e641;
    box-shadow: 0px 0px 0 2px #f0e641
}
.leaflet_legend_wrapper .div_icon.poor{
    background-color: #fa504f;
    box-shadow: 0px 0px 0 2px #fa504f
}
.leaflet_legend_wrapper .div_icon.very_poor{
    background-color: #960432;
    box-shadow: 0px 0px 0 2px #960432
}
.leaflet_legend_wrapper .div_icon.undefined{
    background-color: gray;
    box-shadow: 0px 0px 0 2px gray
}



/*Legend Description (bootstrap modal)*/
@media (min-width: 900px){
    .modal-dialog {
        max-width: 890px;
        margin: 1.75rem auto;
    }
}

@media (max-width: 900px){
    .modal-dialog {
        max-width: 90vw;
        margin: 1.75rem auto;
    }
}

.justified_content {
    text-align: justify;
}

.modal-body.legend_description_container {
    font-size: 15px;
}