/******************************* realisations *************************************/

.owl-carousel .owl-nav .owl-prev {
    margin-left: -25px !important;
}

.owl-carousel .owl-nav > button {
    display: flex !important;
}


button.owl-dot {
    background: none !important;
}

.reseaux-sociaux-container {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.popup-realisation.hidden {
    visibility: hidden;
    display: none;
}

.popup-realisation{
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
    background-color: #000000d1;
    display: flex;
    flex-direction: column;
    z-index: 10;
    padding: 50px;
}

span.close-popup {
    display: flex;
    margin-left: auto;
    margin-bottom: 20px;
    color: var(--e-global-color-primary);
    border-radius: 100px;
    width: 40px;
    cursor: pointer;
}

span.close-popup svg.icon{
    font-size: 40px;
}

.slider-loading {
    margin: auto;
    margin-bottom: auto !important;
    text-align: center;
}

.slider-loading img {
    width: 100px;
}

.slider-loading p{
    text-align: center;
}

.popup-realisation .slider {
    margin-bottom: auto !important;
}

.popup-realisation .title {
    text-align: center;
    color: white;
}

.realisations-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.realisations-container .realisation {
    display: flex;
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    position: relative;
    cursor: pointer;
}

.realisations-container .realisation .roll-over{
    width: 100%;
    background-color: #f63c3699;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out!important;
    display: flex;
    flex-direction: column;
    padding: 0px 10px;
}

.realisations-container .realisation:hover .roll-over{
    visibility: visible;
    opacity: 1;
}

.realisations-container .realisation h2{
    font-size: 30px;
    font-weight: bold;
    margin: auto;
    margin-bottom: 0;
    text-align: center;
    color: white;
    line-height: 35px;
}

.realisations-container .realisation p{
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px!important;
    color: white;
    cursor: pointer;
}

.slider-realisations {
    max-height: 90%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex !important;
    flex-direction: column;
    margin-top: 20px;
}

.slider-realisations .slide img {
    max-width: 100%;
    max-height: 100%;
}

.owl-carousel .owl-nav {
    position: absolute;
    width: 100%;
    z-index: -1 !important;
    margin-top: 0 !important;
    top: 50%;
    transform: translateY(-50%);
    text-align: inherit !important;
    display: flex;
}

.owl-carousel .owl-nav .owl-prev{
    margin-left: -50px !important;
}

.owl-carousel .owl-nav .owl-next{
    margin-left: auto !important;
    margin-right: -50px !important;
}


.owl-carousel .owl-nav > button:hover{
    color: white!important;
}

.owl-carousel .owl-nav > button.disabled {
    color: #869791 !important;
}

.owl-carousel .owl-dots{
    margin-top: 30px;
}

.owl-theme .owl-dots .owl-dot span{
    width: 13px!important;
    height: 13px!important;
}

.owl-carousel .owl-dots .owl-dot.active span,.owl-carousel .owl-dots .owl-dot:hover span{
    background: var(--e-global-color-primary)!important;
}

.owl-carousel .owl-stage{
    display: flex;
}

.owl-carousel .owl-item{
    display: flex!important;
    flex-wrap: wrap;
}

.slide.before-after-container {
    position: relative;
    width: 100%;
}

.slider-realisations *{
    animation-duration: initial!important;
    animation-iteration-count: initial!important; 
    transition-duration: initial!important; 
    scroll-behavior: initial!important;
}

.slider-realisations .wrapper{
    width: 100%;
    height: 100%;

}

.slider-realisations .wrapper span.legend{
    position: absolute;
    color: white;
    background-color: #000000;
    border-radius: 5px;
    padding: 5px 10px;
    top: 10px;
    left: 10px;
    box-shadow: #00000040 1px 1px 2px 0px;
}

.slider-realisations .wrapper span.legend.apres{
    right: 10px;
    left: initial;
}

.slider-realisations .before, .slider-realisations .after {
    width:100%;
    height:100%;
    background-repeat:no-repeat;
    background-color: white;
    background-size: cover;
    background-position: center;
    position: absolute;
    top:0;
    left:0;
    pointer-events:none;
    overflow: hidden;
}

.slider-realisations .content-image{
    height:100%;
}

.slider-realisations .wrapper img{
    width: auto!important;
    max-width: inherit!important;
}

.slider-realisations .after{
    width:50%;
}

.slider-realisations .scroller{
    width: 50px;
    height:50px;
    position: absolute;
    left:calc(50% - 25px);
    top:50%;
    border-radius:50%;
    background-color: transparent;
    opacity:0.9;
    pointer-events:auto;
    cursor: pointer;
}

.slider-realisations .scroller:hover{
    opacity:1;
}

.slider-realisations .scrolling{
    pointer-events:none;
    opacity:1;
    z-index: 1;
}

.slider-realisations .scroller__thumb{
    width:100%;
    height:100%;
    padding:5px;
}

.slider-realisations .scroller:before,.slider-realisations .scroller:after{
    content:" ";
    display: block;
    width: 7px;
    height: 9999px;
    position: absolute;
    left: 50%;
    margin-left: -3.5px;
    z-index: 30;
    transition:0.1s;
}
.slider-realisations .scroller:before{
    top:100%;
}
.slider-realisations .scroller:after{
    bottom:100%;
}

.slider-realisations .scroller{
    border: 5px solid var(--e-global-color-primary);
}
.slider-realisations .scroller:before,.slider-realisations .scroller:after{
    background: var(--e-global-color-primary);
}

.slider-realisations .scroller svg polygon{
    fill: var(--e-global-color-primary);
}

@media (max-width: 768px) {
    .realisations-container{
        grid-template-columns: 1fr;
    }

    .popup-realisation{
        top: 72px;
        height: calc(100% - 72px);
        padding: 20px 30px;
    }
}

/**********************************************************************************/