/* contact  */
.this-coord .et_pb_image_wrap {
	margin-top: 3px;
}

.this-form input,
.this-form textarea {
	border: 5px solid #013B7A !important;
	background: transparent;
	outline: none;
}

.this-form .forminator-checkbox .forminator-checkbox-box {
	border-color: #013B7A !important;
	background: transparent !important;
}

.this-form button {
	outline: none;
	border: none;
	background: #E8332B;
	color: #fff;
	text-transform: uppercase;
	padding: 10px 15px;
	transition: ease 0.6s;
	letter-spacing: 0.05em;
}

.this-form button:hover {
	background: #013B7A;
	box-shadow: none !important;
}

.bloc-map .et_pb_text_inner iframe {
	height: 556px;
	width: 100%;
}

@media all and (max-width: 768px) {
	.bloc-map .et_pb_text_inner iframe {
		height: 400px;
	}
}

/* plan du site  */
.this-plan h3 {
	display: none;
}

/* climatisation  */

.liste-style.this-col-red ul li::before {
	filter: brightness(0) invert(15%) sepia(41%) saturate(3993%) hue-rotate(198deg) brightness(98%) contrast(99%) !important;
}

.this-enga-item {
	min-height: 203px;
	border-radius: 7px;
	border-bottom: 2px dashed #E8332B;
}

.this-enga-item .et_pb_main_blurb_image img {
	filter: brightness(0) invert(1) !important;
}

.this-enga-item::after {
	position: absolute;
	content: "";
	left: 50%;
	bottom: -2.5px;
	width: 60px;
	height: 5px;
	background: #E8332B;
	transform: translateX(-50%);
	transition: ease 0.6s;
}

.this-enga-item:hover::after {
	width: 80%;
	left: 10%;
	transform: translateX(0);
}

.photovo .et_pb_blurb_container {
	background-color: #013B7A;
}

@media screen and (min-width: 981px) {
	.photovo .et_pb_column:before {
		content: '';
		position: absolute;
		bottom: 135px;
		left: 50%;
		transform: translatex(-50%);
		width: 760px;
		height: 380px;
		border-radius: 0 0 400px 400px;
		border: solid 1px #FFF;
		border-top: none;
		clip-path: polygon(0 100px, 100% 100px, 100% 100%, 0 100%);
	}
}

.gallery .et_pb_tabs_controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	background-color: transparent;
}

.gallery .et_pb_tabs_controls:after {
	display: none;
}

.gallery .et_pb_tabs_controls li {
	width: calc(20% - 16px);
	max-width: 250px;
	border: solid 1px #013B7A !important;
}

.gallery .et_pb_tabs_controls li a {
	color: #013B7A;
	text-align: center;
}

.gallery .et_pb_tabs_controls li.et_pb_tab_active {
	background-color: #013B7A;
}

.gallery .et_pb_gallery_image .et_overlay:before {
	margin: 0 !important;
}

@media screen and (max-width: 767px) {
	.gallery .et_pb_tabs_controls li {
		width: calc(50% - 10px);
		max-width: 100% !important;
	}

	.gallery .et_pb_tabs_controls li a {
		display: block !important;
	}
}

.gallery .et_pb_tab {
	padding: 30px 0 0 0;
}

.gallery .et_pb_tabs_controls li a {
	padding: 10px 10px 10px !important;
}

.gallery .et_pb_gallery_image img {
	height: 200px !important;
	object-fit: cover;
}

@media screen and (max-width: 767px) {
	.gallery .et_pb_tabs_controls li:nth-child(3) {
		width: 100% !important;
		max-width: 100% !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 980px) {
	.gallery .et_pb_tabs_controls li {
		width: calc(33.33% - 13.33px);
	}
}

li.et_pb_menu_page_id-511.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-ancestor.current-menu-parent.menu-item-has-children.menu-item-511 a:target {
	color: #E8332B !important;
}

/* 24/03/26  css onglet responsive*/
.mobile-tab-header.active {
    background-color: #013B7A;
    padding: 10px;
    display: flex;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
    border: 1px solid #013B7A;
}

.mobile-tab-header {
    padding: 10px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #013B7A;
}

/* ---------- */
/* Styles pour le popup d'image */


/*****/
/* Styles pour le popup d'images */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Bouton de fermeture */
.popup-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.popup-close-btn:hover {
    opacity: 0.7;
}

/* Boutons de navigation */
.popup-prev-btn,
.popup-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 30px;
    padding: 15px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    z-index: 10;
}

.popup-prev-btn {
    left: -50px;
}

.popup-next-btn {
    right: -50px;
}

.popup-prev-btn:hover,
.popup-next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .popup-prev-btn,
    .popup-next-btn {
        font-size: 20px;
        padding: 10px 8px;
    }
    
    .popup-prev-btn {
        left: 5px;
    }
    
    .popup-next-btn {
        right: 5px;
    }
    
    .popup-close-btn {
        top: 10px;
        right: 10px;
        font-size: 30px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mfp-arrow {
        opacity: 0;
    }
    .mfp-preloader {
        opacity: 0;
    }
}
/* end css onglet responsive */

/* climatisation anim  */

.section-anim {
	position: relative;
	overflow: hidden;
}

.ligne-anim {
	transform: translateX(100%);
	transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ligne-anim.slide-in {
	transform: translateX(0);
}

/* Nos actualité */

.this-blog .et_pb_ajax_pagination_container {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
}

.this-blog article {
	width: 100%;
	max-width: 360px;
	background: #fff;
	padding: 15px;
	box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

.this-blog article img {
	min-height: 248px !important;
	object-fit: cover;
	object-position: center;
}

.this-blog article h2 {
	font-size: 1.4em;
	color: #013B7A;
}

.this-blog article .post-meta a {
	color: #000 !important;
	font-weight: 600 !important;
}

.this-blog article .post-content-inner p {
	color: #222 !important;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.this-blog article .post-content a {
	padding: 7px 12px;
	color: #fff;
	text-transform: uppercase;
	background: #013B7A;
	max-width: 120px;
	text-align: center;
}

.titre-art h1 {
	font-size: 3em;
	color: #fff;
	margin-top: 120px;
}

/* .category-recrutement #main-content {
	background: #013B7A;
	border-bottom: 3px solid #FFF;
}

.category-recrutement .container {
	padding-top: 250px !important;
}

.category-recrutement .container::before {
	display: none;
}

.category-recrutement .container #left-area {
	padding: 0 0 !important;
	width: 100% !important;
}

.category-recrutement .container #left-area img {
	width: 100% !important;
}

.category-recrutement .container #left-area article,
.category-recrutement .container #left-area article h2 {
	color: #FFF;
}  */

@media all and (max-width: 768px) {
	.titre-art h1 {
	font-size: 2em !important;
}
}

@media all and (max-width: 450px) {
	.this-blog article {
		max-width: 100% !important;
	}

	.bloc-art .et_pb_all_tabs .et_pb_tab {
		padding: 0 0 !important;
	}
}


.bloc-art {
	.et_pb_all_tabs {
		background: transparent !important;
	}

	.et_pb_tab_content {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: 500px;
		gap: 20px;
	}


	.et_pb_tabs {
		border: none;
	}

	.et_pb_tabs_controls {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
		background-color: transparent;
		margin-bottom: 30px;

		li {
			border: solid 1px var(--noir) !important;
			border-radius: 0;
			transition: all 400ms ease-in-out;

			a {
				background-color: #013B7A;
				color: #fff !important;
				line-height: 20px;
				font-weight: 300 !important;
				text-align: center;
				transition: all 400ms ease-in-out;
				display: flex !important;
				width: 100%;
				height: 50px;
				padding: 0 30px;
				align-items: center;
				justify-content: center;
			}
		}

		li.et_pb_tab_active,
		li:hover {
			background-color: #E8332B !important;
			border-color: #fff !important;

			a {
				color: #fff !important;
				background-color: #E8332B !important;
			}
		}

		&::after {
			display: none;
		}
	}

}