/*!
Theme Name: Outgrid Child
Theme URI: https://uicore.co
Description: Multi-Purpose Elementor WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: outgrid
Version: 1.0.0
Text Domain: outgrid
*/

 /* Add your custom style here */

.agences .elementor-heading-title span {
    color: var(--e-global-color-uicore_light);
}


.elementor-button-content-wrapper .elementor-button-icon {
    position: relative;
    width: 30px;
    display: inline-block;
    margin: 6px 15px;
}
.elementor-button-content-wrapper .elementor-button-text::before, .job .bdt-ep-static-carousel-readmore::before, .mf-btn-wraper .metform-btn span::before, .bdt-post-gallery .bdt-gallery-item-link span::before {
    content: "";
    width: 15px;
    height: 2px;
    background: var(--e-global-color-uicore_primary);
    position: absolute;
    top: 15px;
    transform: translateY(-50%);
    right: 15px;
    transition: width .25s ease-in-out, right .25s ease-in-out;
    -moz-transition: width .25s ease-in-out, right .25s ease-in-out;
    -webkit-transition: width .25s ease-in-out, right .25s ease-in-out;
}

.mf-btn-wraper .metform-btn span::before {
    top: 10px;
}

.white .elementor-button-content-wrapper .elementor-button-text::before, .bdt-post-gallery .bdt-gallery-item-link span::before {
    background: #fff;
}

.beige .elementor-button-content-wrapper .elementor-button-text::before {
    background: #E6D3BB;
}

.job .bdt-ep-static-carousel-readmore:hover::before {
    background: #E6D3BB!important;
}

.green .elementor-button-content-wrapper .elementor-button-text::before, .job .bdt-ep-static-carousel-readmore::before {
    background: var(--e-global-color-uicore_secondary);
}

.white.plaquette a.elementor-button {
    background-color: #02010100;
    fill: var(--e-global-color-uicore_white);
    color: var(--e-global-color-uicore_white);
    margin-top: 10px;
}

.white.plaquette .elementor-button-text::before, .white.plaquette .elementor-button-text::after {
top: 13px;
}

.white.plaquette a.elementor-button:focus {
    background-color: #02010100;
    fill: var(--e-global-color-uicore_white);
    color: var(--e-global-color-uicore_white);
    margin-top: 10px;
}

.white.plaquette {
    display: inline;
}

.white.plaquette a.elementor-button:hover {
    background-color: #02010100;
}
.elementor-button-content-wrapper .elementor-button-text::after, .job .bdt-ep-static-carousel-readmore::after, .mf-btn-wraper .metform-btn span::after, .bdt-post-gallery .bdt-gallery-item-link span::after {
    content: "";
    width: 6px;
    height: 6px;
    border: solid 2px var(--e-global-color-uicore_primary);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    transform: translateY(-50%);
    right: 10px;
    transition: right .25s ease-in-out;
    -moz-transition: right .25s ease-in-out;
    -webkit-transition: right .25s ease-in-out;
}

.mf-btn-wraper .metform-btn span::after {
    top: 10px;
}

.white .elementor-button-content-wrapper .elementor-button-text::after, .bdt-post-gallery .bdt-gallery-item-link span::after {
    border: solid 2px #fff;
}

.beige .elementor-button-content-wrapper .elementor-button-text::after {
    border: solid 2px #E6D3BB;
}

.job .bdt-ep-static-carousel-readmore:hover::after {
    border: solid 2px #E6D3BB!important;
}


.job .bdt-ep-static-carousel-readmore {
  position: relative;
  width: max-content;
  padding-right: 40px;
}


.green .elementor-button-content-wrapper .elementor-button-text::after, .job .bdt-ep-static-carousel-readmore::after {
    border: solid 2px var(--e-global-color-uicore_secondary);
}

.elementor-button-content-wrapper.elementor-button-text::before {
    background: var(--e-global-color-uicore_primary);
}
.elementor-button-content-wrapper.elementor-button-text:after {
    border-color: var(--e-global-color-uicore_primary);
}
.elementor-button-content-wrapper .elementor-button-icon.elementor-button-icon-white::before {
    background: #fff;
}
.elementor-button-content-wrapper .elementor-button-icon.elementor-button-icon-white::after {
    border-color: #fff;
}

.elementor-button-content-wrapper:hover .elementor-button-text::before, .job .bdt-ep-static-carousel-readmore:hover::before , .mf-btn-wraper .metform-btn:hover span::before, .bdt-post-gallery .bdt-gallery-item-link:hover span::before {
    background: var(--e-global-color-uicore_secondary);
    width: 25px;
    right: 5px;
}
.elementor-button-content-wrapper:hover .elementor-button-text::after, .mf-btn-wraper .metform-btn:hover span::after,.job .bdt-ep-static-carousel-readmore:hover::after, .bdt-post-gallery .bdt-gallery-item-link:hover span::after {
    border-color: var(--e-global-color-uicore_secondary);
    right: 0;
}

.green .elementor-button-content-wrapper:hover .elementor-button-text::before {
    background: var( --e-global-color-uicore_light )
}
.green .elementor-button-content-wrapper:hover .elementor-button-text::after {
    border-color: var( --e-global-color-uicore_light )
}

html.uicore-overflow-hidden {
  overflow: initial !important;
}

 .uicore-menu li a {
        opacity: 1
    }

@media (min-width: 1025px) {
    html .uicore-is-ham .uicore-mobile-menu-wrapper .uicore-menu {
        justify-content: start;
    }
    
    .uicore-is-ham .uicore-navigation-wrapper {
    max-width: 450px;
    margin-right: 0px;
    margin-left: auto;
}
}


.elementor-container .bdt-post-gallery .bdt-post-gallery-inner {
    border-radius: 0px;
}

.elementor-container .bdt-post-gallery-desc {
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.8s ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent); /* joli fond */
  color: white;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: none;
}

.elementor-container .bdt-post-gallery-title-link {
  display: block;
  pointer-events: auto;
  text-decoration: none;
  color: white;
}

.elementor-container .bdt-post-gallery-excerpt {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.8s ease;
  pointer-events: none;
}

.elementor-container .bdt-post-gallery-excerpt p {
margin-bottom: 0px;
}

.bdt-post-gallery .bdt-post-gallery-desc {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%) !important;
}


/* Conteneur nécessaire pour gérer le survol */
.elementor-container .bdt-gallery-item {
  position: relative;
  overflow: hidden;
}

/* SURVOL — on fait remonter tout le bloc et déplier l’extrait */
.elementor-container .bdt-gallery-item:hover .bdt-post-gallery-desc {
  transform: translateY(0px); /* Ajuste selon la taille de l’extrait */
}

.elementor-container .bdt-gallery-item:hover .bdt-post-gallery-excerpt {
  max-height: 300px; /* ou auto si pas de problème de transition */
  pointer-events: auto;
}

.elementor-container .bdt-gallery-item .bdt-gallery-thumbnail:before{
    content:'';
position: absolute;
    background-color: rgba(0, 0, 0, 0);
     transition: all 0.3s ease;
        width: 100%;
    height: 100%;
     background-size: 1300%;
    background-position: 50% 40%;
    background-repeat: no-repeat;
}

.elementor-container .bdt-gallery-item:hover  .bdt-gallery-thumbnail:before{
 background-color: rgba(0, 0, 0, .4);
     background-image: url(https://synergia-bet.fr/wp-content/uploads/2025/03/bg-domaine-3735a9e108.png);
    background-size: 150%;
    background-position: 50% 60%;
    background-repeat: no-repeat;
}

.elementor-container .bdt-post-gallery-excerpt hr {
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    max-width: 50%;
}

.elementor-container .bdt-post-gallery-excerpt small {
line-height: 18px;
    display: inline-block;
}

.elementor-container .bdt-post-gallery.bdt-post-gallery-skin-trosia .bdt-post-gallery-desc {
    padding: 30px;
    padding-bottom: 20px;
}

.bdt-post-gallery .bdt-post-gallery-desc {
    padding-top: 90px!important;
}

.bdt-gallery-item-title small {
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0px;
    line-height: 20px;
    color: #A1BA00;
    margin-bottom: 10px;
}

.uicore-animation-bg {
background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 9;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.uicore-mobile-nav-show .uicore-animation-bg {
visibility: visible;
  opacity: 1;
}

.ui-e-content .ui-e-title-wrapper {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0;
}

.ui-e-content span.ui-e-badge {
    padding: 0px!important;
}

.mf-input-wrapper .mf-input.mf-captcha-input {
    border: 2px solid;
    padding: 03px 10px 02px 10px;
    border-radius: 5px;
    background: #fff;
}

.mf-input-wrapper .mf-input.mf-captcha-input:focus, .mf-input-wrapper .mf-input.mf-captcha-input:active {
    border-style: solid;
    border-color: var(--e-global-color-uicore_secondary);
}