
/********************************************************************* GENERAL */

.fas::before {
	content: "" !important;
	display: block;
	height: 1em;
	width: 1.2em;
	background-color: var(--yjb_secondary);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center center;
	mask-position: center center;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.fas.fa-euro-sign::before {
	-webkit-mask-image: url("./includes/euro.svg");
	mask-image: url("./includes/euro.svg");
}

.fas.fa-file-signature::before {
	-webkit-mask-image: url("./includes/signature.svg");
	mask-image: url("./includes/signature.svg");
	margin-right: -5px;
	width: calc(1.2em + 5px);
}

.fas.fa-map-marker-alt::before {
	-webkit-mask-image: url("./includes/marker.svg");
	mask-image: url("./includes/marker.svg");
}

.fas.fa-star::before {
	-webkit-mask-image: url("./includes/star.svg");
	mask-image: url("./includes/star.svg");
}

.yjb-last_offers_container {
	display: flex;
	flex-wrap:wrap;
}

.yjb-last_offers_elem_wrapper {
	padding: 0 15px;
}

.yjb-last_offers_elem {
    background-color: var(--yjb_decoration);
    position: relative;
    margin-top: 0px;
    padding: 35px 30px;
    height: 100%;
    width: 100%;
    overflow: visible;
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0% 100%, 0 50px);
    -webkit-clip-path: polygon(50px 0, 100% 0, 100% 100%, 0% 100%, 0 50px);
    transition: all 0.2s;
}

.yjb-last_offers_elem:hover {
	clip-path: polygon(0px 0, 100% 0, 100% 100%, 0% 100%, 0 0px);
}

.yjb-last_offers_elem::before {
    content: "";
    clip-path: polygon(49px 0, 100% 0, 100% 100%, 0% 100%, 0 49px);
    -webkit-clip-path: polygon(49px 0, 100% 0, 100% 100%, 0% 100%, 0 49px);
    background-color: white;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    position: absolute;
    left: 2px;
    top: 2px;
    transition: all 0.1s;
}

.yjb-last_offers_elem:hover::before {
	background-color: #f3f5f9;
	clip-path: polygon(50px 0, 100% 0, 100% 100%, 0% 100%, 0 50px);
	-webkit-clip-path: polygon(50px 0, 100% 0, 100% 100%, 0% 100%, 0 50px);
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
}


.yjb-last_offers_secteur {
	padding-bottom: 15px;
	padding-top: 5px;
	position: relative;
}

.yjb-last_offers_secteur_icon {
	height: 70px;
	width: 100%;
	-webkit-background-size: 70% 80%;
	background-size: 70% 80%;
	background-repeat: no-repeat;
	background-position: center;
	opacity: .17;
}

.yjb-last_offers_secteur_title {
	text-transform: uppercase;
	color: var(--yjb_primary);
	text-align: center;
	font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	line-height: 1 !important;
}

.yjb-last_offers_elem_title h2 {
	color: var(--yjb_secondary);
	margin-bottom: 15px;
	line-height: 1.1;
	font-weight: 500;
	font-size: 1.2em;
	text-align: center;
	position: relative;
}

.yjb-last_offers_elem_characs {
	padding: 0 15px;
}

.yjb-last_offers_characs_row {
	position: relative;
	display: flex;
	align-items: center;
	padding-left: 26px;
	line-height: 1.5;
}

.yjb-last_offers_characs_icon {
	position: absolute;
	left: 10px;
	transform: translateX(-50%);
	display: inline-block;
	color: var(--yjb_secondary);
	text-align: center;
}

.yjb-last_offers_container::before {
		display: none;
}

a .yjb-last_offers_elem_characs {
	color: #404040;
}


@media only screen and (max-width : 992px) {
	.yjb-last_offers_elem_wrapper {
		width: 50%;
		margin-bottom: 30px;
	}
	
	.yjb-last_offers_container::before {
		display: none;
	}
}

@media only screen and (max-width : 767px) {
	.yjb-last_offers_elem_wrapper {
		width: 100%;
	}
	
	.yjb-last_offers_elem_wrapper {
		padding: 0 10px;
	}
}




