@charset "utf-8";
/* 	author : Nicolas Dupart
	author url : http://www.ndup.fr
	client : The Boxoffice Company, css pour la page mobile d'infos sur le Congrès FNCF 2020
	Redesign: Emilie Leterme
*/

/*--------------------------
Général
---------------------------*/
body {
  margin: 0;
  background: #fff;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%; /*on empêche safari de redimensionner les polices comme ça lui chante...*/
  text-align: center; /* la majorité des éléments sont centrés, donc on l'applique au body et les blocs de textes plus long seront les exceptions */
  color: #000;
  /*ci-dessous, un règle qui force la scrollbar, ce qui évite les resize chelous quand on travaille en dév sur un browser classique*/
  overflow-y: scroll;
  font-size: 13px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0.15em;
  font-weight: 500;
}
h1 {
  font-size: 1.375rem;
  color: #000;
  margin: 25px 0;
  text-transform: uppercase;
}
h2 {
  font-size: 1.125rem;
}
h3 {
  text-align: left;
  font-size: 1.15em;
  margin: 0;
  position: relative;
  z-index: 10;
  padding: 0.25em 3em 0.25em 0;
}
a,
a:visited {
  text-decoration: none;
  color: #00618c;
}
a:hover,
a:visited:hover,
a:focus {
  color: #000;
  text-decoration: none;
}

@media screen and (max-width: 980px) {
  h1 {
    margin: 20px 0;
    font-size: 1.125rem;
  }
}

/*--------------------------
Conteneur
---------------------------*/
#content {
  padding: 0.5em 0.5em 4em 0.5em;
}
.encart {
  margin: 25px auto 60px auto;
  max-width: 980px;
}
.prog,
.exposants {
  max-width: 795px;
}

/*--------------------------
Header
---------------------------*/
.logo {
  background: #00618c;
  margin-bottom: 40px;
  height: 100px;
}
.logo img {
  border: 0;
  height: 100px;
}

@media screen and (max-width: 980px) {
  .logo {
    height: 57px;
    margin-bottom: 16px;
  }
  .logo img {
    height: 57px;
  }
}

/*--------------------------
Menu
---------------------------*/
#menu-nav,
#days {
  width: 100%;
  display: flex;
  max-width: 979px;
  margin: 0 auto;
  padding: 0;
  background: #00618c;
  justify-content: space-around;
  font-size: 1.1875rem;
  font-weight: 700;
  text-transform: uppercase;
}
#menu-nav li,
#days li {
  padding: 0 53px;
  list-style: none;
}
#menu-nav li a,
#menu-nav li a:visited,
#days li a,
#days li a:visited {
  display: block;
  padding: 0.9em 0.26em;
  color: #fff;
  text-decoration: none;
}
#menu-nav li:hover,
#menu-nav li.active {
  background: #fdf4c9;
  color: #000 !important;
}
#menu-nav li:hover a,
#menu-nav li a:visited:hover,
#menu-nav li a:focus,
#menu-nav li.active a {
  background: #fdf4c9;
  color: #000;
}

#show_menu {
  display: none;
}

@media screen and (max-width: 980px) {
  #show_menu {
    display: block;
    width: 95%;
    padding: 7px 0;
    margin: 0 auto;
    background: #00618c;
    color: #fff;
    font-size: 1.1875rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
  }
  #show_menu:before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    background: #00618c url(../img/menu.png) 0 3px no-repeat;
    background-size: 17px;
  }

  #menu-nav {
    display: none;
    max-width: 100%;
    width: 95%;
  }
  #menu-nav li {
    display: block;
  }
  #menu-nav li a {
    padding: 0.38em 0.25em;
  }
}

/*--------------------------
Articles
---------------------------*/
.article {
  display: flex;
  position: relative;
  align-items: center;
  color: #000;
  margin: 0 0 10px 0;
  background: #fefefe;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  text-align: left;
  list-style: none;
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 1;
}
.article .horaire,
.article .stand {
  flex: 0 0 210px;
  width: 210px;
  box-sizing: border-box;
  padding: 28px 8px;
  margin-right: 30px;
  background: #efeeea;
  border-right: 2px solid #000;
  text-align: center;
  font-weight: 500;
  font-size: 0.9375rem;
}
.article .stand {
  flex: 0 0 140px;
  width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.article .infos {
  padding-right: 30px;
  line-height: 1.125rem;
}
.article .infos span {
  font-size: 0.75rem;
  font-weight: 400;
}
.sub-articles {
  list-style: none;
  padding-left: 100px;
}
.sub-articles .horaire {
  flex: 0 0 210px;
  width: 210px;
}

.proj:hover,
.proj:visited:hover,
.proj:focus {
  box-shadow: none;
}
.proj:after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 32px;
  height: 32px;
  background: url(../img/icone-lien.png) 0 0 no-repeat;
}
.proj:hover:after,
.proj:visited:hover:after,
.proj:focus {
  background: url(../img/icone-lien-hover.png) 0 0 no-repeat;
}

/*Recalage horaires pour le lundi*/
#lundi #recalage .horaire {
  width: 194px;
}

@media screen and (max-width: 640px) {
  .article .horaire,
  .article .stand {
    flex: 0 0 50px;
    width: 50px;
    max-width: 50px;
    margin-right: 10px;
    padding: 28px 10px;
  }
  .sub-articles .horaire {
    flex: 0 0 50px;
    width: 50px;
  }
  .proj .horaire {
    padding: 38px 10px;
  }
  .article .infos {
    padding: 10px 10px 10px 0;
  }
  .sub-articles {
    padding-left: 25px;
  }
  .mobile {
    padding: 60px 10px !important;
  }
}

/*--------------------------
Programme
---------------------------*/
.events {
  padding-left: 0;
}

#days {
  max-width: 900px;
  background: #fdf4c9;
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: none;
}
#days li a,
#days li a:visited {
  color: #000;
  padding: 0.45em 1.9em;
}
#days li:hover,
#days li.active {
  background: #00618c;
  color: #fff !important;
}
#days li:hover a,
#days li a:visited:hover,
#days li a:focus,
#days li.active a,
#days li.active a {
  background: #00618c;
  color: #fff;
}

.day {
  display: none;
}
.day_selected {
  display: block;
}

.titre {
  margin-bottom: 20px;
}
.prog .sous-titre {
  font-size: 1rem;
  font-weight: 500;
}
.prog h3.sous-titre {
  font-weight: 700;
  text-align: center;
}

.sub-articles p strong {
  font-size: 16px;
}

#jeudi h3 {
  padding: 10px 0;
}

@media screen and (max-width: 640px) {
  .prog .article {
    flex-direction: column;
    align-items: stretch;
  }
  .prog .article .horaire {
    flex: none;
    width: 100%;
    max-width: none;
    margin-right: 0;
    padding: 10px 12px;
    border-right: none;
    border-bottom: 2px solid #000;
    line-height: 1.25;
  }
  .prog .sub-articles {
    padding-left: 0;
  }
  .prog .sub-articles .horaire {
    flex: none;
    width: 100%;
  }
  .prog .horaire.mobile {
    padding: 10px 12px !important;
  }
  .prog .proj .horaire {
    padding: 10px 12px;
  }
  .prog .article .infos {
    padding: 12px 40px 12px 12px;
  }
  .prog .sub-articles p strong {
    display: block;
    margin: 12px 0 6px;
    font-size: 0.9375rem;
  }
}

@media screen and (max-width: 980px) {
  #days {
    max-width: 640px;
    font-size: 1rem;
    justify-content: space-between;
  }
  #days li {
    background: #fdf4c9;
    padding: 0 40px;
  }
  #days li a,
  #days li a:visited {
    padding: 0.45em 0.5em;
  }
}
@media screen and (max-width: 640px) {
  #days {
    max-width: 300px;
  }
  #days li {
    padding: 0 5px;
  }
}

/*--------------------------
Exposants
---------------------------*/
.map {
  max-width: 980px;
  margin-bottom: 20px;
}
.dl_map {
  display: none;
}

@media screen and (max-width: 980px) {
  .map {
    max-width: 90%;
  }
  .dl_map {
    display: inline-block;
    padding: 10px 40px;
    background: #00618c;
    margin-bottom: 20px;
  }
  .dl_map a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
  }
  .dl_map a:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(../img/icone-dl.png) 0 3px no-repeat;
  }
  .dl_map:hover,
  .dl_map:visited:hover,
  .dl_map:focus {
    color: #000;
    background: #fdf4c9;
  }
  .dl_map:hover a:before,
  .dl_map:visited:hover a:before,
  .dl_map:focus a:before {
    background: url(../img/icone-dl-hover.png) 0 3px no-repeat;
  }
}

/*--------------------------
Footer
---------------------------*/
#footer {
  width: 900px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  list-style: none;
  justify-content: space-around;
}

@media screen and (max-width: 980px) {
  #footer {
    width: 95%;
  }
  #footer img {
    height: 30px;
  }
}

/*--------------------------
Infos
---------------------------*/
.wifi {
  width: 800px;
  margin: 0 auto 40px auto;
  padding: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.regles-sanitaires {
  width: 800px;
  margin: 0 auto;
}
.regles-sanitaires .regle {
  display: flex;
  align-items: center;
  text-align: left;
  height: 120px;
}
.regles-sanitaires .regle:nth-child(4) {
  height: 170px;
}

.regles-sanitaires .regle:nth-child(5),
.regles-sanitaires .regle:nth-child(6) {
  height: 200px;
}
.number {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  background: #00618c;
  text-align: center;
}
.number img {
  width: 80px;
}
#icone-masque {
  width: 60px;
}

.txt-regle {
  padding: 10px;
}
.txt-regle h3 {
  text-transform: uppercase;
  font-weight: 600;
}
.txt-regle p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.regles-sanitaires .regle ul {
  padding-left: 10px;
}
.regles-sanitaires .regle li {
  list-style: none;
}

@media screen and (max-width: 980px) {
  .wifi,
  .regles-sanitaires {
    width: 95%;
  }
}
@media screen and (max-width: 760px) {
  .regles-sanitaires .regle {
    height: 150px;
  }
  .regles-sanitaires .regle:nth-child(5),
  .regles-sanitaires .regle:nth-child(6) {
    height: 240px;
  }
  .number {
    width: 100px;
    height: 120px;
  }
}
@media screen and (max-width: 640px) {
  .regles-sanitaires .regle {
    height: 180px;
  }
  .regles-sanitaires .regle:nth-child(4) {
    height: 270px;
  }
  .number {
    height: 150px;
    margin-right: 10px;
  }
  .number img {
    width: 40px;
  }
  #icone-qrcode {
    width: 50px;
  }
  .txt-regle {
    padding: 0;
  }
}
@media screen and (max-width: 440px) {
  .regles-sanitaires .regle:nth-child(4) {
    height: 340px;
  }
  .regles-sanitaires .regle:nth-child(5),
  .regles-sanitaires .regle:nth-child(6) {
    height: 330px;
  }
}
@media screen and (max-width: 360px) {
  .number img {
    width: 30px;
  }
}

/*--------------------------
Pop-up
---------------------------*/
#pop-up-overlay,
.pop-up-overlay {
  background: #000;
  background: rgba(56, 56, 56, 0.6);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
}
#pop-up {
  display: none;
  width: 640px;
  height: 900px;
  color: #454545;
  font-family: Arial, sans-serif;
  overflow: hidden;
  z-index: 12000;
}
#pop-up #img-pop-up {
  display: block;
  width: 100%;
  height: 100%;
}

#pop-up {
  left: 50% !important;
  transform: translate(-50%);
} /*on centre le pop-upn quelque soit l'écran*/

.contact {
  margin: 0.333333em 0;
}
.contact .tel,
.contact .mail {
  display: block;
  padding: 0.45em 0;
}

/* contacts sans puce */
.woutbull {
  list-style: none;
  margin-left: -20px;
  font-weight: 700;
  margin-top: 10px;
}

/*--------------------------
page partenaires
---------------------------*/
.partenaires {
  margin-bottom: 100px;
}
.partenaires-liste {
  list-style: none;
  margin: 0 auto;
  padding: 0 1.25rem;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
}
.partenaires-liste li {
  margin: 0;
  padding: 1.1rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.partenaires-liste li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 640px) {
  .partenaires {
    margin-bottom: 50px;
  }
  .partenaires-liste {
    padding: 0 1rem;
  }
  .partenaires-liste li {
    padding: 1rem 0.25rem;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
  }
}

/*--------------------------
page exposants — liste
---------------------------*/
.encart.exposants {
  text-align: left;
  margin-bottom: 100px;
}
.exposants-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.exposants-liste li {
  margin: 0;
  padding: 1.1rem 0.5rem 1.1rem 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.exposants-liste li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 640px) {
  .encart.exposants {
    margin-bottom: 50px;
  }
  .exposants-liste li {
    padding: 1rem 0.25rem 1rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
  }
}

/*--------------------------
coming soon
---------------------------*/
html,
body.coming-soon,
#conteneur {
  margin: 0;
  padding: 0;
}
body.coming-soon {
  background: #ffffff;
}

/*logo temporaire*/
.logo_cs {
  border: 0;
  width: auto;
  max-width: 400px;
  margin: 1em auto 0 auto;
}

#partenaires {
  background: #fff;
  padding: 3em;
  max-width: 80%;
  margin: 0 auto 15em auto;
  position: relative;
  z-index: 20;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#partenaires img {
  width: 100px;
  height: auto;
  margin: 1em;
}

/* version mobile */
@media screen and (max-width: 640px) {
  .logo_cs {
    border: 0;
    width: auto;
    max-width: 300px;
    margin: 2em auto;
  }
}
