@font-face{
  font-family: generalFont;
  src: url('../fonts/PTSans-Regular.ttf');
}

@font-face{
  font-family: titleFont1;
  src: url('../fonts/Montserrat-Regular.ttf');
}

@font-face{
  font-family: titleFont2;
  src: url('../fonts/Montserrat-SemiBold.ttf');
}

html{
  scroll-behavior: smooth;
}

body{
  /*background-color: #c7cccf;*/
  font-family: generalFont;
  font-size: 1rem;
  color:#000000;
  line-height: 28px;
}

/*----- Colors -------*/

.twitter_blue{
  color: #1DA1F2;
}

.facebook_blue{
  color:#4267B2;
}

.linkedin_blue{
  color:#0077b5;
}

/*----- Colors -------*/


/*---- Sections -----*/
#header{
  background-color: #ffffff;
  padding-top: 10px;
  font-family: montSerratFont;
}

#nav-bar{
  /*background-color: #f5f0f0;*/
}

#footer-zone{
  margin-top:50px;
  background-color: #300430;
}


/*---- Sections -----*/

.my-hr{
  border-top: 1px #510f4f solid;
}

.moduletablehome-bloc-title-green h3.module-title-1{
  font-family: titleFont1;
  font-size: 1.8rem;
  color: #2d8813;
  text-align: center;
  margin-bottom:30px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;  
}

.moduletablehome-bloc-title-green h3.module-title-1:before, .moduletablehome-bloc-title-green h3.module-title-1:after{
  content: '';
  border-top: 3px solid;
  margin: 0 20px 0 0;
  flex: 1 0 20px;     
}

.moduletablehome-bloc-title-green h3.module-title-1:after{
  margin: 0 0 0 20px;    
}

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

.block-title1{
  font-size: 2rem;
  font-family: titleFont2;
  color: #ffffff;
}

.footer-link:link, .footer-link:active, .footer-link:visited{
  color: #ffffff;
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-link:hover{
  text-decoration: underline;
}

.footer-menu-title{
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
}

.line-after{
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: left;    
}

.line-after:after{
  content: '';
  border-top: 3px solid;
  margin: 0 20px 0 20px;
  flex: 1 0 20px;     
}

.main-display-zone{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 15px;
}


/* ==========================================================================
   NAVIGATION & MEGAMENU AMÉLIORATIONS (DESKTOP HOVER & MOBILE UX)
   ========================================================================== */

#nav-bar {
  position: relative;
  z-index: 9999;
}

.dj-megamenu-wrapper {
  position: relative;
  z-index: 9999;
}

/* 1. Ouverture fluide garantie au survol de la souris sur Desktop */
@media (min-width: 980px) {
  .dj-megamenu li.parent:hover > .dj-subwrap,
  .dj-megamenu li.parent.hover > .dj-subwrap {
    display: block !important;
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10000 !important;
  }

  .dj-megamenu li.parent > .dj-subwrap {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .dj-megamenu li.parent:hover a.dj-up_a,
  .dj-megamenu li.parent.hover a.dj-up_a {
    color: #2d8813 !important;
  }
}

/* 2. Menu mobile : Dépliement facile sur clic de tout le libellé */
@media (max-width: 979px) {
  ul.dj-mobile-nav li.parent > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    width: 100% !important;
    padding: 12px 15px !important;
  }

  ul.dj-mobile-nav li.parent > a span.toggler {
    padding: 5px 12px !important;
    font-size: 18px !important;
    cursor: pointer !important;
  }

  ul.dj-mobile-nav li.parent.active > ul.dj-mobile-nav-child {
    display: block !important;
    max-height: 1200px !important;
    opacity: 1 !important;
  }
}

/* Navigation & MegaMenu Fix */
#nav-bar, .dj-megamenu-wrapper { position: relative; z-index: 9999; }
@media (min-width: 980px) {
  .dj-megamenu li.parent:hover > .dj-subwrap,
  .dj-megamenu li.parent.hover > .dj-subwrap {
    display: block !important; left: 0 !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; z-index: 10000 !important;
  }
}
@media (max-width: 979px) {
  ul.dj-mobile-nav li.parent > a { display: flex !important; justify-content: space-between !important; cursor: pointer !important; width: 100% !important; }
  ul.dj-mobile-nav li.parent.active > ul.dj-mobile-nav-child { display: block !important; max-height: 1200px !important; }
}
