/* *** ************************** */
/* *** Classes réutilisables *** */
/* *** ************************ */


@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }

  .col-reverse-mobile {
    flex-direction: column-reverse;
  }

  .flex-col-mobile {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1023px) {
  .hidden-tablet {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none !important;
  }
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.justify-end {
  justify-content: end;
}

.shrink-0 {
  flex-shrink: 0;
}

.block {
  display: block;
}

.img-block picture {
  display: block;
}

.invert {
  filter: invert(100%);
}

.z-1 {
  z-index: 1;
}

.font-light {
  font-weight: 300;
}

.font-bold {
  font-weight: 700;
}

.font-normal {
  font-weight: 400;
}

.italic {
  font-style: italic;
}

.font-1-5 {
  font-size: 1.5rem;
}

.no-underline,
.no-underline>a {
  text-decoration-line: none !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.lh-normal {
  line-height: normal;
}

.no-wrap-text {
  white-space: nowrap;
}

.overflow-hidden {
  overflow: hidden;
}

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.max-w-500 {
  max-width: 500px;
}

.w-auto {
  width: auto !important;
}

@media (min-width: 768px) {
  .w-lg-medium {
    width: 65%;
  }
}

.flex-1 {
  flex: 1;
}

.mb-img-full img {
  margin-bottom: 100%;
}

.mt-img-full img {
  margin-top: 100%;
}

.list-none {
  list-style-type: none;
}

.inline-flex {
  display: inline-flex !important;
}

.is-x-y-absolutely-centered {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 11;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 768px) {
  .is-x-y-desktop-absolutely-centered {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 11;
  }
}

.is-cover-img,
.is-cover-img figure,
.is-cover-img picture {
  height: 100% !important;
  width: 100%;
}

.is-cover-img img {
  background-size: cover;
  object-fit: cover;
  height: 100% !important;
  width: 100% !important;
  object-position: center center;

}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.is-overlay {
  position: relative;
}

.is-overlay:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.10);
  pointer-events: none;
  animation: fadeIn 5s ease-in-out forwards;
}

/* @media (max-width: 767px) {
  .is-overlay:after {
    background: linear-gradient(180deg, rgba(251, 249, 245, 0.2) -30%, rgba(251, 249, 245, 0.8) 100%);
  }
} */

.is-border-radius {
  border-radius: 10px;
  overflow: hidden;
}

.scale-on-hover {
  overflow: hidden !important;
}

.scale-on-hover:hover img {
  transform: scale(1.1);
}

/* .jet-listing-dynamic-image a:hover img {
  transform: scale(1.2);
}

.scale-on-hover img,
.jet-listing-dynamic-image a img {
  transition: all .5s linear 0.2s !important;
  transform: scale(1);
} */

.container-rotate-text {
  position: absolute;
  left: 0;
  margin-left: -50px;
  bottom: 25%;
  transform: rotate(270deg);
  transform-origin: 0 0;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap;
}

.img-full {
  height: 485px;
}

.radius-img {
  border-radius: 10px;
  overflow: clip;
}

.radius-full {
  border-radius: 50%;
}

.radius-30 {
  border-radius: 30px;
}

.aspect-ratio-custom,
.aspect-ratio-custom-img img {
  aspect-ratio: 1/1;
  max-width: 100%;
  min-height: auto;
}

.aspect-ratio-custom-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {

  .aspect-ratio-custom,
  .aspect-ratio-custom-img img {
    aspect-ratio: 670/465;
  }
}

@media (max-width: 767px) {
  .aspect-ratio-sm {
    aspect-ratio: 35/20;
  }
}

/* Image with 'data' attribute is hidden */
/* img[data-lazy-src] {
  opacity: 0;
  transform: scale(1.1);
  transition: all .5s linear 0.2s !important;
}

/* Image without 'data' attribute is (or becomes) visible */
/*img.lazyloaded {
  transition: all .6s linear 0.3s !important;
  opacity: 1;
  transform: scale(1);
} */

/* .menu-item-product img[data-lazy-src] {
  opacity: 0;
  transform: scale(1.1) !important;
}

.menu-item-product img.lazyloaded {
  transition: all .5s linear 0.2s !important;
  transform: scale(1) !important;
  opacity: 1;
} */

/* bloc telephone */
.bloc-phone {
  font-weight: bold;
  border: 1px solid #ffffff;
  border-radius: 25px;
  padding: 4px 9px;
  padding-left: 25px;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(90deg, rgba(81, 154, 253, 1) 0%, rgba(81, 154, 253, 1) 5%, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 1) 9%, rgba(230, 60, 41, 1) 9%, rgba(230, 60, 41, 1) 14%, rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 0) 100%);
  line-height: normal;
  display: inline-block;
}

.bloc-phone.bloc-phone--dark {
  border-color: #A4A4A4;
  color: var(--txt-color);
}

/* Etendre lien à toute la zone */
.linked-block {
  position: relative;
}

.linked-block a:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
}

.linked-block-cover {
  font-size: 0 !important;
}

.linked-block-cover a:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
}

.logged-in .is-hidden-when-logged-in {
  display: none !important;
}

.is-hidden-when-not-logged-in {
  display: none !important;
}

.logged-in .is-hidden-when-not-logged-in {
  display: flex !important;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.gap-2 {
  gap: 8px;
}