/* homepage */
#splash {
    background: url(/assets/img/air-pollution-business-clouds.jpg) no-repeat center;
    background-size: cover;
    display: block;
    position: relative;
}

#splash::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(28,118,143);
    opacity: .3;
}

#splash .card {
    background-color: transparent;
    border: 0 none;
}

#splash .card h4{
    color: white;
    font-weight: 500;
    font-size: 2.5rem;
}

#splash-card-body {
    display: flex;
}

.splash-card-item {
    display: grid;
}

.splash-card-button {
    justify-self: center;
    max-width: fit-content;
    background-color: #fa991c;
    color: white;
}

.splash-card-button:hover {
    background-color: rgb(28, 118, 143);
    color: white;
}

#splash #highlights {
    width: 100%;
    opacity: .85;
}

#splash #highlights .col {
    opacity: 0.85;
}

#highlights .row {
    flex-wrap: nowrap;
}

@media (max-width: 767px) {
    #highlights .row {
        align-items:flex-start;
    }
    #highlights .row .row {
        flex-direction: row;
        flex-wrap: nowrap;
        padding-left: 0px;
        padding-right: 0px;
    }
    #highlights .row .row .col {
        padding-left: 0px;
        padding-right: 0px;
    }
}

#search_card{
    min-height: 200px;
}

 #home-series-card-row {
    margin-bottom: 5px;
 }

 #home-series-card {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 5px;
    margin: 10px;
}

#home-series-card-img {
    display: flex;
    justify-content: center;
    margin: 5px;
    padding-left: 0px;
    padding-right: 0px;
}

#home-series-card-img img {
    border: none;
    height: 250px;
}

#home-series-card #series-info {
    display: grid;
    justify-content: center;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    text-align:center;
}

#home-series-card #series-info h3 {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

#series-description {
    padding-left: 5px;
    padding-right: 5px;
}

#series-info span {
    justify-self: center;
}

#series-info .series-modal {
    display: grid;
    justify-content: center;
    text-align: justify;
    margin-top: 10px;
}

.series-modal dialog {
    border: solid 2px #002b49;
    border-radius: 5px;
    width: 50%;
}

.series-modal p {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    #home-series-card-row {
        display: flex;
        flex-direction: column;
        margin: .2rem;
    }
    #home-series-card {
        margin: 0px;
        margin-bottom: 10px;
    }
    .series-modal dialog {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .row {
        flex-direction: column;
        align-items: center;
        margin: 10px;
    }
}