﻿.video-container {
    position: relative;
}

.videoitem {
    width: 100%;
    position: relative;
}

.VideosContent .card-text {
    font-weight: 700;
    margin-bottom: 20px;
}

.VideosContent .VideoType {
    color: #ff6a00;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 0;
}

.VideosContent .playicon {
    opacity: 0.7;
    font-size: 36px;
    margin-left: -12px;
    margin-top: -28px;
    cursor: pointer;
}

.VideosContent .playicon:hover {
    opacity: 1;
}

.playicon {
    position: absolute;
}

.play-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.play-overlay a .fas, .play-overlay a .fa-solid {
    color: #fff;
}

.play-overlay a {
    display: block;
    position: relative;
    height: 42px;
    width: 42px;
    text-align: center;
    line-height: 42px;
    background: rgba(255, 150, 0, 0.8);
    border-radius: 50%;
    cursor: pointer;
}

.play-overlay a::before {
    position: absolute;
    content: '';
    width: 56px;
    height: 56px;
    left: -6px;
    top: -6px;
    transform: translateX(-50%) translateY(-50%);
    background: rgba(255, 150, 0, 0.4);
    z-index: -1;
    border-radius: 50%;
    animation-fill-mode: both;
    animation: witr_squares 1.5s ease-in-out infinite;
}

.witr_all_color_v i {
    color: #3149E7;
    background-color: #FFFFFF;
}

.play-overlay svg {
    color: #fff;
    font-size: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* witr_squares_ */
@keyframes witr_squares {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    20% {
        transform: scale(1.24);
        opacity: 1;
    }

    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}


/*---------------Video Modal----------------*/

.VideosContent .modal.show .modal-dialog {
    margin-top: 5%;
}


.VideosContent .modal-header {
    border-bottom: 0;
    padding: 0;
}


.VideosContent .close {
    position: absolute;
    z-index: 3;
    top: 2%;
    right: -2%;
    display: inline-block;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border: 1px dashed rgba(255,255,255,0.7);
    border-radius: 50%;
    padding-top: 2px;
    background: transparent;
    color: rgba(0,0,0,0.7);
    opacity: 0.5;
}

.VideosContent .close:focus {
    outline: 0;
}

.VideosContent .close:before, .VideosContent .close:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 32px;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: rgba(255,255,255,0.7);
    border-radius: 5px;
}

.VideosContent .close:before {
    transform: rotate( 45deg );
}

.VideosContent .close:after {
    transform: rotate( -45deg );
}

.VideosContent .modal-content {
    background-color: transparent;
    border: 0;
    box-shadow: none;
}
@media only screen and (max-width: 576px) {
    .VideosContent .modal.show .modal-dialog {
        margin-top: 20%;
    }
    .VideosContent .close {
        top: 10%;
        right: 5%;
    }
}