/**
 * Theme Name:     Formations LCF (BStrap5.3.8) Child
 * Author:         Le centre franco
 * Template:       bootstrap-starter-05-3-8
 * Text Domain:	   formations-lcf-bstrap5-3-8-child
 * Description:    Child theme de BStrap5.3.8 pour site de formation
 * Tailwind CSS: 3.4.17 npm run watch:tw
 */


 /***mes styles****/
 /*utilities*/
 form legend {font-size: 16px !important;}
 form label {font-size: 16px !important;}
 form .gfield_description {font-size: 16px !important; font-weight: 400 !important; color: #0A4573 !important;}
 .cache-cache-block {display: block !important;}
 .cache-cache-flex {display: flex !important;}

 /*animations*/
 @keyframes fadeIn {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }
  
  @-moz-keyframes fadeIn {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }
  
  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }
  
  @-o-keyframes fadeIn {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }
  
  @-ms-keyframes fadeIn {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }
  #erreur-404 h1 {font-size: 2rem !important; text-transform: uppercase !important;}
  #erreur-404 p {font-size: 1.25rem !important;  }
  #erreur-404 ul {font-size: 1.25rem !important; }
  #erreur-404 ul li {font-size: 1.25rem !important; }
  #erreur-404 ul li a {font-size: 1.25rem !important;  }
  #erreur-404 ul li a:hover {font-size: 1.25rem !important; }
  #erreur-404 ul li a:focus {font-size: 1.25rem !important;  }
  #erreur-404 ul li a:active {font-size: 1.25rem !important;  }

  #contact .gfield_label {font-size: 1.25rem !important; color: #0A4573 !important; font-weight: 700 !important; }
  #contact .gform_required_legend {margin-bottom: 2rem !important; }
  #contact .gfield_required .gfield_required_asterisk {font-size: 1.25rem !important;}
 
  
  .gform_wrapper input[type="submit"] {
    background-color: #1B75BC !important; /* Button background color */
    color: #ffffff !important; /* Button text color */
    border: none !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 1rem 2rem !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.gform_wrapper input[type="submit"]:hover {
    background-color: #0A4573 !important; /* Button background color */
    color: #ffffff !important; /* Button text color */
    border: none !important;
}
#contact .gform_required_legend {
  margin-bottom: 0rem !important;
  display: none;
}

 .gform_required_legend {
  margin-bottom: 0rem !important;
  display: none;
}

#topclick {
    display: none;
    position: fixed;
    text-align: center;
    right: 0px;
    bottom: 100px;
    color: #fff !important;
    cursor: pointer;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    z-index: 10000;
    height: 40px;
    width: 40px;
    line-height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: background-color 0.1s linear;
    transition: background-color 0.1s linear;
  }
  
  #topclick:hover {
    background-color: rgba(27, 117, 188, 0.961);
  }
  
  
  .saut-au-contenu {
    background: #fff;
    color: black;
    font-weight: 700;
    left: 50%;
    padding: 4px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.3s;
  }
  
  .saut-au-contenu:focus {
    transform: translateY(0%);
  }
  .fade-wind {
    animation: fadeIn ease 6s;
    -webkit-animation: fadeIn ease 6s;
    -moz-animation: fadeIn ease 6s;
    -o-animation: fadeIn ease 6s;
    -ms-animation: fadeIn ease 6s;
  }
  /*/social icons*/

.suivez-nous a {

    color: #1b75bc !important;
  }
  
  .suivez-nous-fb  {
  
    color: #1b75bc !important;
  }
  
  .suivez-nous-tw  {
  
    color: #1da1f2 !important;
  }
  
  .suivez-nous-ig  {
  
    color: #000 !important;
  }
  
  .suivez-nous-in  {
  
    color: #0e76a8 !important;
  }
  
  .suivez-nous-tw:hover {
    color: #0a4573 !important;
  }
  
  .suivez-nous-fb a:hover {
    color: #0a4573 !important;
  }
  
  .suivez-nous-ig:hover {
    color: #0a4573 !important;
  }
  
  .suivez-nous-in:hover {
    color: #0a4573 !important;
  }
  
  .suivez-nous:hover {
    color: #0a4573 !important;
  }
  
  .suivez-nous-in {
    color: #1b75bc !important;
  }
  /*social icons fin*/
  
  .accueil-btn span {
      font-size: 0px !important;
      color: transparent;
    }
    
    .accueil-btn .dashicons-admin-home:before {
      content: "\f102";
      font-size: 1.5rem !important;
    }

    /*html*/
html {
    scroll-behavior: smooth;
  font-size: 16px ; font-family: 'Lato', sans-serif;
  
  }
   /*cartes*/
   .ombre-carte {-webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
    a:hover .ombre-carte {-webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.39);
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.39);}

    .termes-direct {font-size: 16px !important; font-weight: 800 !important; }
    #direct .termes-direct,
    #resultats-direct .termes-direct {
      color: #175183 !important;
    }
    .termes-differe {font-size: 16px !important; font-weight: 800 !important;  }

.flxgrid h3 {font-size: 20px !important; font-family:'lato', sans-serif !important;}

  /*cartes en direct*/
  #direct #cartes-en-direct h2 {font-size: 22px !important; font-family:'Fira Sans Condensed', sans-serif !important;}
#differe #nav-differe h3 {font-size: 22px !important; font-family:'Fira Sans Condensed', sans-serif !important;}

/*grille programmation*/
#grille-programmation p{font-size: 18px ; margin-bottom: 0.25rem !important;}
#grille-programmation p:last-child {margin-bottom: 0!important;}
#grille-programmation h4 {font-size: 20px !important; font-family:'Fira Sans Condensed', sans-serif !important; }

/*balados*/
.titre-transcription {font-size: 18px !important; font-family:'Fira Sans Condensed', sans-serif !important; }

.desc-balado {
  max-height: 250px;
  /* overflow-x: scroll; */
  padding: 2rem;
  border: 1px #cecece solid;
  overflow-x: hidden;
  background-color: #fff;
}
.desc-balado:focus {outline: 2px solid #000;}

/* paragraph*/

a.flxgrid__item[target="_blank"] h3::after {
  content: "\f08e";
  font-family: "Font Awesome 6 pro";
  font-weight: 900;
  margin-left: 0.3em;
  font-size: 0.8em;
}

a.lcf-formation-card-link[target="_blank"] h3::after {
  content: "\f08e";
  font-family: "Font Awesome 6 pro";
  font-weight: 900;
  margin-left: 0.3em;
  font-size: 0.8em;
}




.tw-bg-differe-primary hr,
.tw-bg-differe-primary .wp-block-separator {
  display: block;
  width: 100%;
  height: 3px !important;
  margin: 1.25rem 0 !important;
  padding: 0 !important;
  border: none !important;
  background-color: #fff !important;
  opacity: 1 !important;
}


  p{font-size: 18px ; margin-bottom: 1rem !important;}
  p:last-child {margin-bottom: 0!important;}
  p a {text-decoration: underline; color: black !important;}
  p a:hover {background-color: #afd8f5!important; text-decoration: none !important;}
  /* Icône lien externe pour les liens qui s'ouvrent dans un nouvel onglet */
  p a[target="_blank"]::after {
    content: "\f08e";  /* Font Awesome external-link-alt */
    font-family: "Font Awesome 6 pro";
    font-weight: 900;
    margin-left: 0.3em;
    font-size: 0.8em;
  }
   a.bouton[target="_blank"]::after {
    content: "\f08e";  /* Font Awesome external-link-alt */
    font-family: "Font Awesome 6 pro";
    font-weight: 900;
    margin-left: 0.3em;
    font-size: 0.8em;
  }

  .tw-bg-direct-primary  p a {text-decoration: underline; color: white!important;}
  .tw-bg-direct-primary  p a:hover { color: black!important;}
  .tw-bg-direct-colloque-primary  p a {text-decoration: underline; color: white!important;}
  .tw-bg-direct-colloque-primary  p a:hover { color: black!important;}
  .tw-bg-direct-colloque-dark  p a {text-decoration: underline; color: white!important;}
  .tw-bg-direct-colloque-dark  p a:hover { color: black!important;}
  .tw-bg-direct-artificelle-primary  p a {text-decoration: underline; color: white!important;}
  .tw-bg-direct-artificelle-primary  p a:hover { color: black!important;}
  .tw-bg-direct-artificelle-dark  p a {text-decoration: underline; color: white!important;}
  .tw-bg-direct-artificelle-dark  p a:hover { color: black!important;}
  .tw-bg-direct-artificelle-primary.tw-text-black p a {text-decoration: underline; color: black!important;}
  .tw-bg-direct-artificelle-primary.tw-text-black p a:hover {background-color: rgba(0, 0, 0, 0.08)!important; text-decoration: none!important;}
  .tw-bg-direct-conference-primary  p a {text-decoration: underline; color: white!important;}
  .tw-bg-direct-conference-primary  p a:hover { color: black!important;}
  .tw-bg-direct-ens-primary  p a {text-decoration: underline; color: white!important;}
  .tw-bg-direct-ens-primary  p a:hover { color: black!important;}


  main ul {list-style: disc; margin-bottom: 1rem !important; margin-left: 1.75rem !important;}
  main ul:last-child {margin-bottom: 0!important;}
  main ul li {margin-bottom: 0.5rem !important;}
  main ul li:last-child {margin-bottom: 0!important;}
  main ul li a {text-decoration: underline; }
  main ul li a:hover {background-color: #afd8f5!important; text-decoration: none !important;}
  main ul li a[target="_blank"]::after {
    content: "\f08e";  /* Font Awesome external-link-alt */
    font-family: "Font Awesome 6 pro";
    font-weight: 900;
    margin-left: 0.3em;
    font-size: 0.8em;
  }

  main ol {list-style: decimal; margin-bottom: 1rem !important; margin-left: 1.75rem !important;}
  main ol:last-child {margin-bottom: 0!important;}
  main ol li {margin-bottom: 0.5rem !important;}
  main ol li:last-child {margin-bottom: 0!important;}
  main ol li a {text-decoration: underline; }
  main ol li a:hover {background-color: #afd8f5!important; text-decoration: none !important;}
  main ol li a[target="_blank"]::after {
    content: "\f08e";  /* Font Awesome external-link-alt */
    font-family: "Font Awesome 6 pro";
    font-weight: 900;
    margin-left: 0.3em;
    font-size: 0.8em;
  }
  hr {
    height: 0;
    margin: 1.25rem auto !important;
    border-top: 0;
    border-right: 0;
    border-bottom: 3px solid #0a4573 !important;
    border-left: 0;
    opacity: 1!important;
  }


  main dl {margin-bottom: 1rem !important;}
  main dl:last-child {margin-bottom: 0!important;}
  main dl dt {font-weight: bold; margin-bottom: 0.5rem !important;}
  main dl dd {margin-bottom: 0.5rem !important;}
  main dl dd:last-child {margin-bottom: 0!important;}
  main dl dd a {text-decoration: underline; }
  main dl dd a:hover {background-color: #afd8f5!important; text-decoration: none !important;}
  main dl dd a[target="_blank"]::after {
    content: "\f08e";  /* Font Awesome external-link-alt */
    font-family: "Font Awesome 6 pro";
    font-weight: 900;
    margin-left: 0.3em;
    font-size: 0.8em;
  }
  #acc p{margin: 0!important; font-size: 16px!important;}
  
  #main{margin-top: 0!important;}
  /* Tous les titres utilisent Fira Sans Condensed */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans Condensed', sans-serif !important;
    font-weight: 400 !important;
  }
  
  #accueil h1{font-size: 3rem !important; text-transform: uppercase !important;}
  h2{font-size: 2rem !important;}
  h3{ font-size: 1.675rem !important;}
  h4{ font-size: 1.5rem !important;}
  h5{ font-size: 1.25rem !important;}

  .lcf-search-summary h2 {font-size: 1.25rem !important;}

  .para h2{margin-bottom: 1rem !important;}
  .para h3{margin-bottom: 1rem !important; margin-top: 0.5rem !important;}
  .para h4{margin-bottom: 1rem !important; margin-top: 0.5rem!important;}
  .para h5{margin-bottom: 1rem !important; margin-top: 0.5rem !important;}

  .fil-ariane a {color: #0000FF !important; text-decoration: none;}
  .fil-ariane a:hover {color: #bb1122 !important; text-decoration: underline;}
  .fil-ariane a:focus {color: #884488 !important; text-decoration: none;}

  #accueil #type h3 {font-size: 2.5rem !important; font-family: 'Fira Sans Condensed', sans-serif !important;}
  #accueil #type h3 strong { font-weight: bolder !important;}
/*nouveatés*/
.nouvimage {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  max-width: 65%;
}

/*footer*/
#acc a {
    color: black !important;
    text-decoration: underline;
  }
  #acc a:hover {
    color: black !important;
    background: white;
  }
  
  #politique a {
    color: white !important;
    text-decoration: none;
    border-right: 1px solid white;
    border-left: 1px solid white;
  }
  #politique a:last-child {
    color: white !important;
    text-decoration: none;
    border-left: 0px solid white;
  }
  #politique a:hover {
    color: #000 !important;
    background-color: #efefef;
  }
  
  
  footer .simule-h2 {
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-top: 3px solid #1b75bc;
  }
  .footer-cforp p a {
    color: white !important;
    text-decoration-line: underline;
  }
  
  .footer-cforp {
    /*padding-top: 2rem;*/
    background-color: #474646;
    color: white !important;
  }

    /****medias queries****/

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

        #topclick {
      
      
            height: 30px;
            width: 30px;
            line-height: 30px;
      
        }
      }

        
  @media only screen and (max-width: 1025px) {
    #accueil h1{font-size: 2rem !important; text-transform: uppercase !important;}
    #accueil #type h3 {font-size: 2rem !important; }
    
    .accueil-btn span {
      font-size: inherit !important;
      color: inherit !important;
    }
  
    .accueil-btn .dashicons-admin-home:before {
      content: "\f102";
      font-size: 1rem !important;
    }

    h1{font-size: 2rem !important;}
    h2{font-size: 1.675rem !important;}
    h3{ font-size: 1.5rem !important;}
    h4{ font-size: 1.25rem !important;}
    h5{ font-size: 1.125rem !important;}
    h6{ font-size: 1rem !important;}

  }
  @media only screen and (max-width: 760px) {

    #accueil #type h3 {font-size: 1.75rem !important; }
    .cache-cache-block {display: none !important;}
    .cache-cache-flex {display: none !important;}

  }
#differe #capsules .flxgrid p {font-size: 16px !important;}
#differe #capsules .flxgrid h3 {
  font-size: 18px !important;
}

  /****mega menu styles****/

  #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-flyout ul.mega-sub-menu {
    z-index: 999;
    position: absolute;
    width: 300px;
    max-width: none;
    padding: 0px;
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    background-color: #1c4e71;
    border-radius: 0px;
}

/* Flyouts bureau : largeur 300 px, plafond viewport ; derniers items ouverts vers la gauche */
@media only screen and (min-width: 1026px) {
  #mega-menu-wrap-main-menu
  #mega-menu-main-menu
    > li.mega-menu-flyout
    ul.mega-sub-menu {
    z-index: 999;
    position: absolute;
    width: 300px;
    max-width: calc(100vw - 1rem);
  }

  #mega-menu-wrap-main-menu
  #mega-menu-main-menu
    > li.mega-menu-flyout:last-child
    ul.mega-sub-menu,
    #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-flyout:nth-last-child(2)
    ul.mega-sub-menu {
    left: auto !important;
    right: 0 !important;
  }
}

/* Accueil mega-menu : masqué entre 1026 px et 1199 px ; visible en mobile (≤1025) et grand écran (≥1200). */
@media only screen and (min-width: 1026px) and (max-width: 1199px) {
  #mega-menu-item-9 {
    display: none !important;
  }
}




  #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {

    line-height: 1.4 !important;
  
}
  
  #mega-menu-wrap-main-menu {
    clear: both;
    display: flex;
    justify-content: center;
}

  #mega-menu-wrap-main-menu
  #mega-menu-main-menu
  > li.mega-menu-item
  > a.mega-menu-link:hover {
  background: #c9e0fb !important;
}

#mega-menu-wrap-main-menu
  #mega-menu-main-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  line-height: 50px !important;
  height: 50px !important;
}
  

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

  #mega-menu-wrap-main-menu
  #mega-menu-main-menu
  > li.mega-menu-item
  > a.mega-menu-link {
font-size: 1em!important;
}

}

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

  #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    padding: 0px 7px 0px 7px;
  }
}
@media only screen and (max-width: 1199px) {
  #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    line-height: inherit;
    height: fit-content;
  }

  #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item {
    display: table-cell;
  }


}



@media only screen and (max-width: 1025px) {
  #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-item
    > a.mega-menu-link:hover {
    color: #000 !important;
  }
  #mega-menu-wrap-main-menu {
    clear: both;
    display: block;
 
}

  #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-flyout
    ul.mega-sub-menu
    li.mega-menu-item
    a.mega-menu-link {
    background: #1c4e71;
  }

  #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-flyout
    ul.mega-sub-menu
    li.mega-menu-item
    a.mega-menu-link:hover {
    background: #113b58;
  }

  #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-flyout
    ul.mega-sub-menu
    li.mega-menu-item:last-child {
    border-bottom: 1px solid white;
  }

  #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item {
    display: list-item;
  }

  #mega-menu-wrap-main-menu
    .mega-menu-toggle
    .mega-toggle-blocks-left
    .mega-toggle-block:only-child:after {
    content: "MENU";
    margin-left: 1rem;
    top: 0;
    line-height: 2.5;
    color: black;
  }

  #mega-menu-wrap-main-menu
    .mega-menu-toggle
    .mega-toggle-block-1
    .mega-toggle-animated-inner,
  #mega-menu-wrap-main-menu
    .mega-menu-toggle
    .mega-toggle-block-1
    .mega-toggle-animated-inner::before,
  #mega-menu-wrap-main-menu
    .mega-menu-toggle
    .mega-toggle-block-1
    .mega-toggle-animated-inner::after {
    background-color: #000;
  }

  #mega-menu-wrap-main-menu .mega-menu-toggle {
    border-top: #1b75bc 2px solid;
    border-bottom: #1b75bc 2px solid;
  }

  #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    /* padding: 7px;*/
    font-size: 1rem;
    border-bottom: white 1px solid;
  }
}

/* --- Formulaire de recherche — multiselect --- */
.multiselect-container select.multiselect {
  min-height: 120px;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}

.selected-item sup,
.lcf-search-filter-pill sup {
  font-size: 0.75em;
  line-height: 0;
}

.multiselect-wrapper .selected-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.multiselect-wrapper .selected-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 0.875rem;
}

.multiselect-wrapper .selected-item .remove-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 0.15rem;
  color: #333;
}

.multiselect-info {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.25rem;
}

/* --- Résultats recherche : bandeau + pastilles --- */
.lcf-search-filter-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 2px solid #1b75bc;
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 1.3;
}