/* grid flex */

/* 
 * Box home
 */ 
 
 .main-box {
    display: grid;
    grid-template-columns: repeat(4, 4fr);
    grid-gap: 50px;
    padding: 50px;
    background-color: #111;
}
.main-content-infinite {
    width: 100%;
    display: inline-block;
}
.box-content{

}


.box-content .box {
    position: relative;
    display: block;
    overflow: hidden;
}

.box-content .box:before {
    content: '';
    display: block;
    height: 0;
    padding-bottom: 100%;
}

.box-content .box .box__cover {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;

}
.box-content .box .box__cover.box__cover--video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 122%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-transform: scale(1.25);
    transform: scale(1.25);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.box-content .box .box__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 200px;
    text-align: center;
    color: #fff;
    max-width: 200px;
}
.box__cover{
	transform: scale(1);
	opacity: 1;
    transition: all 0.5s;
    -webkit-filter: grayscale(0%); /* Pour les navigateurs Chrome, Safari, Opera */
    filter: grayscale(0%); /* Firefox */
}

.box__cover:hover{
    transform: scale(1.03);
    -webkit-filter: grayscale(0%); /* Pour les navigateurs Chrome, Safari, Opera */
filter: grayscale(0%); /* Firefox */
}
.box-info {
    background-color: #fff;
    min-height: 60px;
    padding: 8px 40px 8px 40px;
}

.box-titre {
    font-weight: 800;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.box-aniversaire {
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.box-photo-date {
    position: absolute;
    color: #FAFF00;
    right: 0px;
    bottom: 45px;
    transform: rotate(-90deg);
}
.box-alert-candidature {
    position: absolute;
    left: 25px;
    z-index: 9;
    top: 25px;
}
.box-alert-candidature img {
    height: auto;
    width: 25px;
}
