/*
Theme Name:  Attraptemps
Theme URI:   http://starterdivi.kinsta.cloud
Version:     1.0
Description: Theme Enfant Divi
Author:      adminAT66
Author URI:  http://starterdivi.kinsta.cloud
Template:    Divi
*/

/*- Add any CSS custom code for this child theme below this line -*/

/*=== Css Générale ===*/
body,
html {
  overflow-x: hidden;
}

h1 {
  font-size: 50px;
}
h2 {
  font-size: 35px;
}
h3 {
  font-size: 25px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 18px;
  text-transform: uppercase;
}

.light h1,
.light h2,
.light h3,
.light h4,
.light h5 {
  color: #fff;
}

/* classes personnalisées qui désigneront l'ordre
   des colonnes dans la ligne de la flexbox */
.first-on-mobile {
  -webkit-order: 1;
  order: 1;
}
.second-on-mobile {
  -webkit-order: 2;
  order: 2;
}
.third-on-mobile {
  -webkit-order: 3;
  order: 3;
}
.fourth-on-mobile {
  -webkit-order: 4;
  order: 4;
}
/* ajoute une marge à la dernière colonne */
.custom_row:last-child .et_pb_column:last-child {
  margin-bottom: 30px;
}

/* COOKIE NOTICE */
.cn-button.bootstrap {
  color: #fff;
  background: #666;
}

/* COMPTE */
body:not(.logged-in) .hide-for-logged-out {
  display: none !important;
}
body.logged-in .hide-for-logged-in {
  display: none !important;
}

/* WOOCOMMERCE */
.woocommerce ul.products li.product a img {
}

/* PANIER DYNAMIQUE */

.xoo-wsc-basket {
  z-index: 499 !important;
}

.xoo-wsc-shipping,
.xoo-wsc-total-sales {
  display: none !important;
}

/*=== Slider Répéteur Snippet Accueil ===*/

#slider-repeteur .slider {
  min-height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
}
#slider-repeteur .slide_viewer {
  min-height: 500px;
  overflow: hidden;
  position: relative;
}
#slider-repeteur .slide_group {
  height: 100%;
  position: relative;
  width: 100%;
}
#slider-repeteur .slide {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
}
#slider-repeteur .slide:first-child {
  display: block;
}
#slider-repeteur .titre h1,
#slider-repeteur .surtitre p,
#slider-repeteur .texte p {
  text-align: center;
  line-height: 1;
  margin: 0.5em 0;
}
.slide_buttons {
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  bottom: 0;
}
a.slide_btn {
  color: rgba(255, 255, 255, 0.5);
  font-size: 42px;
  margin: 0 0.175em;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.slide_btn.active,
.slide_btn:hover {
  color: #ffffff;
  cursor: pointer;
}

/*=== MEDIA QUERIES ===*/
/* iPad Pro/Air 11" */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 25px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 18px;
  }
}

/* iPhone 6 & > */
@media all and (max-width: 940px) {
  h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 25px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 20px;
  }
}

a.cta-billetterie {
  background-color: #007030;
  padding: 1em;
  border-radius: 3px;
  color: #fff;
  margin-left: 5px;
  font-family: "carlsonsans", Georgia, "Times New Roman", serif;
}

a.cta-billetterie:hover {
  background-color: #008f3d;
}

.game a {
  animation: 16s linear 0s infinite alternate move_eye;
  display: block;
}

@-webkit-keyframes move_eye {
  from {
    margin-left: -20%;
  }
  to {
    margin-left: 100%;
  }
}
@keyframes move_eye {
  from {
    margin-left: -20%;
  }
  to {
    margin-left: 100%;
  }
}

/*----------Alignement vertical-----------*/
.centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
}

.custom-li-history {
  ul {
    list-style-type: none;
    padding-left: 0;
    padding-top: 30px;

    li {
      font-family: 'alfredinosemirounded', Georgia, "Times New Roman", serif;
      line-height: 1.2;
      padding-left: 2em;
      text-transform: uppercase;
      font-size: 25px;
      position: relative;
      margin-bottom: 1em;

      &::before {
        content: "";
        background-image: url("https://festival-bacchus.fr/wp-content/uploads/2026/05/Vector.png");
        background-size: contain;
        background-repeat: no-repeat;
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
      }
    }
  }
}

.align-vertical-desktop {
  @media screen and (min-width: 981px) {
    display: flex;
    align-items: center;
  }
}

#custom-lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

#custom-lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  animation: zoomInLight 0.3s ease;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
}

.close-lightbox:hover {
  color: #ff4a4a;
}

body.lightbox-active {
  overflow: hidden;
}

@keyframes zoomInLight {
  from {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.woocommerce div.product form.cart .variations td select {
  background-color: #fff !important;
  padding: 10px 15px !important;
}

.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
  content: none !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
  color: #E23E01 !important;
}

.woocommerce-notices-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;

  .woocommerce-message,
  .woocommerce-error {
    margin-bottom: 0;
  }
}

.select2-container .select2-selection--single {
  height: auto !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 10px !important;
}
