@CHARSET "UTF-8";

/* ==========================================================================
   Popup "Offrir une séance" (#MDoffrir), markup dans _txt/Modal/MD_Offrir.php
   Memes codes que la popup de reservation (resa-coffret.css) : bandeau encre,
   corps aere, pied clair avec la validation.
   Le corps est un bloc saisi en ADM : on style les balises generiques (h3, p,
   strong, a) plutot que des classes dediees.
   ========================================================================== */

.og-modal .modal-dialog {
	width: 620px;
	/* Bootstrap pose 10px de marge autour du dialog : sans ca l'ecran etroit deborde
	   de 20px et rogne la croix de fermeture */
	max-width: calc(100% - 20px);
}
.og-modal .modal-content {
	border: 0;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 18px 50px rgba(20, 30, 45, .28);
}

/* --- entête --- */
.og-head {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 26px;
	color: #fff;
	background: var(--cc-encre);
}
.og-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	font-size: 18px;
	color: #7ec4f7;
	background: rgba(255, 255, 255, .09);
	border-radius: 50%;
}
.og-t {
	flex: 1;
	min-width: 0;
}
.og-s {
	margin-bottom: 4px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #7ec4f7;
}
.og-head h4 {
	margin: 0;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}
.og-x {
	padding: 0 2px;
	font-size: 28px;
	line-height: 1;
	color: #8d97a2;
	background: none;
	border: 0;
	cursor: pointer;
}
.og-x:hover {
	color: #fff;
}

/* --- corps redactionnel --- */
.og-body {
	padding: 20px 26px 22px;
	max-height: min(54vh, 470px);
	overflow-y: auto;
	font-size: 14px;
	line-height: 1.62;
	color: #4b5563;
}
.og-body p {
	margin: 0 0 11px;
}
.og-body p:last-child {
	margin-bottom: 0;
}
.og-body strong,
.og-body b {
	font-weight: 600;
	color: var(--cc-encre);
}
/* Chaque question du bloc est un h3 : on s'en sert comme separateur de section */
.og-body h3 {
	margin: 0 0 9px;
	padding-top: 18px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--cc-encre);
	border-top: 1px solid #eceff2;
}
.og-body p + h3 {
	margin-top: 19px;
}
.og-body h3:first-child {
	padding-top: 0;
	border-top: 0;
}
.og-body a {
	color: var(--cc-bleu);
	font-weight: 600;
}

/* --- pied : la validation --- */
.og-foot {
	padding: 16px 26px;
	text-align: center;
	background: #fbfcfd;
	border-top: 1px solid #eceff2;
}
.og-go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 24px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	border-radius: 4px;
	transition: background-color .25s ease;
}
.og-go,
.og-go:hover,
.og-go:focus {
	color: #fff;
	background: var(--cc-encre);
	text-decoration: none;
}
.og-go:hover,
.og-go:focus {
	background: var(--cc-bleu);
}

@media (max-width: 767px) {
	.og-head {
		gap: 13px;
		padding: 16px;
	}
	.og-ico {
		flex: 0 0 38px;
		width: 38px;
		height: 38px;
		font-size: 16px;
	}
	.og-head h4 {
		font-size: 16px;
	}
	.og-body {
		padding: 17px 16px 18px;
		max-height: 52vh;
	}
	.og-foot {
		padding: 14px 16px;
	}
	.og-go {
		width: 100%;
	}
}
