/* globals */
:root {
	--blanc: #fff;
	--noir: #000;
	--rouge: #e30613;
	--jaune: #fcd100;
	--bleu: #2a286f;
	--cyan: #3aacb5;

	--font-family: "Open Sans", sans-serif;
	--font-size: 16px;
	--font-weight: 600;
}

.blanc {
	color: var(--blanc);
}

.noir {
	color: var(--noir);
}

.rouge {
	color: var(--rouge);
}

.jaune {
	color: var(--jaune);
}

.bleu {
	color: var(--bleu);
}

.bg-blanc {
	background-color: var(--blanc);
}

.bg-bleu {
	background-color: var(--bleu);
}


body {
	background: var(--cyan);
	font-family: var(--font-family);
	font-size: var(--font-size);
	font-weight: var(--font-weight);
	color: var(--blanc);
	font-optical-sizing: auto;
}


.normal {
	font-weight: 400;
}

.semibold {
	font-weight: 600;
}

.bold {
	font-weight: 700;
}

.extrabold {
	font-weight: 900;
}


/* bootstrap */
.form-control {
	height: calc(1.5em + .4rem + 2px);
	padding: .2rem .2rem;
	font-size: 100%;
}

.form-control.small {
	height: calc(1.5em + 0rem + 2px);
	padding: 0rem .2rem;
	font-size: 100%;
}

input[type="text"].form-control::placeholder {
	color: #aaa;
}

/* *** */

label.jm-menu-btn {
	color: var(--blanc);
	text-align: center;
	font-size: 2.5rem;
	margin: 0;
	padding: 0;
}

@media (max-width: 768px) {
	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse {
		z-index: 99;
		position: absolute;
		background: var(--bleu);
		color: var(--blanc);
		left: 0;
		right: 0;
		padding: 2rem 2rem;
		top: 135px;
		border-top: 1px solid white;
		border-bottom: 1px solid white;
	}

	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse a {
		color: inherit;
		font-size: 2rem;
		line-height: 4rem;
	}

	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse li {
		border: none;
	}

	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse li:not(:first-child) {
		border-top: 1px solid var(--bleu);
	}
}

/* --- */

/* header */
.logo {
	max-width: 280px;
}

@media (min-width: 992px) {
	.logo {
		z-index: 1;
		position: relative;
		margin: 0 auto;
		max-height: 5rem;
	}
}

@media (max-width: 991px) {
	.logo {
		max-width: 152px;
	}
}

@media (max-width: 767px) {
	.logo {
		max-width: 120px;
	}
}

@media (min-width: 768px) {

	input[type="checkbox"].jm-menu-btn .jm-collapse,
	.jm-collapse {
		display: flex !important;
	}

	#main-nav.jmenu {
		padding: 0px !important;
		z-index: 2;
	}

	#main-nav.jmenu .jm-collapse {
		display: flex;
		justify-content: space-around;
		align-items: center;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	#main-nav.jmenu .nav-item {
		display: flex;
		align-items: center;
		min-height: 5rem;
	}

}

/* --- */

.section {
	padding-top: 30px;
	padding-bottom: 30px;
}

@media (min-width: 992px) {
	#section-intro {
		padding-top: 120px;
	}
}

#section-inscription .container {
	max-width: 840px;
}

#section-inscription .success_message {
	margin: 80px auto;
	text-align: center;
	padding: 1rem;
	background: var(--bleu);
	font-size: 1.4rem;
}

.rounded {
	border-radius: 8px !important;
}

.bouton {
	display: inline-block;
	color: var(--blanc);
	background-color: var(--bleu);
	border: none;
	border-radius: 8px !important;
	padding: 1.2rem 2rem;
	font-size: 1.4rem;
	font-weight: normal;
	line-height: 1;
	text-decoration: none;
}

.bouton:hover {
	text-decoration: none;
}

.dark .bouton {
	color: var(--blanc);
	background-color: var(--cyan);
}

.section.dark {
	background-color: var(--bleu);
}

/* page texte */
.page-wrapper {
	background-color: var(--blanc);
	color: var(--bleu);
	padding: 1rem 2rem;
	border-radius: 15px;
	margin-top: 120px;
}

.page-wrapper h1 {
	text-align: center;
	color: inherit;
}

.page-wrapper p {
	color: inherit;
}

/* footer */
#section-footer {
	padding-bottom: 4rem;
}

#section-footer .jmenu .nav-link {
	padding: 10px 1rem;
}

#cookieconsent .container {
	max-width: 1530px;
}

#cookieconsent,
#cookieconsent-nojs {
	padding: 0.5rem;
	position: fixed;
	z-index: 80;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--blanc);
	border-top: 5px solid var(--noir);
	color: var(--bleu);
	font-weight: bold;
	;
}

.cookieconsent-toogle {
	border: none;
	padding: 1rem 2rem;
	border-radius: 10px;
	background: var(--blanc);
	color: var(--bleu);
	font-weight: bold;
	;
}

#footer-cookieconsent-toogle {
	position: fixed;
	z-index: 90;
	bottom: 0;
	right: 1rem;
	padding: 0.5rem 1rem;
	border: 1px solid #fff;
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	transition: 0.2s linear;
	height: 2rem;
}

@media (max-width: 768px) {
	#footer-cookieconsent-toogle {
		left: 5rem;
		right: 5rem;
	}
}

#cookieconsent .text {
	padding: 0.5rem;
}

#cookieconsent .buttons {
	display: flex;
	gap: 1rem;
	width: fit-content;
	white-space: nowrap;
}

/* --- */

/* --- */
html,
body {
	font-family: var(--font-family);
	font-size: var(--font-size);
	min-height: 100vh !important;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	width: 100%;
	margin: auto;
}

/* balises */
a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	color: inherit;
}

img {
	object-fit: cover;
}

img {
	object-fit: cover;
}

h1 {
	line-height: 2.4rem;
	font-size: 2.4rem;
	margin: 2rem 0;
}

h2 {
	line-height: 1.8rem;
	font-size: 1.8rem;
	margin: 1.8rem auto;
}

h3 {
	line-height: 1.6rem;
	font-size: 1.6rem;
}

h4 {
	line-height: 1.4rem;
	font-size: 1.4rem;
}

p {
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

form label {
	cursor: pointer;
}

form sup {
	color: var(--jaune);
}

.form-inline.form-group {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start;
}

/* --- */

/* responsive */
@media (max-width: 768px) {

	.jmenu a {
		padding: 0px 1rem;
	}

	#cookieconsent>div {
		flex-direction: column;
	}
}