/*---------------------------------------------------------------------
                             Video Section
-----------------------------------------------------------------------*/
.iq-popup-video,
.iq-popup-video .position-relative {
  min-height: 300px;
}

.iq-video-img {
  position: relative;
}

.iq-video-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.iq-video {
  background: var(--primary-color);
  display: inline-block;
  vertical-align: middle;
  width: 80px;
  height: 80px;
  text-align: center;
  font-size: 32px;
  color: var(--white-color);
  float: left;
  border-radius: 100%;
  line-height: 80px;
  z-index: 9;
  position: relative;
}

.iq-video i::before {
  vertical-align: middle;
}

.iq-waves {
  position: absolute;
  width: 14rem;
  height: 14rem;
  left: -80px;
  top: -80px;
  z-index: 2;
  float: right;
  opacity: 0.2;
}

.iq-waves .waves {
  position: absolute;
  width: 15rem;
  height: 15rem;
  background: var(--primary-color);
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  border-radius: 320px;
  background-clip: padding-box;
  -webkit-animation: waves 3s ease-in-out infinite;
  animation: waves 3s ease-in-out infinite;
}

.iq-waves .wave-1 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.iq-waves .wave-2 {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.iq-waves .wave-3 {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

@-webkit-keyframes waves {
  0% {
    -webkit-transform: scale(0.2, 0.2);
    transform: scale(0.2, 0.2);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }

  50% {
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  }

  100% {
    -webkit-transform: scale(0.9, 0.9);
    transform: scale(0.9, 0.9);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }
}

@keyframes waves {
  0% {
    -webkit-transform: scale(0.2, 0.2);
    transform: scale(0.2, 0.2);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }

  50% {
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  }

  100% {
    -webkit-transform: scale(0.9, 0.9);
    transform: scale(0.9, 0.9);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }
}

.iq-popup-video .iq-video span {
  color: var(--white-color);
}


/* style-2 */
.iq-popup-video.style-two,
.iq-popup-video.style-two .position-relative {
  min-height: auto;
}

.iq-popup-video.style-two .iq-video-img {
  display: inline-flex;
  align-items: center;
}

.iq-popup-video.style-two .iq-video-icon {
  position: static;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.iq-popup-video.style-two .iq-video {
  height: 40px;
  width: 40px;
  line-height: 40px;
  font-size: var(--font-size-body);
}

.iq-popup-video.style-two .iq-waves {
  width: 7rem;
  height: 7rem;
  top: 50%;
  left: 50%;
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  opacity: 0.5;
}

.iq-popup-video.style-two .iq-waves .waves {
  height: 7rem;
  width: 7rem;
}

.iq-popup-video.style-two .video-text {
  margin-left: 30px;
  z-index: 3;
}

.iq-popup-video.style-two .video-text a {
  text-transform: capitalize;
  font-family: var(--highlight-font-family);
  font-size: var(--font-size-h5);
  line-height: var(--font-line-height-h5);
  font-weight: var(--font-weight-bold);
  color: var(--tertiry-color);
}

.iq-popup-video.style-two .video-text a:hover {
  color: var(--primary-color);
}