
/*
NEW - ADDED
*/
.displaying {
	display: block;
}

.not-displaying {
	display: none;
}

a.link_tic {
	text-decoration: underline;
	color: #009adf;
}

span.mandatorised {
	color: #009adf;
}

/*
OLD
*/

/* MAD : Pour ne pas afficher touts les point relais */
li.hidden {
    display: none;
}

.popin {
	position: absolute;
	padding: 5px;
	right: 5px;
	background-color: #fff;
	z-index: 999999;
	min-width: 150px;
	max-width: 920px;
	text-align: left;
	font-size: 1.1em;
	display: none;
	-webkit-box-shadow: 2px 4px 4px 0px #848282;
	-moz-box-shadow: 2px 4px 4px 0px #848282;
	box-shadow: 2px 4px 4px 0px #848282;
}

.popin h1 {
	background-color: #0060a2;
	padding: 7px 15px;
	font-size: 1.09em;
	color: #fff;
}

.closePopin {
	position: absolute;
	top: -13px;
	right: -15px;
	width: 31px;
	height: 32px;
	background-position: 0 -559px;
}

.popin.popinHelp {
	min-width: 200px;
	max-width: 400px;
}

.popin.popinHelp div {
	padding: 10px 0;
	font-size: 1.2em;
}

.popin#popinRelais {
	max-width: 250px;
}

.popinContent {
	padding: 10px 15px;
}

.popinContent span {
	line-height: 120%;
}

.closeOpeningHours {
	color: red;
	font-weight:bold;
	margin-left: 265px;
}

.popinContent .openingHours li {
	margin: 5px 0;
}

.popinContent .openingHours li strong {
	padding-right: 5px;
}

.cs-content textarea.CBError {
  outline: 0;
  -webkit-box-shadow: inherit;
  box-shadow: inherit;
  border-bottom: 2px solid red !important;
}

.duplication {
	cursor: pointer;
}



/* ==========================================================================
   Chrono Pass & QR Code Popup
   ========================================================================== */
.chrono-pass {
	background: #ffffff;
	/*  max-width: 650px; */
	max-width: 350px;
	margin: 25px auto !important; /* Centralisation automatique */
	/*  padding: 35px 25px; */
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.15);
	text-align: center;
	box-sizing: border-box;
}

.chrono-pass h1 {
	font-size: 20px;
	margin-bottom: 5px;
	text-align: center;
}

.chrono-pass .description {
	color: #777;
	font-size: 15px;
	line-height: 1.5;
	/* margin-bottom: 30px; */
	text-align: center;
}

.chrono-pass .qr-code {
	margin: 20px auto;
	width: 260px;
	/* height: 260px; */
	cursor: pointer;
	transition: transform 0.2s ease;
	text-align: center;
}

.chrono-pass .qr-code:hover {
	transform: scale(1.03);
}

.chrono-pass .qr-code img {
	/* width: 100%;
	height: 100%; */
	display: block;
	margin: 0 auto;
}

/* Texte 'Cliquez pour agrandir' affiché en plus gros */
.chrono-pass .zoom {
	color: #159bc5;
	/* margin: 15px auto 30px; */
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	text-align: center;
}

/* PIN et libellé affichés en plus gros */
.chrono-pass .pin {
	font-size: 15px;
	font-weight: bold;
	margin-top: 5px;
	text-align: center;
}

.chrono-pass .pin strong {
	/* font-size: 42px; */
	letter-spacing: 4px;
	margin-left: 15px;
	color: #0060a2;
}

/* --------------------------------------------------------------------------
   Pop-in / Modale QR Code
   -------------------------------------------------------------------------- */
.qrcode-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	z-index: 999999;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.qrcode-popup-content {
	background-color: #ffffff;
	border-radius: 12px;
	padding: 30px 25px 35px;
	width: 90%;
	max-width: 520px;
	position: relative;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.qrcode-popup-close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: transparent;
	border: none;
	font-size: 38px;
	line-height: 1;
	color: #414042;
	cursor: pointer;
	padding: 5px;
}

.qrcode-popup-close:hover {
	color: #000;
}

.qrcode-popup-title {
	font-size: 26px;
	font-weight: bold;
	color: #0060a2;
	margin-bottom: 20px;
}

.qrcode-popup-img-wrapper {
	width: 320px;
	height: 320px;
	max-width: 80vw;
	max-height: 80vw;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	padding: 10px;
}

.qrcode-popup-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.qrcode-popup-pin {
	margin-top: 25px;
	font-size: 26px;
	font-weight: bold;
	color: #414042;
}

.qrcode-popup-pin strong {
	font-size: 44px;
	letter-spacing: 4px;
	margin-left: 12px;
	color: #0060a2;
	display: inline-block;
}

/* --------------------------------------------------------------------------
   Affichage Mobile : couleur de fond au max (#ffffff 100% plein écran)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
	.chrono-pass {
		margin: 15px auto !important;
		padding: 25px 15px;
		width: 96%;
	}

	.chrono-pass .zoom {
		font-size: 20px;
	}

	.chrono-pass .pin {
		/* font-size: 22px; */
	}

	.chrono-pass .pin strong {
		/* font-size: 38px; */
		display: block;
		margin-left: 0;
		margin-top: 8px;
	}

	/* Sur mobile : pop-in en fond blanc plein écran (100% opaque) pour une luminosité maximale au scan */
	.qrcode-popup-overlay {
		background-color: #ffffff !important;
		padding: 0;
	}

	.qrcode-popup-content {
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		border-radius: 0;
		box-shadow: none;
		padding: 40px 20px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: #ffffff !important;
	}

	.qrcode-popup-close {
		top: 15px;
		right: 20px;
		font-size: 46px;
	}

	.qrcode-popup-title {
		font-size: 24px;
		margin-bottom: 25px;
	}

	.qrcode-popup-img-wrapper {
		width: min(85vw, 360px);
		height: min(85vw, 360px);
		margin: 0 auto;
	}

	.qrcode-popup-pin {
		margin-top: 30px;
		font-size: 24px;
	}

	.qrcode-popup-pin strong {
		font-size: 44px;
		display: block;
		margin-left: 0;
		margin-top: 10px;
	}
}