@keyframes fadeInOut {
  10% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
}

.lottery-widget {
  margin-bottom: 2rem;
}

.Content-Group .Contenidos .lottery-widget,
div.mainContent .container col-md-8 .lottery-widget,
.bbnx-template .col-8 .lottery-widget {
  margin-bottom: 1rem;
}

.lottery-widget:before {
  content: ' ';
  display: block;
  height: 0.625rem;
  background: #CBCCCD;
  border-top: 2px solid #000;
}

.lottery-widget a, .lottery-widget .lottery-cta {
  text-decoration: none;
}

.lottery-widget a:hover, .lottery-widget .lottery-cta:hover {
  opacity: 0.5;
  transition: 0.2s ease-in-out;
}

.lottery-widget__header {
  overflow: hidden;
}

.lottery-widget__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.lottery-widget__logo picture, .lottery-widget__logo a picture {
  display: block;
  width: 100%;
}

.lottery-widget__publi {
  text-align: center;
  margin: 0 auto 0.25rem;
}

.lottery-widget__finder {
  clear: both;
  margin-top: 16px;
  padding: 0 0.5rem 0.5rem;
}

.lottery-widget__finder * {
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
}

.lottery-widget__finder ::-webkit-input-placeholder {
  text-align: center;
  color: #7d909a;
  font-size: 0.9375rem;
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
  font-style: normal;
}

.lottery-widget__finder :-ms-input-placeholder {
  text-align: center;
  color: #7d909a !important;
  font-size: 0.9375rem;
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
  font-style: normal;
}

.lottery-widget__finder ::-moz-placeholder {
  text-align: center;
  color: #7d909a;
  font-size: 0.9375rem;
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
  font-style: normal;
}

.lottery-widget__finder :focus::-webkit-input-placeholder {
  color: #000;
}

.lottery-widget__finder :focus:-ms-input-placeholder {
  color: #000 !important;
}

.lottery-widget__finder :focus::-moz-placeholder {
  color: #000;
}

.lottery-widget__finder fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-wrap: wrap;
  background-color: transparent;
}

.lottery-widget__finder fieldset legend {
  color: #000;
  text-transform: uppercase;
  font-size: 0.875rem;
  flex-basis: 100%;
  width: 100%;
  margin-bottom: 6px;
}

.lottery-widget__finder fieldset input {
  border: 1px solid #CBCCCD;
  background: #e5e5e5;
  padding: 0.75rem 0 0.75rem 0;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  flex-basis: 100%;
  font-size: 1rem;
  text-align: center;
}

.lottery-widget__finder fieldset input:focus {
  border: 1px solid #000;
  outline: none;
  color: #000;
  background-color: #fff;
}

.lottery-widget__winners {
  padding: 0.5rem;
}

.lottery-widget__winners .win-number {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  min-width: 6.875rem;
  margin-bottom: 0;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .lottery-widget__winners .win-number {
    margin-bottom: 0;
  }
}

.lottery-widget__winners .win-number dt {
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .lottery-widget__winners .win-number dt {
    font-weight: 400;
    font-size: 1.25rem;
  }
}

.lottery-widget__winners .win-number dt span {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1;
  color: #7d909a;
}

.lottery-widget__winners .win-number dd {
  margin: 0;
  padding: 0;
}

.lottery-widget__winners .win-number dd a {
  font-family: "Roboto Condensed", ArizonaSans, roboto_condensedregular, sans-serif;
  color: #000;
  font-size: 2.375rem;
  line-height: 1;
}

.lottery-widget__winners .win-number.gordo {
  color: #004d71;
  min-width: 7.8125rem;
  font-size: 1.375rem;
  line-height: 0.9;
}

@media (max-width: 600px) {
  .lottery-widget__winners .win-number.gordo {
    font-size: 1.375rem;
  }
}

.lottery-widget__winners .win-number.gordo dt {
  font-weight: 700;
  font-size: 1.5rem;
}

.lottery-widget__winners .win-number.gordo span {
  color: #7d909a;
  display: block;
  margin-top: 0.25rem;
}

.lottery-widget__winners .win-number.gordo dd a {
  color: #004d71;
  font-size: 2.625rem;
  line-height: 0.9;
  font-weight: 700;
}

.lottery-widget__winners .win-number.cuarto dd {
  display: flex;
}

.lottery-widget__winners .win-number.cuarto dd a {
  font-size: 2rem;
  display: block;
  padding: 0.25rem 0 0.375rem 0.375rem;
  position: relative;
  text-align: right;
}

.lottery-widget__winners .win-number.cuarto dd a + a:before {
  content: " | ";
  color: #CBCCCD;
  position: relative;
  top: -1px;
}

.lottery-widget__winners .win-number.quinto {
  display: block;
}

.lottery-widget__winners .win-number.quinto dd {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 10px 5px;
  margin-top: 1.125rem;
}

@media (max-width: 600px) {
  .lottery-widget__winners .win-number.quinto dd {
    grid-template-columns: auto auto auto auto;
    margin-top: 1.125rem;
  }
}

.lottery-widget__winners .win-number.quinto dd a {
  font-size: 1.5rem;
  line-height: 1.125rem;
  justify-self: center;
  align-self: end;
}

@media (max-width: 600px) {
  .lottery-widget__winners .win-number.quinto dd a {
    font-size: 1.5rem;
  }
}

.lottery-widget__external__list, .lottery-widget__rrss-links__list {
  list-style-type: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.lottery-widget__external__list *, .lottery-widget__rrss-links__list * {
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #000;
}

.lottery-widget__external__list img, .lottery-widget__rrss-links__list img {
  width: 2.25rem;
}

.lottery-widget__external__list li + li:before, .lottery-widget__rrss-links__list li + li:before {
  content: " | ";
  position: relative;
  left: -0.3125rem;
  top: -1px;
}

.lottery-widget__external__item, .lottery-widget__rrss-links__item {
  padding: 0.25rem 0.375rem;
  position: relative;
}

.lottery-widget:after {
  content: ' ';
  display: block;
  height: 0.625rem;
  background: #CBCCCD;
  border-top: 2px solid #000;
}

.lottery-widget__rrss-links__list {
  justify-content: center;
}

.lottery-widget__rrss-links__list li + li:before {
  content: "";
}

.lottery-cta {
  font-weight: 700;
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  outline: none;
}

.lottery-cta--comprobar {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 0.625rem 0.5rem;
  font-size: 1.125rem;
  text-align: center;
}

@media (max-width: 480px) {
  .lottery-cta--comprobar {
    margin-bottom: 0.5rem;
  }
}

.lottery-cta--see-more {
  background: #000;
  color: #fff;
  padding: 0.625rem 2.5rem;
  font-size: 1.125rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.see-more {
  padding: 1.5rem 0;
  margin-bottom: 1.25rem;
  /*  background: $c-lightgrey; */
}

.hide-content {
  display: none !important;
}

.live-narrative .lottery-widget__header {
  align-items: center;
}

.live-narrative .text-link,
.live-narrative a {
  color: #004d71;
  background-image: linear-gradient(90deg, #004d71 20%, rgba(255, 255, 255, 0) 0);
  background-position: bottom;
  background-size: 3.5px 1px;
  background-repeat: repeat-x;
}

.live-narrative__live-kicker {
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  font-weight: 700;
  height: auto;
  color: #980b1b;
}

.live-narrative__live-kicker--active:before {
  content: "";
  display: block;
  /* position: absolute; top: 7px; left: -16px; */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
  left: -8px;
  background-color: #980b1b;
  animation: fadeInOut 2s infinite;
}

@media (max-width: 600px) {
  .live-narrative__live-kicker {
    font-size: 0.8125rem;
  }
}

.live-narrative__header {
  padding-bottom: 0.75rem;
}

.live-narrative__header-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-narrative__header-content {
  margin-top: 1.25rem;
}

.live-narrative__header-content * {
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
}

.live-narrative__header-content p {
  font-size: 1rem;
  line-height: 1.5;
}

.live-narrative__header-footer {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto auto;
  font-family: "Roboto Condensed", ArizonaSans, roboto_condensedregular, sans-serif;
  margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
  .live-narrative__header-footer {
    display: block;
  }
}

.live-narrative__header-footer .live-narration-data__signature {
  grid-row: 1/2;
  grid-column: 1/2;
}

.live-narrative__header-footer .live-narration-data__time {
  grid-row: 2/3;
  grid-column: 1/2;
}

.live-narrative__header-footer .live-narration-data__time span {
  display: inline-block;
  padding: 0.125rem 0.375rem 0.125rem 0rem;
}

.live-narrative__header-footer .live-narration-data__time span + span {
  padding: 0.25rem 0.375rem;
}

.live-narrative__header-footer .live-narration-data__time span + span:before {
  content: " | ";
  position: relative;
  left: -0.3125rem;
  top: -1px;
}

.live-narrative__header-footer .live-narration-data__hour {
  color: #7d909a;
}

.live-narrative__header-footer .live-narration-data__last-update {
  color: #980b1b;
}

.live-narrative__header-footer .lottery-widget__rrss-links {
  grid-row: 1/3;
  grid-column: 2/3;
}

.live-narrative__header-footer .lottery-widget__rrss-links__list {
  justify-content: flex-end;
  margin: 0 0 0;
}

@media (max-width: 600px) {
  .live-narrative__header-footer .lottery-widget__rrss-links__list {
    margin-top: 0.5rem;
  }
}

.live-narrative__header-footer .lottery-widget__rrss-links:after {
  display: none;
}

.live-narrative__header-media__img img {
  width: 100%;
  height: auto;
  min-height: 24.0625rem;
  object-fit: contain;
}

@media (max-width: 600px) {
  .live-narrative__header-media__img img {
    min-height: initial;
  }
}

.live-narrative__header:after {
  content: ' ';
  display: block;
  height: 2px;
  background: #CBCCCD;
  margin-top: 0.5rem;
}

.live-narrative .lottery-widget__logo {
  width: 140px;
}

.live-narrative .lottery-widget__logo__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 600px) {
  .live-narrative .lottery-widget__logo {
    width: 110px;
  }
}

.live-narrative .video_principal-dimensions {
  width: 100% !important;
}

@media (min-width: 480px) and (max-width: 599px) {
  .live-narrative .video_principal-dimensions {
    height: 339px;
  }
}

@media (max-width: 480px) {
  .live-narrative .video_principal-dimensions {
    height: 204px;
  }
}

.live-narrative__heading {
  font-size: 2.25rem;
  color: #000;
  line-height: 1.1;
  margin-top: 1.125rem;
  margin-bottom: 1.125rem;
}

@media (max-width: 600px) {
  .live-narrative__heading {
    font-size: 1.875rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

.live-narrative__subheading {
  font-size: 1.625rem;
  color: #4a4a4a;
  text-transform: none;
  margin-top: 12px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.live-narrative__subheading:before {
  display: none;
}

@media (max-width: 600px) {
  .live-narrative__subheading {
    font-size: 1.375rem;
  }
}

.live-narrative .twitter-timeline {
  width: 98% !important;
  border: 1px solid #ededed !important;
}

.live-narrative__content {
  overflow: hidden;
  overflow-y: scroll;
  height: 75vh;
  max-height: 600px;
}

.live-narrative__content::-webkit-scrollbar {
  width: 6px;
}

.live-narrative__content::-webkit-scrollbar-thumb {
  width: 6px;
  height: 85px;
  background: #CBCCCD;
}

.live-narrative__content::-webkit-scrollbar-track {
  height: 6px;
  background: #e6e6e6;
  border-radius: 2px;
}

.live-narrative__post {
  display: grid;
  grid-template-columns: 20% 1fr;
  grid-template-rows: auto auto;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #CBCCCD;
}

.live-narrative__post * {
  font-family: "Open Sans", "Roboto", robotoregular, sans-serif;
}

.live-narrative__post:last-of-type {
  margin-bottom: 0;
  border-bottom: 1px solid #ededed;
}

.live-narrative__post p {
  font-size: 1rem;
}

.live-narrative__post__time {
  grid-row: 1/3;
  grid-column: 1/2;
}

.live-narrative__post__hour {
  color: #7d909a;
  font-weight: 700;
  font-size: 1.125rem;
}

@media (max-width: 600px) {
  .live-narrative__post__hour {
    font-size: 0.8125rem;
  }
}

.live-narrative__post__contents {
  grid-row: 1/2;
  grid-column: 2/3;
}

.live-narrative__post__contents iframe {
  width: 100%;
}

@media (max-width: 480px) {
  .live-narrative__post__contents iframe {
    padding-bottom: 24%;
    margin-bottom: -40px;
  }
}

@media (min-width: 480px) and (max-width: 599px) {
  .live-narrative__post__contents iframe {
    padding-bottom: 6%;
    margin-bottom: -30px;
  }
}

.live-narrative__post__contents p a {
  color: #000;
  font-weight: 700;
  background-image: linear-gradient(90deg, #000 20%, rgba(255, 255, 255, 0) 0);
  background-position: bottom;
  background-size: 3.5px 1px;
  background-repeat: repeat-x;
}

@media (max-width: 480px) {
  .live-narrative__post__contents .twitter-tweet.twitter-tweet-rendered iframe {
    width: 94% !important;
  }
}

.live-narrative__post .lottery-widget__rrss-links {
  grid-row: 2/3;
  grid-column: 2/3;
}

.live-narrative__post .lottery-widget__rrss-links__list {
  justify-content: flex-start;
}

.live-narrative__post .lottery-widget__rrss-links:after {
  display: none;
}

.live-narrative__post .text-link {
  font-weight: 700;
}

.live-narrative__post h2 {
  text-transform: none;
  font-size: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .live-narrative__post h2 {
    font-size: 1.25rem;
  }
}

.live-narrative__post h2:before {
  display: none;
}

.live-narrative__post__img img {
  width: 98%;
  height: auto;
  object-fit: contain;
}
