/*Video Icon*/
.media-icon {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.media-icon .popup-videos {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  background: red;
  width: 5em;
  height: 2.5em;
  border-radius: 900px;
  text-align: center;
}

.media-icon .popup-videos:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 5em;
  height: 2.5em;
  border-radius: 900px;
  animation: pulse-border 1500ms ease-out infinite;
  transition: all 0.3s ease;
  z-index: -1;
}

.media-icon .popup-videos i:before {
  font-size: 1em;
  line-height: 2.5em;
}

.media-icon .popup-videos:hover:before {
  background: var(--brand-color);
}

/*-------------*/
.yp-youtube-video-container-lo {
  position: relative;
  box-shadow: 0 0 20px #999;
}

.yp-youtube-video-container-lo img {
  position: relative;
  z-index: 0;
  max-width: 100%;
  border-radius: 4px;
}

.yp-youtube-video-overlay-lo {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  max-width: 20%;
  display: none;
}

.yp-youtube-video-overlay-lo img {
  max-height: 100px;
}

.yp-youtube-video-overlay-lo-youtube-logo {
  position: absolute;
  right: 24px;
  top: 24px;
  max-height: 50px;
  display: none;
}

.yp-youtube-video-overlay-text-lo {
  position: absolute;
  bottom: 1em;
  right: 1em;
  font-size: 1rem;
  line-height: 1.6rem;
  /* margin-left: 24px; */
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, .75);
  padding: 8px;
  border-radius: 6px;
  /* text-shadow: 3px 3px 3px #000; */
  left: 1em;
}

/*@media only screen and (max-width: 767px) {*/
@media only screen and (max-width: 991px) {
  .yp-youtube-video-overlay-text-lo {
    bottom: 1em;
    right: 1em;
    font-size: 1rem;
    line-height: 1.1rem;
    margin-left: 12px;
    /* text-shadow: 2px 2px 2px #000; */
    left: 1em;
  }

  .yp-youtube-video-overlay-lo img {
    max-height: 50px;
  }
}


/* -------------- new video YT style ----------- */

.top-left-icon::before {
  content:'\f167';
  position: absolute;
  color: #ff5421;
  left: 15px;
  top: 15px;
  font-size: 2rem;
  font-family: 'Font Awesome 5 Brands';

}
.video-container {
  display: flex;
  flex-direction: column;
}
@media (max-width: 767.98px) {
  .video-container {
    border-bottom: 1px solid #cccccc;
  }}
.thumbnail {
  position: relative;
  display: flex;
}
.thumbnail::before {
  content:'\f167';
  position: absolute;
  color: #ff5421;
  right: 15px;
  bottom: 15px;
  font-size: 3rem;
  font-family: 'Font Awesome 5 Brands';
}
.thumbnail-image {
  width: 100%;
  height: 100%;
  /*min-width: 250px;
  min-height: 150px;*/
  background-color: #aaa;
  border-radius: 4px;
}
.video-bottom-section {
  display: flex;
  align-items: flex-start;
  margin-top: 1rem;
}
.channel-icon {
  margin-right: .75rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background-color: #aaa;
}
.video-details {
  display: flex;
  flex-direction: column;
}
.video-titles {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: .5rem;
  text-decoration: none;
  color: black;
  line-height: 1em;
}
.video-channel-name {
  margin-bottom: .1rem;
  text-decoration: none;
  transition: 150ms;
}
.video-channel-name:hover {
  color: #ff5421;
}
.video-channel-name,
.video-metadata {
  color: #555;
}