.flexitype-video-icon {
    position: relative;
    text-align: center;
    display: inline-block;
    z-index: 4;
    a {
        position: relative;
        color: #FFFFFF;
        font-size: 20px;
        z-index: 1;
        background: #242424;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        display: flex;
        outline: none;
        align-items: center;
        justify-content: center;
        svg {
            max-width: 20px;
            path {
                fill: #FFFFFF;
            }
        }
    }
}
.video-pulse::after,
.video-pulse::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    border: 1px solid#E8E8E8;
    left: 0;
    top: 0;
    border-radius: 50%;
    animation-duration: 2.5s;
    animation-timing-function: linear;
    animation-name: video-animation;
    animation-iteration-count: infinite;
}
.video-pulse::before {
    animation-delay: 1s;
}
@keyframes video-animation {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      opacity: 0;
      transform: scale(2);
    }
}
.flexitype-video-popup {
    position: fixed;
    height: auto;
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
    width: 100%;
    max-width: 924px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 12px;
    &.active {
        opacity: 1;
        visibility: visible;
    }
    &-video {
        width: 100%;
        height: 0;
        padding-top: 56.25%;
        position: relative;
        border-radius: 5px;
        .video_close {
            position: absolute;
            top: -40px;
            right: 0;
            z-index: 999;
            font-size: 22px;
            cursor: pointer;
            color: #FFFFFF;
            width: 20px;
            svg path {
                fill: #FFFFFF;
            }
            &:hover {
                svg,
                i {
                    animation: rotate 0.4s ease 0s;
                }
            }
        }
        iframe {
            position: absolute;
            display: block;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
        }
    }
}
.video-overlay {
	position: fixed;
	top: 0;
	left: 0;
    width: 100%;
	height: 100%;
	transition: 0.4s;
    visibility: hidden;
    z-index: 9999;
    background: rgba(24, 24, 24, 0.7);
    opacity: 0;
    &.show {
        visibility: visible;
        opacity: 1;
    }
}