/**
 * Barre promo — visuel = largeur exacte du .container / .martfury-container (comme le header).
 */
#top-promotion.top-promotion.midi-promo-bar--gif {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	line-height: 0;
	font-size: 0;
	overflow: hidden;
	box-sizing: border-box;
	background-image: none !important;
}

/* Ne pas forcer width:100% — sinon on écrase le width:1170px Bootstrap du header. */
#top-promotion.top-promotion.midi-promo-bar--gif > .container,
#top-promotion.top-promotion.midi-promo-bar--gif > .martfury-container {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	padding-top: 0;
	padding-bottom: 0;
}

.midi-promo-bar__stage {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
	overflow: hidden;
	box-sizing: border-box;
	background-color: var(--midi-promo-bg, #0b6623);
}

.midi-promo-bar__link {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
	border: 0;
	text-decoration: none;
}

.midi-promo-bar__gif {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: top;
}

.midi-promo-bar__actions {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 4px 0 12px;
	pointer-events: none;
}

.midi-promo-bar__actions .close {
	pointer-events: auto;
	margin: 0;
	padding: 6px;
	font-size: 16px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	opacity: 1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.midi-promo-bar__actions .close:hover {
	color: #fff;
}

/* ERP promo_mobile=1 : forcer l'affichage même si un theme_mod parent ajoute hidden-xs. */
@media (max-width: 767px) {
	#top-promotion.midi-promo-bar--mobile-on {
		display: block !important;
	}

	#top-promotion.midi-promo-bar--mobile-off.hidden-xs {
		display: none !important;
	}
}
