/*@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed);*/

html.move, html.move * {
   cursor:move;
}

*{
  padding: 0px;
  margin: 0px;
  //font-family: 'Roboto Condensed', sans-serif;
  font-family: 'MarcinAntB';
}
::-webkit-scrollbar {
  //  display: none;
  //  width: 0px;  /* remove scrollbar space */
    //background: transparent;  /* optional: just make scrollbar invisible */
}
ul{}
h3{color: white;margin-top: 0px}
li {list-style-type: none;}

div#loading-layer{
  background-color: rgba(255,255,255,0.2);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index:99999;
}

div.btn-group{
  width:100%;
}

.boton-seccion{
  //border-color: inherit;
  opacity: .8;
  border: 0px solid rgb(0, 0, 0);
  border: 2px solid rgba(30, 30, 30, 0);

}
@media (max-width: 768px){
  .boton-seccion{
    font-size: small;
    padding: 6px 1px;
  }
}
.boton-seccion.active{
  //border-color: inherit;
  //border: 1px solid rgb(0, 0, 0);
  opacity: 1;
  border: 2px solid rgba(30, 30, 30, .2);

}
.boton-seccion:hover{
  //border-color: inherit;
  //border: 1px solid rgb(100, 100, 100);
  opacity: 1;
  border: 2px solid rgba(30, 30, 30, .1 );

}

.dropdown-toggle{
  height:55px;
  z-index: 9999;
}

.dropdown-menu{
  width:100%;
  text-align: center;
  font-family: 'MarcinAntB';
  font-weight: bold;
  min-width:100px;
}


.boton-deseleccion{
  color: #111;
  background-color: #CCC;
  border-radius: 4px;
  padding: 5px;
  width: 150px;
  cursor: pointer;
}

/*Botonera dropdown*/
.btn-primary{
  color: #555;
  background-color: rgb(244,244,244);
  border-color: rgb(255, 255, 255);
}
.btn-primary:hover{
  background-color: rgb(220,220,220);
  border-color: rgb(220,220,220);
}
.btn-primary:focus{
  background-color: rgb(220,220,220);
  border-color: rgb(220,220,220);
}
.btn-primary:active{
  background-color: rgb(220,220,220);
  border-color: rgb(220,220,220);
}
@media (max-width: 768px) {
  .btn-primary {
    font-size: smaller;
    padding: 6px 0px;
  }
}
@media (max-width: 325px) {
  .btn-primary {
    font-size: x-small;
    padding: 6px 0px;
  }
}


.open .dropdown-toggle.btn-primary {
  background-color: rgb(220,220,220);
  border-color: rgb(220,220,220);
}


@media (max-width: 768px) {
  .open .dropdown-toggle.btn-primary {
    font-size: smaller;
    padding: 6px 0px;
  }
}


@media (max-width: 768px) {
  a#botonPasadoManana{
    font-size: 0.7em;
    margin-top: 5px;
  }
}
/************************/

div#listaCanales{
  width: 100%;
  height: auto;
  margin: auto;
  margin-top: 50px;
  background-color: white;
}

div#timeline{
  position: relative;
  margin: auto;
  padding-bottom: 50px;
  height: 40px;
  width: auto;
  background-color: white;
  overflow-x: auto;
  border-top:thick solid #ddd;
  overflow:hidden;
}

@media (max-width: 768px) {
  div#timeline{
    padding-bottom: 30px;
    height: 30px;
  }
}


div#timelineContainer{
  margin: 0px;
  padding: 0px;
  display: inline-table;
}

@media (max-width: 768px) {
  div#timelineContainer{
    display: inherit;
  }
}



div#horaTimeline{
  position: absolute;
  margin: auto;
  //height: 25px;
  font-size: 1.5em;
  font-weight: bold;
  color: #666;
  //background-color: #ccc;
}

div.fondoFlecha {
    cursor: pointer;
    position: relative;
    height: 50px;
    line-height: 50px;
    width: 90px;
    margin-top: -50px;
    z-index: 999;
    display:none;
    background-color: rgba(230, 230, 230, 0.9);
    text-align: center;

    //box-shadow: rgba(0, 0, 0, 0.6) 0 -0px 1px;
}

div#flechaDerecha {
    right: 0px;
    float: right;
}

span.flecha {
  font-size: 4em;
  font-weight: bold;
}


div#guia{
  position: relative;
  margin: auto;
  padding: 0px;
  top:0px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.0);
  overflow-y: scroll;
  //border: 1px solid #eee;
  border-top:thick solid #ddd;
  border-bottom:thick solid #ddd;
}

@media (min-width: 768px) {
  /*div#guia {
    max-height: 980px;
  }*/
}

div#parrilla{
  //left: 100px;
  position: relative;
  margin: auto;
  //overflow-x: auto;
  overflow-x: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;
  background-color: rgba(255, 255, 255, 0.0);
  //background-color: white;
}

div#barraCanales {
    position: absolute;
    padding: 1px;
    width: 85px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.9);
    border-right:thin solid #ddd;
    //box-shadow: rgba(0, 0, 0, 0.6) 0 -0px 1px;
}

@media (max-width: 768px) {
  div#barraCanales {
      width: 55px;
  }
}


div#lineaAhora {
    position: absolute;
    //left: 460px;
    padding: 0px;
    width: 4px;
    height: 100%;
    z-index: 998;
    background-color: rgba(255, 0, 0, 0.2);
    border-left:thin dashed rgba(255, 0, 0, 0.5);
    border-right:thin dashed rgba(255, 0, 0, 0.5);
    //box-shadow: rgba(0, 0, 0, 0.6) 0 -0px 1px;
}

div#lineasDivision {
    position: absolute;
    padding: 0px;
    width: 1px;
    height: 100%;
    background-color: rgba(144, 144, 144, 0);
    border-left:thin dashed #ddd;
}

ul#logoListItem{
  cursor: pointer;
  padding: 0;
  margin-top: 0px;
  margin-bottom: 0px;
}

div#logoContainer{
  white-space: nowrap;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  position: relative;
  width: 85px;
  height: 85px;
  padding: 30px 25px 5px 10px;
  cursor:default;
}
@media (max-width: 768px) {
  div#logoContainer{
    width: 55px;
    height: 55px;
    padding: 20px 20px 5px 5px;
  }
}

div#logoContainer2{
  white-space: nowrap;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  position: relative;
  width:60px;
  height:60px;
  padding:5px 5px 5px 5px;
  margin:10px 10px 10px 10px;
  cursor:pointer;
}
@media (max-width: 768px) {
  div#logoContainer2{

  }
}

.canal-selected{
  -webkit-filter:grayscale(0%);
  filter:grayscale(0%);
}

.canal-not-selected{
  -webkit-filter:grayscale(100%);
  filter:grayscale(100%);
}

img#logoCanalSelector {
  width: 50px;
  height: 50px;
}
img#logoCanal {
  width: 50px;
  height: 50px;
}
@media (max-width: 768px) {
  img#logoCanal {
    width: 30px;
    height: 30px;
  }
}

#detallePrograma{
  width: 350px;
  //max-height: 1400px;
  display: none;
  background-color: #016CA2;
  position:absolute;
  margin-left:85px;
  z-index: 1000;
  box-shadow: 4px 3px 8px #222222;
  margin-top: 5px;
  //border: 1px solid #014365;
  //padding: 10px;
  //margin-top:50%;
}

@media (max-width: 350px ) {
  #detallePrograma {
    margin-left:0px;
    max-width: 95%;

  }
}

@media (max-width: 768px) and (min-width:355px) {
  #detallePrograma {
    margin-left:0px;
    max-width: 100%;

  }
}



.cuerpoDetallePrograma{
  color: #eeeeee;
  margin: 0px 10px 5px 10px;
}

h3.cuerpoDetallePrograma{
  margin-bottom: 0px;
  margin-top: 5px;
}

#textoGenero{
  margin: 0px 0px 0px 0px;
  padding: 10px;
}

#textoSubgenero{
  margin: 0px 0px 5px 10px;
}

#imagenDetallePrograma{
  vertical-align: top;
  overflow: hidden;
  max-width: 100%;
  max-height: 250px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}


li#programaContainer{
  margin: 0px;
  padding: 0px;
  display: inline-table;
}
div#programa{
  cursor: pointer;
  position:absolute;
  border-radius: 8px;
  overflow:hidden;
  padding: 3px;
  margin-right: -1px;
  margin-top: 0px;
  height: 85px;
  border: 0px solid #cccccc;
  //background-color: rgba(255, 255, 255, 0.0);
  //background-color: white;
}
@media (max-width: 768px) {
  div#programa{
    padding-left: 3px;
    margin-right: -1px;
    border-radius: 2px;
    margin-top: 0px;
    height: 55px;
    border: 0px solid #cccccc;

  }
}
.overWidth {
    background-color: rgba(245, 245, 245, 0.9);
    width: 300px !important;
    z-index: 1;
}

.over {
    background-color: rgba(245, 245, 245, 0.9);
}


div#labelSeccion{
  margin: 0;
  border-radius: 2px;
  background-color: lightgrey;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 5px;
  padding-left: 5px;
  display: inline-block;
  font-size: 0.7em;
  color: white;
}
@media (max-width: 768px) {
  div#labelSeccion{
    display:none;
  }
}


div#programaTitulo{
  overflow:hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  color: #666;
  font-size: 1em;
  height: 18px;
}

@media (max-width: 768px) {
  div#programaTitulo{
    overflow:hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    color: #666;
    font-size: 1em;
    height: 18px;
  }
}


div#programaName{
  overflow:hidden;
  text-overflow: ellipsis;
  font-weight: lighter;
  color: #aaa;
  font-size: 0.8em;
  height: 15px;
}
div#programaHora{
  //margin-left: 8px;
  overflow:hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  color: #666;
  border-radius: 5px;
  font-size: 0.8em;
}
ul#programaTimeline{
  vertical-align: middle;
  width: 100%;
  margin: 0px;
  padding: 0px;
  display: inline-table;
}
li#puntoPrograma{
  vertical-align: middle;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: #333333;
  display: inline-table;
}



li#horaContainer{
  vertical-align: middle;
  width: 100%;
  height: 3px;
  background-color: grey;
  margin: 0px;
  padding: 0px;
  display: inline-table;
  //border-radius: 2px;
}

a#fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}
li#canal{
  white-space: nowrap;
  padding: 1px;
  height: 85px;
  width: 100%;
  //border-bottom:thin dashed #ddd;
}

@media (max-width: 768px) {
  li#canal{
    white-space: nowrap;
    padding: 1px;
    height: 55px;
    width: 100%;
    //border-bottom:thin dashed #ddd;
  }
}

ul#programas{
  padding: 0px;
  margin: 0px;
  margin-top: -15px;
}

div#footer{
  padding: 0px;
  margin: 0px;
  height: 0px;
  background-color: #fff;
}

.btn{
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0px;
}
@font-face {
  font-family: MarcinAntB;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff2") format("woff2"), url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-regular-webfont.woff") format("woff")
}

@font-face {
  font-family: MarcinAntB;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-medium-webfont.woff2") format("woff2"), url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-medium-webfont.woff") format("woff")
}

@font-face {
  font-family: MarcinAntB;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-bold-webfont.woff2") format("woff2"), url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-bold-webfont.woff") format("woff")
}

@font-face {
  font-family: MarcinAntB;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-heavy-webfont.woff2") format("woff2"), url("https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-heavy-webfont.woff") format("woff")
}
