:root {
  --color-white-video-yt: #fff;
  --color-bg-video-yt: #0b1215;  
}

* {
  margin: 0;
  padding: 0;
}

svg:not(:root).svg-inline--fa {
  overflow: visible;
}

.svg-inline--fa {
  display: inline-block;
  font-size: inherit;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}

.svg-inline--fa.fa-w-10 {
  width: 0.625em;
}

.svg-inline--fa.fa-w-11 {
  width: 0.6875em;
}

.wrapper-yt {
  width: 100%;
  margin: auto;
  position: relative;
  max-width: calc(100% - 60px);
}

@media screen and (min-width: 1200px) {
  .wrapper-yt {
    max-width: 1180px;
  }
}

figure {
  display: block;
  margin: 0;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.floatFix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.titleVideoLive {
  font-family: archivo, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white-video-yt);
  -webkit-backface-visibility: hidden;
  transition: all 0.2s ease;
  font-size: 1.2rem;
}

/* YouTube Video Popup Styles */
.vivo-home {
  position: relative;
  background: var(--color-bg-video-yt);
}

.vivo-home .wrapper-yt {
  padding: 16px 0px;
}

.vivo-home .close-live {
  font-size: 1.4rem;
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--color-white-video-yt);
}

@media (max-width: 420px) {
  .vivo-home .close-live {
    top: -15px;
    right: -10px;
  }
}

.vivo-home .videoMeta {
  margin: auto;
  transition: all 0.3s ease;
}

.vivo-home .videoMeta.hidden {
  height: 0;
  overflow: hidden;
}

@media (max-width: 620px) {
  .vivo-home .videoMeta {
    max-width: none;
  }
}

.vivo-home .titleVideoLive {
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 10px 0px;
}

.vivo-home figure {
  display: block;
  float: none;
  margin: 0 0 10px;
  text-align: center;
  max-width: none;
}

.vivo-home figure img {
  width: 100%;
  border-radius: 5px;
}

@media screen and (min-width: 640px) {
  .vivo-home figure {
    float: left;
    margin: 0 20px 0 0;
    max-width: 200px;
  }
}

.vivo-home .open-live {
  font-size: 0.8rem;
  line-height: 0.9;
  color: var(--color-white-video-yt);
  text-decoration: none;
}

.vivo-home .open-live span {
  display: inline-block;
  font-size: 1.2rem;
  margin: 0 0 0 6px;
  vertical-align: -4px;
}

.vivo-home .videoFrame {
  max-width: 720px;
  width: 100%;
  height: auto;
  margin: auto;
}

.vivo-home .videoFrame.active {
  display: block;
  height: auto;
}

.videoHidden {
  display: none;
}

:target:before {
  content: "";
  display: block;
  height: 100px;
  margin: -100px 0 0;
}

/* Clase necesaria para el contenedor de video */
.m_video_live {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.m_video_live iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px;
}

/* Live */
.story-card-live-ctn {
  background: var(--color-alerta-video-yt);
  border-radius: 19px;
  color: var(--color-white-video-yt);
  -moz-column-gap: 4px;
  column-gap: 4px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1px;
  width: 76px;
}

.story-card-live-ctn,
.story-card-ring {
  align-items: center;
  display: flex;
  justify-content: center;
}

.story-card-ring {
  border-radius: 50%;
  border: 1px solid var(--color-alerta-video-yt);
  box-sizing: content-box;
  height: 10px;
  width: 10px;
}

.story-card-dot {
  background-color: var(--color-white-video-yt);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.blinker-live-white {
  animation: blinkerLiveWhite 3s linear infinite;
}

.blinker-live-red {
  animation: blinkerLiveRed 3s linear infinite;
}

@media only screen and (min-width: 769px) {
  .story-card-live-ctn {
    margin-bottom: 2px;
  }
}

@media only screen and (min-width: 992px) {
  .story-card-live-ctn {
    margin-bottom: 0;
  }
}

@media (max-width: 765px) {
  .wrapper-yt {
    max-width: 100%;
  }
  .close-live {
    display: none !important;
  }
  .vivo-home .wrapper-yt {
    padding: 5px 10px;
  }
  .m_video_live iframe {
    border-radius: 0px;
  }
}

@keyframes blinkerLiveWhite {
  50% {
    border: 1px solid var(--color-white-video-yt);
  }
}
@keyframes blinkerLiveRed {
  50% {
    background-color: var(--color-alerta-video-yt);
  }
}
