/*
 footer.css
 ======================================================
 
 Code CSS de la partie Footer du site
 
 ======================================================
*/

#Footer {
	background-color: #1aa3ac;
	padding-top: 40px;
}

/* Prod : max-width 1700. BT29 : neutraliser column-gap sur le container */
#Footer .container {
	max-width: 1700px;
	padding-left: 0;
	padding-right: 0;
}

#Footer .widgets_wrapper {
	padding: 0;
}

/*
 * Prod child : flex + gap 20 seulement.
 * Grille BT21 sous-jacente : .one.column width 98% + .column,.columns { margin:0 } (general.css).
 * BT29 : .one.column width 100% → forcer 98%. Ne PAS remettre margin 0 1% (prod l’annule).
 */
#Footer .widgets_wrapper .column {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	width: 98%;
	margin: 0;
	float: left;
	box-sizing: content-box;
	padding-left: 0;
	padding-right: 0;
}

/*
 * Prod BT21 : parent pose padding 15px 0 + margin-bottom 0, .widget garde margin-top 30px.
 * BT29 n’a plus #Footer .widgets_wrapper .widget → on le reconstitue.
 */
#Footer .widgets_wrapper .widget {
	flex: 1;
	max-width: 133px;
	margin: 30px 0 0;
	padding: 15px 0;
}

#Footer .widgets_wrapper .widget:after {
	display: none;
}

/* BT29 : border-top footer_copy parfois absent */
#Footer .footer_copy {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*
 * Comme widgets : BT21 .one.column = 98%. BT29 = 100% → Mentions légales
 * (footer-copy-center) se recentrent trop à droite / trop larges.
 */
#Footer .footer_copy .one {
	min-height: inherit;
	padding: 0;
	margin: 0 0 10px;
	padding-top: 5px;
	width: 98%;
	float: left;
	box-sizing: content-box;
}

#Footer .footer_copy .social li a,
#Footer .footer_copy .social-menu a {
	color: #ffffff;
}

#Footer a {
	font-size: 20px;
}

#Footer .footer_copy .social-menu li {
	border: none;
	padding-right: 0;
	margin-right: 0;
}

#Footer .footer_copy .social-menu li:not(:last-child)::after {
	content: '-';
	color: #ffffff;
	vertical-align: middle;
	margin-left: 5px;
}

body.page-id-429 .widget_media_image {
	max-width: 150px;
}

/*
 * Mobile : footer.css charge après vc-shortcodes et écrasait
 * margin:0 / width:25%|50% + .container .column { width:100% } (prod).
 * Desktop (98% + margin-top 30) inchangé au-dessus de 1080.
 */
@media screen and (max-width: 1080px) {
	#Footer .widgets_wrapper .column {
		width: 100%;
	}

	#Footer .widgets_wrapper .widget {
		margin: 0;
	}

	#Footer .footer_copy .one {
		width: 100%;
	}
}
