﻿/*Styles the message that appears if scripting is disabled in a browser*/
.topLevelMessage {
    font-size: larger;
    align-content: center;
    text-align: center;
}

.videoSection {
    padding-bottom: 10px;
}

.quickLinks {
    display: block;
}

/*Styles the scroll to top button image*/
.scrollTopButton {
    visibility: hidden; /*hidden by default*/
    position: fixed;
    bottom: 50px;
    width: 50px;
    z-index: 99; /* Make sure it does not overlap */
    border: none;
    outline: none;
    background-color: black; /* Set a background color TESTING ONLY */
    cursor: pointer;
    padding: 15px;
    border-radius: 20px;
    font-size: 50px;
    opacity: .9;
    transition: visibility, opacity 0.5s ease;
    -moz-transition: visibility, opacity 0.5s ease;
    -ms-transition: visibility, opacity 0.5s ease;
    -o-transition: visibility, opacity 0.5s ease;
    -webkit-transition: visibility, opacity 0.5s ease;
}

/***** EXPANDABLE TAB SECTION CONTENT ******/
.expandSymbol, .headerText {
    color: white;
    font-size: 15px;
    font-weight: bold;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-transition: 0.5s;
}

.sectionHeader:hover {
    cursor: pointer; /* Add a mouse pointer on hover */
}

    .sectionHeader:hover .expandSymbol {
        color: red;
    }

    .sectionHeader:hover .headerText {
        color: red;
    }

.expandingSection {
    height: 0px; /* Collapsed by default */
    transition: .5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-transition: 0.5s;
    overflow: hidden; /* Do not show section content when collapsed */
}


/***** THUMBNAIL IMAGE CONTENT ******/
.container {
    position: relative; /*required for the overlay within to position correctly*/
    width: 320px;
    height: 180px;
    overflow: hidden; /*hide any excess of the images that do not fit properly*/
    transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

    .container img {
        width: 100%;
        height: auto;
        display: block;
        cursor: pointer;
        transition: 0.5s;
        -moz-transition: 0.5s;
        -ms-transition: 0.5s;
        -o-transition: 0.5s;
        -webkit-transition: 0.5s;
        border-radius: 3px;
    }

    .container:hover .overlay {
        height: 50%;
    }

    .container:hover .title {
        color: red;
    }

    .container:hover .playButton {
        opacity: .75;
    }

    .container:hover .blackOverlay {
        opacity: .5;
    }

    .container:hover .description {
        opacity: 1;
    }

.overlay {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.85); /*semi-transparent white*/
    overflow: hidden;
    width: 100%;
    height: 25%;
    transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

.caption {
    overflow: hidden;
    padding: 6px;
}

.title {
    font-size: 11pt;
    height: 30%;
}

.playButton {
    position: absolute;
    top: 33%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -67%);
}


/***** MODAL WINDOW CONTENT ******/
.modalTitle {
    padding-top: 100px; /*distance from window to top of video*/
    padding-bottom: 10px;
    display: block;
    margin: auto;
    color: white;
    font-size: 30px;
    text-align: center;
}

/* Caption for Modal Image */
.modalCaption {
    margin: auto;
    display: block;
    text-align: center;
    color: gray;
    padding-top: 25px;
}

.description {
    font-size: 12px;
    opacity: 0;
    height: 70%;
    transition: .6s;
}


.modalWindow {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    margin: auto;
    /*padding-top: 100px; Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* disable scroll **everything needs to fit properly in order for this to not cut off any information!** */
    background-color: rgb(0,0,0); /* Fallback Black w/out opacity */
    background-color: rgba(0,0,0,0.98); /* Black w/ opacity */
}

.modalContentVideo {
    padding-top: 150px;
}

iframe {
    display: block;
    margin: auto;
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: grey;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: white;
        text-decoration: none;
        cursor: pointer;
    }

.modalContentVideo, .modalCaption {
    animation-name: fadeIn;
    animation-duration: 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
