/* -------------- Video Module ------------- */

.video-wrapper {
  display: flex;
  flex-flow: column;
}

.video-item {
  display: block;
  margin: 0 auto 20px;
  max-width: 420px;
  width: 100%;
  transition-delay: .15s;
}

.video-item a,
.video-item a:visited {
  display: block;
}

.video-item:nth-child(3n+2),
.popup-vid:nth-child(3n+2),
.popup-vid:visited:nth-child(3n+2) {
  transition-delay: .25s;
}

.video-item:nth-child(3n+3),
.popup-vid:nth-child(3n+3),
.popup-vid:visited:nth-child(3n+3) {
  transition-delay: .35s;
}

.video-wrapper.four .video-item:nth-child(4n+1),
.video-wrapper.four .popup-vid:nth-child(4n+1),
.video-wrapper.four .popup-vid:visited:nth-child(4n+1) {
  transition-delay: .15s;
}

.video-wrapper.four .video-item:nth-child(4n+2),
.video-wrapper.four .popup-vid:nth-child(4n+2),
.video-wrapper.four .popup-vid:visited:nth-child(4n+2) {
  transition-delay: .25s;
}

.video-wrapper.four .video-item:nth-child(4n+3),
.video-wrapper.four .popup-vid:nth-child(4n+3),
.video-wrapper.four .popup-vid:visited:nth-child(4n+3) {
  transition-delay: .35s;
}

.video-wrapper.four .video-item:nth-child(4n+4),
.video-wrapper.four .popup-vid:nth-child(4n+4),
.video-wrapper.four .popup-vid:visited:nth-child(4n+4) {
  transition-delay: .45s;
}

.popup-vid:hover,
.popup-vid:focus {
  text-decoration: none;
}

.video-image {
  position: relative;
  margin: 0 auto 15px;
  text-align: center;
}

.video-image img {
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.video-image span {
  background: rgba(0,0,0,.8);
  border-radius: 80px;
  color: #fff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  height: 80px;
  width: 80px;
  position: absolute;
  padding: 0 0 0 4px;
  left: calc(50% - 40px);
  top: calc(50% - 40px);
  z-index: 5;
  transition: all .1s ease 0s;
}

.popup-vid:hover .video-image span,
.popup-vid:focus .video-image span {
  background: rgba(0,0,0,.9);
}

.video-title {
  text-align: center;
  font-size: 20px;
}

@media(min-width: 768px) {
  .video-wrapper {
    flex-flow: row wrap;
  }

  .video-item {
    width: 46%;
  }
}

@media(min-width: 992px) {
  .video-wrapper {
    margin: 0 0 0 -30px;
  }
  
  .video-item {
    margin: 0 0 30px 30px;
    width: calc(33.33% - 30px);
    max-width: none;
  }
}

@media(min-width: 1200px) {
  .video-wrapper {
    margin: 0 0 0 -70px;
  }
  
  .video-item {
    margin: 0 0 30px 70px;
    width: calc(33.33% - 70px);
  }

  .video-wrapper.four {
    margin: 0 0 0 -30px;
  }
  
  .video-wrapper.four .video-item {
    margin: 0 0 30px 30px;
    width: calc(25% - 30px);
  } */
}

@media(min-width: 1600px) {
  .video-wrapper.four {
    margin: 0 0 0 -50px;
  }
  
  .video-wrapper.four .video-item {
    margin: 0 0 30px 50px;
    width: calc(25% - 50px);
  }
}