.none{
    display: none;
}

.video-modal-overlay {
    
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#start-video {
    position: absolute;
    top: 34%;
    padding: 12px;
    left: 41%;
    opacity: .5;
    cursor: pointer;
    transition: all 0.3s;
    width: 18%;
}

#start-video{
    filter: invert(100%); 
    -webkit-filter: invert(100%);
}

.xCloseBtn:hover,
.btn-close-before:hover,
#start-video:hover
{
    opacity: 1;
    -webkit-filter: brightness (1);
}



.thumbnail, .vid-container{
    max-width: 1000px;
    max-height: 563px; 
    border-radius: 0px;
}


div.thumbnail_container
{
    position: relative;
    max-width: 1000px;
    max-height: 563px; 
    overflow: hidden;
}


.modal-dialogs {
  position: absolute;
  float: left;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.xCloseBtn{
    position: absolute;
    right: 1%;
    top: 1%;
    margin: 10px;
    width: 20px; 
    background-color: rgb(0, 0, 0);
    z-index: 5000000; 
    opacity: 0.3;
}

.btn-close-before{
    position: absolute;
    right: 1%;
    top: 1%;
    margin: 10px;
    width: 20px;
    z-index: 5000000; 
}

.xCloseBtn:active
.xCloseBtn:focus{
    border: none;
}

@media (max-width: 1049px) {

    .modal-dialogs,.thumbnail, 
    .vid-container,
    div.thumbnail_container,
    #player,
    .video-container,
    .video-modal {
        width: 96%;
        height: 49vw;
        margin: 0 auto;
    }
    
    .xCloseBtn,.btn-close-before{
        right: 6%;
        top: 1%; 
    }
    .btn-close-before{
        right: 3%;
        top: 1%; 
    }

    .thumbnail, .vid-container {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0px;
    }

}

