/*
Theme Name: Divi Community Child Theme
Description: Theme enfant de Divi par Divi Community
Author: Julien - WebMate
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/


/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}

#section-realisations {
    display: flex;
    align-items: center;
	overflow:hidden;
}

.realisations-container {
    display: flex;
    width: 300%;
    gap: 70px;
}

.realisations-item {
    width: 350px;
}

.realisations-item:hover img {
	transform: scale(1.1);
}

.realisations-item img {
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
	transform: scale(1);
	transition: ease-in 0.5s;
}

.realisations-item.realisation-offset {
    margin-top: 70px;
}

.realisations-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.realisations-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #222;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background .2s;
}
.realisations-more-btn:hover {
    background: #444;
}

.realisations-item:last-child {
    height: 480px;
    background: #2C2C2C;
    border-radius: 10px;
}


.realisations-item.realisations-more { position: relative; }

.realisations-item.realisations-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/uploads/2025/06/icon-it-perspectives-droite-blck.webp);
    background-repeat: no-repeat;
    background-position: bottom -45px right 0px;
}


.realisations-item:last-child h3 {
	text-align: center;
	color: white !important;
}

.realisations-item:last-child a, .realisations-item:last-child a:hover  {
	padding: 5px 40px !important;
}

@media (max-width: 1024px) {
	#section-realisations {
		height: auto !important;	
	}
	
    .realisations-container {
        flex-direction: column;
        width: 100% !important;
        gap: 30px;
        transform: none !important;
    }
	
    .realisations-item {
        width: 100% !important;
        margin-top: 0 !important;
    }
}


.realisations-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}


@media (max-width: 1300px) {
	.realisations-grid-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 1100px) {
	.realisations-grid-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 764px) {
	.realisations-grid-container {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.realisations-grid-item.realisation-offset {
		margin-top: 0px !important;
	}

}


.realisations-grid-item {
    display: block;
    width: 100%;
}

.realisations-grid-item:hover img {
	transform: scale(1.1);
}

.thumbnail-real {
    overflow: hidden;
    height: 470px;
    margin-bottom: 15px;
	border-radius: 10px;
}

.realisations-grid-item img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
	transform: scale(1);
	transition: ease-in 0.5s;
}

.realisations-grid-item.realisation-offset {
    margin-top: 70px;
}

#carte-container svg {
	position: absolute;
    width: 1200px;
}


@media (max-width: 980px) {
	#carte-container {
		height: 650px;
	}
	
	#carte-container svg {
    	width: 900px;
	}
}


@media (max-width: 560px) {
	#carte-container {
		height: 400px;
	}
	
	#carte-container svg {
    	width: 700px;
	}
}

@media (max-width: 480px) {
	#carte-container {
		height: 300px;
	}
	
	#carte-container svg {
    	width: 500px;
	}
}

.page-id-1204 .dg-blog-grid article {
    height: 485px !important;
}

.page-id-1204 .dg-blog-grid .dg-post-thumb, 
.page-id-1204 .dg-blog-grid .dg-post-thumb a, 
.page-id-1204 .dg-blog-grid .dg-post-thumb a img {
	height: 100% !important;
}

#Tag_pontivy .cls-3 {
	font-family: 'Outfit',Helvetica,Arial,Lucida,sans-serifp;
}

div#carte-container img {
    max-width: 135%;
}