.evenement {
position: relative;
width: 100vw;
}
.evenement__banner {
width: calc(100% - 80px);
padding: 50px 40px;
background-color: var(--grey);
box-shadow: 0 3px 6px 0 rgba(0,0,0,0.15);
margin-bottom: 50px;
}
.evenement__banner h2 {
text-align: center;
}
.evenement__banner2{
margin-top: 50px;
}
.evenement__inner {
width: calc(100% - 160px);
padding: 0 80px;
max-width: 1200px;
}
.evenement__display {
position: relative;
width: 100%;
align-items: flex-start;
justify-content: flex-start;
flex-flow: wrap;
padding-bottom: 40px;
}
.evenement__card {
position: relative;
width: calc(31.5% - 40px);
margin: 10px 0.9166%;
background-color: var(--green);
padding: 20px;
box-shadow: 0 3px 6px 0 rgba(0,0,0,0.15), 0 3px 20px 0 rgba(0,0,0,0.15);
color: #fff;
}
.evenement__card__image {
position: relative;
width: 100%;
padding-top: 80%;
}
.evenement__card__image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.evenement__card__title {
font-size: 18px;
font-weight: bold;
width: 100%;
margin: 20px 0 10px 0;
text-align: center;
}
.evenement__card__lieu, .evenement__card__date {
margin: 10px 0;
font-size: 12px;
text-align: center;
}
.evenement__card__lieu img, .evenement__card__date img {
margin-right: 10px;
height: 21px;
}
.evenement__card__links {
margin: 10px 0;
}
.evenement__card__links a {
margin: 0 5px;
}
.evenement__card__links a img {
width: 35px;
height: 35px;
}
.evenement__load {
cursor: pointer;
}
.evenement__hide__button {
position: absolute;
z-index: 9;
top: 100%;
left: 0;
width: 100%;
height: 80px;
background-color: #fff;
}
.acf-block-preview {
}
@media only screen and (max-width: 1600px){
.evenement__banner {
padding: 20px 40px;
margin-bottom: 20px;
}
.evenement__banner h2 {
font-size: 26px;
}
}
@media only screen and (max-width: 1100px) {
.evenement__card {
position: relative;
width: calc(48% - 40px);
margin: 10px 1%;
padding: 20px;
box-shadow: 0 3px 6px 0 rgba(0,0,0,0.15), 0 3px 20px 0 rgba(0,0,0,0.15);
}
}
@media only screen and (max-width: 775px) {
.evenement__display {
justify-content: center;
}
.evenement__card {
width: 100%;
max-width: 300px;
}
.evenement__inner {
width: calc(100% - 40px);
padding: 0 20px;
}
}