

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

   @font-face {
     font-family: 'Bebas';
     src: url('fonts/BEBAS___.ttf');
   }

body{overflow: hidden;}

h1, h2 {
    font-size: 12px;
    color: #7185B1;
}

h2 {
    margin-top: 0;
    font-size: 11px;
}

#titles {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

#estadios-cont{
  position: absolute;
  height: 100%;
  width: 100%;
}

.stadium{
    position: absolute;
    height:100%;
    width: 100%;
    background-size: cover !important;
    background-position: center center !important;
    transition: all 0.8s cubic-bezier(1,.02,.13,.99);
}

.prevStadium{
  transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  -o-transform: translateX(-100%);
}
.nextStadium{
    transform: translateX(100%);
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -o-transform: translateX(100%);
}

.background{
  height:100%;
  width: 100%;
  /*background-color: rgba(34, 57, 105, 0.9);*/
  position: absolute;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3867a5+0,070b30+100 */
background: rgb(56,103,165); /* Old browsers */

background: -moz-radial-gradient(center, ellipse cover, rgba(56,103,165,0.8) 0%, rgba(13,46,86,0.9) 100%);
background: -webkit-radial-gradient(center, ellipse cover, rgba(56,103,165,0.8) 0%,rgba(13,46,86,0.9) 100%);
background: radial-gradient(ellipse at center, rgba(56,103,165,0.8) 0%,rgba(13,46,86,0.9) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3867a5', endColorstr='#070b30',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

.main-container{
  position: absolute;
  top: 50%;
  left: 50%;
  height: 700px;
  width: 500px;
  background-color: #132c61;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
}

.main-info{
  position: absolute;
  width: 75%;
  height: 100%;
  right: 0;
}

.main-info path{
  transition: all 0.3s ease-in-out;
}

.fecha-cont{
  position: absolute;
  height: 180px;
  width: 180px;
  background-color: #0c2251;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
      overflow: hidden;
}

#day-cont {
    width: 120px;
    height: 140px;
    float: left;
    background: url(../res/days.svg);
    -webkit-background-size: 2760px 140px;
    background-size: 2760px 140px;
}

#mes-cont{
    width: 60px;
    height: 140px;
    float: left;
}

.fecha-cont p {
    text-transform: uppercase;
    color: #A2B3D7;
    font-weight: bold;
    margin-top: 12px;
    margin-left: -10px;
    font-size: 16px;
}

#subpartidos-cont{
    width: 180px;
    height: 40px;
    float: left;
    text-align: center;
}

#subpartidos-hoy{
  list-style-type: none;
  width: 100%;
  position: absolute;
  padding: 0;
  transition: all 0.5s ease-in-out;
}


#subpartidos-hoy li {
    display: inline-block;
}

#subpartidos-hoy a {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 5px;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

.highlighted{
    background-color: rgb(173, 59, 47) !important;
    /*width: 18px #BC5240 !important;
    height: 18px !important;*/
}

.info-jornada-cont{
  position: absolute;
  top:180px;
  height: 180px;
  width: 180px;
  background-color: #0b1f49;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

#fase-cont {
  position: absolute;
  width: 120px;
  height: 140px;
  top: 40px;
  background: url(../res/stages.svg);
  -webkit-background-size: 1200px 140px;
  background-size: 1200px 140px;
}

.calendar-nav{
  position: absolute;
  bottom:0;
  right: 0;
  height:90px;
  width: 280px;
  background-color: #0E1B38;
  transform: translate(30%, 30%);
  -webkit-transform: translate(30%, 30%);
  -moz-transform: translate(30%, 30%);
  -o-transform: translate(30%, 30%);
  -webkit-box-shadow: -11px -14px 83px -10px rgba(0,0,0,0.53);
  -moz-box-shadow: -11px -14px 83px -10px rgba(0,0,0,0.53);
  box-shadow: -11px -14px 83px -10px rgba(0,0,0,0.53);
}

.calendar-nav ul {
    height: 100%;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.previousGame,
.nextGame {
    float: left;
    width: 50%;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

.previousGame a,
.nextGame a {
    width: 50%;
    height: 100%;
    display: block;
    position: absolute;
    overflow: hidden;
}

.nextGame{
  background-color: #09152F;
}

.nextGame span,
.previousGame span {
    font-size: 16px;
    text-transform: uppercase;
    font-family: Raleway;
    font-weight: bold;
    /* top: 50%; */
    position: absolute;
    top: 25%;
    color: #A2B3D7;
}

.nextGame span{
    left: 0;
    transition: all 0.3s ease-in-out;
    transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
}

.previousGame span {
    right: 0;
}

.nextGame:hover span{
  left: 50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.previousGame span{
    transition: all 0.3s ease-in-out;
    transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
    -webkit-transform: translateX(100%);
}

.previousGame:hover span{
  right: 50%;
  transform: translateX(50%);
  -moz-transform: translateX(50%);
  -webkit-transform: translateX(50%);
  -o-transform: translateX(50%);
}

#selector {
    position: absolute;
    width: 20%;
    height: 1px;
    background-color: #A2B3D7;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.toLeft{
  left: 25% !important;
}
.toRight{
  left: 75% !important;
}
.just{
  text-align: justify;
}

#jornada {
  height: 36px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  position: absolute;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.not-active{
   pointer-events: none;
   cursor: default;
}

#signature {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #7185B1;
    margin-right: 10px;
    font-size: 12px;
}

#signature img{
  width: 16px;
  border-radius: 50%;
  margin-right: 5px;
}
#signature a{
  color: #7185B1;
  transition: all 0.3s ease;
}
#signature a:hover{
  color: #fff;
  text-decoration: none;
}

#eurologo {
    position: absolute;
    bottom: 0;
    margin: 20px;
}

#eurologo img{
  width: 128px;
}


/*MOVILES COOL*/
@media screen and (max-height: 800px){
  #subpartidos-cont{    overflow: hidden;}
  #day-cont {
    background: url(../res/days-medium-800.svg);
    background-size: 2760px 120px;
    -webkit-background-size: 2760px 120px;
    background-repeat: no-repeat;
  }

  #subpartidos-hoy {
        margin-top: 50px;
  }

  .fecha-cont p{
    margin-left: 0;
    text-align: center;
    margin: 0;
    color: #fff;
  }

  #fase-cont { top: 0}

  #fase-cont {
    top: 0;
    width: 120px;
    height: 120px;
    background: url(../res/stages-medium-800.svg);
    background-size: 1200px 120px;
    -webkit-background-size: 1200px 120px;
  }

  #jornada{
    width: 120px;
    height: 120px;
    line-height: 120px;
        font-size: 16px;
  }

  #signature, #titles, #eurologo{
    display: none;
  }

}
@media screen and (max-height: 640px){
  #day-cont {
    background: url(../res/days-medium-640.svg);
    background-size: 2760px 100px;
    -webkit-background-size: 2760px 100px;
    background-repeat: no-repeat;
  }

  #mes-cont {
    width: 100px;
    height: 100px;
    position: absolute;
  }

  #subpartidos-hoy {
        margin-top: 42px;
  }

  #fase-cont {
    top: 0;
    width: 100px;
    height: 100px;
    background: url(../res/stages-medium-640.svg);
    background-size: 1200px 100px;
    -webkit-background-size: 1200px 100px;
  }

  #jornada{
    width: 100px;
    height: 100px;
    line-height: 100px;
        font-size: 12px;
  }

  #mes{font-size: 12px;}
}


@media screen and (max-height: 568px){
  #day-cont {
    background: url(../res/days-small-568.svg);
    background-size: 2760px 85px;
    -webkit-background-size: 2760px 85px;
    background-repeat: no-repeat;
  }

  #mes-cont {
    width: 85px;
    height: 85px;
    position: absolute;
  }

  #subpartidos-hoy {
        margin-top: 30px;
  }

  #subpartidos-hoy a{
    height: 12px;
    width: 12px;
  }

  #fase-cont {
    top: 0;
    width: 85px;
    height: 85px;
    background: url(../res/stages-small-568.svg);
    background-size: 1200px 85px;
    -webkit-background-size: 1200px 85px;
  }

  #jornada{
    width: 85px;
    height: 85px;
    line-height: 85px;
        font-size: 12px;
  }

  .nextGame span, .previousGame span{
        top: 15%;
        font-size: 14px;
  }
}

@media screen and (max-height: 480px){
  #day-cont {
    background: url(../res/days-small-480.svg);
    background-size: 2760px 64px;
    -webkit-background-size: 2760px 64px;
  }

  #subpartidos-hoy {
        margin-top: 25px;
  }

  #mes-cont {
    width: 64px;
    height: 64px;
    position: absolute;
  }

  #fase-cont {
    top: 0;
    width: 64px;
    height: 64px;
    background: url(../res/stages-small-480.svg);
    background-size: 1200px 64px;
    -webkit-background-size: 1200px 64px;
  }

  #jornada{
    width: 64px;
    height: 64px;
    line-height: 64px;
        font-size: 7px;
  }

  #mes{font-size: 8px;}
}
/*MOVILES*/

/*@media screen and (max-width: 1024px) and (min-height: 800px){
  .calendar-nav{
    width: 100%;
    bottom: -90px;
    transform: translate(0,0);
    -moz-transform: translate(0,0);
    -webkit-transform: translate(0,0);
    -o-transform: translate(0,0);
  }

  .main-container{
    width: 400px;
    height: 600px;
    top: 120px;
    transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
  }
  .main-info{
    width: 100%;
  }

  .main-info svg{
    width: 100%;
    height: 100%;
  }

  .fecha-cont {
    width: 100px;
    height: 100px;
    top: -100px;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    overflow: visible;
  }

  #day-cont {
    width: 100px;
    height: 80px;
    background: url(../res/days-medium.svg);
  }

  #mes-cont {
    width: 100px;
    height: 20px;
  }

  #mes {
    margin: 0;
    text-align: center;
    font-size: 14px;
        color: #325d87;
  }

  #subpartidos-cont {
    position: absolute;
    width: 200px;
    height: 100px;
    left: 100px;
    background-color: #0B255D;
    overflow: hidden;
  }

  #subpartidos-hoy{margin-top: 20%;}

  .info-jornada-cont {
    width: 100px;
    height: 100px;
    top: -100px;
    right: 0;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
  }

  #fase-cont {
    width: 100px;
    height: 100px;
    top: 0;
    background: url(../res/stages-medium.svg);
  }

}

@media screen and (max-height: 768px){
  .main-container{
    height: 600px;
    top: 100px;
  }
  .calendar-nav{
    height: 68px;
    bottom: -68px;
  }
}

@media screen and (max-height: 736px){
  .main-container{
    height: 568px;
  }
  .calendar-nav{
    height: 68px;
    bottom: -68px;
  }
}

@media screen (max-width: 380px) and (max-height: 640px){
  .main-container{
    height: 460px;
    width: 350px;
  }
  .calendar-nav{
    height: 80x;
    bottom: -80px;
  }
}*/
