

/********************************************************************* 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");
}

/********************************************************************* MODAL */

.modal-backdrop {
	z-index: 2147483641 !important;
}

#candidSingleModal {
	z-index: 2147483642;
}

#candidSingleModal .modal-dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#candidSingleModal .close {
	position: absolute;
	right: 10px;
	top: 9px;
	border: none;
	background: transparent;
	font-size: 1.6em;
}

#candidSingleModal .modal-body {
	max-height: 80vh;
	overflow: auto;
}

/********************************************************************* PG CONTENT */

.yjb-single_left_row {
	padding: 30px 30px 30px 30px;
	border: 2px solid var(--yjb_decoration);
}

.yjb-single_pres  {
	margin-bottom: 30px;
}

.yjb-single_pres h3 {
	color: var(--yjb_primary);
}

.yjb-single_pres_content,
.yjb-single_pres_criteres_list {
	margin-top: 5px;
}

.yjb-single_pres_criteres_list {
	padding-left: 0;
}

.yjb-single_pres_criteres_item::before {
	width: 0.7em;
	height: 0.5em;
	content: '';
	display: inline-block;
	border-left: 3px solid var(--yjb_secondary);
	border-bottom: 3px solid var(--yjb_secondary);
	transform: translateY(-0.2em) rotate(-45deg);
	margin-right: 12px;
}

.yjb-single_pres_criteres_item {
	list-style: none;
}

.yjb-single_top_row {
	margin-bottom: 35px;
}

.ydu-back_to_archive {
	font-size: .9em;
}

.ydu-back_to_archive::before {
	height: .6em;
	width: .6em;
	content: '';
	margin-right: 10px;
	border-bottom: 3px solid lightgray;
	border-left: 3px solid lightgray;
	transform: translateY(-20%) rotate(45deg);
	display: inline-block;
}

.yjb-single_ref {
	position: absolute;
	right: 30px;
	top: 0;
	text-transform: uppercase;
	font-size: .8em;
}

.yjb-single_ref::before {
	content: attr(data-ref);
}

/********************************************************************* SIDEBAR */


.yjb-single_specs_col {
	background-color: var(--yjb_bgcolor);
	padding: 40px 40px 40px;
}

.yjb-single_specs_row {
	position: relative;
	display: flex;
	align-items: center;
	padding-left: 30px;
}

.yjb-single_specs_title {
	font-size: 1.13em;
}

.yjb-single_secteur {
	padding-bottom: 15px;
	padding-top: 5px;
	background-color: var(--yjb_bgcolor_emphasis);
}

.yjb-single_specs_row + .yjb-single_specs_row {
	margin-top: 12px;
	padding-top: 12px;
}

.yjb-single_specs_row + .yjb-single_specs_row::after {
	content: '';
	width: 80%;
	height: 1px;
	background-color: var(--yjb_primary);
	opacity: .1;
	top: 0;
	right: 0;
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
}

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

.yjb-single_secteur_title {
	text-transform: uppercase;
	color: var(--yjb_primary);
	text-align: center;
	font-weight: bold;
}

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

.yjb-single_submit_wrapper {
	margin-top: 30px;
}

.yjb-single_submit,
.yjb-single_submit:hover,
.yjb-single_submit:focus {
	position: relative;
	width: 100%;
	clip-path: none;
	-webkit-clip-path: none;
	cursor: pointer;
	background-color: var(--yjb_secondary);
}

.yjb-single_submit_plane {
	left: 20%;
	top: 50%;
	position: absolute;
	transform: translateY(-50%);
	display: inline-block;
}

.wpcf7-form-control-wrap.ref {
	display: none;
}

.wpcf7-form > p > br {
	display: none;
}

.wpcf7-submit {
	background-color: #f95c38;
	border: none;
	border-radius: 0;
	color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 30px;
}

/********************************************************************* RESPONSIVE */

@media (min-width: 992px) {
	.yjb-single_left_row {
		padding: 30px 30px 30px 30px;
	}

	.yjb-single_right_row {
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media (max-width: 991px) {
	.yjb-single_right_row {
		padding-left: 30px;
	}
}

@media (max-width: 767px) {
	.yjb-single_right_row {
		padding-left: 0px;
    	width: 100%;
	}
	.single-offres .ct-section-inner-wrap {
		padding-top: 15px !important;
	}
	.single-offres .ct-shortcode > .row {
		display: flex;
    	flex-wrap: wrap;
	}
	.yjb-single_left_row {
		order: 2;
	}
	.yjb-single_top_row {
		width: 100%;
		margin-bottom: 5px;
	}
	.ydu-back_to_archive {
		width: 100%;
    	display: block;
		margin-bottom: 15px;
	}
	.yjb-single_ref {
		position: relative;
    	left: 0px;
		text-align: right;
	}
	
	#candidSingleModal .modal-dialog {
		width: 90%;
    	margin: 0;
	}
}

