* {
	box-sizing: border-box;
}

.mw240 {
	width: calc(33% - 9px);
}

@media only screen and (max-width: 800px) {
	.mw240 {
		width: 100%;
	}
	.mw800 {
		width: 100%;
	}
}

input:not([type]), input[type=text], select {
	padding: 6px;
	border-radius: 4px;
	border: 1px solid gray;
}

input[type=submit] {
	margin-top: 1rem;
	cursor: pointer;
}

input:valid {
	border-color: initial;
}

input:invalid {
	border-color: red;
}

#FormInscription > div {
	padding: 12px;
}

#FormInscription ul {
	margin: 0;
	padding: 12px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

#FormInscription ul > li {
	display: flex;
	flex-direction: column;
	align-content: flex-start;
	align-items: flex-start;
}

#FormInscription ul > li:has(input[type=checkbox]) {
	align-items: center;
}

#FormInscription [hidden] {
	display: none;
}
/*
#FormInscription ul > li > label {
	order: 1;
}
*/
#FormInscription section > ul {
	padding-top: 6px;
	justify-content: initial;
}

section > p {
	margin: 0 12px 12px 12px;
	text-align: center;
}

#FormInscription ul > li > input, #FormInscription ul > li > select,#FormInscription ul > li > div {
	width: 100%;
	order: 2;
}

#FormInscription ul > li:has(> input[type=checkbox]) {
	flex-direction: initial;
}

#FormInscription ul > li > input[type=checkbox] {
	width: fit-content;
	order: 0;
	color: pink;
}

#FormInscription ul > li > input[required] + label:after {
	content: '*';
	color: red;
}

li > div {
	text-align: left;
}

@media screen and (max-width: 600px) {
	#FormInscription > ul > li > input {
		max-width: 100%;
	}
}

#FormInscription #participants {
	margin-bottom: 0;
}

#FormInscription #participants > div {
	text-align: center;
	padding-bottom: 6px;
}

#FormInscription h4 {
	margin-bottom: 0.2rem;
	margin-left: 6px;
	text-align: initial;
}

#FormInscription label {
	padding-left: 6px;
}

#FormInscription textarea {
	width: 100%;
	height: 4rem;
	resize: vertical;
}

section {
	/*padding-top: 12px;*/
	border: 1px solid gray;
	/*margin-bottom: 12px;*/
}

div.participant {
	padding-top: 12px;
	border: 1px solid gray;
	margin-bottom: 12px;
}

#divmodepaiement > p {
	margin: 0;
}

#divmodepaiement > div {
	margin: 6px 0;
}

#divconsentement {
	padding: 12px;
}

#divconsentement > p {
	margin: 0;
}

#divconsentement > div {
	text-align: center;
}

#divconsentement > div > input, #divconsentement > div > label {
	display: inline-block;
	text-align: initial;
}

#divsubmit {
	display: inline-block;
	width: 100%;
	text-align: center;
}

@media screen and (max-width: 600px) {
	.col-25, .col-75, input[type=submit] {
		width: 100%;
		margin-top: 0;
	}
}
