.ateliers3s-gallery-photos-wrapper {
max-width: 1900px;
margin: 0 auto 40px;
}
.ateliers3s-gallery-photos-filters {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
margin: 0 auto 30px;
}
.ateliers3s-gallery-photos-filters span {
text-transform: uppercase;
cursor: pointer;
font-family: "Overpass", Sans-serif;
font-size: 16px;
}
.ateliers3s-gallery-photos-filters span.active {
color: #ee712c;
}
.ateliers3s-gallery-photos {
margin: -5px;
}
.ateliers3s-gallery-photos .grid-sizer, .ateliers3s-gallery-photos .grid-item {
display: block;
width: 25%;
}
@media all and (max-width: 728px) {
.ateliers3s-gallery-photos .grid-sizer, .ateliers3s-gallery-photos .grid-item {
width: 50%;
}
}
.ateliers3s-gallery-photos .grid-item {
padding-left: 5px;
padding-right: 5px;
margin-bottom: 10px;
}
.ateliers3s-gallery-photos .grid-item:nth-child(4n) {
margin-right: 0;
}
.ateliers3s-gallery-photos .grid-item img {
object-fit: cover;
display: block;
}
.ateliers3s-gallery-photos .grid-item:hover:after {
content: attr(data-caption);
display: flex;
align-items: flex-end;
padding: 20px;
color: #fff;
position: absolute;
top: 0;
bottom: 0;
left: 5px;
right: 5px;
background-color: rgba(0, 0, 0, .3);
}
.ateliers3s-gallery-paginate ul{
display: flex;
list-style: none;
padding: 0;
margin: 20px 0;
gap: 8px;
justify-content: center;
}
.ateliers3s-gallery-paginate ul li{
border: 1px solid var( --e-global-color-primary );
padding: 8px 12px;
background-color: #fff;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
.ateliers3s-gallery-paginate ul li a{
color: var( --e-global-color-primary );
text-decoration: none;
display: block;
}
.ateliers3s-gallery-paginate ul li:hover:not(.active){
background-color: #f0f0f0;
}
.ateliers3s-gallery-paginate ul li.active {
background-color: var( --e-global-color-primary );
color: #fff;
border-color: var( --e-global-color-primary );
cursor: default;
}
.ateliers3s-gallery-paginate ul li.active a {
color: #fff;
pointer-events: none;
cursor: default;
}
.ateliers3s-gallery-photos-filters a{
border: 1px solid #fff;
padding: 8px 12px;
text-transform: uppercase;
}
.ateliers3s-gallery-photos-filters a.active{
border: 1px solid var( --e-global-color-primary );
}
.ateliers3s-gallery-photos-filters a:hover{
border: 1px solid var( --e-global-color-primary );
}
.ateliers3s-gallery-photos-wrapper h2{
text-align: center;
}
.ateliers3s-gallery-paginate select,
.ateliers3s-gallery-photos-filters select,
.ateliers3s-gallery-photos-filters .gammefilterlabel{
display:none;
}
.ateliers3s-gallery-photos-filters select option{
text-transform: uppercase;
}
body[data-elementor-device-mode=mobile] .ateliers3s-gallery-paginate ul,
body[data-elementor-device-mode=mobile] .ateliers3s-gallery-photos-filters a{
display: none;
}
body[data-elementor-device-mode=mobile] .ateliers3s-gallery-paginate select{
display: block;
margin: 20px 0;
}
body[data-elementor-device-mode=mobile] .ateliers3s-gallery-photos-filters select {
display: block;
margin: 0px 0px 20px 0;
text-transform: uppercase;
}
body[data-elementor-device-mode=mobile] .ateliers3s-gallery-photos-filters .gammefilterlabel{
display:block;
}