/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
}


.fusion-main-menu {
    margin-top: 35px;
}

.fusion-search-submit.searchsubmit {
    background: #99D2ED !important;
}

/*#menu-avada-setup-menu > li:nth-child(4) .menu-text, !* News *!*/
/*#menu-avada-setup-menu > li:nth-child(5) .menu-text, !* Careers *!*/
/*#menu-avada-setup-menu > li:nth-child(6) .menu-text  !* Contact *! {*/
/*    color: #99D2ED;*/
/*    transition-property: color;*/
/*    transition-duration: .2s;*/
/*    transition-timing-function: linear;*/
/*}*/

/*#menu-avada-setup-menu > li:nth-child(4):hover .menu-text, !* News *!*/
/*#menu-avada-setup-menu > li:nth-child(5):hover .menu-text, !* Careers *!*/
/*#menu-avada-setup-menu > li:nth-child(6):hover .menu-text  !* Contact *! {*/
/*    color: #0090D4;*/
/*}*/

ul.sub-menu .fusion-textcolor-highlight:hover,
ul .fusion-textcolor-highlight:hover {
    color: #99d2ed !important;
}

.fusion-is-sticky .sub-menu {
    background-color: rgba(0, 56, 100, 0.9) !important;
    border-radius: 5px !important; ;
}

.fusion-header-has-flyout-menu-content > .a {
    background-color: #99D2ED !important;
    transition: background-color 0.2s ease;
}

.fusion-flyout-menu-toggle:hover .fusion-toggle-icon-line {
    background-color: #004C72;
}

.fusion-is-sticky .menu-item.current-menu-parent > a,
.fusion-is-sticky .current-menu-item > a {
    color: #004C72 !important;
}

.fusion-is-sticky .menu-item.current-menu-parent > ul.sub-menu .current-menu-item > a {
    color: #ffffff !important;
}

.fusion-is-sticky .fusion-main-menu > ul > li.menu-item > a:hover {
    color: #99D2ED !important; /* Bleu foncé */
}


.scroll-down-text {
    display: inline-block;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
}

header .menu-item.current-menu-item > a,
header .menu-item.current-menu-ancestor > a,
header .menu-item.current-menu-parent > a {
    text-decoration: underline;
    text-decoration-color: #0090d4; /* Underline color */
    text-decoration-thickness: 2px; /* Underline Thickness */
    text-underline-offset: 10px; /* Underline offset */
}

.fusion-mobile-menu-icons > .fusion-icon.awb-icon-bars {
    display: none;
    opacity: 0; /* Rendu invisible mais toujours présent */
    pointer-events: none; /* Empêche l'interaction */
}

.awb-off-canvas-wrap .awb-off-canvas .off-canvas-close {
    top: 20px !important;
}

/* Remove menu under 800 to show the mobile menu */
/*@media (max-width: 800px) {*/
/*    .fusion-header-wrapper {*/
/*        display: none !important;*/
/*    }*/
/*}*/

@media (max-width: 1200px) {
    body.search .fusion-header,
    body.error404 .fusion-header {
        background-color: #0090d4 !important; /* Fond bleu */
        background-image: none !important; /* Supprime un éventuel background-image */
        position: relative !important;
        z-index: 999 !important;
    }
}

/* Buttons */
.btn_back_lightblue:hover, .btn_back_green:hover, .btn_back_purple:hover {
    background-color: #ffffff !important;
}
.btn_back_lightblue:hover .fusion-button-text {
    color: #0090D4 !important;
}
.btn_back_green:hover .fusion-button-text {
    color: #93CF72 !important;
}
.btn_back_purple:hover .fusion-button-text {
    color: #8246AE !important;
}
.btn_lightblue:hover .fusion-button-text, .btn_green:hover .fusion-button-text, .btn_purple:hover .fusion-button-text {
    color: #ffffff !important;
}
.btn_lightblue:hover {
    background-color: #0090D4 !important;
}
.btn_green:hover {
    background-color: #3E5832 !important;
}
.btn_purple:hover {
    background-color: #492C5E !important;
}

/* Contact */
.contactLink a {
    color: #3E5832;
}
.contactLink a:hover {
    color: #0090D4;
}

/* Menu responsive design */
/* Lignes du menu hamburger également en blanc */
.fusion-header-v1 .fusion-flyout-menu-icons .fusion-toggle-icon-line {
    background-color: #ffffff !important; /* Couleur blanche pour les lignes */
}
/* Lorsque le voile blanc est actif : couleur des icônes en bleu */
.fusion-header-v1.fusion-flyout-active .fusion-flyout-menu-icons .fusion-toggle-icon-line {
    color: #003366 !important; /* Loupe en bleu foncé */
    background-color: #003366 !important; /* Lignes en bleu foncé */
}

body:not(.mobile-menu-design-flyout) .fusion-mobile-nav-item a {
    height: var(--mobile_menu_nav_height);
    background-color: rgba(255, 255, 255, 0.8) !important; /* Fond blanc avec 80% d'opacité */
    border: 1px solid rgba(0, 76, 114, 0.2) !important; /* Bordure blanche avec 50% d'opacité */
}



/* Contact form */
#contactForm {
    color: white;
    font-family: Roboto;
}

#contactForm input.wpcf7-form-control {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 5px;
    border-radius: 50px;
    width: 100%;
    box-sizing: border-box;
}

#contactForm textarea.wpcf7-form-control {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 5px;
    border-radius: 25px;
    max-height: 85px;
    width: 100%;
    box-sizing: border-box;
}

#contactForm input.wpcf7-form-control::placeholder,
#contactForm textarea.wpcf7-form-control::placeholder {
    color: white;
    opacity: 0.8;
}

#contactForm input.wpcf7-submit {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contactForm input.wpcf7-submit:hover {
    background: white;
    color: black;
}

#contactForm .wpcf7-response-output {
    color: white;
    margin-top: 15px;
    text-align: center;
}

/*#contactForm .screen-reader-response {*/
/*    display: none;*/
/*}*/

#contactForm .wpcf7-response-output {
    display: none; /* Masque le conteneur par défaut */
}

/* Affiche le conteneur uniquement lorsqu'un message est présent */
#contactForm .wpcf7-response-output.wpcf7-display-none {
    display: block; /* Rend visible quand nécessaire */
}

/* Style pour personnaliser les messages */
#contactForm .wpcf7-response-output {
    color: white; /* Texte en blanc */
    border: 2px solid white; /* Bordure blanche */
    background-color: transparent; /* Fond transparent */
    padding: 10px; /* Espacement interne */
    margin-top: 15px; /* Espacement avec les autres éléments */
    text-align: center; /* Centrage du texte */
    border-radius: 5px; /* Coins arrondis */
}

#contactForm .wpcf7-not-valid-tip {
    font-size: 15px;
    font-weight: bold;
    color: #d02350;
}

#PrivacyForm  input.wpcf7-submit {
    background: transparent;
    border: 2px solid #0090D4;
    color: #0090D4 !important;
    padding: 10px 20px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#PrivacyForm  input.wpcf7-submit:hover {
    background: #0090D4;
    border-color: #0090D4;
    color: #ffffff !important;
}

/*News*/
#News_Grid > .fusion-posts-container > article > .fusion-post-wrapper  {
    border:1px #D4ECC7 solid !important;
}

#News_Grid > .fusion-posts-container > article > .fusion-post-wrapper {
    border-bottom-width: 1px !important;
}

#News_Grid h2.blog-shortcode-post-title.entry-title a {
    color: #3E5832 !important;
    font-weight: 400 !important;
}

/* Appliquer la couleur verte au texte dans .fusion-single-line-meta */
#News_Grid .fusion-single-line-meta {
    color: #3E5832 !important;
    margin-top: 20px !important;
}

/* Appliquer la couleur verte au texte dans .fusion-post-content-container */
#News_Grid .fusion-post-content-container {
    color: #3E5832 !important;
}

#News_Grid .fusion-post-content-container {
    position: relative;
    overflow: hidden;
}

#News_Grid .fusion-post-content-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* Pour permettre l'interaction avec le texte sous le masque */
}

#News_Grid .fusion-read-more {
    display: inline-block;
    padding: 10px 40px;
    background-color: #FFFFFF; /* Couleur de fond du bouton */
    color: #3E5832 !important; /* Couleur du texte */
    border: 1px #3E5832 solid;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 170px !important;
}

#News_Grid .fusion-read-more:hover {
    color: #ffffff !important; /* Couleur du texte au survol */
    background-color: #3E5832; /* Couleur au survol */
}

#News_Grid .fusion-read-more::after {
    content: none !important;
}

/* Retirer le padding */
#News_Grid .fusion-post-content-wrapper {
// padding: 20px 0 !important;
}

/* Appliquer la couleur verte à tout le texte */
#News_Grid .fusion-post-content-wrapper {
    color: #3E5832 !important;
}

/* Empêcher l'affichage du masque fusion-rollover */
#News_Grid .fusion-image-wrapper .fusion-rollover {
    display: none !important;
}

/* Style pour les flèches de navigation gauche et droite */
#News_Grid .flex-direction-nav a {
    background-color: #ffffff !important; /* Fond blanc */
    width: 40px; /* Taille personnalisée */
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optionnel : ajouter une ombre */
    transition: background-color 0.3s ease, color 0.3s ease; /* Animation au survol */
}

/* Couleur de l'icône (>) ou (<) en vert */
#News_Grid .flex-direction-nav a i {
    color: #3E5832 !important; /* Vert */
    font-size: 16px; /* Taille de l'icône */
}

/* Effet au survol */
#News_Grid .flex-direction-nav a:hover {
    background-color: #f0f0f0; /* Couleur du fond au survol */
}

/* Style de base pour les ronds de pagination */
#News_Grid .flex-control-nav.flex-control-paging li a {
    background-color: rgba(212, 236, 199, 0.5) !important; /* Couleur #D4ECC7 avec opacité 50% */
    width: 12px; /* Diamètre du rond */
    height: 12px;
    border-radius: 50%; /* Forme circulaire */
    display: inline-block;
    margin: 0 5px; /* Espacement entre les ronds */
    transition: background-color 0.3s ease; /* Animation au survol ou au changement d'état */
}

/* Style pour le rond actif */
#News_Grid .flex-control-nav.flex-control-paging li a.flex-active {
    background-color: #93CF72 !important; /* Couleur #93CF72 */
    opacity: 1 !important; /* Opacité à 100% pour l'état actif */
}

.fusion-flexslider.flexslider.fusion-flexslider-loading.fusion-post-slideshow {
    border: none !important;
}

.fusion-flexslider.flexslider.fusion-post-slideshow {
    border: none !important;
    border-color: transparent !important;
}


/* Style pour l'onglet about us */

.grid-member {
	position: relative;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 1000px;
	list-style: none;
	text-align: center;
  	display: flex;
        align-items: center;
        justify-content: center;
}

.grid-member figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	width: 75%;
	background: #ffffff;
	text-align: left;
	cursor: pointer;
}

.grid-member figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 1;
}

.grid-member figure figcaption {
	padding: 2em;
	color: #004C72;
	text-transform: none;
	font-size: 20px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid-member figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid-member figure figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.grid-member figure .hover-text {
    position: absolute;
    top: 40px;
    left: 30px;
    opacity: 1;
    transition: opacity 0.35s;
}

.grid-member figure .hover-text .text-large {
    color: #ffffff;
    font-size: 32px;
}

.grid-member figure .hover-text .text-small {
    color: #ffffff;
    font-size: 20px;
    padding-top: 0px;
}

/* Cachez le texte lorsque la souris survole l'élément */
.grid-member figure:hover .hover-text {
    opacity: 0;
    transition: opacity 0.35s;
}

/* Anchor will cover the whole item by default */

.grid-member figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

figure.section-management img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.12);
	transform: scale(1.12);
}

figure.section-management:hover img {
	opacity: 0.1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.section-management figcaption {
	padding: 3em;
}

figure.section-management figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #004C72;
	content: '';
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

figure.section-management figcaption::before,
figure.section-management p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}


figure.section-management p {
	margin: 0 auto;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.section-management:hover figcaption::before,
figure.section-management:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.section-management .hover-text {
    position: absolute;
    top: 40px;
    left: 30px;
    opacity: 1;
    transition: opacity 0.35s;
}

figure.section-management .hover-text .text-large {
    color: #ffffff;
    font-size: 32px;
}

figure.section-management .hover-text .text-small {
    color: #ffffff;
    font-size: 20px;
    padding-top: 0px;
}

/* Cachez le texte lorsque la souris survole l'élément */
figure.section-management:hover .hover-text {
    opacity: 0;
    transition: opacity 0.35s;
}

/* Si la largeur de la fenêtre est inférieure ou égale à 1024px */
@media (max-width: 1024px) {
    .grid-member figure .hover-text .text-large,
    figure.section-management .hover-text .text-large {
        font-size: 30px; /* Taille du grand texte */
    }

    .grid-member figure .hover-text .text-small,
    figure.section-management .hover-text .text-small {
        font-size: 15px; /* Taille du petit texte */
    }
}

/* Si la largeur de la fenêtre est inférieure ou égale à 640px */
@media (max-width: 640px) {
    .grid-member figure .hover-text .text-large,
    figure.section-management .hover-text .text-large {
        font-size: 20px; /* Taille du grand texte */
    }

    .grid-member figure figcaption {
        font-size: 14px;
    }

    .grid-member figure .hover-text .text-small,
    figure.section-management .hover-text .text-small {
        font-size: 10px; /* Taille du petit texte */
    }
}


/* Value page */

.valuemorespace15 ul li {
    margin-bottom: 15px;
}

.valuemorespace20 ul li {
    margin-bottom: 20px;
}
