﻿/* Chart colors */
@property --dark-blue {
  syntax: "<color>";
  inherits: false;
  initial-value: #17213c;
}

@property --light-blue {
  syntax: "<color>";
  inherits: false;
  initial-value: #005b92;
}

@property --gold {
  syntax: "<color>";
  inherits: false;
  initial-value: #ffd200;
}

/* fonts & icons */

@font-face {
  font-family: "Ubuntu-regular";
  src: url("../fonts/UbuntuCondensed-Regular");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ruddy-Regular";
  src: url("../fonts/Ruddy-Regular");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?-3latrw");
  src: url("../fonts/icomoon.eot?#iefix-3latrw") format("embedded-opentype"),
    url("../fonts/icomoon.woff?-3latrw") format("woff"),
    url("../fonts/icomoon.ttf?-3latrw") format("truetype"),
    url("../fonts/icomoon.svg?-3latrw#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

* {
  font-family: "Ubuntu-regular";
  box-sizing: border-box;
  font-size: 2rem;
}

h1 {
  font-family: "Ruddy-Regular";
  font-size: larger;
}

h1 a {
  font-family: "Ruddy-Regular";
  font-size: larger;
}

.icons-social-medias {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  bottom: 40%;
  left: 96%;
  padding: 0;
  gap: 1rem;
}
.icons-social-medias a {
  background-color: var(--dark-blue);
  border-radius: 50%;
  padding: 1rem;
  width: 100%;
}

.icons {
  width: 3rem;
}

/* main classes and index */
.container-fluid {
  background-color: #005b92;
  color: white;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
  min-height: 89.4vh;
}

.container-fluid > div {
  margin-bottom: 20rem;
  width: 100%;
}

.container-fluid > section {
  margin-bottom: 20rem;
}

.dropdown-menu {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 0;
  background-clip: border-box;
}

.dropdown-menu div {
  text-align: center;
  margin-bottom: 2px;
  height: 30px;
  line-height: 30px;
}

#poster {
  background-color: white;
  display: flex;
  gap: 20rem;
  align-items: center;
  justify-content: center;
  padding: 50px;
  border: var(--dark-blue) 10px solid;
  border-radius: 20px;
}

#poster div {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

#poster h1 {
  color: var(--dark-blue);
  font-family: "Ruddy-Regular";
  font-size: 3rem;
  font-weight: bold;
}

#poster p {
  color: var(--dark-blue);
  font-size: 2.5rem;
}

.articles {
  background-color: var(--dark-blue);
  padding-left: 10rem;
  padding-right: 10rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.articles section {
  width: 100%;
}

.articles section a:hover {
  color: var(--dark-blue);
}

.articles section article {
  display: flex;
  justify-content: center;
  align-items: center;
}

a:hover article {
  color: var(--dark-blue);
  background-color: #ffffff;
}

.navbloc {
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 0px;
  text-align: center;
}

.navbloc h1 {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 0px;
  margin-top: 5px;
}

.navbloc p {
  min-height: 190px;
}

.h1lg {
  font-size: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.h1ot {
  font-size: 20px;
}

.actualites {
  background-color: #286067;
}

.visiteurs {
  background-color: #c04945;
}

.ludosphere {
  background-color: var(--dark-blue);
}

.programme {
  background-color: #9d3310;
}

.benevoles {
  background-color: #405f3a;
}

.presse {
  background-color: #072b43;
}

hr.actualites {
  border-color: #286067;
  margin-top: 0px;
}

hr.visiteurs {
  border-color: #c04945;
  margin-top: 0px;
}

hr.ludosphere {
  border-color: #456699;
  margin-top: 0px;
}

hr.programme {
  border-color: #ed7f51;
  margin-top: 0px;
}

hr.benevoles {
  border-color: #5e8d57;
  margin-top: 0px;
}

hr.presse {
  border-color: #072b43;
  margin-top: 0px;
}

a:hover .actualites,
.actualites-selected {
  color: #44aec1;
  background-color: #ffffff;
}

a:hover .visiteurs,
.visiteurs-selected {
  color: #c04945;
  background-color: #ffffff;
}

a:hover .ludosphere,
.ludosphere-selected {
  color: var(--dark-blue);
  background-color: #ffffff;
}

a:hover .programme,
.programme-selected {
  color: #ed7f51;
  background-color: #ffffff;
}

a:hover .benevoles,
.benevoles-selected {
  color: #5e8d57;
  background-color: #ffffff;
}

a:hover .presse,
.presse-selected {
  color: #072b43;
  background-color: #ffffff;
}

.txtactualites {
  color: #44aec1;
  font-size: 20px;
}

.txtvisiteurs {
  color: #c04945;
  font-size: 20px;
}

.txtludosphere {
  color: var(--dark-blue);
  font-size: 20px;
}

.txtprogramme {
  color: #ed7f51;
  font-size: 20px;
}

.txtbenevoles {
  color: #5e8d57;
  font-size: 20px;
}

.txtpresse {
  color: #072b43;
  font-size: 20px;
}

/*a:hover .txtactualites, a:hover .txtvisiteurs, a:hover .txtludosphere, a:hover .txtprogramme, a:hover .txtbenevoles, a:hover .txtpresse { color: #FFFFFF; }*/
.size20 {
  font-size: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#logo-home {
  width: 100%;
  flex: 1;
}

#logo-home-img {
  width: 70rem;
}

.fedejeux {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#titleHomeFee {
  width: 55rem;
}

#titleHomeFee-coeur {
  position: absolute;
  top: -7rem;
  left: -10rem;
  width: 5rem;
}

#titleHome-devolant {
  width: 10rem;
}

.dates {
  flex: 1;
  justify-content: center;
}

.dates .time {
  display: flex;
  justify-content: center;
}

.dates .month-year {
  display: flex;
  gap: 2rem;
  padding: 0;
  font-size: 8rem;
  flex: 1;
  justify-content: center;
}

.fb-like-box {
  margin: 0;
  padding: 0;
}

.inclined {
  -moz-transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  transform: rotate(-10deg);
  right: -4%;
  -moz-box-shadow: -5px 5px 5px black;
  -webkit-box-shadow: -5px 5px 5px black;
  /*-o-box-shadow: 5px 5px 5px black;*/
  box-shadow: -5px 5px 5px black;
  margin: 0px;
  max-width: 50rem;
}

.round60 {
  border-radius: 30px;
  width: 60px;
  height: 60px;
  display: inline-block;
  text-align: center;
  padding-top: 7px;
  font-size: 30px;
  background-color: var(--light-blue);
}

.mmyy {
  text-align: center;
}

.allactu {
  padding-top: 20px;
  font-size: 20px;
}

.allactu .glyphicon {
  font-size: 16px;
}

.h1actu {
  font-size: 32px;
  margin: 0px;
  padding: 10px 0px;
}

.h1mea {
  font-size: 24px;
  margin-top: 10px;
  font-variant: small-caps;
}

.h1measm {
  font-size: 24px;
  margin: 0;
  padding-bottom: 10px;
}

a:hover .bloc {
  color: var(--dark-blue);
  background-color: #ffffff;
}

.blochome {
  margin-bottom: 0px;
  padding-left: 20px;
  padding-right: 20px;
}

div.actu {
  border-bottom: 1px solid #173f59;
}

.error {
  background-color: #ff0000;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
}

.ok {
  background-color: #00ff00;
  color: #000000;
  font-size: 20px;
  text-align: center;
}

.button {
  padding: 10px;
  margin: 10px auto 0px auto;
  border: solid white 1px;
  max-width: 300px;
  display: block;
  text-align: center;
}

body {
  background-color: var(--light-blue);
  width: 100%;
  height: auto;
  color: white;
}

.menu-barre {
  width: 100%;
  background-color: var(--dark-blue);
  position: sticky;
  top: 0px;
  z-index: 9999;
}

.menu-item {
  width: 22%;
}

#logo-menu-img {
  width: 11rem;
}

/*Tests menu*/

/* --- CSS menu --- */

#menu-demo2 > li {
  display: inline-block;
  position: relative;
  vertical-align: top;
}

#menu-demo2 ul {
  background-color: var(--dark-blue);
  /* même couleur que la barre */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

/* Sous-menus (hidden by default) */
#menu-demo2 .visiteurs {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* styles des LI des sous-menus */
#menu-demo2 ul li {
  display: block;
  border-radius: 0;
  width: 100%;
}

/* a tags */
#menu-demo2 a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: "Ruddy-Regular";
  font-size: medium;
}

/* sous-menus padding */
#menu-demo2 ul a {
  padding: 1rem;
  border: var(--dark-blue) 2px solid;
}

/* hover colours */
#menu-demo2 li li:hover > a {
  color: var(--gold);
  border: gold 2px solid;
}

/* structure générale du sous-menu */
#menu-demo2 li {
  position: relative;
  /* pour positionner les sous-menus */
}

/* chaque sous-menu s'affiche sous le parent */
#menu-demo2 li > ul {
  position: absolute;
  top: 100%;
  /* juste en dessous du parent */
  left: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* ← vertical */
  width: 100%;
  /* fixe la largeur de la colonne */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  z-index: 1000;
}

#menu-demo2 li:hover > ul {
  max-height: 150rem;
  /* hauteur suffisante pour tout afficher */
}

/* style des liens du sous-menu */
#menu-demo2 li > ul li a {
  display: block;
  color: #fff;
  text-align: left;
  width: 100%;
}

/*fin tests menu */

.back-to-start {
  position: absolute;
}

.back-to-start-picture {
  width: 50px;
  height: auto;
}

.menu-barre ul {
  list-style-type: none;
  padding: 0;
}

.menu-barre li {
  float: left;
  text-align: center;
}

/*Evite que le menu n'ait une hauteur nulle*/
.menu-barre ul::after {
  content: "";
  display: table;
  clear: both;
}

.menu-barre .choice {
  display: block;
  /*Toute la surface sera cliquable*/
  color: white;
  border-bottom: 2px solid transparent;
  padding: 10px 0px;
  text-decoration: none;
  font-family: "Ruddy-Regular";
  font-size: larger;
}

.menu-barre .choice:hover {
  color: #ffd200;
  border-bottom: 2px solid #ffd200;
  text-decoration: none;
}

.menu-barre .choice .ishover {
  opacity: 0;
  width: 5rem;
  height: auto;
  margin-right: 1rem;
}

.menu-barre .choice:hover .ishover {
  opacity: 1;
}

#titleHome {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-right: 10rem;
  padding-left: 10rem;
  padding-bottom: 10rem;
}

.info-bulle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  gap: 1rem;
  border: var(--dark-blue) solid 10px;
  border-radius: 0 40px 0 40px;
  background-color: white;
  color: var(--light-blue);
}

.info-bulle h1 {
  font-size: 3.5rem;
  font-weight: bolder;
  transform: rotate(-8deg);
  -moz-transform: rotate(-8deg);
  -webkit-transform: rotate(-8deg);
  -khtml-transform: rotate(-8deg);
  padding-bottom: 2rem;
}

#infos-combien-mobile {
  display: none !important;
}

#infos-lieu-mobile {
  display: none;
}

.info-content p {
  font-size: large;
}

#titleHome .infos-homePage {
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;
  width: 100%;
  padding-bottom: 10rem;
}

#titleHome .infos-homePage p {
  margin: 0;
  font-size: large;
  font-family: "Ruddy-Regular";
}

#titleHome .infos-homePage > div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 50%;
}

h2 {
  font-size: 24px;
  margin: 0px;
  padding-bottom: 10px;
}

#presse {
  margin-bottom: 0;
}

.mentions {
  display: flex;
  width: 100%;
  justify-content: center;
  background-color: var(--dark-blue);
}

footer {
  width: 100%;
  background-color: var(--dark-blue);
  font-size: medium;
}

footer .row {
  background-color: var(--dark-blue);
  /*min-height: 250px; */
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-flow: row wrap;
}

footer .row > div {
  flex: 1 1 24%;
  flex-flow: row wrap;
  text-align: left;
  margin: 1px;
}

/*footer .visiteurs, footer .programme, footer .ludosphere, footer .benevoles { line-height: 10px;	}*/
footer .visiteurs,
footer .programme,
footer .ludosphere,
footer .benevoles {
  background-color: var(--dark-blue);
}

footer h1 {
  font-size: 20px;
}

footer ul {
  /*min-height: 140px;*/
  padding-left: 20px;
  padding-top: 10px;
  border-top: 4px solid;
}

footer ul.actualites {
  border-color: #44aec1;
}

footer ul.visiteurs {
  border-color: #c04945;
}

footer ul.ludosphere {
  border-color: #456699;
}

footer ul.programme {
  border-color: #ed7f51;
}

footer ul.benevoles {
  border-color: #5e8d57;
}

footer ul.presse {
  border-color: #072b43;
}

a,
a:visited {
  text-decoration: none;
  color: #ffffff;
}

a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.fb-like-box iframe {
  margin: 0;
  padding: 0;
  background-color: #e0e0e0;
}

label.label {
  font-size: 14px;
  font-weight: normal;
  margin: 10px;
  min-width: 150px;
  text-align: right;
  display: block;
}

input,
textarea {
  margin: 10px;
}

input[type="text"],
input[type="password"] {
  color: black;
}

.article-tile input[type="text"],
.article-tile textarea {
  color: black;
  border: 1px solid black;
}

.underline {
  text-decoration: underline;
}

.px20 {
  font-size: 20px;
}

#forgottenpwddiv {
  display: none;
}

.rowwithpadding {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px;
}

.articles section {
  padding: 0px;
}

/* hack for disappearing facebook like-box */
#fb_login_button {
  width: 80px;
}

#fb_login_button span,
#fb_login_button iframe {
  width: 80px !important;
  height: 25px !important;
}

/* other pages */
.main {
  margin-left: 20px;
  margin-right: 20px;
  min-height: 500px;
}

.main nav {
  display: block;
}

nav.home {
  margin: 0 -5px;
}

.menu {
  display: block;
  text-align: center;
  margin-bottom: 2px;
  min-height: 50px;
  line-height: 50px;
}

h3,
h2 {
  font-variant: small-caps;
}

.globalnav {
  height: 35px;
  padding-top: 5px;
  margin-bottom: 12px;
  margin-left: 0px;
  margin-right: 0px;
}

.globalnav a > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2rem;
}

.alcenter {
  text-align: center;
}

.alright {
  text-align: right;
}

.alleft {
  text-align: left;
}

.tile-text {
  text-align: center;
  padding: 10px;
  float: none;
  width: auto;
  /*line-height: 1.2;*/
  border: none;
}

/*float: left; width: 50%; border: 1px solid #173F59; text-align: center; padding: 10px; line-height: 48px;*/
.tiles {
  display: flex;
  flex-flow: row wrap;
  display: -webkit-flex;
  -webkit-flex-flow: row wrap;
}

.tiles > div {
  flex: 1 1 48%;
  -webkit-flex: 1 1 48%;
  text-align: left;
  margin: 1px;
}

/* background: #456699;  */
.tiles > div:nth-child(3n) {
  flex: 1 1 100%;
  -webkit-flex: 1 1 100%;
  margin-right: 1px;
  margin-left: 1px;
  padding: 3% 7% 5% 7%;
}

.tiles > div h3 {
  text-align: center;
  color: #c04945;
}

.tile-logo {
  float: left;
  width: 20%;
  border: 3px solid #173f59;
}

.full {
  width: 100%;
  max-width: 100%;
}

.blanc {
  background-color: #ffffff;
  /*#EEEEEE;*/
}

.clean {
  clear: left;
  padding-top: 10px;
}

.article-tile {
  clear: left;
  background-color: white;
  color: black;
  margin: 2px 1px 5px 1px;
  border: 4px solid white;
  padding: 3% 7% 5% 7%;
}

.article-tile:after {
  content: "";
  display: block;
  clear: both;
}

.article-tile .close {
  color: black;
  font-size: 18px;
}

.article-tile a,
.article-tile a:visited {
  text-decoration: none;
  color: #b99f1e;
}

/*808080*/
.article-tile a:hover {
  text-decoration: underline;
  color: #b99f1e;
}

/*808080*/
.article-tile h3 {
  text-align: center;
  color: #c04945;
}

p.title {
  font-weight: bold;
  font-size: 18px;
}

.inactive {
  display: none;
}

.active {
  display: block;
}

.article-section,
.article-inline,
.article-tile {
  text-align: left;
  overflow: hidden;
}

.article-section a,
.article-section a:visited {
  text-decoration: none;
  color: #ffd800;
}

/*D8D8D8*/
.article-section a:hover {
  text-decoration: underline;
  color: #ffd800;
}

/*D8D8D8*/
.article-inline a,
.article-inline a:visited {
  text-decoration: none;
  color: var(--gold);
}

/*D8D8D8*/
.article-inline a:hover {
  text-decoration: underline;
  color: #ffd800;
}

/*D8D8D8*/
hr.blocdate {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

div.blocdate {
  width: 150px;
  text-align: center;
  margin-top: 0px;
}

.actulogo {
  text-align: left;
  vertical-align: top;
}

.actulogo img {
  width: 80px;
}

.whitemenu {
  min-height: 30px;
  line-height: 30px;
  margin-bottom: 10px;
  margin-left: 0px;
  margin-right: 0px;
  font-size: 16px;
  background-color: #ffffff;
}

a.button,
a.button:hover,
a.button:visited {
  color: #fff;
}

.clearboth {
  clear: both;
}

/* debug */
* {
  border: 0px solid #888;
}

/*Correction bug tuiles 7-11-2015*/
.nocolor {
  background-color: #173f59;
}

/*Repositionnement 8-11-15*/
.posclose {
  position: relative;
  top: 5%;
  right: -5%;
}

/*Fiche créateurs 8-11-15*/

.ligne {
  display: block;
  width: 100%;
  clear: both;
  color: #173f59;
  font-size: 1em;
}

.resume {
  float: left;
  width: 50%;
  margin-right: 4%;
}

@media (max-width: 767px) {
  .resume {
    float: left;
    width: 95%;
  }
}

.photojeu {
  float: left;
  width: 45%;
  max-width: 350px;
}

@media (max-width: 767px) {
  .photojeu {
    float: left;
    width: 100%;
  }
}

.photojeu img,
.auteur img {
  width: 100%;
  margin: 0px;
  max-width: 100%;
  height: auto;
}

.jeu {
  float: left;
  width: 55%;
}

@media (max-width: 767px) {
  .jeu {
    float: left;
    width: 90%;
  }
}

.auteur {
  float: left;
  width: 30%;
  margin-right: 40px;
  text-align: center;
  max-width: 300px;
}

@media (max-width: 767px) {
  .auteur {
    width: 100%;
  }
}

.auteur h4 {
  text-align: left;
}

.infojeu {
  margin-left: 20px;
}

.infojeu dt {
  font-size: 1em;
  float: left;
  font-weight: normal;
  margin: 0 0.5em;
  clear: left;
}

.infojeu dd {
  color: #072b43;
  font-size: 1em;
  margin: 0 0 1em 1.5em;
  float: left;
  clear: both;
}

/*Fiche Editeur 9-11-2015*/
.ligne_editeur {
  width: 100%;
  clear: both;
  color: #173f59;
  font-size: 1em;
  overflow: hidden;
}

.ligne_editeur p {
  margin-top: 0;
}

.resume_editeur {
  float: left;
  width: 65%;
}

@media (max-width: 767px) {
  .resume_editeur {
    width: 90%;
  }
}

.logo_editeur {
  width: 150px;
  float: left;
  margin-right: 30px;
}

.logo_editeur img {
  width: 100%;
  max-width: 100%;
  float: left;
  clear: both;
}

.links a {
  width: 50px;
  margin: 0 auto;
  display: block;
  float: left;
}

.jeuxpres li {
  float: left;
  width: 30%;
  height: 250px;
  text-align: center;
  display: block;
  margin: 0 auto 30px auto;
}

@media (max-width: 767px) {
  .jeuxpres li {
    float: left;
    width: 85%;
    text-align: center;
    display: block;
    margin: 0 auto 30px auto;
  }
}

.jeuxpres h5 {
  height: 20px;
  margin-bottom: 4px;
}

.jeuxpres img {
  clear: both;
  max-width: 90%;
  max-height: 80%;
}

ul.jeuxpres {
  padding-left: 0;
  margin: 0 auto;
}

/*Modification Formulaires d'inscriptions Animations 16/11-2015*/
.inscription {
  width: 40%;
  float: left;
  margin-right: 0;
  min-width: 250px;
}

.ins-left {
  margin-right: 3em;
}

.inscription label {
  width: 100%;
  display: inline-block;
  margin-bottom: 5px;
  margin-top: 10px;
  font-weight: normal;
}

.inscription input[type="text"],
.inscription textarea {
  width: 95%;
  border: 1px solid #a9a9a9;
  height: 25px;
  padding-left: 5px;
  margin: 0;
}

.inscription input[type="text"].crt {
  width: 100px;
}

.inscription textarea {
  min-height: 40px;
}

.inscription input[type="submit"] {
  margin-left: 0;
  padding: 5px;
  width: 100px;
  background-color: #173f59;
  border: 1px solid #173f59;
  color: white;
}

.date-actu {
  border-radius: 20px;
  width: auto;
  height: auto;
  display: inline-block;
  text-align: center;
  padding: 3px 7px;
  margin-top: 15px;
  margin-bottom: 0px;
  font-size: 14px;
  background-color: #173f59;
}

.rowwithpadding:first-child {
  position: relative;
}

.dates time {
  font-size: 15rem;
  line-height: 1;
  color: var(--gold);
}

.dates time:first-of-type::after {
  position: relative;
  top: -6rem;
  font-size: 6rem;
  content: "&";
  color: white;
  padding: 1rem;
}

/*pour newsletter bénévole - 10/12/2015*/
.newsletter {
  background-color: #173f59;
  text-align: left;
}

.newsletter img {
  margin: 0px;
  max-width: 100%;
  height: auto;
}

/*Pour corrections flex - 11/12/2015*/
.boxflex {
  /*background-color: #5E8D57;*/
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.boxflex img {
  max-width: 100%;
  margin: 5px;
}

.imglink {
  width: auto;
  margin-left: 15px;
}

.boxflex p {
  margin: 0;
  width: 65%;
  text-align: center;
}

.tile-link {
  width: 100%;
}

.bxfx-actualites {
  background-color: #286067;
}

.bxfx-visiteurs {
  background-color: #c04945;
}

.bxfx-ludosphere {
  background-color: #456699;
}

.bxfx-programme {
  background-color: #ed7f51;
}

.bxfx-benevoles {
  background-color: #5e8d57;
}

.bxfx-presse {
  background-color: #072b43;
}

/*Pour selection dans grille images - 13-12-2015*/
.fclose {
  border-bottom: 5px solid white;
}

/*Carousel HOME 20/10/2025*/
.partner-carousel {
  overflow: hidden;
  width: 100%;
  background: var(--light-blue);
  padding: 20px 0;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 50px;
  width: fit-content;
  /* deux fois plus large pour les deux copies */
  animation: scrollPartners 20s linear infinite;
}

.partner_link {
  display: inline-block;
  flex-shrink: 0;
}

.partner_tile {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner_tile:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* L'animation infinie sans pause ni trou */
@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-25% - 12.5px));
  }
}

/* Pause au survol */
.partner-carousel:hover .carousel-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .partner_tile {
    width: 90px;
    height: 90px;
  }

  .carousel-track {
    gap: 30px;
    animation-duration: 30s;
  }
}

/*New form*/
fieldset.btnradio {
  padding-left: 0;
  width: 100%;
}

fieldset.btnradio ul {
  float: left;
  margin: 0;
  padding-left: 0;
  padding-top: 0;
  width: 100%;
}

fieldset.btnradio li {
  float: left;
  width: 100%;
  display: inline;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

fieldset.btnradio label {
  text-align: left;
  float: none;
  display: inline;
  padding-right: 3em;
  padding-left: 0.3em;
  width: 50%;
  font-size: 1em;
}

fieldset.btnradio legend {
  color: black;
  width: 100%;
  text-align: left;
  float: left;
  font-size: 1em;
  border: 0;
  margin-bottom: 5px;
}

/*16-01-2016 Map Embed*/
.map_embed {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  width: auto;
  height: 500px;
}

@media (max-width: 560px) {
  .map_embed {
    margin: 0 auto;
    max-width: 560px;
    width: auto;
    display: none;
    height: 200px;
  }
}

.map_embed iframe {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#faq dd {
  display: none;
}

#faq dt {
  cursor: pointer;
  margin-top: 15px;
}

/*Version mobile*/

@media (max-width: 767px) {
  body {
    width: 100%;
  }

  .menu-barre {
    display: none;
  }

  #titleHome {
    height: auto;
    padding: 0;
  }

  .icons-social-medias {
    position: relative;
    background-color: var(--dark-blue);
    flex-direction: row;
    bottom: auto;
    left: auto;
  }
  .icons-social-medias a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dates {
    flex: 1;
    justify-content: center;
  }

  .dates time {
    display: flex;
    justify-content: center;
    font-size: 8rem;
  }

  .dates time:first-of-type::after {
    top: -1rem;
    font-size: 5rem;
  }

  .dates .month-year {
    display: flex;
    gap: 2rem;
    padding: 0;
    font-size: 5rem;
    flex: 1;
    justify-content: center;
  }

  #titleHome .infos-homePage {
    flex-direction: column;
    padding: 2rem;
  }

  #titleHome .infos-homePage > div {
    width: 100%;
  }

  #titleHomeFee {
    width: 100%;
    height: auto;
  }

  .info-bulle {
    border: var(--dark-blue) solid 5px;
  }
  .info-bulle h1 {
    font-size: 3rem;
  }

  #infos-lieu-mobile,
  #infos-combien-mobile {
    display: flex !important;
  }

  #infos-lieu,
  #infos-combien {
    display: none !important;
  }

  .container-fluid > div {
    margin-bottom: 0;
  }

  .container-fluid > section {
    margin-bottom: 0;
  }

  .logo {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #logo-home-img {
    width: 100%;
    height: auto;
  }

  #poster {
    flex-direction: column;
    gap: 10rem;
    border: 0px;
    border-radius: 0%;
    padding: 1.5rem;
  }

  .inclined {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    right: 0%;
    -moz-box-shadow: -5px 5px 5px black;
    -webkit-box-shadow: -5px 5px 5px black;
    /*-o-box-shadow: 5px 5px 5px black;*/
    box-shadow: -5px 5px 5px black;
    margin: 0px;
    max-width: 95%;
  }

  .articles {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }

  #presse {
    padding: 2rem;
  }

  /* Pages */
  .globalnav {
    margin-top: 5rem;
  }
}

/* ------------------------------ */
/*      BOUTON BURGER             */
/* ------------------------------ */

.menu-toggle {
  display: none;
}

.burger {
  display: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 3001;
  position: fixed;
  top: 15px;
  right: 20px;
}

.burger span {
  height: 3px;
  width: 100%;
  background: var(--gold);
  border-radius: 3px;
}

@media (max-width: 1366px) {
  .burger {
    display: flex;
  }
}

/* ------------------------------ */
/*           OVERLAY              */
/* ------------------------------ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 3000;
}

/* afficher l'overlay quand menu ouvert */
.menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------ */
/*        MENU MOBILE             */
/* ------------------------------ */

.mobile-nav {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background: var(--dark-blue);
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 3002;
  padding: 20px;
  overflow-y: auto;
}

.menu-toggle:checked ~ .mobile-nav {
  left: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav > ul > li > a,
.sub-label {
  display: block;
  padding: 1rem 0;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 300;
}

/* ------------------------------ */
/*       Sous-menus en CSS        */
/* ------------------------------ */

.sub-toggle {
  display: none;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding-left: 1rem;
  background: var(--dark-blue);
}

.sub-toggle:checked + .sub-label + .submenu {
  max-height: 600px;
}

.submenu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.5rem;
  color: var(--gold);
}

/* Flèche par défaut (fermée) */
.sub-label {
  position: relative;
  padding-right: 25px;
  cursor: pointer;
  text-decoration: underline;
}

.sub-label::after {
  content: "▾"; /* un petit V */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.25s ease;
  font-size: 2rem;
}

/* Flèche ouverte quand le sous-menu est déployé */
.sub-toggle:checked + .sub-label::after {
  transform: translateY(-50%) rotate(-180deg);
}

@media (min-width: 768px) and (max-width: 1366px) {
  body {
    width: 100%;
  }

  .menu-barre {
    display: none;
  }

  #titleHome {
    height: auto;
    padding: 0;
  }

  .icons-social-medias {
    position: relative;
    background-color: var(--dark-blue);
    flex-direction: row;
    bottom: auto;
    left: auto;
  }
  .icons-social-medias a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dates {
    flex: 1;
    justify-content: center;
  }

  .dates time {
    display: flex;
    justify-content: center;
    font-size: 10rem;
  }

  .dates time:first-of-type::after {
    top: -3rem;
    font-size: 6rem;
  }

  .dates .month-year {
    display: flex;
    gap: 2rem;
    padding: 0;
    font-size: 8rem;
    flex: 1;
    justify-content: center;
  }

  #titleHome .infos-homePage {
    flex-direction: column;
    padding: 2rem;
  }

  #titleHome .infos-homePage > div {
    width: 100%;
  }

  #titleHomeFee {
    width: 100%;
    height: auto;
  }

  .info-bulle {
    border: var(--dark-blue) solid 5px;
  }
  .info-bulle h1 {
    font-size: 3rem;
  }

  #infos-lieu-mobile,
  #infos-combien-mobile {
    display: flex !important;
  }

  #infos-lieu,
  #infos-combien {
    display: none !important;
  }

  .container-fluid > div {
    margin-bottom: 0;
  }

  .container-fluid > section {
    margin-bottom: 0;
  }

  .logo,
  .logo-small {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #logo-home-img {
    width: 100%;
    height: auto;
  }

  #poster {
    flex-direction: column;
    gap: 10rem;
    border: 0px;
    border-radius: 0%;
    padding: 1.5rem;
  }

  .inclined {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    right: 0%;
    -moz-box-shadow: -5px 5px 5px black;
    -webkit-box-shadow: -5px 5px 5px black;
    /*-o-box-shadow: 5px 5px 5px black;*/
    box-shadow: -5px 5px 5px black;
    margin: 0px;
    max-width: 95%;
  }

  .articles {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }

  #presse {
    padding: 2rem;
  }

  /* Pages */
  .globalnav {
    margin-top: 5rem;
  }
}
