/*
Theme Name: Camping Alizés
Theme URI: 
Author: Ouest Communication
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: camping-alizes
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

a:focus,
a:active {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

::-webkit-scrollbar {
  width: 10px;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #e8dcca;
  border-radius: 5px;
  transition: all 0.15s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #e8dcca;
}
::-webkit-scrollbar-track {
  background: #6a7a6d;
}
::selection {
  background: #e8dcca90;
  text-shadow: none;
}

.body:not(.admin-bar) .header-bar {
  padding-top: 50px;
}

body:not(.admin-bar) .scrolling-active .header-bar {
  padding-top: 50px;
}

.scrolling-active .header-bar a {
  pointer-events: auto;
}
.scrolling-active.admin-bar .header-bar {
  top: var(--wp-admin--admin-bar--height) !important;
}

.scrolling-active .header-bar {
  top: 0px !important;
}
.scrolling-active .header-bar .header-txt {
  display: none;
}

.scrolling-active .header-bar .header-coords {
  position: relative;
  top: -20px;
}

.scrolling-active .main-menu {
  transform: scale(0.95);
  position: relative;
  top: -45px;
  left: -100px !important;
}

.scrolling-active .main-menu li {
  border: 0;
}
.scrolling-active .main-menu li a {
  border-bottom-color: transparent;
}

.main-menu .home {
  background: transparent
    url("https://dev.campingalizes.com/wp-content/uploads/2026/03/iconamoon_home-light.png")
    top center no-repeat;
  text-indent: -9999px;
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-top: -3px;
  background-position-y: 0;
}

.main-menu .wp-block-navigation .wp-block-navigation__submenu-icon {
  position: absolute;
  right: 0;
}
.main-menu .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
  position: absolute;
  right: 0;
  top: 5px;
  padding-left: 3px;
}
.wp-block-navigation__submenu-container
  .wp-block-navigation-item
  > .wp-block-navigation__submenu-icon {
  top: 10px;
  padding-left: 0;
}

.scrolling-active .header-bar {
  height: 70px;
  background-color: #6a7a6da4 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 5px 10px -3px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.scrolling-active .header-bar a {
  pointer-events: auto;
}

.main-menu li a {
  padding-left: 10px;
  padding-right: 12px;
  font-family: "Bodoni Moda", sans-serif;
}
.main-menu > li a {
  padding-bottom: 6px;
}
.main-menu .wp-block-navigation-item__label {
  width: 100% !important;
}

.main-menu .wp-block-navigation__submenu-container {
  background-color: #6a7a6dca !important;
  backdrop-filter: blur(8px) !important;
}
.main-menu .wp-block-navigation__submenu-container li {
  background-color: transparent;
}
.main-menu .wp-block-navigation__submenu-container li:hover {
  background-color: #ffffff;
  color: #6a7a6da5 !important;
}

.main-menu .wp-block-navigation__submenu-container {
  transition: 0.8s cubic-bezier(0.35, 1.61, 0.86, 1.02) !important;
}
.main-menu .wp-block-navigation__submenu-container li a {
  transition-timing-function: ease-in-out;
}
.main-menu li > .wp-block-navigation__submenu-container {
  transform-origin: top;
  perspective-origin: left center;
  perspective: 800px;
  transform: rotatex(0deg);
  opacity: 0;
  transform: rotatex(90deg);
}
.main-menu li:hover > .wp-block-navigation__submenu-container {
  opacity: 1;
  transform: rotatex(0deg);
  transform-origin: top;
  animation-duration: 0.3s;
}
.wp-block-navigation
  .wp-block-navigation-submenu
  .wp-block-navigation-item:not(:last-child) {
  margin-bottom: 0;
}

/*** FORMULAIRE DE RECHERCHE ***/
.lazyblock-formulaire-de-recherche-ZMc7L {
  width: 100%;
  z-index: 1000;
}
.lazyblock-formulaire-de-recherche-ZMc7L .form-resa {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  padding: 10px 30px 10px 30px;
  border-radius: 999em;
  border: 2px solid #ffffff;
  transition: all 0.3s;
}
.scrolling-active .lazyblock-formulaire-de-recherche-ZMc7L .form-resa {
  background-color: #6a7a6daa;
}
.lazyblock-formulaire-de-recherche-ZMc7L label {
  display: none;
}
.lazyblock-formulaire-de-recherche-ZMc7L .form-resa select {
  padding: 0.5em 1em;
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  width: 250px !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 20px;
  margin-right: 60px;
  font-family: "Sintony", sans-serif !important;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold;
}
.lazyblock-formulaire-de-recherche-ZMc7L .form-resa select:focus {
  background-image:
    linear-gradient(45deg, #ffffff 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #ffffff 50%);
  background-position:
    calc(100% - 15px) 1em,
    calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
  outline: 0;
}
.form-resa select:focus,
.form-resa select:active {
  outline: none;
  box-shadow: none;
}
.lazyblock-formulaire-de-recherche-ZMc7L .form-resa select option {
  color: #111111;
}
.form-resa button {
  font-size: 0.9rem;
  color: #111111;
  cursor: pointer;
  padding: 10px 20px 10px 20px;
  background-color: #b2a497;
  border-radius: 999em;
  border: 0;
  transition: all 0.2s ease-in-out;
  font-family: "Sintony", sans-serif !important;
  text-transform: uppercase;
  font-weight: bold;
}
.lazyblock-formulaire-de-recherche-ZMc7L .form-resa button:hover {
  background: #ffffff !important;
  color: #b2a497;
}
.form-resa .datepicker {
  margin-top: 3px;
  height: 40px;
  background: url("./assets/img/lucide_calendar.svg") left center no-repeat;
  background-size: 24px;
  padding-left: 40px;
  background-position-y: 6px;
  text-indent: 10px;
  font-family: "Sintony", sans-serif !important;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold;
}
.form-resa .input-daterange {
  margin-left: 60px;
}
.form-resa .input-lg,
.form-resa .input-lg:focus {
  background-color: transparent;
  cursor: pointer;
  border: none;
  color: #ffffff;
  outline: none;
  box-shadow: none;
  font-size: 0.9rem;
}
.form-resa .input-lg::placeholder {
  color: #ffffff;
}
@media (max-width: 767px) {
  .lazyblock-formulaire-de-recherche-ZMc7L .form-resa {
    display: none;
    border-radius: 0px;
    border-width: 0px;
    max-width: 56%;
    backdrop-filter: blur(4px);
    transform: scale(0.9);
  }
  .form-resa .datepicker {
    height: 30px;
  }
  .form-resa .form-group:has(button) {
    margin: 0 auto !important;
  }
  .video-btn {
    transform: translateY(-40px);
  }
  .scrolling-active .mobmenul-container i {
    transform: translateY(-10px);
  }

  @supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    .video-btn {
      transform: translateY(-60px);
    }
  }
}
/*** FIN FORMULAIRE DE RECHERCHE ***/
@media (max-width: 1400px) {
  .scrolling-active .header-buttons{
    display: none;
  }
  .scrolling-active .main-menu{
    left: 0 !important;
    top: -20px;
  }
}
@media (max-width: 1100px) {
  .mobile-fixed-header a {
    text-decoration: none;
  }
  .mobile-fixed-header .stk-block-content {
    flex-wrap: nowrap;
  }
  .mobile-fixed-header .stk-9d164a3-inner-blocks {
    align-items: center !important;
  }

  .wrap-on-mobile {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hide-on-mobile {
    display: none !important;
  }

  .mob-menu-header-holder {
    pointer-events: none;
  }
  .mob-menu-header-holder a {
    pointer-events: auto;
  }
  .mobmenur-container a {
    text-decoration: none;
  }
  .right-menu-icon-text {
    float: none !important;
    display: block !important;
    font-size: 0.7rem !important;
    text-align: center;
    position: relative;
    bottom: 6px;
    font-weight: 300 !important;
    line-height: 2em !important;
  }

  .trp-language-switcher {
    display: none !important;
  }

  .mobile-light-text p.stk-block-text__text {
    color: #ffffff !important;
  }

  .mobmenu-content li {
    border-bottom: 0 !important;
  }
}
