/*
Backgroud-color de l'effet de survol se trouve dans le fichier liure_classic_front_style.php
*/
/*#slider_gallery .modal-dialog {
    max-width: 1000px;
}*/
.single_image_gallery {
    height: 250px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}
.single_image_gallery:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.2;
    transition-duration:400ms; 
}
.single_image_gallery:hover{
    cursor: pointer;
}
.single_image_gallery:hover:after {
    width: 100%;
}
.img_in_gallery {
    object-fit: cover !important;
}

#slider_gallery .modal-content {
    background-color: transparent;
    border:none;
}
#slider_gallery .owl-carousel .owl-stage-outer,
#slider_gallery .owl-carousel .owl-stage,
#slider_gallery .owl-carousel.owl-drag .owl-item,
#slider_gallery .item {
    height: 90vh;
}
#slider_gallery .owl-carousel .owl-item img {
    display: block;
    margin: auto;
    width: auto;
    height: 100%;
}
@media (min-width: 576px){
    #slider_gallery .modal-dialog {
        max-width: 100%;
        margin: 1.75rem auto;
    }

}
#slider_gallery .item{
    display: flex;
    justify-content: center;
}
#slider_gallery .item p{
    width: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 111;
    position: absolute;
    bottom: -10px;
    text-align: center;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
}
#slider_gallery .owl-nav{
    opacity: 1;
}
#slider_gallery .owl-theme .owl-nav [class*='owl-'], 
#slider_gallery .owl-theme .owl-nav [class*='owl-']:hover{
    background-color: transparent;
}
#slider_gallery .owl-theme .owl-nav button:focus{
    outline: none;
}
#slider_gallery button.owl-prev span,
#slider_gallery button.owl-next span {
    transition-duration: 400ms;
    font-size: 110px;
}
#slider_gallery .close{
    z-index: 9999999999;
    color: red;
    font-size: 50px;
    position: absolute;
    right: 20px;
}
@media only screen and (max-width: 768px){
    #slider_gallery .owl-carousel .owl-item img {
        width: 100% !important;
        height: auto !important;
        max-height: unset;
    }   
}
