.vidcontainer{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    cursor: pointer;
    z-index: 999;
}
.vidcontainer .video-dialog{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 66.67%;
    transform: translate(-50%, -50%);
}
.vidcontainer .mask{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .8;
}
.vidcontainer .closevid{
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../img/close-vid2.png');
    background-size: .35rem;
    border: 1px solid #fff;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    right: -2.5rem;
    cursor: pointer;
    transition: all .3s;
}
.vidcontainer video{
    width: 100%;
    outline: none;
}

@media (max-width: 767px){
  .vidcontainer .closevid{
    width: 1rem;
    height: 1rem;
    top: -1.5rem;
    right: 0;
  }
  .vidcontainer .video-dialog{
    width: 90%;
  }
}
@media (min-width: 1025px){
    .vidcontainer .closevid:hover{
        transform: rotate(90deg);
    }
}