.team-image {
    max-height: 300px;
    object-fit: contain;
    margin: 1px;
}

#nav a.step-unavailable {
    color: gray !important;
    font-weight: normal;
}

#nav a.step-unavailable:hover {
    background: none;
}

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 99999;
    display: none;
    left: 0;
    top: 0;
    overflow-x: hidden;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

.overlay:target {
    display: block;
}

.overlay .plot {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

.overlay.settings {
    background-image: none;
    background: rgba(0,0,0,0.4);
}

.overlay .settings {
    display: inline-block;
    width: 50%;
    min-width: 300px;
    padding: 2em 1em 2em 1em;
    border: 2px solid gray;
    position: relative;
    margin: 5%;
}

#settings-columns .settings {
    width: 60%;
}

span.help-block {
    padding-inline-start: 2em;
}

div.checkbox > label {
    font: inherit;
    color: #888;
}

input.settings-ddfa-length-factor {
    width: 6em;
}

.settings legend {
    color: #3e3e3e;
    font-weight: 700;
    display: block;
}

/* Apparently centering legend tags is very annoying in HTML5 */
.ddfa-settings-preprocessing legend {
    width: 120px;
    margin: 0 0 0.5em calc(50% - 60px);
}

form .row {
    margin-top: inherit;
}

div.plot-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.form-array-header label {
    text-align: left;
}

._jsonform-array-buttons {
    display: block;
    text-align: left;
    font-size: 1.3em;
    margin: 0.5em;
}

._jsonform-array-buttons a {
    margin-right: 1em;
    padding: 0.5em;
}

.glyphicon {
    text-decoration: none;
    text-decoration: none;
}

.glyphicon::before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.25em;
}

.glyphicon-plus-sign::before {
    content: '\f067';
}

.glyphicon-minus-sign::before {
    content: '\f068';
}

.hidden {
    display: none !important;
}

.icon.featured img {
    width: 30%;
    margin: 0 1em 0 1em;
}

#data-file-uploader {
    text-shadow: none;
}

.error {
    text-shadow: 1px 1px 1px rgba(192, 32, 32, 0.5);
}

.error p {
    margin: 0;
}

.error blockquote {
    border-left: solid 0.5em rgba(192, 32, 32, 0.5);
    background: rgba(192, 32, 32, 0.1);
    display: inline-block;
    padding: 1em 1.5em 1em 1.5em;
}

.result.available {
    width: 100%;
}

a * {
    color: inherit;
}

a.result  {
    text-decoration: none;
    color: black;
}

    a.result:hover {
        transition: none;
        color: black !important;
    }

    .result.loading::before {
        content: "Loading...";
    }

    div.result.loading {
        display: inline-block;
        height: 269px;
    }

    .loading::after {
        content: " ";
        display: block;
        border-radius: 50%;
        border-color: rgba(0,0,0,0.05) rgba(0,0,0,0.1) rgba(0,0,0,0.2) rgba(0,0,0,0.4);
        border-style: solid;
        animation: loading 1.2s linear infinite;
    }

    #results-header-container .loading {
        display: inline-block;
    }

    #results-header-container .loading::after {
        width: 1.5em;
        height: 1.5em;
        border-width: 0.3em;
    }

    div.result.loading::after {
        width: 80px;
        height: 80px;
        border-width: 8px;
    }

    @keyframes loading {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

        .result.unavailable::before {
            content: "These results are unavailable.";
        }

        #results-map-view-preview.result.unavailable::before {
            content: "These results require location data.";
        }

    div.result.available::before {
        width: 80px;
        height: 80px;
        position: absolute;
        content: "";
        z-index: 1000;
        margin: 15px 0 0 25%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto;
        background-image: url(../../images/fontawesome/search-solid.svg);
    }
