@charset "UTF-8";
/* ==========================================================
   1. IMPORTS
========================================================== */
/* ==========================================================
   2. VARIABLES
========================================================== */
/* ==========================================================
   3. RESET & BASE
========================================================== */
* {
  margin-left: 0;
  margin-right: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: arial;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #e1e1e1;
}

.clear {
  clear: both;
}

a {
  text-decoration: none;
  color: #111;
}
a:hover {
  color: rgb(29, 128, 130);
}

ul {
  text-align: left;
}
ul li {
  text-align: left;
}

/* ==========================================================
   4. LAYOUT GLOBAL
========================================================== */
.container_24 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(220px, 18vw) 1.2rem 1fr 1.2rem minmax(220px, 18vw);
  grid-template-columns: minmax(220px, 18vw) 1fr minmax(220px, 18vw);
  gap: 1.2rem;
  padding: 1rem;
}

#mainLeft {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

#mainCenter {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  width: 100%;
}

#mainRight {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}

#mainLeft,
#mainRight {
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
          box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
  padding: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.15);
}

footer {
  clear: both;
  width: 100%;
  background: #89c2e8;
  max-height: 25px;
  position: fixed;
  bottom: 0;
  padding: 0 15%;
  -webkit-transition: 0.5s ease 0.5s all;
  transition: 0.5s ease 0.5s all;
  z-index: 999999999;
  display: none;
}
footer:hover {
  max-height: 2000px;
}
footer section {
  width: 32%;
  display: inline-block;
  font-size: 0.8em;
  text-align: left;
}
footer section:last-child {
  text-align: right;
}
footer section h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin: 5px 0;
}

/* ==========================================================
   BARRE DROITE (espace usager))
========================================================== */
#mainRight div div, #mainLeft .search_bar {
  margin: 1em 0;
  /* background: red; */
  padding: 1em;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 15px;
  background: #fff8ee;
  -webkit-box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
          box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
}

/* ==========================================================
   5. HEADER & MENU
========================================================== */
header {
  top: 0;
  background: #f3e6d4;
  padding-bottom: 8px;
  border-radius: 0 0 15px 15px;
  margin: 0 1em;
}

.titreHeaderCatalogue {
  background: #ffffff;
  font-size: 1.8em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  display: block;
  padding: 0.5rem 1rem;
  width: auto;
  font-weight: bolder;
  color: #89c2e8;
  border-left: 2px solid rgba(0, 0, 0, 0.15);
  border-right: 2px solid rgba(0, 0, 0, 0.15);
}

#mainMenu {
  background: #f3e6d4;
  margin: 0;
  text-align: center;
  padding: 0.3em;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 0 0 15px 15px;
  -webkit-box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.18);
          box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.18);
}
#mainMenu a {
  margin: 3px 1em;
  padding: 10px 0.5%;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 10px;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  text-align: center;
  font-weight: bolder;
}
#mainMenu a:hover, #mainMenu a:active {
  background-color: #89c2e8 !important;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transform: translateY(2px);
      -ms-transform: translateY(2px);
          transform: translateY(2px);
  color: #000;
}
#mainMenu a.currentPage {
  -webkit-filter: sepia(1);
          filter: sepia(1);
}
#mainMenu a.inactif {
  background-color: rgba(158, 158, 158, 0.9607843137) !important;
}

/* ==========================================================
   6. ALERTES & MESSAGES
========================================================== */
.infos {
  background: #E3A519;
  padding: 0.5%;
  display: block;
  text-align: center;
  margin: 10px auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 8px;
  font-weight: bold;
}

.alerte {
  background: rgb(217, 34, 24);
  padding: 0.5%;
  display: block;
  text-align: center;
  margin: 10px auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 8px;
  font-weight: bold;
}

.validation {
  background: rgb(102, 204, 33);
  padding: 0.5%;
  display: block;
  text-align: center;
  margin: 10px auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 8px;
  font-weight: bold;
}

/* =========================
   FORMULAIRES LUDIQUES
   ========================= */
form {
  text-align: right;
}

/* -------------------------
   Champs textes / selects / textarea
   ------------------------- */
input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
textarea {
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid #CDEDEA;
  background: #ffffff;
  color: #2A2A2A;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0.1em 0;
  width: 50%;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #aaa;
  opacity: 1;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #aaa;
  opacity: 1;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: #aaa;
  opacity: 1;
}

input::-ms-input-placeholder, textarea::-ms-input-placeholder {
  color: #aaa;
  opacity: 1;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #89c2e8;
}

/* -------------------------
   Labels
   ------------------------- */
label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  color: #2A2A2A;
}

.field-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.2rem;
}

/* -------------------------
   Boutons / Submit
   ------------------------- */
button,
input,
a.bouton {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #7fb8de;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
}

button:hover,
input[type=submit]:hover,
input[type=button]:hover,
a.bouton:hover {
  background-color: #89c2e8;
  -webkit-transform: translateY(-2px) scale(1.05);
      -ms-transform: translateY(-2px) scale(1.05);
          transform: translateY(-2px) scale(1.05);
  -webkit-box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.18);
          box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.18);
}

button:active,
input[type=submit]:active,
input[type=button]:active {
  -webkit-transform: translateY(1px) scale(0.98);
      -ms-transform: translateY(1px) scale(0.98);
          transform: translateY(1px) scale(0.98);
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: auto;
}

input[type=submit] {
  background-color: #89c2e8;
}

/* -------------------------
   Checkbox / radio
   ------------------------- */
input[type=checkbox],
input[type=radio] {
  accent-color: #2F9C95;
  cursor: pointer;
}

/* -------------------------
   Messages d'erreur / success
   ------------------------- */
.form-message {
  font-size: 0.8rem;
  color: var(--danger);
}

.form-message.success {
  color: var(--success);
}

/* ==========================================================
   8. TABLES
========================================================== */
.bordure {
  border: 1px solid black;
  border-collapse: collapse;
}
.bordure th {
  background: rgb(29, 128, 130);
  border: 1px solid #000;
  height: 30px;
}
.bordure tr {
  background: #fff;
}
.bordure tr:nth-child(2n+1) {
  background: #ccc;
}
.bordure tr td {
  padding: 5px;
  height: 30px;
}

/* ==========================================================
   PAGE NOUVEAU JEU
========================================================== */
#content > div#mainCenter {
  margin: 1em;
  PADDING: 0 1em;
}

a.nouveauJeu {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

.catalogue.nouveauJeu {
  width: 410px;
  height: 327px;
  border-radius: 0 15px 15px;
  margin: 1rem;
  display: inline-block;
  overflow: hidden;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  background: white;
  padding: 5px;
  -webkit-box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
          box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 0, 0, 0.15);
}
.catalogue.nouveauJeu:hover .description {
  margin: -300px 0 0 0;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.image_conteneur {
  width: 400px;
  height: 300px;
}
.image_conteneur img {
  max-width: 400px !important;
  max-height: 300px !important;
}

.description {
  width: 400px;
  height: 300px;
  background: #92C8D0;
  padding: 10px;
  color: #fff;
  border-radius: 5px;
  overflow: auto;
  position: relative;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

/* =========================
   DATATABLES – NETTOYAGE
   ========================= */
table#tableListCatalog thead, .dataTables_scrollHead {
  display: none;
}

table#tableListCatalog {
  border-collapse: collapse;
}

/* =========================
   GRILLE CATALOGUE
   ========================= */
table#tableListCatalog {
  width: 100% !important;
}

table#tableListCatalog tbody {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  padding: 4px;
}

/* =========================
   FICHE JEU
   ========================= */
table#tableListCatalog tbody tr {
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
          box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.12);
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  position: relative;
  width: 100%;
  max-width: 300px;
}

table#tableListCatalog tbody tr:hover {
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.18);
          box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.18);
}

/* =========================
   CONTENU INTERNE
   ========================= */
table#tableListCatalog tbody tr td {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 96px 0.9rem 1fr;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  padding: 0.9rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

/* =========================
   VIGNETTE
   ========================= */
.vignette.catalogue {
  width: 96px;
  height: 140px;
  background-color: #F2F2F2;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
}

.vignette.catalogue img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.vignette.catalogue:empty::after {
  content: "🎲";
  font-size: 2rem;
  opacity: 0.35;
}

/* =========================
   TEXTE
   ========================= */
.vignette.catalogue + * {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.4rem;
}

/* Titre */
table#tableListCatalog a,
.vignette.catalogue + * a:first-child {
  font-weight: 400;
  color: #2A2A2A !important;
  line-height: 1.2;
  margin: 0;
}

a.insidebox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  min-height: 100px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
a.insidebox img {
  max-height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Méta */
.vignette.catalogue + * span,
.vignette.catalogue + * div {
  font-size: 0.75rem;
  color: #6B6B6B;
}

/* =========================
   BADGES
   ========================= */
.infoboxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.infobox {
  background-color: #CDEDEA;
  color: #2F9C95;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid #2F9C95;
  height: 35px;
  vertical-align: super;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 30%;
  margin: 0;
  border-radius: 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-size: 30px;
  padding-left: 37px;
  background-repeat: no-repeat;
  background-position-x: 2px;
  background-position-y: center;
  -webkit-transition: all ease 0.3s 0s;
  transition: all ease 0.3s 0s;
}
.infobox.duree {
  background-image: url(./img/jeu_temps.png);
}
.infobox.age {
  background-image: url(./img/jeu_age.png);
}
.infobox.joueurs {
  background-image: url(./img/nb_player.png);
}

.auteurs {
  display: block !important;
  padding: 0.5rem 0;
}
.auteurs .auteur {
  display: block;
  font-size: small;
}

/* =========================
   STATUT
   ========================= */
tr.disponible::before,
tr.reserve::before,
tr.emprunte::before,
tr.SurPlace::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  -webkit-box-shadow: 0 0 3px #ccc;
          box-shadow: 0 0 3px #ccc;
}

tr.disponible::before {
  background-color: #70C28E;
}

tr.reserve::before {
  background-color: #FF6B6B;
}

tr.emprunte::before {
  background-color: #FFD166;
}

tr.SurPlace::before {
  background-color: #FF8FA3;
}

/* ==========================================================
   BOX AJAX
========================================================== */
#insertions_jquery {
  background: rgba(63, 92, 111, 0.5019607843);
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1001;
}

html, body {
  width: 100%;
  height: 100%;
}

#inside_insertion_jquery {
  margin: 3vh auto;
  max-width: 1000px;
  border-radius: 30px;
  background: #FFF8EE;
  -webkit-box-shadow: 0px 0px 10px;
          box-shadow: 0px 0px 10px;
  padding: 10px;
  overflow: auto;
  max-height: 90vh;
  z-index: 1001;
}

#insertions_jquery_pager {
  width: 100%;
  height: 100%;
  z-index: 1001;
}

/* ==========================================================
   11. RESPONSIVE
========================================================== */
@media screen and (max-width: 768px) {
  .container_24 {
    margin-top: 1%;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(90px, 10vw) 0% 1fr 0% minmax(90px, 10vw);
    grid-template-columns: minmax(90px, 10vw) 1fr minmax(90px, 10vw);
    grid-auto-flow: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    grid-gap: 0%;
    padding: 0;
  }
  #mainLeft {
    float: left;
    margin: 1% 1% 0 0;
    border-radius: 0 8px 8px 0;
    width: 0px;
    background: url(/img/2018/Find_mobile.png) green !important;
    height: 80px;
    overflow: hidden;
    background-size: cover !important;
    padding: 80px 40px 0;
    -webkit-transition: all ease 0.2s;
    transition: all ease 0.2s;
  }
  #mainLeft:focus-within, #mainLeft:hover {
    width: 85vw;
    height: auto;
    background: #fff !important;
    padding: 8px;
    z-index: 99999999;
    border: #89c2e8 solid 3px;
    min-height: 50vh;
  }
  #mainRight {
    width: 0px;
    height: 80px;
    overflow: hidden;
    background: url(/img/2018/logIn_mobile.png) green !important;
    background-size: cover !important;
    -ms-grid-column-align: end;
        justify-self: end;
    padding: 80px 40px 0;
    margin: 1% 0 0 0;
    border-radius: 8px 0 0 8px;
    grid-column: -1/-2;
  }
  #mainRight:focus-within, #mainRight:hover {
    width: 85vw;
    height: auto;
    background: #fff !important;
    padding: 8px;
    z-index: 99999999;
    border: #89c2e8 solid 3px;
    min-height: 50vh;
  }
  #mainCenter {
    background: none;
    width: 100%;
    float: left;
    padding: 0.5%;
    text-align: center;
    padding-bottom: 25px;
    margin-bottom: 50px;
    overflow: auto;
  }
  #mainCenter.center {
    float: none;
    margin: 1em auto;
  }
  table#tableListCatalog tbody tr {
    margin: auto;
  }
}