/**
 * @file
 * EDSR : Feuille de styles dédiée au POPUP JAUGES de la page d'ACCUEIL.
 */

.custom-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
  z-index: 9100;
}
.custom-popup:target {
  opacity: 1;
  pointer-events: auto;
}
.custom-popup-wrapper {
  position: relative;
  margin: 3% auto 0;
  width: 980px;
  height: 93%;
}
.custom-popup-close {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
  background: #232425 url('../../../edsbase/images/commun/croix-fermer-blanc.svg') center center no-repeat;
}
.custom-popup-content {
  display: block;
  width: 940px;
  height: 100%;
  overflow-y: auto;
  background-color: #fff;
}
#popup-jauges-content .popup-jauges-banniere {
  height: 375px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-image: url('../../images/accueil/bandeau-popup-jauges.jpg');
}
#popup-jauges-content .popup-jauges-texte {
  padding: 30px;
}
#popup-jauges-content .popup-jauges-titre {
  margin-bottom: 20px;
  width: 100%;
  line-height: 1;
  font-family: 'soleil-bold';
  font-size: 4em;
}
#popup-jauges-content .popup-jauges-soustitre {
  margin-top: -10px;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-family: 'soleil-light';
  font-size: 1.9em;
}
#jauges-tableau {
  display: table;
  margin: 0 auto;
  width: 620px;
}
#jauges-tableau .jauges-ligne {
  display: table-row;
  height: 25px;
  font-size: 1.15em;
}
#jauges-tableau .jauges-ligne.passee {
  text-decoration: line-through;
  color: #ababab;
}
#jauges-tableau .jauges-ligne.passee .jauges-libres-txt {
  visibility: hidden;
}
#jauges-tableau .jauges-ligne:nth-child(odd) {
  background-color: #e6e4e2;
}
#jauges-tableau .jauges-cel {
  display: table-cell;
  vertical-align: middle;
  padding-top: .4em;
  padding-bottom: .4em;
}
#jauges-tableau .jauges-horaire {
  padding-left: 5%;
  width: 10%;
  text-align: left;
}
#jauges-tableau .jauges-salle {
  width: 20%;
}
#jauges-tableau .jauges-libres {
  padding-right: 5%;
  width: 5%;
  text-align: right;
}

/*--------- <= 980px ---------*/

@media only screen and (max-width: 980px) {

  .custom-popup {
    padding: 0 3%;
    width: 100%;
  }
  .custom-popup-wrapper,
  .custom-popup-content {
    width: 100%;
  }
  #popup-jauges {
    padding: 0 3%;
    width: 100% !important;
  }
  #popup-jauges .popup-jauges-wrapper {
    width: 100%;
  }

}

/*--------- <= 720px ---------*/

@media only screen and (max-width: 720px) {

  #jauges-tableau {
    width: 100%;
  }

}

/*--------- <= 650px ---------*/

@media only screen and (max-width: 650px) {

  #jauges-tableau {
    padding: 0 2%;
  }
  #jauges-tableau .jauges-horaire {
    width: 30%;
  }
  #jauges-tableau .jauges-salle {
    width: 60%;
  }
  #jauges-tableau .jauges-libres {
    width: 10%;
  }

}

/*--------- <= 460px ---------*/

@media only screen and (max-width: 460px) {

  #popup-jauges-content .popup-jauges-texte {
    padding: 20px;
  }

}



