#wrapper {
    font-family: 'Open Sans';
}
/**
#slider {
	z-index: 2000;
}
**/

/* Tuile règles : aligner sur les voisines */
.ce_image_text_box.version4 .ce_image_text_box_inside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 270px;              /* même hauteur que les tuiles background */
  text-align: center;
}

.ce_image_text_box.version4 .ce_image_text_box_image,
.ce_image_text_box.version4 .image_container {
  margin: 0;
}

/* contraindre l'icône pour qu'elle ne déborde pas */
.ce_image_text_box.version4 .image_container img {
  width: auto;
  height: 150px;             /* ajuste pour matcher la taille des autres icônes */
  object-fit: contain;
  transition: transform 0.25s ease;
}

/* bouton identique aux tuiles voisines (vert clair bord fin) */
.ce_image_text_box.version4 .ce_image_text_box_content_outside {
  margin-top: 10px;
}

.ce_image_text_box.version4 .hyperlink_txt {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);   /* fond translucide comme les autres */
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px !important;
transition: background-color 0.25s ease, color 0.25s ease;
}

.fb-page,
.fb-page span,
.fb-page iframe[style] {
  max-width: 100% !important;
}

.ce_html_facebook iframe,
.fb-iframe-facebook {
  max-width: 100%;
}

.ce_image_text_box.version4:hover .image_container img {
  transform: translateY(-6px);
}

.ce_image_text_box.version4:hover .hyperlink_txt {
  background-color: #fff;
  color: #93c01f; /* vert du fond, à ajuster */
}

.mod_privacy_optin .privacy_popup {
    top: 5%;
}

.fa-map-marker-alt{
	color:white;
}
.mmenu_trigger .label{
	font-weight: bold;
}
.article-overlay + .container{
	position: relative;
}
#footer .totop{
	display: none;
}
/** home slider **/
.home_slide_title{
	font-family:'Open Sans'!important;
	font-weight: 800!important;
	background-color: transparent;
	text-transform: uppercase;
	text-align: center;
}
.home_slide_txt{
	/**font-weight: 100!important; **/
	width: 75%!important;
	text-overflow: ellipsis!important;
	white-space: normal!important;
	text-align: center!important;
	height: 100px;
}
.home_slide_btn{
	
}

/** home actuality **/
.actuality-title{
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.card{
	
	height: 0;
    padding-bottom: 25%;

    background-image: url("/files/cto_layout/img//EmbeddedImage.jpg");
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}

.card-title{
	z-index: 500;
	font-family: 'Open sans';
	color: white;
	font-size: 30px;

}

.card-btn{
z-index: 500;
	
}

.newsteaser{
	display: flex;
    flex-direction: column;
}

.newsteaser .content {
	flex-grow:1;
}

/** FOOTER **/
#footer i{
    margin: 0 5px 0 5px;  
}

/*#footer .inside{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}*/

#footer .t-footer{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: end;
}


.b-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-bottom{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	
}

.left-bottom a{
	margin-right:0!important;
	
}

.right-bottom{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	
}

.right-bottom a{
	display: flex;
	margin-right: 0!important;
}

.imbox-container{
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.imbox-txt{
	max-height: 80px;
}

.mod_breadcrumb {
    display: block;
    border: none;
    padding-top: 10px;
}

.mod_breadcrumb li:last-child a{
   font-weight: bold;
}

@media only screen and (min-width: 1081px){
	.mod_navigation{
		float: right!important;
	}

	/*#footer .inside{
		flex-direction: row;
		justify-content: space-between;
	}*/

	#bottom .h-div:after{
		content: "-";
		margin: 0 5px;
	}
	
	#footer .h-div:after{
		content: "|";
		margin: 0 5px;
	}
	
	#footer .hs-div:after{
		content: "|";
		margin: 0 5px;
	}

	
}
@media only screen and (max-width: 1081px) and (min-width: 768px){
	#bottom .h-div:after{
		content: "-";
		margin: 0 5px;
	}
	#footer .t-footer{
		justify-content: center;
	}
	#footer .h-div:after{
		content: "|";
		margin: 0 5px;
	}
	
	#footer .hs-div:after{
		content: "|";
		margin: 0 5px;
	}
	.mainmenu {
		display: none;
	}
	#footer .ce_image .image_container img{
		margin: auto;
	}
	.mmenu_trigger {
		display: flex;
	}
	#mmenu{
		display: block;
	}

	.header.original .mainmenu{
		padding-left: 0;
	}

	#footer .h-div:after{
		content: "|";
		margin: 0 5px;
	}
	#bottom .h-div:after{
		content: "-";
		margin: 0 5px;
	}
	
}

@media only screen and (min-width: 768px) {
	.header.original .mainmenu {
    border-left: none!important;
	}
}

@media only screen and (max-width: 767px){
	#footer .ce_image .image_container img{
		margin: auto;
	}
	.mod_breadcrumb .mod_breadcrumb_inside{
		padding-left: 20px;
		padding-right: 20px;
	}
	#wrapper{
		margin-top: 0;
	}
	.autogrid:not(.ce_autogridwrapper):not(.no_gutter) {
	    padding-left: 0;
	    padding-right: 0;
	}
	#footer .t-footer{
		flex-direction: column;
	}
	#bottom .b-footer{
		flex-direction: column;
	}
	.left-bottom{
		flex-direction: column;
	}

}