/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html, body{
    overflow-x: hidden;
    text-decoration-color: inherit;
}

#hide{
    display: none;
}

.fitcontent{
    width: fit-content;
}

strong {
  font-weight: bold;
}

.flipped {
  transform: scaleX(-1); /* effet miroir */
}

.bloc-faq p a{
    color: #4DBEC6 !important;
}

p a{
    text-decoration: underline !important;
    color: #0099BA !important;
}

span.elementor-menu-toggle__icon--open {
    height: 25px;
}

b {
    font-weight: 700;
}

/* FICHE FORMATION */


.pole_formation {
  display: flex;
}


.pole_formation.medico-social .elementor-post-info__terms-list-item, .pole_formation.paramedical .elementor-post-info__terms-list-item, .pole_formation.pharmacie .elementor-post-info__terms-list-item, .pole_formation.puericulture .elementor-post-info__terms-list-item{
    color: #ffffff !important;
}

.pole_formation.medico-social, .cible.medico-social, .medico-social.on_title, .medico-social .elementor-button{ 
    background-color: #FF8E18 !important; 
}

.cible.medico-social.a1, .medico-social.a1 .elementor-button{
    background-color: #2CCED2 !important; 
}

.cible.medico-social.a2{
    background-color: #FF7C45 !important; 
}

.pole_formation.paramedical, .paramedical .elementor-button, .paramedical.on_title{
    background-color: #E72B4E !important;
}

.cible.paramedical.a1, .paramedical.a1 .elementor-button{
    background-color: #FF8E18 !important; 
}

.cible.paramedical.a2{
    background-color: #D10027 !important; 
}

.pole_formation.pharmacie, .pharmacie .elementor-button, .pharmacie.on_title{
    background-color: #9FCF24 !important;
}

.cible.pharmacie.a1, .pharmacie.a1 .elementor-button{
    background-color: #D80068 !important; 
}

.cible.pharmacie.a2{
    background-color: #5DAF00 !important; 
}

.pole_formation.puericulture, .puericulture .elementor-button, .puericulture.on_title {
    background-color: #FF9BC9 !important; 
}

.cible.puericulture.a1, .puericulture.a1 .elementor-button{
    background-color: #00B5D9 !important; 
}

.cible.puericulture.a2{
    background-color: #BD0157 !important; 
}


.cible.a1 .blue .elementor-button{
    background-color: #12366E !important; 
}

.cible.a2 .white .elementor-button{
    background-color: #fff !important; 
}

.bloc-item {
    display: flex;
flex-direction: column;
align-items: flex-start;
gap: 22px;
align-self: stretch;
}
 
.fiche_formation .bloc-item {
padding-bottom: 60px;
}


.bloc-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bloc-contenus {
    width: 100%;
        display: flex;
    flex-direction: column;
    gap: 0px;
}

.bloc-contenus a{
    color: inherit;
    text-decoration: underline;
}

.bloc-item .on_title{
    margin-block-end: 0 !important;
    margin-block-start: 0 !important;
    padding: 10px; 
    border-radius: 8px;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

.bloc-contenus h2{
    margin-block-end: 12px !important;
    font-size: 24px;
    font-weight: 400;
}

.contenu li {
    margin-bottom: 10px;
}

.contenu img{
    border-radius: 20px;
    margin-top: 20px;
    height: 400px;
    object-fit: cover; 
}

.elementor-heading-title {
    line-height: 1.3em;
}

.bloc-item {
  scroll-margin-top: 110px; /* adapte à la hauteur de ton header sticky */
}


.card_formation.puericulture{
    background-color: #fff !important;
    border-color: #FF9BC9 !important;
}

.card_formation.pharmacie{
    background-color: #fff !important;
    border-color: #9FCF24 !important;
}

.card_formation.paramedical{
    background-color: #fff !important;
    border-color: #E72B4E !important;
}

.card_formation.medico-social {
    background-color: #fff !important;
    border-color: #FF8E18 !important;
}

.card_formation.puericulture h3{
    color: #FF9BC9 !important;
}

.card_formation.pharmacie h3 {
    color: #9FCF24 !important;
}

.card_formation.paramedical h3{
    color: #E72B4E !important;
}

.card_formation.medico-social h3 {
    color: #FF8E18 !important;
}

 
/* FAQ */

.bloc-faq {
    margin-top: 30px;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    margin-bottom: 1em;
    border: 2px solid #12366E;
    background-color: #fff;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    padding: 24px 30px;
    text-decoration: none;
    color: #12366E;
    font-weight: 700;
    font-size: 18px;
}

.faq-chevron {
    transition: transform 0.3s ease;
    width: 24px;
    height: auto;
}

/* Quand l'état est "ouvert", faire pivoter la flèche */
.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(0deg); /* flèche vers le haut */
}

.faq-question[aria-expanded="false"] .faq-chevron {
    transform: rotate(180deg); /* flèche vers le bas */
}

.faq-answer-inner {
    padding: 0 60px 30px 30px;
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    max-height: 0;
    opacity: 0;
}

.faq-answer-inner p {
    margin-block-end: 0 !important;
}

.faq-answer.is-expanded {
    opacity: 1;
}




/* NAV FORMATION */

.menu-bloc-item {
    display: flex;
    overflow: scroll;
}

.nav_item_formation {
    padding: 15px 20px 10px 20px;
    border-bottom: solid 5px #12366E;  
    transition: all ease-in-out .3s;
    display: flex;
    align-items: center;
}

.menu-bloc-item a {
    color: #fff;
}

.medico-social .nav_item_formation:hover {
    border-bottom: solid 5px #FF8E18;
}

.paramedical .nav_item_formation:hover {
    border-bottom: solid 5px #E72B4E;
}

.pharmacie .nav_item_formation:hover {
    border-bottom: solid 5px #9FCF24;
}

.puericulture .nav_item_formation:hover {
    border-bottom: solid 5px #FF9BC9;
}

.menu.medico-social, .menu.paramedical, .menu.pharmacie, .menu.puericulture{
    background-color: puericulture !important;
}


/* FIL D'ARIANE */


.elementor-widget-breadcrumbs a{
    text-decoration: none !important;
}

.ariane-separator::before {
    content: url('/wp-content/uploads/2025/07/Chevron_Ariane.svg');
    display: inline-block;
    vertical-align: middle;
    height: 30px;
}

.ariane-home {
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    width: 18px; /* Ajustez la taille de l'icône Home */
    height: 18px;
    background-image: url('/wp-content/uploads/2025/07/home.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: -3px;
    transition: all ease-in-out .2s;
}

.ariane-home:hover {
    transform: scale(1.2);
}

.ariane_white .ariane-home {
    background-image: url('/wp-content/uploads/2025/07/home_blanc.svg');
}

.ariane_white .elementor-widget-breadcrumbs span{
color: #fff !important; 
}








/* FORM */
span.elementor-field-option label {
    font-size: 12px !important;
    margin-left: 20px; 
}

input.elementor-acceptance-field {
    position: absolute;
    top: 7px;
}




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

    .elementor-widget-loop-grid .elementor-loop-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    }

    .elementor-widget-loop-grid .e-loop-item {
    width: calc((100% / 3) - 16px);
    }
}

@media screen and (max-width: 1024px){
.contenu img{
    height: 300px;
}

.fiche_formation .bloc-item {
    padding-bottom: 40px !important;
}
}


@media screen and (max-width: 768px){
.contenu img{
    height: 200px;
}

.fiche_formation .bloc-item {
    padding-bottom: 30px !important; 
}
}