
/** //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
--------------------------------------------------------------------------------------------------------------------------------------------------
                                                              MENU MOBILE
--------------------------------------------------------------------------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// **/

/* -----------------------------------------------------
					GENERAL
------------------------------------------------------- */

/* Position fixed de barre de navigation */
.gtmHeader{
	position: fixed;
	left:0;
	top:0;
  width: 100%;
	z-index: 99;
}

.gtm-header-main {
	display: flex; /* Ajoute la propriété FLEX aux menu DESKTOP et MOBILE */
  justify-content: flex-end;
  width: 100%;
}

.menu.mod-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0px;
    padding: 0px;
}

.gtm-sub-menu {
  margin-left: 0;
}

.gtm-nav-menu ul li {
    list-style: none;
}

.gtmHeader .menu > .menu-item {
    cursor: pointer; /* fait apparaitre la petite main */
}


.gtmHeader .menu > .menu-item > .gtm-sub-menu{
	transition: all 0.3s ease; /* Transition des sous-menu */
}

.gtmHeader .menu > .menu-item > .gtm-sub-menu > .menu-item > a{
	display: block; /* permet le bon alignement des liens de sous-menu verticaux */
}


/* -----------------------------------------------------
					BURGER
------------------------------------------------------- */

/* ------------------- OUVRIR -------------------- */

body .gtmHeader .gtm-open-nav-menu{
  background-color: #fff; /* couleur d'arrière plan de la boite */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom: 2px solid #6fb43f;
  transition: 0.2s;
}

/* body .gtmHeader .gtm-open-nav-menu:hover{
  transform: translate(-0.25rem,-0.25rem);
  box-shadow: 0.25rem 0.25rem #054958;
}

body .gtmHeader .gtm-open-nav-menu:active{
  transform: translate(0);
  box-shadow: none;
} */

/* ligne centrale du menu burger */
.gtmHeader .gtm-open-nav-menu span {
  height: 3px;/* hauteur */
  width: 24px;/* longueur */
  background-color: #197799; /* couleur */
}

/* Lignes haute & basse */
.gtmHeader .gtm-open-nav-menu span:before,
.gtmHeader .gtm-open-nav-menu span:after{
  background-color: #197799;/* couleur des lignes */
  transition: all .2s ease;/* transition des lignes */
}

/* ------------------- FERMER -------------------- */

.gtm-hidden-scrolling .gtmHeader .gtm-open-nav-menu span:before {
  background-color: #197799;/* couleur des lignes */
}

.gtm-hidden-scrolling .gtmHeader .gtm-open-nav-menu span:after{
  background-color: #197799; /* couleur des lignes */
}

body.gtm-hidden-scrolling .gtmHeader .gtm-open-nav-menu {
  background-color: #fff; /* couleur d'arrière plan de la boite */
}


/* -----------------------------------------------------------
                        MENU
------------------------------------------------------------ */

.gtmHeader .gtm-nav-menu{
  background-image: repeating-linear-gradient(45deg, rgb(255,255,255) 0px, rgb(255,255,255) 10px,transparent 10px, transparent 11px),repeating-linear-gradient(135deg, rgb(255,255,255) 0px, rgb(255,255,255) 10px,transparent 10px, transparent 11px),linear-gradient(90deg, hsl(256,7%,84%),hsl(256,7%,84%));
  right: -100%;/* déplacement du menu hors site */
  transition: all 0.5s ease;/* Transition d'apparition du menu*/
}

/* Menu ouvert */
.gtmHeader .gtm-nav-menu.gtmOpen {
  right: 0px;/* Décalage de 100% pour faire apparaitre le menu */
}


/* -----------------------------------------------------------
                        NAVIGATION
------------------------------------------------------------ */



/* ------------------- PREMIER NIVEAU -------------------- */

.gtm-img-menu {
  width: 25px;
  display: none;
}
.gtm-sub-menu {
  margin-bottom: 0px;
  margin-top: 0px;
}

/* li.menu-item.nav-item.gtmFada.plus.item-101.default {
  margin: 0;
} */

li.menu-item.nav-item.gtmFada.plus.item-201 {
  display: block;
}

/* Design des liens */
.gtmHeader .menu > .menu-item > a{
  color: #197799;
  font-size: 1.4rem;
  font-weight: 300;
  text-transform: normal; 
}

.gtmFada {
  padding: 10px 0 5px 0px;
}

/* Design des liens actifs */
.gtmFada.active > a{
  color: #6fb43f !important;
  font-weight: 600 !important;
}

/* Design des séparateurs actifs  */
.parent.gtm-active a.separator {
  color: #6fb43f !important;
  font-weight: 600 !important;
}



/* ------------------- SECOND NIVEAU -------------------- */

/* Design des liens de second niveau  */
.gtmHeader .menu > .menu-item > .gtm-sub-menu li a {
  color: #197799;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2rem;
}
.gtm-mod-menu__heading {
  padding-left: 0px;
  padding-top: 10px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 500;
  color: #197799;
  border-top: 2px solid #527a05;
}

.gtm-mod-menu__heading + ul {
  margin-top: 0px;
  margin-bottom: 0;
  padding-left: 0px;
}

.gtm-mod-menu__heading + ul li {
  padding-top: 0px;
}

.gtm-mod-menu__heading + ul li a {
  color: #197799 !important;
  font-size: 16px !important;
  font-weight: 400;
  padding-left: 5px;
}
/* -----------------------------------------------------------
                  ICONE DE SOUS-MENU
------------------------------------------------------------ */
  /* Barre horizontale du + */
  .gtm-menu-item-has-children .separator::after {
    background-color: #197799;/* couleur de la barre */
}
  
/* Barre verticale du + */
.gtm-menu-item-has-children .separator::before {
    background-color: #197799;/* couleur de la barre */
    transition: all .3s ease;/* transition du passage de + à - */
}


@media screen and (min-width: 575px) {

/* Design des liens actifs */
.gtmHeader .menu > .menu-item > a{
  font-size: 30px;
}
}

@media screen and (min-width: 1024px) {

  /* Design des liens actifs */
  .gtmHeader .menu > .menu-item > a{
    font-size: 35px;
  }
  }

/** //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
--------------------------------------------------------------------------------------------------------------------------------------------------
                                                        MENU DESKTOP
--------------------------------------------------------------------------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// **/



@media screen and (min-width: 1200px) {

/* -----------------------------------------------------------
                        MENU
------------------------------------------------------------ */

.gtm-header-main {
  background-color: #fff;/* Couleur d'arrière plan de la barre de menu */
  height: auto;
  transition: background-color .2s ease-in-out;
}

.gtmHeader .gtm-nav-menu {
  background-image: none;
}


  /* Position fixed de barre de navigation */
  .gtmHeader{
    position: fixed;
    left:0;
    top:0px;
    width: 100%;
    z-index: 99;
  }


  .gtmHeader .gtm-nav-menu{
    background-color: transparent;/* Annule la couleur de fond du menu mobile */ 
 	  margin-top: 8px;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  body .gtmHeader .gtm-open-nav-menu{
    background-color: transparent; /* couleur d'arrière plan de la boite */
    border: 0px solid transparent!important;
  }
  
  body .gtmHeader .gtm-open-nav-menu:hover{
    transform: none;
    box-shadow: none;
  }
/* -----------------------------------------------------------
                        NAVIGATION
------------------------------------------------------------ */


/* ------------------- PREMIER NIVEAU -------------------- */

.gtmHeader .gtm-nav-menu .menu-item.default img {
  width: 150px;
  padding-left: 15px;
  padding-right: 15px;
  transition: width .3s ease-in-out;
}

.gtmHeader .gtm-nav-menu.scroll .menu-item.default img {
  width: 120px;
  padding-left: 15px;
  padding-right: 15px;
}

    .gtm-img-menu {
      display: block;
    }

    .gtm-header-main {
      justify-content: center;
      width: 100%;
      margin: auto;
    }
    .gtm-sub-menu {
      margin-top: 6px;
    }
    li.menu-item.nav-item.gtmFada.plus.item-201 {
      display: none;
  }


  /* Design des liens actifs */
  .gtmHeader .menu > .menu-item > a{
    color: #197799;
    font-size: 1.1rem;
    font-weight: 400;
    /* text-transform: normal; */
    transition: all 0.3s ease;/* transition au survol des liens */
  }

  .gtmHeader .menu > .menu-item > a:hover {
    color: #197799;/* couleur des liens de menu */
  }

  /* Design des liens actifs */
  .gtmFada.active > a{
    color: #197799!important;
    font-weight: 600 !important;
  }

  /* Design des séparateurs actifs  */
  .parent.gtm-active a.separator {
    color: #197799 !important;
    font-weight: 600 !important;
  }


/* ------------------- SECOND NIVEAU -------------------- */

  /* Design du sous-menu */    
  .gtmHeader .menu > .menu-item > .gtm-sub-menu {
    background-color: #6fb43f;/* Couleur d'arrière plan du sous-menu */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

/* Design des liens de second niveau  */
  .gtmHeader .menu > .menu-item > .gtm-sub-menu li a {
    color: #fff !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2rem;
    transition: all 0.3s ease;/* transition liens du sous-menu */
  }
  .gtm-mod-menu__heading {
    padding-left: 20px;
    padding-top: 10px;
    margin-bottom: 0;
    font-size: 17px;
    color: #fff !important;
    border-top: 2px solid #527a05;
    font-weight: 500;
}


  .gtm-mod-menu__heading + ul {
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 25px;
  }

  .gtm-mod-menu__heading + ul li a {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding-left: 5px;
  }

  .gtm-mod-menu__heading + ul li a:hover {
    color: #fff !important;
  }
  .gtmHeader .menu > .menu-item > .gtm-sub-menu > .menu-item > a:hover {
    color: #fff;/* couleur du lien du sous menu au survol */
  }


/* -----------------------------------------------------------
            LIGNE AU DESSOUS DES LIENS DU MENU
------------------------------------------------------------ */
  .gtmFada::before {
    background-color:  #197799;/*couleur de barre  */
    width: 100%;/*largeur de la barret  */
    height: 2px;/*hauteur de la barre  */
    transition: transform .3s ease;/*transition d'apparition de la barre  */
  }

  .gtmFada.default::before {
display: none;
  }

/* -----------------------------------------------------------
                    ICÔNES SOUS-MENU
------------------------------------------------------------ */
  /* Barre horizontale du + */
  .gtm-menu-item-has-children .separator::after {
    background-color: #197799;/* couleur de la barre */
  }

  /* Barre verticale du + */
  .gtm-menu-item-has-children .separator::before {
    background-color: #197799;/* couleur de la barre */
    transition: all .2s ease;/* transition du passage de + à - */
  }

  .gtm-menu-item-has-children:hover .separator::before {
    background-color: #197799;/* couleur de la barre verticale actif */
  }

  .gtm-menu-item-has-children:hover .separator::after {
    background-color: #197799;/* couleur du picto actif */
  }

}
