#map {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: white;
}
 

#map canvas {
    cursor: crosshair;
}


legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.9;
}

.info {
    padding: 16px 18px;

    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.info h4 {
    margin: 0 0 5px;
    color: #777;
}

#legend {
    line-height: 1.5;
    height: auto;
    width: auto;
}

.legend-key {
    display: inline-block;
    border-radius: 20%;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.map-legend {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    overflow: auto;
    border-radius: 3px;
}

/*For map overlay*/
.map-overlay {
    font: 8px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: auto;
    top: 10px;
    left: 0;
    padding: 10px;
}

.map-overlay .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.map-overlay-inner fieldset {
    border: none;
    padding: 0;
    margin: 0 0 10px;
}

.map-overlay-inner fieldset:last-child {
    margin: 0;
}

.map-overlay-inner select {
    width: 100%;
}

.map-overlay-inner p {
    margin: 0;
}

.map-overlay-inner label {
    display: block;
    font-weight: bold;
}

.map-overlay-inner button {
    background-color: cornflowerblue;
    color: white;
    border-radius: 5px;
    display: inline-block;
    height: 20px;
    border: none;
    cursor: pointer;
}

.map-overlay-inner button:focus {
    outline: none;
}

.map-overlay-inner button:hover {
    background-color: #0a3b6d;
    box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color 500ms linear;
    -ms-transition: background-color 500ms linear;
    transition: background-color 500ms linear;
}

.offset > label,
.offset > input {
    display: inline;
}

#animateLabel {
    display: inline-block;
    min-width: 20px;
}