/*
Theme Name: Clengo - Child
Author: GT3themes
Author URI: http://gt3themes.com
Description: -
Version: 1.0
Template: clengo
*/

/* GÉNÉRAL */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Masquer badge Recaptcha */
.grecaptcha-badge {
  display: none !important;
}


/* ELEMENTOR BORDER RADIUS */

.elementor-widget-container {
  border-radius: 5px;
}

.elementor-widget-container img {
  border-radius: 5px;
}

/* COMPLIANZ */

.cmplz-btn .cmplz-category-header{
  margin-top: 10px !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner {
  background-color: rgba(255, 255, 255, 0.92) !important;
}


/* BOITE CLIQUABLE LIEN ACTIF AU SURVOL */

.boite-cliquable a.elementor-image-box-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  text-indent: -9999px;
}


/* CONTACT FORM 7 */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 0;
  background-color: #f9f9f9;
  box-sizing: border-box;
  margin-bottom: 15px;
  font-family: inherit;
  font-size: 16px;
}

.wpcf7 .wpcf7-submit {
  display: block;
  margin: 30px auto 0 auto;
}

.wpcf7 form p {
  text-align: center;
}

.wpcf7-form-control.wpcf7-textarea {
  height: 235px;
  min-height: 200px;
  resize: vertical;
}


/* TITRE PAGES GT3 */

.gt3-page-title__content {
  color: #91c63d !important;
}


/* MOD MAP RÉALISATIONS */

#map {
  border-radius: 5px;
  width: 90% !important;
  margin-left: 5%;
}


/* FOND REVSLIDER NOIR (ID CORRIGÉ) */

sr7-module-bg {
  background: #000f16 !important;
}


/* === CSS pour catégories ET articles === */
body.category .gt3_header_builder,
body.single-post .gt3_header_builder {
    background: linear-gradient(to right, #2a4135, #346225) !important;
    width: 100% !important;
    opacity: 1 !important;
}

body.category .gt3_header_builder::before,
body.category .gt3_header_builder::after,
body.single-post .gt3_header_builder::before,
body.single-post .gt3_header_builder::after {
    display: none !important;
}

body.category .gt3_header_builder__container,
body.category .gt3_header_builder__section,
body.category .gt3_header_builder__section-container,
body.single-post .gt3_header_builder__container,
body.single-post .gt3_header_builder__section,
body.single-post .gt3_header_builder__section-container {
    background: transparent !important;
}

body.category .gt3_header_builder__section--middle,
body.single-post .gt3_header_builder__section--middle {
    background: linear-gradient(to right, #2a4135, #346225) !important;
    width: 100% !important;
}

body.category .gt3_header_builder,
body.category .gt3_header_builder a,
body.category .gt3_header_builder__container a,
body.single-post .gt3_header_builder,
body.single-post .gt3_header_builder a,
body.single-post .gt3_header_builder__container a {
    color: #ffffff !important;
}

body.category .gt3_header_builder_text_component span[style*="color"],
body.single-post .gt3_header_builder_text_component span[style*="color"] {
    color: #ffffff !important;
}

body.category .logo-dark,
body.single-post .logo-dark {
    display: none !important;
}

body.category .logo-white,
body.single-post .logo-white {
    display: block !important;
}

/* Sous-menus : fond blanc, texte noir */
body.category .main-menu .sub-menu,
body.category .gt3_header_builder .sub-menu,
body.single-post .main-menu .sub-menu,
body.single-post .gt3_header_builder .sub-menu {
    background-color: #ffffff !important;
    border: none !important;
}

/* Texte normal noir */
body.category .gt3_header_builder .sub-menu li a:not(.current),
body.single-post .gt3_header_builder .sub-menu li a:not(.current) {
    color: #000000 !important;
}

/* Texte actif vert */
body.category .gt3_header_builder .sub-menu li.current-menu-item > a,
body.single-post .gt3_header_builder .sub-menu li.current-menu-item > a,
body.category .gt3_header_builder .main-menu li.current-menu-item > a,
body.single-post .gt3_header_builder .main-menu li.current-menu-item > a {
    color: #99cc01 !important;
}

/* Survol sous-menu : texte vert */
body.category .main-menu .sub-menu li a:hover,
body.category .sub-menu li a:hover,
body.single-post .main-menu .sub-menu li a:hover,
body.single-post .sub-menu li a:hover {
    color: #90C73E !important;
}

/* Icônes sociales */
body.category .gt3_icon_link i,
body.category .gt3_icon_link,
body.single-post .gt3_icon_link i,
body.single-post .gt3_icon_link {
    color: #99cc01 !important;
    opacity: 0.90 !important
}

/* Liseré horizontal entre top et middle */
body.category .gt3_header_builder__section--top,
body.single-post .gt3_header_builder__section--top {
    border-bottom: 0.4px solid #8f8b8b !important;
}

body.category .gt3_header_builder .main-menu .current-menu-item > a,
body.category .gt3_header_builder .main-menu .current_page_item > a,
body.category .gt3_header_builder .main-menu .current-menu-ancestor > a,
body.category .gt3_header_builder .sub-menu .current-menu-item > a,
body.category .gt3_header_builder .sub-menu .current_page_item > a,
body.category .gt3_header_builder .sub-menu .current-menu-ancestor > a,

body.single-post .gt3_header_builder .main-menu .current-menu-item > a,
body.single-post .gt3_header_builder .main-menu .current_page_item > a,
body.single-post .gt3_header_builder .main-menu .current-menu-ancestor > a,
body.single-post .gt3_header_builder .sub-menu .current-menu-item > a,
body.single-post .gt3_header_builder .sub-menu .current_page_item > a,
body.single-post .gt3_header_builder .sub-menu .current-menu-ancestor > a {
    color: #99cc01 !important;
}

/* Si le texte actif est dans un span */
body.category .gt3_header_builder .main-menu .current-menu-item > a span,
body.category .gt3_header_builder .sub-menu .current-menu-item > a span,
body.single-post .gt3_header_builder .main-menu .current-menu-item > a span,
body.single-post .gt3_header_builder .sub-menu .current-menu-item > a span {
    color: #99cc01 !important;
}

body.category .mobile_menu_container a,
body.single-post .mobile_menu_container a {
    color: #282828 !important;
}

body.category .mobile_menu_container,
body.single-post .mobile_menu_container {
    background-color: #ffffff !important;
}


/* === PAGE CONFIDENTIALITÉ : mêmes styles que catégories === */
.page-id-3 .gt3_header_builder {
    background: linear-gradient(to right, #2a4135, #346225) !important;
    width: 100% !important;
    opacity: 1 !important;
}

.page-id-3 .gt3_header_builder::before,
.page-id-3 .gt3_header_builder::after {
    display: none !important;
}

.page-id-3 .gt3_header_builder__container,
.page-id-3 .gt3_header_builder__section,
.page-id-3 .gt3_header_builder__section-container {
    background: transparent !important;
}

.page-id-3 .gt3_header_builder__section--middle {
    background: linear-gradient(to right, #2a4135, #346225) !important;
    width: 100% !important;
}

.page-id-3 .gt3_header_builder,
.page-id-3 .gt3_header_builder a,
.page-id-3 .gt3_header_builder__container a {
    color: #ffffff !important;
}

.page-id-3 .gt3_header_builder_text_component span[style*="color"] {
    color: #ffffff !important;
}

.page-id-3 .logo-dark {
    display: none !important;
}
.page-id-3 .logo-white {
    display: block !important;
}

/* Sous-menu si utilisé sur cette page */
.page-id-3 .main-menu .sub-menu,
.page-id-3 .gt3_header_builder .sub-menu {
    background-color: #ffffff !important;
    border: none !important;
}

.page-id-3 .gt3_header_builder .sub-menu li a:not(.current) {
    color: #000000 !important;
}

.page-id-3 .gt3_header_builder .sub-menu li.current-menu-item > a,
.page-id-3 .gt3_header_builder .main-menu li.current-menu-item > a {
    color: #99cc01 !important;
}

.page-id-3 .main-menu .sub-menu li a:hover,
.page-id-3 .sub-menu li a:hover {
    color: #90C73E !important;
}

.page-id-3 .gt3_icon_link i,
.page-id-3 .gt3_icon_link {
    color: #99cc01 !important;
    opacity: 0.90 !important;
}

.page-id-3 .gt3_header_builder__section--top {
    border-bottom: 0.4px solid #8f8b8b !important;
}

.page-id-3 .mobile_menu_container {
    background-color: #ffffff !important;
}

.page-id-3 .mobile_menu_container a {
    color: #282828 !important;
}

.page-id-3 .mobile_menu_container .current-menu-item > a {
    color: #99cc01 !important;
}

.toggle-box,
.toggle-inner,
.toggle-inner::before,
.toggle-inner::after {
    background-color: transparent !important;
    color: #ffffff !important;
}

.notice.notice-error {
    color: #282828 !important;
}




