.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: 50%;
    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: .6rem;
    height: .6rem;
    top: -1rem;
    right: 0;
}
  .vidcontainer .video-dialog{
    width: 90%;
  }
}
@media (min-width: 1025px){
    .vidcontainer .closevid:hover{
        transform: rotate(90deg);
    }
}
.blog_dolg{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    cursor: pointer;
    z-index: 999;
}
.blog_dolg .video-dialog{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50%;
    transform: translate(-50%, -50%);
}
.blog_dolg .mask{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .8;
}
.blog_dolg .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;
}
.blog_dolg video{
    width: 100%;
    outline: none;
}

@media (max-width: 767px){
    .blog_dolg .closevid {
        width: .6rem;
        height: .6rem;
        top: -1rem;
        right: 0;
    }
    .blog_dolg .video-dialog{
        width: 90%;
    }
}
@media (min-width: 1025px){
    .blog_dolg .closevid:hover{
        transform: rotate(90deg);
    }
}