#map {
    width: 100%;
    height: 33rem;
}

.well {
    background-color: #e1e3e6;
    margin-top: 4.3rem;
    padding: 10px 10px 5px;
    border-radius: 5px;
    border-style: outset;
    height: 34.3rem;
}

h4 {
    margin-left: 20px;
}

#mapcontainer {
    align: right;
    border: 1px solid grey;
    margin: 5px;
    padding: 5px;
}

/*Legend specific*/
.legend {
    padding: 6px 8px;
    font: 12px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 1);
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*border-radius: 5px;*/
    line-height: 24px;
    color: #555;
}

.legend h4 {
    text-align: center;
    font-size: 13px;
    margin: 2px 4px 4px;
    color: black;
    font-weight: bold;
}

.legend span {
    position: relative;
    margin-left: 10px;

}

.legend i {
    float: left;
    margin: 0 8px 0 0;
    opacity: 0.7;
    transform: rotate(45deg);

}

.legend i.icon {
    background-size: 18px;
    background-color: rgba(255, 255, 255, 1);
}

.legend1 {
    padding: 3px 8px;
    font: 10px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 1);
    line-height: 4px;
    color: #555;
}

.legend1 h4 {
    text-align: center;
    font-size: 13px;
    margin: 2px 8px 8px;
    color: black;
    font-weight: bold;
}


.leaflet-control-layers-selector {
    float: left;
}

.leaflet-control-layers-base span {
    margin-left: 5px;
    float: left;
    font-weight: bold;
}

.btn {
    margin: 5px;
}

p {
    text-align: center;
    margin: 5px 10px 0px 10px;
}

.content {
    text-align: justify;
    margin: 5px 15px;

}

#dis {
    text-align: justify;
    font: Arial, Helvetica, sans-serif;

}

.leaflet-popup-content h5 {
    background-color: #66ad9c;
    margin: 0;
    color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 2px solid #232323;
    /* border-top: 2px solid; */
    margin-bottom: 5px;
    padding: 5px;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
}


.headerpopup {
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
}

.bodypopup {
    font-size: 1em;
    text-align: center;
    margin-top: 5px;
}

.wlpopup {
    font-size: 1em;
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
}

.sourcepopup {
    text-align: center;
    font-size: 0.7em;
    margin-top: 10px;
}


.matches {
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 2000;
    top: 100%;
    left: 0;
    right: 0;
    position: absolute;
    max-height: 300px;
    overflow-y: scroll;
    font-size: 14px;
}

.matches div {
    padding: 6px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.matches div:hover {
    background-color: #e9e9e9;
}

.station-text-clear-button {
    position: absolute;
    right: -30px;
    font-size: 23px;
    top: -5px;
}


.station-text-clear-button:hover {
    cursor: pointer;
}

.autocomplete-input {
    width: 100%;
    height: 55%;
}

.autocomplete-form {
    position: relative;
    text-align: center;
    max-width: 300px;
    width: 80%;
    display: inline-block;
}

.autocomplete {
    margin-left: 2rem;
}

a {
    color: white;
}

::placeholder {
    color: black;
    opacity: 1;
}

#hr {
    width: 60%;
    margin-left: 20%;
}

.label {
    font-weight: bold;
    margin-right: 0.5rem;
}

.label_datum {
    font-weight: bold;
    margin-right: 0.1rem;
}

#stormtrack {
    display: flex;
    justify-content: center;
    margin-top: 0.5em;
}

select {
    width: 60%;
    font-style: italic;
    max-width: 300px;
}

select :nth-last-child(n + 1) {
    font-style: normal;
}

.select {
    margin: 1rem 0rem;
}

#refer {
    margin-left: 70%;
}

#stormname {
    align: center;
}

.fa-search {
    position: absolute;
    font-size: 28px;
    left: -10px;
    top: -2px;
}

@media only screen and (max-width: 1400px) and (min-width: 980px) {
    .autocomplete-form {
        position: relative;
        text-align: center;
        max-width: 190px;
        width: 80%;
        display: inline-block;
    }

    .fa-search {
        position: absolute;
        font-size: 20px;
        left: -10px;
        top: 1px;
    }

    .station-text-clear-button {
        position: absolute;
        right: -30px;
        font-size: 18px;
        top: -2px;
    }

    #dis {
        font-size: 0.7em;
    }

    .content {
        margin: 0px;
        font-size: 0.8em;
    }

    .autocomplete {
        margin-left: 1rem;
    }

    #refer {
        margin-left: 60%;
    }

    select {
        width: 50%;
    }

    .legend {
        font: 9px Arial, Helvetica, sans-serif;
        line-height: 8px;

    }

    .legend>h4 {
        margin-left: 0px;
        font-size: 1.3em;
    }
    
    .legend>p {
        margin-left: 0px;
        font-size: 1.1em;
        font-weight: bold;
    }

    .legend1 {
        font: 9px Arial, Helvetica, sans-serif;
        line-height: 4px;

    }

    .legend1>h4 {
        margin-left: 0px;
        font-size: 1.3em;
    }


    #map {
        height: 30rem;
    }

    .well {
        height: 31.3rem;
    }

    .content {
        text-align: justify;
        margin: 5px 5px;

    }
}

@media only screen and (max-width: 980px) {
    .legend {
        font: 9px Arial, Helvetica, sans-serif;
        line-height: 8px;
    }

    .legend>h4 {
        margin-left: 0px;
        font-size: 1.3em;
    }

    .legend1 {
        font: 9px Arial, Helvetica, sans-serif;
        line-height: 8px;
    }

    .legend1>h4 {
        margin-left: 0px;
        font-size: 1.3em;
    }

    .content {
        margin: 0px;
        font-size: 0.7em;
    }

    .col-lg-9 {
        margin-top: 20px;
    }

    .well {
        margin-top: 0.3rem;
        height: 21.3rem;
    }

    .content {
        text-align: justify;
        margin: 5px 5px;

    }

    #dis {
        font-size: 0.68em;
    }

}

@media only screen and (max-width: 700px) {

    .well {
        margin-top: 0.3rem;
        height: 27.5rem;
    }

    #refer {
        margin-left: 10%;
    }

    .legend {
        padding: 0px 0px;
        font: 9px Arial, Helvetica, sans-serif;
        line-height: 9px;
    }

    .legend>h4 {
        margin-left: 6px;
        margin-bottom: 2px;
        font-size: 1em;
    }

    .legend1 {
        padding: 0px 0px;
        font: 7px Arial, Helvetica, sans-serif;
        line-height: 4px;
    }

    .legend1>h4 {
        margin-left: 6px;
        margin-bottom: 2px;
        font-size: 1em;
    }

    .content {
        text-align: justify;
        margin: 5px 5px;

    }

    #dis {
        font-size: 0.7em;
    }

    .purple {
        width: 27px;
        height: 25px;
    }

    .purple>rect {
        width: 15px;
        height: 15px;
    }

    .red {
        width: 27px;
        height: 20px;
    }

    .red>rect {
        width: 12px;
        height: 12px;
    }

    .orange {
        width: 27px;
        height: 17px;
    }

    .orange>rect {
        width: 9px;
        height: 9px;
    }

    .yellow {
        width: 27px;
        height: 13px;
    }

    .yellow>rect {
        width: 7px;
        height: 7px;
    }

    .brown {
        width: 27px;
        height: 11px;
    }

    .brown>rect {
        width: 5px;
        height: 5px;
    }

    .white {
        width: 27px;
        height: 19px;
    }

    .white>rect {
        width: 9px;
        height: 9px;
    }

    .leaflet-popup-content {
        font-size: 0.7em;
        padding: 0px;
    }


}
