﻿.video-thumbnail {
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    height: 250px;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.video-thumbnail-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#videoCardContainer {
    margin-top: 25px;
}

#fullScreenVideo {
    object-fit: contain;
}

#videoLibraryModalBody {
    max-width: 900px !important;
}

    #videoLibraryModalBody .modal-content {
        background-color: transparent !important;
        box-shadow: none !important;
    }

#fullScreenVideoModal .modal-header {
    border-radius: 0px;
}

#videoLibraryVideoContainer {
    display: grid;
}

#videoLibraryHeroContents {
    z-index: 2;
    position: relative;
}

#videoLibraryHeroContainer {
    position: relative;
    overflow: hidden;
    padding-top: 15px;
}

.featured-video-container {
    height: inherit;
}

.featured-video {
    width: 100%;
    height: 370px;
    background-position: center;
    background-size: cover;
    position: relative;
    border-radius: 10px;
}

.featured-video-text {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.featured-embedded-iframe-parent {
    height: inherit !important;
}

.featured-video-text-container {
    z-index: 1;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.video-play-button {
    font-size: 3.5em;
    background-color: transparent;
    padding: 0;
    color: #fff;
    height: 100%;
    width: 100%;
    z-index: 1;
}

    .video-play-button:hover {
        color: rgba(255, 255, 255, 0.7);
    }

#videoThumbnailPreview {
    width: 25%;
    border-radius: 10px;
}

.read-more-button-media {
    margin-bottom: 15px;
}

.play-media-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    border-radius: 20px;
    height: 40px;
    width: 40px;
}

#playVideoFromReadMore {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    border-radius: 20px;
    height: 40px;
    width: 40px;
}

.play-media-button-icon {
    margin-left: 2px;
}

.play-video {
    cursor: pointer;
}

.media-button-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

@media (max-width:767px) {

    #videoLibraryModalBody .modal-header .close {
        font-size: 1em !important;
    }

    .featured-video{
        height: 250px;
    }

    #videoCardContainer {
        padding-right: 0px;
        padding-left: 0px;
    }

    #fullScreenVideoModalTitle {
        font-size: 1em;
    }
}