
img.stack, img.stacklocked {
    position: absolute;
    width: 100%;
}

#wtshmapcontainer {
    position: relative;
}

.wtshmobilemapcontainer {
    position: relative;
    height: 100%;
    max-height: 400px;
}

.legend {
    cursor: pointer;
    color: #0b3b6d;
}

span.legend {
    padding-left: 5px;
}

.legendisabled {
    color: #666666;
}

#legendcontainer {
    background-color: #b5daf4;
    padding: 10px;
}

#legendtitle {
    color: #0b3b6d;
    font-weight: bold;
    padding: 0px 0 10px 0;
}

.outerdiv {
    display: inline-block;
    width: 33%;
    min-width: 200px;
}

.innerdiv {
    display: inline-block;
    width: 32%;
    min-width: 200px;
}

.hidepicture {
    display: none;
}


/* Checkbox Styling */

.legendcontainer input[type='checkbox'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border:none;
    border-radius: 0;
    font-size: 1em;
    width: 100%
}

/* graceful degradation for ie8 */
#legendcontainer input[type='checkbox'] {
    width:auto;
    float:left;
    margin-right: .75em;
    background:transparent;
    border:none;
}

#legendcontainer input[type='checkbox']:checked,
#legendcontainer input[type='checkbox']:not(:checked) {
    background: transparent;
    position: relative;
    visibility: hidden;
    margin:0;
    padding:0;
}

#legendcontainer input[type='checkbox'] + label {
    cursor: pointer;
}



#legendcontainer input[type='checkbox']:checked + label::before,
#legendcontainer input[type='checkbox']:not(:checked) + label::before {
    content:' ';
    display:inline-block;
    width: 17px;
    height:17px;
    position: relative;
    top:4px;
    border: 1px solid #bbb;
    background: white;
    margin-right: 7px; 
    box-shadow: inset 0 1px 1px 0 rgba(0,0,0,.1);
}


#legendcontainer input[type='checkbox']:hover  + label::before {
    background:#ddd;
    box-shadow: inset 0 0 0 2px white;
}

#legendcontainer input[type='checkbox']:checked  + label::before {
    background: #003064;
    box-shadow: inset 0 0 0 2px white;
}


@media screen and (max-width: 480px) {
    .outerdiv,
    .innerdiv {
        width: 100%;
    }
}