/*******************************************
/*******************************************
/* Custom CSS - J. Lemoine
/* Gestion des cookies - modal informative avec acceptation ou refus des cookies
/* Skin : tous
*******************************************
*******************************************/

.preloader-background {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #eee;
	position: fixed;
	z-index: 3000;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#cookie-banner, #cookie-banner-refus, #cookie-banner-accept {
	background-color: black;
	position: fixed;
	width: 100%;
	bottom: 0;
	z-index: 999;
	color: white;
	font-size: 14px;
	height: auto;
	line-height: inherit;
}

.btn-banner {
	margin-left: 10px;
	padding: 0 12px !important;
	color: white !important;
	height: 30px !important;
	border-radius: 20px !important;
	line-height: 30px !important;
}

#inform-and-ask {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 100000;
	background-color: #0000005e;
}

#inform-and-consent {
	background-color: white;
	position: relative;
	z-index: 100000;
	opacity: 1;
}

.btn-cancel-form {
	margin-top: 10px;
	height: 34px !important;
	padding: 0 !important;
}

.modal-footer {
	border-radius: 0 0 2px 2px;
	background-color: #fafafa;
	padding: 4px 6px;
	height: 56px;
	width: 100%;
	text-align: right;
	border-top: 1px solid rgba(0,0,0,0.1);
	position: absolute;
	bottom: 0;
}

.card-content-consent {
	overflow: auto;
	position: absolute;
	height: calc(100% - 56px);
	max-height: 100%;
	width: 100%;
	overflow-y: auto;
}

@media screen and (min-width: 769px) {
	#inform-and-consent {
		width: 60%;
		border: 1px solid #cccccc;
		top: 12%;
		margin-left: auto !important;
		margin-right: auto !important;
		height: 70%
	}

	.card-content-consent {
		padding: 24px !important;
	}
}

@media screen and (max-width: 768px) {
	#inform-and-consent {
		width: 100%;
		text-align: center;
		position: relative;
		z-index: 100000;
		overflow: auto;
		height: 92%;
		margin: 0 !important;
	}

	.card-content-consent {
		padding: 14px;
	}
}