/*
 Theme Name:   elToroTV.com
 Theme URI:    https://eltorotv.com
 Description:  elToroTV.com
 Author:       Hadoq
 Author URI:   https://hadoq.com
 Template:     hadoq
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*MENU*/

.sub-menu {
  position: absolute;
  visibility: hidden;
  z-index: 900;
  background-color: #ffffff;
  border-top: 2px solid #000;
  width: 250px;
  margin-top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-navigation li.programas {
  position: unset;
}

.main-navigation li:hover > div.sub-menu {
  list-style: none;
  visibility: visible;
}

.main-navigation li.programas:hover > div.sub-menu {
  list-style: none;
  visibility: visible;
  display: flex;
  flex-direction: row;
  top: 226px;
  width: 80%;
  max-width: 1200px;
  padding: 0 16px 5px;
  left: 0;
  right: 0;
  margin: auto;
  height: auto;
}

.sub-menu-list > li {
  width: 100%;
  padding: 0.35rem 1rem;
}

.featured-container {
  display: flex;
  flex-wrap: wrap;
}

.featured-container .featured-item {
  padding: 5px;
  flex: 1 1 50%;
  max-width: 50%;
}

.featured-container .featured-item > a {
  width: 100%;
  display: flex;
  height: 130px;
  -webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
  -moz-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
  box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
}

.featured-container .featured-item > a > div {
  flex: 1 1 100%;
  align-self: center;
  text-align: center;
  padding-left: 0.5em;
}

.featured-container .featured-item img {
  height: 100%;
  flex: 1 1 100%;
  object-fit: contain;
  max-width: 200px;
}

.featured-list {
  flex: 1 1 70%;
  padding: 0 20px 0 0;
}

.elements-list {
  flex: 1 1 30%;
  overflow: hidden;
}

.elements-list .sub-menu-list {
  overflow: scroll;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  max-height: 414px;
}

.card {
  webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
  -moz-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
  box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
  border-radius: 5px;
}

.card:hover {
  webkit-box-shadow: 0px 5px 9px 1px rgba(0, 0, 0, 0.32);
  -moz-box-shadow: 0px 5px 9px 1px rgba(0, 0, 0, 0.32);
  box-shadow: 0px 5px 9px 1px rgba(0, 0, 0, 0.32);
}

.contenedor-programa .card .card-part {
  flex: 1 1 100%;
  align-self: center;
  justify-self: center;
}

.contenedor-programa .card .card-part.text,
.contenedor-programa .card .card-part .name {
  font-size: 2em;
  padding: 0 15px 0 0;
}

/* Top Navigation Desktop */
@media (min-width: 1025px) {
  .site-header .site-branding {
    flex: 1 0 100%;
    justify-content: center;
  }
  /*    .site-header .site-branding #logo {
        max-height: 100%;
        
    }
	*/
  .site-header .main-navigation {
    flex: 1 0 auto;
    justify-content: flex-end;
  }
  .site-header .nav-search {
    flex: 0.75 0 auto;
    text-align: left;
  }
}

.site-header .site-branding #logo {
  max-height: unset;
}

.sub-menu a {
  text-decoration: unset;
}

.post header img {
  margin: 0 auto;
}

.post-thumbnail a {
  position: relative;
}

.post-thumbnail.post-is-video a:before {
  content: "\f144";
  position: absolute;
  bottom: 5%;
  right: 5%;
  z-index: 2;
  font: normal normal normal 40px/1 FontAwesome;
  color: #fff;
  opacity: 0.9;
}

.post-thumbnail.post-is-video a:after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: rgba(0, 0, 0, 0)
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 0px, #303035 100%) repeat 0 0;
  z-index: 1;
}

aside .widget .widget-title {
  padding-top: 1.5rem;
}

aside .widget .widget-title:first-child {
  padding-top: 0;
}

/*Footer*/
#colophon {
  display: flex;
  flex-direction: column;
}

#colophon .site-info {
  padding: 1.5rem;
  text-align: center;
  order: 2;
}

#colophon .footer-socials {
  margin-left: 0;
  padding: 1rem 0;
  order: 1;
  margin: 0;
}

#n3s_poster_image .liveAccessButton {
  display: none;
}

#n3s_poster_image .activeSignal {
  display: none;
}

div.grwf2-wrapper.wf2-embedded {
  z-index: 10 !important;
}

.search-field,
.search-field::placeholder {
  color: #fff !important;
  font-weight: bold;
  font-size: 1.2rem !important;
  padding: 1.5rem !important;
}

.contenido_flexible {
  width: 100%;
}

/* categories slider */
.cat-slider-container {
  position: relative;
  overflow: hidden;
}

.cat-slider-container .cat-slider-elements {
  width: fit-content;
  display: flex;
  padding: 0 20px;
  height: 100%;
  transition: all 0.5s ease-in-out 0.1s;
}

.cat-slider-container .cat-slider-elements .element {
  display: inline-block;
  height: 135px;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 0.8em;
  width: 33vw;
  padding-right: 17px;
}

@media screen and (max-width: 1099px) {
  .cat-slider-container .cat-slider-elements .element {
    /*tablet*/
    width: 50vw;
  }
}

@media screen and (max-width: 749px) {
  .cat-slider-container .cat-slider-elements .element {
    /*mobile*/
    width: 100vw;
  }
}

.cat-slider-container .cat-slider-elements .element .element-card {
  padding: 5px 5px;
  display: flex;
  height: 100%;
  position: relative;
  width: calc(33vw - 80px);
  margin: 0 30px;
}

.cat-slider-container .cat-slider-elements .element .element-card div > span {
  font-size: 0.9em;
}

.cat-slider-container .cat-slider-elements .element.directo .element-card {
  -webkit-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
  -moz-box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
  box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.32);
}

.cat-slider-container
  .cat-slider-elements
  .element.directo
  .element-card:after {
  content: "En directo";
  background-color: crimson;
  height: 26px;
  line-height: 26px;
  width: 80px;
  text-align: center;
  border-radius: 6%;
  position: absolute;
  top: 5px;
  right: 15px;
  color: white;
  -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.32);
  -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.32);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.32);
}

@media screen and (max-width: 1099px) {
  .cat-slider-container .cat-slider-elements .element .element-card {
    margin: 0 15px 0;
    width: calc(50vw - 80px);
    margin: 0 30px;
  }
}

@media screen and (max-width: 749px) {
  .cat-slider-container .cat-slider-elements .element .element-card {
    width: calc(100vw - 80px);
    font-size: 0.9em;
    margin: 0 30px;
  }
}
.element .element-card .program-title {
  font-size: 1.3em;
}

.cat-slider-container .cat-slider-controls {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 0 9px 0;
  cursor: pointer;
}

.cat-slider-container .cat-slider-controls.left {
  left: 0;
}
.cat-slider-container .cat-slider-controls.right {
  right: 0;
}
.cat-slider-container .cat-slider-controls > div {
  display: flex;
  z-index: 1;
  background: whitesmoke;
  width: 30px;
  justify-content: center;
  align-items: center;
}

.cat-slider-container .cat-slider-controls > div:hover {
  background: #eee;
}

.cat-slider-container .cat-slider-controls > div > div {
  width: 30px;
  text-align: center;
  margin: auto 0;
}

/**Ajustes Generales para el Footer 03/03/2020 Raúl**/
#colophon {
  display: flex;
  flex-direction: column;
}

.site-footer {
  background-color: #f1f5f8;
  color: #333333;
}

.site-footer a {
  color: #333333;
}

.site-footer li {
  list-style: none;
  text-align: left;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 2.2;
}

/**Footer 4 columnas**/

.site-footer .footer-columns h2 {
  font-family: "Roboto", sans-serif;
  padding: 0 20px;
}

.site-footer .footer-columns h4 {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
}

.site-footer .footer-columns a {
  text-align: center;
  display: block;
}

.site-footer .footer-columns ul,
ol {
  margin: 0 0 1.5em 0;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .site-footer .footer-columns {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
  }

  .site-footer .footer-columns section {
    padding: 1rem 0;
  }

  .site-footer .footer-columns ul,
  ol {
    margin: 0 0 1.5em 0;
    padding: 0 20px;
  }

  .site-footer .footer-columns a {
    text-align: left;
    display: block;
  }

  .site-footer .footer-columns h2 {
    text-align: left;
  }

  .site-footer .footer-columns section:last-child h2 {
    text-align: center;
  }
}

.redes-sociales {
  margin-bottom: 40px;
}

.iconos-redes-sociales i {
  font-size: 20px;
  padding: 10px;
  background-color: #cccccc;
  border-radius: 100%;
  color: #000000;
  margin: 5px;
}

.iconos-redes-sociales:first-child i {
  padding: 10px 13px;
}

.site-footer .datos-de-contacto {
  margin: 10px 0 30px 0;
}

.site-footer .datos-de-contacto p,
.site-footer .datos-de-contacto a {
  font-size: 15px;
  color: #555555;
  margin: 8px 0;
}

@media (min-width: 768px) {
  .redes-sociales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .datos-de-contacto {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer .datos-de-contacto a {
    display: block;
    text-align: center;
  }
}

/**Barra negra inferior en el Footer**/

#colophon .site-info {
  padding: 1.5rem 0;
  order: 2;
  background-color: #000000;
}

@media only screen and (min-width: 480px) {
  #colophon .site-info {
    overflow: auto;
  }
}

#colophon .site-info .contenedor-img {
  display: none;
}

#colophon .site-info .enlaces-footer {
  display: flex;
  flex-direction: column;
  margin: 0 0 1.5rem 0;
}

#colophon .site-info a {
  color: #ffffff;
  font-size: 14px;
}

@media only screen and (min-width: 1024px) {
  #colophon .site-info .enlaces-footer {
    margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .site-footer .barra-negra {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  #colophon .site-info .contenedor-img {
    display: block;
    width: 25%;
    margin: 0 0 0 20px;
  }

  #colophon .site-info .enlaces-footer {
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #colophon .site-info .enlaces-footer a {
    margin-right: 10px;
  }

  #colophon .site-info .contenedor-img-azul {
    width: 18%;
  }

  #colophon .site-info .contenedor-img-azul img {
    max-width: 34%;
  }
}

/*Color de fuente del footer en Archive 
22/04/2020
Raul Angeli*/

.archive .site-footer a {
  color: #333;
}

/*ESTILOS PARA PAGINA EN DIRECTO
22/04/2020
RAUL ANGELI*/

.contenedor-datos-programa {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.titulo-programa-directo {
  text-align: center;
  flex: 1 1 100%;
}

.contenedor-datos-programa .imagen-y-descripcion {
  display: flex;
  flex-direction: column;
}

.chat {
  flex: 1 1 100%;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .imagen-y-descripcion .imagen-principal-programa {
    width: 100%;
    margin: 20px;
  }

  .contenedor-datos-programa .imagen-y-descripcion {
    flex-direction: column;
    align-items: center;
    flex: 1 1 100%;
  }
}
.contenedor-ultimos-programas .subtitulo {
  text-align: center;
}

.contenedor-botones {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  .contenedor-botones {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-top: 40px;
  }
}

.contenedor-botones .boton {
  max-width: 95%;
  width: 100%;
}

@media only screen and (min-width: 481px) {
  .contenedor-botones .boton {
    width: auto;
    max-width: 100%;
  }
}

.contenedor-botones .boton a {
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 1.1rem;
  background-color: #0db8c4;
  transition: all 0.2s ease-in-out;
  display: block;
  margin-bottom: 15px;
  text-align: center;
  border: 1px solid #0db8c4;
}

.contenedor-botones .boton a:hover {
  background-color: #fff;
  color: #0db8c4;
}

/*LISTA DE ARTICULOS*/

.contenedor-lista-articulos {
  margin-top: 40px;
  margin-bottom: 40px;
}

.contenedor-lista-articulos article {
  margin-top: 25px;
}

.contenedor-lista-articulos .contenedor-articulo {
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .contenedor-lista-articulos .contenedor-articulo {
    flex-direction: row;
    align-items: center;
  }
}

.contenedor-articulo .contenedor-imagen-post {
  width: 100%;
  max-width: 95%;
}

@media only screen and (min-width: 768px) {
  .contenedor-articulo .contenedor-imagen-post {
    max-width: 30%;
    width: 100%;
    flex-grow: 1;
  }
}

.contenedor-articulo .titulo-entrada .titulo {
  font-size: 1.3rem;
  text-align: center;
  margin: 0 0 50px 0;
}

@media only screen and (min-width: 768px) {
  .contenedor-articulo .titulo-entrada .titulo {
    margin: 0 0 0 20px;
    font-size: 1.4rem;
    text-align: left;
  }
}

.contenedor-entrada {
  flex-grow: 3;
}

.paginacion-programas {
  display: flex;
  justify-content: center;
}

.enlaces-navegacion,
.enlaces-navegacion a {
  font-size: 1.1rem;
  margin-right: 10px;
}

.enlaces-navegacion a:first-of-type {
  margin-left: 10px;
}

.enlaces-navegacion a:last-of-type {
  margin-right: 0px;
}

@media only screen and (max-width: 480px) {
  aside {
    display: none;
  }
}

/*Slider*/

  .contenedor-slider {
    max-width: 1023px;
    width: 100%;
  }

  @media (min-width: 1024px) {
    .contenedor-slider {
        max-width: 640px;
      }   
  }

  @media (min-width: 1200px) {
    .contenedor-slider {
        max-width: 820px;
      }   
  }


  @media (min-width: 1285px) {
    .contenedor-slider {
        max-width: 912px;
      }   
  }