
/* Popup Panel */

.map-popup-container {
    display: inline-block;
    position: absolute;
    bottom: 47px;
    left: 10px;
    z-index: 50;
    /*min-width: 299px;
    max-width: 300px;*/
    width: 95%;
    height: auto;
    max-height: calc(100% - 76px);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.map-popup {
    background-color: rgba(255,255,255,.95);
    border-radius: 2px;
    height: 100%;
}

.map-popup__heading {
    font-size: 0;
    background-color: #fff;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom: 1px solid #d8d8d8;
}

.map-popup__heading__label {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform  : uppercase;
    color: #555;
    width: calc(100% - 42px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.map-popup__heading__close {
    position: relative;
    margin-left: 6px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 2px;
    transition: background-color .15s ease-in-out;
    display: inline-block;
    vertical-align: middle;
}

/* Zoom In/Out */

a.leaflet-disabled, a.leaflet-disabled:hover {
    cursor: not-allowed !important;
    color: #bbb !important;
    opacity: .25 !important;
}

/* Layers */


.map-popup__layers-container__wrap {
    overflow-x: auto;
}

.map-popup__layers-container {
    display: inline-block;
    padding: 10px 30px 5px;
    width: 100%;
    margin: 0;
    background-color: #fff;
    color: #bbb;
}
.map-popup__layers-container label {
    font-size: 13px;
    font-weight: 400;
    color: #555;
    display: block;
}

/* Legends */

.map-popup__legend-container__wrap {
    overflow-x: auto;
}

.map-popup__legend-container {
    display: inline-block;
    padding: 10px 30px 0;
    width: 100%;
    margin: 0;
    background-color: #fff;
    color: #bbb;
}

.map-popup__legend__loading,
.map-popup__legend__error {
    font-size: 12px;
    color: #aaa;
}

.map-popup__legend__wrap {
    position: relative;
}

/* Radar Legend */

.map-popup__radar-legend__labels {
    overflow: hidden;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 400;
    color: #aaa;
}

.map-popup__radar-legend__precip-sections {
    padding-left: 0;
}

.map-popup__radar-legend__precip-section {
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
    width: 50%;
    text-align: center;
}

.map-popup__radar-legend__precip-section:first-child {
    margin-bottom: 10px;
    width: 100%;
}

.map-popup__radar-legend__precip-section .label {
    margin-top: 5px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    display: block;
    padding: 0;
}

.map-popup__radar-legend__precip-section__colors {
    padding-left: 0;
}

.map-popup__radar-legend__precip-section__color {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1px;
}
.map-popup__radar-legend__precip-section__color:last-child {
    margin-right: 0;
}
.map-popup__radar-legend__precip-section__color .color-stop {
    display: inline-block;
    width: 15px;
    height: 15px;
}

/* Gradient Legend */

.map-popup__gradient-legend__wrap {
    padding: 5px 0 0 0;
}

.map-popup__gradient-legend__color {
    width: 100%;
    height: 24px;
    border-radius: 2px;
}

.map-popup__gradient-legend__labels {
    position: relative;
    padding-left: 0;
    margin-top: 6px;
    height: 19px;
    width: 100%;
    white-space: nowrap;
    font-size: 0;
}

.block-list {
    list-style-type: none;
    padding-left: 0;
}

.map-popup__gradient-legend__label {
    position: absolute;
    display: inline-block;
    vertical-align: middle;
}
.map-popup__gradient-legend__label .text {
    font-size: 13px;
    font-weight: 400;
    color: #aaa;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}