
/** //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
--------------------------------------------------------------------------------------------------------------------------------------------------
                                                              MENU MOBILE
--------------------------------------------------------------------------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// **/
#gtm-navbar {
  top: 0px !important;
  max-width: fit-content;
}
/* -----------------------------------------------------
					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;
  max-width: 2560px;
}

.menu.mod-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gtm-nav-menu ul li {
    list-style: none;
    text-transform: initial;
    padding: 1% 1.6%;
    margin-top: 10px;
}

.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 */
}

/*.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: 80px;
  padding-left: 15px;
  padding-right: 15px;
}*/

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

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

body .gtmHeader .gtm-open-nav-menu{
  background-color: #217AAB; /* couleur d'arrière plan de la boite */
  transition: 0.2s;
  position: fixed;
  right: 0;
}

/* 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: #fff; /* couleur */
}

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

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

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

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

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


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

.gtmHeader .gtm-nav-menu{
  background-color: #fff;
  right: -100%;/* déplacement du menu hors site */
  transition: all 0.5s ease;/* Transition d'apparition du menu*/
  /* min-height: 100vh; */
}

/* 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 actifs */
.gtmHeader .menu > .menu-item > a {
  color: #217AAB;
  font-size: 1.3rem;
  font-weight: 400;
  /* text-transform: initial;  */
}

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

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

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



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

/* Design des liens de second niveau  */
.gtmHeader .menu > .menu-item > .gtm-sub-menu li a {
  color: #217AAB;
  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: #217AAB;
}

.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: #fff !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: #217AAB;/* couleur de la barre */
}
  
/* Barre verticale du + */
.gtm-menu-item-has-children .separator::before {
    background-color: #217AAB;/* 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: 24px;
  }
}

@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: 1201px) {

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

  .gtm-header-main {
    transition: background-color .2s ease-in-out;
  }

  /* Position fixed de barre de navigation */
  .gtmHeader{
    position: inherit;
    left:0;
    top:0px;
    width: 100%;
    z-index: 99;
    transition: all .2s ease-in-out;
  }

  #gtm-navbar {
    top: 0px !important;
    max-width: 100%;
  }

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

  

  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;
  }

  .gtm-menu-item-has-children:hover .separator::after {
    background-color: #fff;
  }
/* -----------------------------------------------------------
                        NAVIGATION
------------------------------------------------------------ */


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

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

    .default {
      background-color: transparent !important;
    }

    .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 */
  .gtmHeader .menu > .menu-item > a{
    color: #217AAB;
    font-size: 0.9rem;
    font-weight: 600;
    /* text-transform: normal; */
    transition: color 0.3s ease;/* transition au survol des liens */
  }

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

  }
  .gtmFada.active{
    color: #fff !important;
    font-weight: 600;
  }

  .gtmFada:hover{
    color: #fff !important;
    font-weight: 600;
    background-color: #1F8B8E;
    border-radius: 44% 88% 90% 100% / 95% 95% 80% 100%;   
  }
  .gtmFada:hover a {
    color: #fff !important;
  }

  .current.active {
    background-color: #1F8B8E;
    border-radius: 51% 87% 70% 71% / 74% 92% 75% 86%;
    padding: 20px 25px;
  }
  .gtm-menu-item-has-children.active {
    background-color: #1F8B8E;
    border-radius: 44% 88% 90% 100% / 74% 93% 80% 100%;
    padding-left: 20px !important;
  }

  .gtm-menu-item-has-children:hover {
    background-color: #1F8B8E;
    border-radius: 44% 88% 90% 100% / 95% 95% 80% 100%;

  }
  .gtm-menu-item-has-children {
    padding-left: 15px !important;
  }

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

  }

  li.menu-item:hover {
    color: #fff;
}

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

  /* Design du sous-menu */    
  .gtmHeader .menu > .menu-item > .gtm-sub-menu {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: max-content;
    box-shadow: rgb(0 0 0 / 6%) 0px 25px 20px -20px;
    background-image: url(/images/c-background/calacs-victoriaville-background-5.png);
    background-color: #fff;
  }

/* Design des liens de second niveau  */
  .gtmHeader .menu > .menu-item > .gtm-sub-menu li a {
    color: #217AAB !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2rem;
    transition: all 0.3s ease;/* transition liens du sous-menu */
    background-color: transparent;
  }
  .gtmHeader .menu > .menu-item > .gtm-sub-menu li  {
    background-color: transparent;
    padding: 0px !important;
  }
  .gtm-mod-menu__heading {
    padding-left: 20px;
    padding-top: 10px;
    margin-bottom: 0;
    font-size: 17px;
    color: #fff;
    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: #1d1d1d !important;
  }
  .gtmHeader .menu > .menu-item > .gtm-sub-menu > .menu-item > a:hover, .gtmHeader .menu > .menu-item > .gtm-sub-menu > .menu-item > a:active {
    font-weight: 600;
  }


/* -----------------------------------------------------------
            LIGNE AU DESSOUS DES LIENS DU MENU
------------------------------------------------------------ */
  /* .gtmFada::before {
    background-color:  #fff;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
  } */

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

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

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

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

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

}

@media screen and (min-width: 1600px) {
  .gtmHeader .menu > .menu-item > a {
    font-size: 1.2rem;
  }

  .gtmHeader .menu > .gtm-menu-item-has-children:hover > .gtm-sub-menu {
    margin-top: 20px;
  }
}

@media screen and (min-width: 1800px) {
  .gtmHeader .menu > .gtm-menu-item-has-children:hover > .gtm-sub-menu {
    margin-top: 30px;
  }
}

@media screen and (min-width: 2400px) {
  .gtmHeader .menu > .gtm-menu-item-has-children:hover > .gtm-sub-menu {
    margin-top: 40px;
  }
}
