/**
 * Style of images galleries
 */

.div_gallery {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 33% 10px 33% 10px 33%;
    grid-template-columns: 33% 33% 33%;
    grid-gap: 10px;
    padding: 10px;
    width: 100%;
}
.img-container {
    position: relative;
}
.img-container:hover {
    -webkit-box-shadow: var(--main-orange) 0px 0px 4px, var(--main-orange) 0px 0px 4px;
            box-shadow: var(--main-orange) 0px 0px 4px, var(--main-orange) 0px 0px 4px;
}
.img-container img {
    vertical-align: middle;
    height: 600px;
    -o-object-fit: cover;
       object-fit: cover;
    cursor: pointer;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.div_gallery .see_more p::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 85%;
    height: 2px;
    background-color: var(--main-orange);
    display: none;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.see_more p {
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.see_more:hover p::after {
    display: block;
}
.img-container:hover .see_more {
    display: block;
}
/* PANORAMAS */
.div_gallery.panoramas,
.div_gallery.money {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
}
.div_gallery.panoramas .img-container img,
.div_gallery.money .img-container img {
    height: 100%;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.see_more {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    color: white;
    font-family: 'Special Elite', sans-serif;
    font-size: 2rem;
    cursor: pointer;
    display: none;
    z-index: 3;
    padding: .5rem .7rem .1rem;
    background-color: rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}
.item_info_title {
    font-size: 2rem;
}
.size_title {
    font-size: .8rem;
}
.dlt_category_ct {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    gap: .5rem;
}
.dlt_category {
    font-size: 1rem;
    display: inline;
}
.span_category {
    font-weight: 500;
    color: var(--main-orange);
}
.span_size {
    font-size: .8rem;
    padding: .5rem;
    background-color: rgba(0, 0, 0, .7);
}
.item_infos_ct {
    width: 100%;
    display: none;
    position: absolute;
    bottom: 20px;
    left: 0;
    cursor: pointer;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.item_infos {
    font-family: 'Special Elite', sans-serif;
    padding: 1rem;
    width: 100%;
    color: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: .5rem;
}
.button_know_more {
    background-color: white;
    opacity: .9;
    padding: 0 10px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-radius: 5px;
    cursor: pointer;
    margin-left: .5rem;
    -webkit-transition: color .5s;
    -o-transition: color .5s;
    transition: color .5s;
}
.button_know_more:hover {
    color: var(--main-orange);
}
.modal_item_infos {
    width: 100%;
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    padding: .5rem .5rem .2rem;
    background-color: rgba(0, 0, 0, .8);
    color: white;
    font-family: 'Special Elite';
}
.modal_item_infos.displayed_infos {
    display: block;
}
.category_link {
    display: inline;
    color: white;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.category_link:hover {
    -webkit-transform: skewX(-7deg);
        -ms-transform: skewX(-7deg);
            transform: skewX(-7deg);
}
.mySlides.fullpage_img {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: contain;
       object-fit: contain;
}
/* RESPONSIVE */
@media screen and (max-width: 1300px) {
    .div_gallery:not(.vertical-panoramas) .img-container img,
	.div_gallery:not(.panoramas-verticaux) .img-container img {
        height: 500px;
    }
}
@media screen and (max-width: 1050px) {
    .img-container img {
        height: 450px;
    }
}
@media screen and (max-width: 1000px) {
    .img-container img {
        height: 400px;
    }
    .item_info_title {
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 900px) {
    .div_gallery {
        -ms-grid-columns: 50% 10px 50%;
        grid-template-columns: 50% 50%;
    }
    .img-container img {
        height: 550px;
    }
}
@media screen and (max-width: 800px) {
    .img-container img {
        height: 500px;
    }
}
/* Cancels */
@media all and (max-width: 768px) {
    .div_gallery.panoramas .see_more,
    .div_gallery.money .see_more,
    .see_more,
    .item_infos_ct {
        display: none;
    }
}
@media all and (max-width: 750px) {
    .button_know_more {
        font-size: .8rem;
    }
	.img-container img {
        height: 450px;
    }
}
@media screen and (max-width: 680px) {
    .img-container img {
        height: 450px;
    }
}
@media screen and (max-width: 580px) {
    .div_gallery {
        -ms-grid-columns: 100%;
        grid-template-columns: 100%;
    }
    .img-container img {
        height: 650px;
    }
}
@media screen and (max-width: 500px) {
    .img-container img {
        height: 580px;
    }
}
@media screen and (max-width: 420px) {
    .img-container img {
        height: 520px;
    }
}
@media screen and (max-width: 400px) {
    .img-container img {
        height: 500px;
    }
}