/*
Theme Name: Ski n hike
Theme URI: https://www.ski-hike.com
Description: Hello Elementor Child Theme
Author: Cybergraph
Author URL: https://cybergraph.fr/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URL: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybergraph
*/

/* GENERAL */

.margin-top-auto{
  margin-top: auto !important;
}

.margin-0 .e-con-inner{
  margin: 0 !important;
}

svg *{
  clip-path: unset !important;
}

html,body{
    scroll-behavior: smooth;
}
strong {
	font-weight: 600;
}


#back-to-top{
  cursor: pointer;
}

.boutons-home a {
	width:200px;
}

body div.h1-home h1 span {
	color:#ea5610;
  
}

.and_color{
  color: #ea5610;
  font-weight: bold;
}

.and_color_black{
  color: #000000;
  font-weight: bold;
}


/* END GENERAL */


/* ATTENTION AJOUTER UNE CLASSE. NE PAS METTRE LES ELEMENTS IDS*/
body .elementor-24 .elementor-element.elementor-element-5ff4609 .elementor-nav-menu--main .elementor-item {
	padding:0;
}

/* START MENU FLOTANT */
.elementor-nav-menu--layout-horizontal .elementor-nav-menu > li {
	padding: 13px 20px;
}

#float-menu-prog{
  position: fixed;
  top: 50vh;
  width: 100px;
  right: 0;
  z-index: 1000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  mix-blend-mode: revert;
  transform: translateY(-50%);
}

#float-menu-prog.white .title{
  color: white;
}

#float-menu-prog.white .bar{
  background-color: white;
}

#float-menu-prog .bar{
  height: 45px;
  width: 2px;
  background-color: black;

}

#float-menu-prog .bar .inside{
  background-color: #ea5610;
  height: 0;
  width: 100%;
}

#float-menu-prog .title{
  color: black;
  font-size: 12px;
  transform: rotate(-90deg);
  width: 100px;
  position: relative;
  left: -50px;
}

#float-menu-prog .bar.active .inside{
  height: 100%;
  animation: bar-anim 1s forwards ease-in-out;
}

@media screen and (max-width: 767px) {
  #float-menu-prog{
      display: none;
      opacity: 0;
      visibility: hidden;
  }

  .bdt-navigation-prev{
    left: 20px !important;
  }

  .bdt-navigation-next{
    right: 20px !important;
  }
  
}

@keyframes bar-anim {
  0%{
      height: 0;
  }
  60%{
      height: 95%;
  }
  100%{
      height: 100%;
  }
}

.menu-container .elementor-sub-item::before{
	content: "";
	display: block;
	position: relative;
	top: 50%;
	left: -10px;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 2px;
	background-color: white;
}

/* Affiche tous les sous-menus tout le temps */
.elementor-nav-menu--dropdown,
.elementor-nav-menu .elementor-nav-menu__container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important; /* Pour éviter le flottement */
}

/* Empêche le hover de fermer/ouvrir les sous-menus */
.elementor-nav-menu .elementor-item:hover + .elementor-nav-menu__container,
.elementor-nav-menu .elementor-item:hover .elementor-nav-menu__container {
    display: block !important;
}

/* OPTIONNEL : enlève les animations Elementor */
.elementor-nav-menu--dropdown {
    transform: none !important;
    transition: none !important;
}

.elementor-nav-menu--dropdown.elementor-nav-menu__container{
  display: none !important;
}

/* END FLOTANT */

/* RESEAUX SOCIAUX*/

body .rs span:first-child svg{
	height:1.3em ;
	width:1.3em ;
	line-height:1.3em;
}

.rs .elementor-grid-item{
  display: flex !important;
}

.rs .elementor-social-icons-wrapper{
  display: flex !important;
}

/* SWIPER CAROUSEL */

.swiper-custom {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.swiper-custom .swiper-slide {

  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.swiper-custom .swiper-slide img {
  width: 400px;
  height: 400px;
  display: block;
}

.swiper-custom .elementor-widget-heading {

  text-align: center;
  color: black;
  font-size: 12px;
  font-weight: 400;

}

.swiper-custom .swiper-slide:hover {
  transform: scale(1.02);
}

.bdt-fiestar-slider .bdt-item.swiper-slide-active{
  transform: scale(2) !important;
  max-height: 450px;
}

.bdt-fiestar-slider .bdt-item.swiper-slide-active img{
  object-fit: cover;
}

.bdt-fiestar-slider .bdt-item.swiper-slide-active a{
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .bdt-fiestar-slider .bdt-item.swiper-slide-active{
    transform: scale(1) !important;
  }
}

.carousel-grab{
  cursor: grab;
}

/* END SWIPER CAROUSEL */


/* TEXTES VERTICAUX */

@media screen and (max-width: 1280px) {
  .text-inverse{
      position: relative !important;
      left: unset !important;
      writing-mode: unset !important;
    }
}

.text-inverse{
  writing-mode: sideways-lr;
}

/* END TEXTES VERTICAUX */

/* START FOOTER*/

.footer-container-pages.white > *{
  background-color: white !important;
}

.footer-container-pages.black > *{
  background-color: black !important;
}

.footer-container-pages.black .sub-footer *{
  color: white !important;
}

.footer-container-pages.white .sub-footer *{
  color: black !important;
}

.footer-logo .elementor-icon{
  display: block;
}

.footer-container-pages.black .footer-logo svg *{
  fill: white !important;
}

.footer-container-pages.white .footer-logo svg *{
  fill: black !important;
}

.footer-logo .elementor-icon svg{
  height: 100% !important;
}

/* END START FOOTER */

/* START GALLERY */

.gallery .elementor-widget-image{
  height: 100%;
}

/* END GALLERY */

/* START SECTION CITATION */

.quote p::before{
  content: "";
  position: relative;
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="b" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.78 23.28"><g id="c"><path d="m7.44,0L0,11.58l7.44,11.7h10.8l-6.36-11.7L18.24,0H7.44Zm15.54,0l-7.44,11.58,7.44,11.7h10.8l-6.36-11.7L33.78,0h-10.8Z" fill="%23ea5610" stroke-width="0"/></g></svg>');
  display: inline-block;
  height: 27px;
  width: auto;
  width: 40px;
  background-repeat: no-repeat;
  transform: translateY(-25%);
  margin-right: 20px;
  
}

.quote p::after{
  content: "";
  position: relative;
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="b" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.78 23.28"><g id="c"><path d="m7.44,0L0,11.58l7.44,11.7h10.8l-6.36-11.7L18.24,0H7.44Zm15.54,0l-7.44,11.58,7.44,11.7h10.8l-6.36-11.7L33.78,0h-10.8Z" fill="%23ea5610" stroke-width="0"/></g></svg>');
  display: inline-block;
  height: 27px;
  width: auto;
  width: 40px;
  background-repeat: no-repeat;
  transform: translateY(-25%) rotate(-180deg);
  margin-left: 20px;
  
}

.quote p{
  display: inline-block;
}

/* END SECTION CITATION */

/* START TABS CIRCUITS */

.bloc-repeater-circuit-cybergraph .title-tabs{
  text-transform: uppercase;
}

.title-tabs::before{
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Calque_2" data-name="Calque 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28.37 28.37"><defs><style> .cls-1 { fill: %231d1d1b; } .cls-2 { fill: %23fff; } </style></defs><g id="Calque_1-2" data-name="Calque 1"><g><circle class="cls-2" cx="14.19" cy="14.19" r="14.19"/><path class="cls-1" d="M19.4,13.47v1.43h-4.42v4.79h-1.56v-4.79h-4.45v-1.43h4.45v-4.79h1.56v4.79h4.42Z"/></g></g></svg>');
  position: relative;
  display: inline-block;
  background-repeat: no-repeat;
  content: "";
  width: 26px;
  height: 26px;
  margin-right: 20px;
  transform: translateY(10%);
}

.bloc-item .content{
  margin-top: -20px;
}

.entete-circuit {
	background-repeat : no-repeat;
	background-size : cover;
}

/* END START TABS CIRCUITS */


/* START LANG SWITCHER */

body .trigger-langs{
  display: block !important;
  width: auto;
  cursor: pointer;
}

body .lang-langs .elementor-widget-container{
  width: 100%;
}

body .lang-langs{
  left: 50% !important;
  transform: translateX(-50%);
  top: 100% !important;
}

.elementor-widget-wpml-language-switcher{
  position: absolute;
  display: none;
  z-index: 10;
  bottom: calc(-100% + 16px);
  width: 150px;
  max-width: none !important;
  right: 50%;
  transform: translate(50%,100%);

}

.wpml-ls.wpml-ls-legacy-list-horizontal ul li{

      width: 100%;
}

.wpml-ls.wpml-ls-legacy-list-horizontal ul li a{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  font-weight: 700;
}

.elementor-widget-wpml-language-switcher li:hover a{
  background-color: #000000 !important;
  color: white !important;
}

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

/* END LANG SWITCH */

/* START ACTUALITES */
body h1.entry-title {
	display : none;
}
/* END ACTUALITES */

/* HOME */

body .liste-destinations p {
	margin-top:0;
}

@media screen and (max-width: 767px) {

  .header-mobile > .e-con-inner{
    align-content: center !important;
  justify-content: center !important;
  align-items: center !important;
  }

  .header-mobile .trigger-langs{
    width: auto !important;
  }

  .header-mobile .lang-options{
    padding-right: 20px;
  }

  .header-mobile .elementor-widget-image{
    width: 250px !important;
  }

  body .header-mobile .right > .e-con-inner{
    align-items: center !important;
    min-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .header-mobile .e-con-inner > .elementor-element{
    width: 50%;
  }

  .header-mobile .e-con-inner > .left > .e-con-inner{
    margin: 0;
    min-width: 100%;
  }
  
}
