/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 25 août 2022, 11:33:16
    Author     : Boitmobile
*/
  
  a {
    color: #000;
  }
  
  /* header */
  
  .header {
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    width: 100%;
    z-index: 3;
    display: flow-root;
  }
  
  .header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
  }
  
  
  .header .logo {
    display: inline-block;
    height: 100%;
    width: auto;
    max-height: 48px;
  }
  
  
@media (max-width: 991px) {
    .header .logo {max-height: 80px}
}
  
  /* menu */
  
  .header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
  }
  
  /* menu icon */
  
  .header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
    margin-top: 15px;
    margin-right: 15px;
  }
  
  .header .menu-icon .navicon {
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
  }
  
  .header .menu-icon .navicon:before,
  .header .menu-icon .navicon:after {
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
  }
  
  .header .menu-icon .navicon:before {
    top: 5px;
  }
  
  .header .menu-icon .navicon:after {
    top: -5px;
  }
  
  

.header {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.logo {
    flex: 0 0 auto;
}


.menu-main {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 180px 0 0; /* réserve la place du bouton à droite */
    list-style: none;
    position: relative;
}
.menu-main > li .lien-niveau1 {
    border-bottom: 1px solid transparent;
    transition: color 0.5s, border-color 0.5s;
    
}
.menu-main > li .lien-niveau1:hover {
    color:#E5328A;
    border-color: #E5328A;
    transition: color 0.5s, border-color 0.5s;
}
/* bouton candidat sorti du flux */
.menu-main > li:last-child {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-50%);
}
  
  /* menu btn */
  
  .header .menu-btn {
    display: none;
  }
  
  .header .menu-btn:checked ~ .menu {
    max-height: 100%;
  }
  
  .header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
  }
  
  .header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }
  
  .header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }
  
  .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
  .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
  }
  
  
@media only screen and (max-width : 768px) {
    .header {
        position: relative;
    }

    .header .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px 0;
        margin: 0;
        z-index: 999;
    }

    .header .menu-btn:checked ~ .menu {
        display: flex;
    }

    .header .menu > li {
        position: static;
        width: 100%;
        margin: 0;
        transform: none;
        text-align: center;
    }

    .header .menu > li:last-child,
    .header .menu > li:nth-last-child(2) {
        position: static;
        right: auto;
        top: auto;
        transform: none;
        margin: 0;
    }
    .header .menu-btn:checked ~ .menu {
        max-height: 90vh;
      }

    .header .menu-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .header .menu-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .header .logo {
        padding: 20px;    
        width: 200px;
    }
    .header .menu-icon {
        position:absolute;
        margin-left: auto;
        right:0;
        cursor: pointer;
        padding: 28px 20px;
        margin-top: 15px;
        margin-right: 15px;
    }
    .header ul {
    overflow: scroll;
  }
   .menu .menu-deroulant .fa-plus {
    display: none;
  }
}
@media (max-width: 768px) {
    #topbar p{margin-bottom:0;}
}
  

@media only screen and (max-width : 768px) {
  .bloc-partenaire .col {
    width: 30%;
    max-width:30%;
    justify-content: center;
  }
}
  /* 48em = 768px */
 
.sous.single-mega {padding-bottom: 15px}
.sous-lien-template, .sous-lien-template:hover {font-weight: 700; font-size: 24px}
.single-mega .sous-sous-lien {padding: 5px 0px !important; transition: 0.5s;font-weight: 600; font-size: 16px;border-left: solid 0px #E5328A;}
.single-mega .sous-sous-lien:hover {color: #E5328A !important;}
.single-mega .deroulant:hover .sous-sous-lien  {font-weight: 600; color: #E5328A !important; } 
.sous-lien-template{padding: 10px 0 !important;}

.sous-sous-lien.lien_avec_barre_devant{
    border-left: solid 1px #F5C0D8;
    margin: 5px 4px 5px 0px;
    border-radius: 0 !important;
    padding: 0px 10px !important;
    font-weight : 400;
    transition:0.5s;
}
.sous-sous-lien:hover{
    padding-left: 20px !important;
    border-left: solid 1px #E5328A;
    transition:0.5s;
}

.deroulant > a{
    padding: 10px 20px !important;
}
      
  @media (min-width: 1024px) {
      

    .header li {
      float: left;
    }
    .header .menu {
      clear: none;
      float: right;
      max-height: none;
      margin-right: 0px;
      overflow: visible;
    }
    .header .menu-icon {
      display: none;
    }

    .menu .menu-deroulant .fa-plus, .menu .col-menu .fa-plus{
        display: none;
    }
  }

  @media (max-width: 1024px) {
      .header-menu{
          max-height: calc(100vh - 20px);
          overflow: auto;
      }
      .sous{
          left: 0%;
          width: 100%;
          position:relative;
        z-index: 1000;
        box-shadow: 0 1px 4px #365576 ;
        background-color: white;
      }
    .single-mega{
        height:0px;
        padding-bottom: 0px;
        display:none;
    }
    .menu .menu-deroulant .lien-template{
          width: 100%;
          padding:10px;    
          display: inline-block;    
          border-bottom: 1px solid #008ca8;
    }
    .menu .menu-deroulant .lien-template:last-child{
        border: none;
    }
    .menu .menu-deroulant .menu-item{
          border-bottom: 1px solid #333;
          padding: 8px 15px 8px 15px !important;
    }
    .menu .col-menu{
        padding: 0;
    }
    .menu .menu-deroulant, .menu .col-menu{
        position: relative;
    }
    .menu .menu-deroulant .fa-plus{
        position: absolute;
        right: 10px;
        top: 15px;
        color: #008ca8;
        font-size: 16px;
        display: block;
    }
    
    .menu .col-menu .fa-plus{
        top: 9px;
        display: block;
    }
    .header li a, .header li span {
       padding: 0px 15px;
    }
    .header li .sous a, .header li .sous span {
         display: block;
         padding: 5px 15px;
         text-decoration: none;
         font-weight: 400;
         font-size: 14px;
         cursor:pointer;
     }
     .header li .sous ul {
         height:0px;
         border-top:none !important;
      }
     .header li .sous ul.ouvert {
         height:auto;
         transition: height 1s;
      }
      .sous-active > .sous {
        display: block;
        height:auto;
      }

    .deroulant > a{
        padding: 0px 20px !important;
    }
  }
.bouton-contact {
    position: absolute;
    top: 21px;
    right: 0;
    width:140px;
    text-align:center;
}

@media screen and (max-width: 768px) {
    .bouton-contact {
        position: fixed;
        top:inherit;
        bottom:0;
    }
}
  
.sous-active > .sous{
    display: block;
}

  .header li a, .header li span   {
    color:#34162F
  }
@media (min-width: 1024px) {    
    .menu-deroulant {
    position: static;
  }
    .sous{
        display: none;
        box-shadow:  0px 1px 1px #eee;
        position: fixed;
        z-index: 9;    
        width: 100vw;
        height: 100vh;
        top:105px;
        left: 0;
        pointer-events: none;
    }
   
    /* overlay limité sous le header */
    .sous .overlay {
        position: fixed;
        top: 105px; /* hauteur du header */
        left: 0;
        width: 100vw;
        height: calc(100vh - 105px);
        background: rgba(52, 22, 47, 0.6);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 0;
        pointer-events: none;
        overflow:hidden;
    }
    /* contenu au-dessus */
    .sous .content {
        position: relative;
        z-index: 1;
        background-color: #fff;
        padding: 50px 20px;
        pointer-events: auto;
        border-bottom: 1px solid #E5328A;
    }
    
  .header li a, .header li span {
    display: block;
    padding: 10px;
    text-decoration: none;
    border-radius: 0px;
    font-weight: bold;
  }
  .header li a:hover, .header li span:hover {
      color:#E5328A;
  }
  
  .header li.sous-sous-lien  {
      border-radius: 0px;
  }
}

.sous-sous{
    display: none;
    box-shadow: 0 1px 4px #365576 ;
    background-color: white;
    position: absolute;
    z-index: 1000;
}

.menu-deroulant:hover{
    cursor: default;
}

 @media screen and (min-width: 500px) {
    .menu-deroulant:hover > .sous{
        display: block;
      cursor: pointer;
    }
 }

.deroulant{
    width: 100%;
}
