/* Panel Layers, Legend */

body { margin:0; padding:0; }
body, table, tr, td, th, div, h1, h2, input { font-family: "Calibri", "Trebuchet MS", "Ubuntu", Serif; font-size: 1rem}

#map { position:absolute; top:0; bottom:0; width:100%; } /* full size */

.leaflet-container {
    line-height: 20px;
}
.ctl {
    padding: 2px 10px 2px 10px;
    background: white;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.title {
    text-align: right;
    font-size: 16pt;
    font-weight: bold;
}
.src {
    font-size: 0.9rem;
}

.zoom_to {
    float: left;
    display: block;
    height: 1.8rem;
    width: 1.8rem;
    cursor: pointer;
    padding: 0px 5px 0px 0px;
    cursor: pointer;
}
.leaflet-panel-layers {
    grid-row:2;
    background-color:#f0f0f0;
    border-radius:5px;
    border:2px solid rgba(0,0,0,.2);
    padding:4px;
    box-shadow:0 0 #0000004d
}
.leaflet-panel-layers-title {
    font-size: 1.1rem;
}
.leaflet-panel-layers-grouplabel {
    text-align: left;
    font-weight: bold;
    font-size: 1.2rem;
}
.leaflet-panel-layers-major-title {
    font-size:1.3rem;
    cursor:pointer;
    display:block;
}
.leaflet-top.leaflet-right .leaflet-panel-layers:not(.compact) {
    margin:10px
}
.leaflet-panel-layers-overlays .leaflet-panel-layers-item {
    padding:4px
}
.leaflet-panel-layers-title span {
    display:contents!important
}
.leaflet-panel-layers-title-icon {
    width:25px;
    text-align:center;
    float:left
}
.leaflet-panel-layers .leaflet-panel-layers-list {
    display:none;
}

.legend {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: auto auto auto;
    text-align: left;
    font-size: 1.2rem;
}

#legend_group {
    display: block;
    clear: both;
}

.legend_header {
    font-size: 1.5rem;
}

.legend_outer {
    padding: 2px;
}

.flex_columns {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(auto-fit,1.8rem);
    max-height: 75vh;
  }

.flex_columns_fixed {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.inner_flex_item {
    padding: 1px 5px 1px 5px;
    position: relative;
}

.divider_bottom {
    border-bottom: 1px solid black;
}

.divider_top {
    border-top: 1px solid black;
}

.two_column_grid {
    display: grid;
    align-items: start;
    justify-content: left;
    grid-template-columns: auto auto;
    margin-bottom: 5px;
}
.three_column_grid {
    display: grid;
    align-items: center;
    justify-content: left;
    grid-template-columns: auto auto auto;
    margin-bottom: 5px;
}

.inner_grid_item {
    padding: 1px 5px 1px 5px;
    position: relative;
}

.header_grid_item {
    padding: 1px 5px 1px 5px;
    grid-column: 1 / span 3;
}

.wide_header_grid_item {
    padding: 1px 5px 10px 5px;
    grid-column: 1 / span 3;
    min-width: 400px;
}

.spaced_header_grid_item {
    padding: 10px 5px 1px 5px;
    grid-column: 1 / span 3;
}

.nowrap {
    white-space: nowrap;
}

.outer_grid_item {
    padding: 2px;
    position: relative;
}

.leaflet-popup-content {
    text-align: left;
    font-size: 1.1rem;
}



.active_key {
    float:left;
    padding: 10px;
    color: black;
    font-size: 1.3rem;
}

.inactive_key {
    float:left;
    padding: 10px;
    color: darkgrey;
    font-size: 1.3rem;
}

.bigred {
    color: darkred;
    font-size: 1.3rem;
    font-weight: bold;
}