﻿#header-video {
    width: 100%;
    height: 13.25em;
    background-color: #EEE;
    margin-bottom: 4px;
    background-size: cover;
}

.video-play {
    cursor: pointer;
    width: 100%;
    height: 13.25em;
    position: relative;
}

    .video-play .icon {
        position: absolute;
        color: #fff;
        font-size: 3em;
        top: 1em;
        left: 50%;
        text-shadow: 1px 1px 1px rgba(0,0,0,.8);
        margin-left: -20px;
    }

    .video-play .text {
        position: absolute;
        width: 90%;
        text-align: left;
        color: #fff;
        font-weight: 700;
        text-shadow: 1px 1px 1px rgba(0,0,0,.8);
        left: 1em;
        top: 8em;
        line-height: 1.25em;
    }

        .video-play .text h3 {
            font-size: 1.5em;
            font-weight: 700;
            margin: 0;
        }

        .video-play .text h4 {
            font-size: 1em;
            font-weight: 700;
        }

.videos .video.dark {
    border: 1px solid #CCC;
}

    .videos .video.dark .text {
        position: absolute;
        text-align: left;
        color: #333;
        font-weight: 700;
        text-shadow: 1px 1px 1px rgba(0,0,0,.3);
        left: 1em;
        right: 1em;
        top: 7.75em;
        line-height: 1.25em;
    }

#video-canvas {
    width: 100%;
    height: 14em;
}

    #video-canvas .icon {
        position: absolute;
        color: #fff;
        font-size: 3em;
        top: 50%;
        left: 50%;
        text-shadow: 1px 1px 1px rgba(0,0,0,.8);
        background-color: rgba(0,0,0,.75);
        padding: 10px 20px;
        border-radius: 0.125em;
        margin-left: -20px;
        margin-top: 0;
    }

@media only screen and (min-width: 769px) {
    #header-video {
        height: 17.255em;
    }

    #video-canvas {
        width: 100%;
        height: 17.255em;
        margin: 0 auto 0 auto;
    }

    .videos .video {
        margin: 0 0.2em 0.7em 0.2em;
    }

    .video-play {
        width: 100%;
        height: 17.255em;
    }

        .video-play .icon {
            font-size: 5em;
            margin-left: -55px;
            margin-top: 0;
        }

        .video-play .text {
            left: 2em;
            bottom: 2em;
            top: auto;
        }

            .video-play .text h3 {
                max-width: 10em;
                font-size: 2.5em;
            }

            .video-play .text h4 {
                max-width: 20em;
                font-size: 1.25em;
            }

    #video-canvas .icon {
        font-size: 5em;
        margin-left: -55px;
        margin-top: -75px;
        padding: 10px 40px;
    }
}

/* */
/* Opportunity Week ::: Feature was removed ::: Leaving Styles In Case It Is Resurrected  11/7/2023 */
/* */

.fund-bar-container {
    margin: 10px 20px 20px 0px;
    width: fit-content;
    float: left;
}

.fund-bar {
    background: #e3e3e3;
    border-radius: 2rem;
    display: block;
    height: 300px;
    margin: 0 auto;
    padding: 5px;
    position: relative;
    width: 30px;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.1), 1px 0 rgba(255, 255, 255, 0.08), 0 0 1px 1px rgba(9, 30, 66, 0.25);
    transition: box-shadow 200ms;
}

.fund-meter {
    background: linear-gradient(15deg, #c41119, #fb3841);
    border-radius: 1rem;
    display: block;
    width: 20px;
    position: absolute;
    left: 5px;
    bottom: 6px;
    height: 3%;
    animation-name: fundMeter;
    animation-duration: 2s;
    animation-delay: 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.fund-bar > .benchmark {
    position: relative;
    z-index: 1000;
    height: 100%;
    margin-top: -6px;
}

    .fund-bar > .benchmark > div {
        height: 25%;
        margin-left: -45px;
        font-size: .75em;
        color: rgba(0,0,0,.65);
        border-top: 1px solid rgba(0,0,0,.25);
    }

    .fund-bar > .benchmark > div:first-child {
        border-top: 1px solid rgba(0,0,0,0);
    }

.opp-week-grid {
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 2rem;
}

.opp-week-video {
    width: auto;
    max-height: 400px;
    float: right;
    margin: 10px 0px 10px 20px;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
}

@media only screen and (max-width: 1000px) {
    .fund-bar-container {
        margin: 10px auto;
        width: fit-content;
        float: none;
    }

    .fund-bar {
        height: 250px;
    }
    
    .opp-week-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .opp-week-video {
        float: none;
        width: 100%;
        margin: 10px 0px 20px 0px;
        height: auto;
        margin-bottom: 20px;
    }
}

/* END Opp Week Feature */