/*
Miami beach
orange : #FF6E00
bleu : #004272
*/
body {
	margin: 0;
	padding: 0;
	background: url(fond-body.jpg) no-repeat center center fixed;
	background-size: cover;
	font-family: sans-serif;
}
a {
	text-decoration: none;
	cursor: pointer;
}

.alert_bad, .alerte_bad,
.alert_good, .alerte_good {
	margin: 4px 10px;
	padding: 4px 10px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	background: rgba(255,255,255,0.7);
}
.alert_bad, .alerte_bad {
	color: #E7670B;
	border: 1px solid #E7670B;
}
.alert_good, .alerte_good {
	color: #0c3;
	color: #fff;
	border: 1px solid #9d9;
	background: #ccc;
}


#form_stockage {
	margin: 0;
	padding: 0;
}

#scroll_box{
	background: rgba(0,66,114,0.8); /* raccord avec le logo */
	background: rgba(33,66,114,0.8); /* raccord avec l'image de fond */
	color: #fff;
	/*
	*/
	box-sizing: border-box;
	width: 80vw;
	height: 80vh;
	margin: 10vh auto;
	overflow-y: scroll;
	overflow-x: hidden;
}
#scroll_box fieldset{
	position: relative;
	border: none;
	/* border: 1px solid #ccc; */
	text-align: center;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	height: 80vh;
	display: flex;
	display: -webkit-flex;
	/* flex-wrap: nowrap; */
	/* flex-direction : column; */
	/* x */
	flex-flow: column nowrap;
	justify-content: center;
	justify-content: space-between;
	align-items: stretch;
}
/* les fieldset ne sont pas flexibles sur chromium/blink */
#scroll_box fieldset > div {
	position: relative;
	display: inherit;
	box-sizing: border-box;
	padding: 0vh 0 4vh;
	height: inherit;
	flex-flow: inherit;
	justify-content: inherit;
	align-items: inherit;
}
#scroll_box fieldset p.legende{
	font-size: 1.4em;
}
#scroll_box fieldset p.legende a{
	display: block;
	padding-top: 1em;
}
@media screen and (max-width: 955px) {
	#scroll_box{
		width: 90vw;
		height: 90vh;
		margin: 5vh auto;
	}
	#scroll_box fieldset{
		height: 90vh;
	}
	#scroll_box fieldset legend{
		font-size: 1.2em;
	}
	/* les legend ayant été remplacées par des p (à cause de flex qui déconne) */
	#scroll_box fieldset p.legende{
		font-size: 1.4em;
		margin: 0;
	}
}
.cont_lab {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/* justify-content: space-evenly; */
	/* align-items: center; */
	/* align-items: stretch; */
	/* margin: 25vh auto; */
	/* align-content: center; */
	/* align-content: space-around; */
}
.cont_cgv {
	display: flex;
	flex-direction : column;
	justify-content: center;
	align-items: center;
	margin: 25vh auto;
}
@media screen and (max-width: 955px) and (orientation: portrait) {
	.cont_lab, .cont_cgv{
		flex-direction : column;
		margin: auto;
		/* align-items: center; */
		/* align-content: center; */
	}
	.cont_lab_carre {
		margin: auto 1vw;
		flex-flow: row wrap;
		justify-content: space-evenly;
		justify-content: center;
		/* align-items: stretch; */
		/* align-content: stretch; */
	}
}
input[type=radio] {
	display: none;
}

label {
	background: #f0f4f7;
	color: #123;
	border-radius: 4px;
	margin: auto;
	margin: 1vh 1em; /* à remplacer prochainement par : row-gap et column-gap */
	padding: 1.5vh 4vw;
	box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.2);
	font-weight: bold;
	font-size: 0.8em;
	/*edge
	min-width: 0;
	min-height: 0;
	overflow: hidden;*/
}
label span {
	display: block;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 1.2em;
}
@media screen and (max-width: 955px){
	.cont_lab_carre label {
		/* flex-grow: 1; */
		width: 20vw;
		margin: 1vh 1vw;
	}
}
@media screen and (max-width: 650px){
	.cont_lab_carre label {
		/* flex-grow: 1; */
		width: 30vw;
		margin: 1vh 1vw;
	}
}

/* label avec radio */
input[type=radio] + label:hover {
	background: #f93;
	color: #fff;
}
input[type=radio]:checked + label{
	background: #FF6E00;
	color: #fff;
}
input[type=radio]:checked + label::before {
	content: " \0000a0 \02713 \0000a0";
}

/* label avec text */
label input[type=text] {
	border: 1px solid #def;
	border: none;
	background:  #f0f4f7;
	margin: 0 0 0 1em;
	padding: 1ex 1ex;
	color: rgba(0,66,114,0.8);
	box-shadow: inset 2px 2px 2px 2px rgba(0,0,0,0.2);
	transition: 0.5s;
	/*edge*/
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}
label input[type=text]:focus {
	background:  rgba(0,40,80,0.8);
	color: #fff;
	transition: 0.1s;
}
input[type=hidden] + label{ /* non utilisé, display none ne devrait d'ailleurs pas fonctionner */
	display: none;
	visibility: collapse;
}
label#lab_devis_client_rs{
	visibility: collapse;
	/* align-self: flex-start; */
	/* flex-shrink: 1; */
	/* flex-grow: 1; */
}

/* picto dans les labels */
label img {
	width: 8vw;
	width: 72px;
}

.lien_2 {
	color: #FF6E00;
	font-size: 0.8em;
	display: block;
	width: 100%;
}
.lien_2:hover {
	color: #f93;
}
.block_suite {
	/* display: block; */
	/* width: 100%; */
	/* margin: 4vh auto 0; */
	/* position: absolute; */
	/* bottom: 5vh; */
	/* left: 0; */
	/* right: 0; */
}
.bt_suite {
	width: 4em;
	margin: 1vh 3vw;
	padding: 1vh 3vw;
	border: 1px solid #fff;
	border-radius: 1em;
	background: #c0c4c7;
	background: #fff;
	background: linear-gradient(#fff 0%, #e0e3e6 20%, #d0d3d6 50%,  #d0d3d6 80%, #ccc 100%);
	color: #004272;
	font-size: 1.2em;
	font-weight: bold;
	opacity: 0.6;
	transition: 0.6s;
}
.bt_suite:hover{
	/* background: #FF6E00; */
	/* color: #fff; */
	opacity: 1;
	transition: 0.1s;
}
#bt_envoyer {
	background: #FF6E00;
	border: 1px solid #f93;
	border-radius: 4px;
	color: #fff;
	margin: 1vh 1vw;
	padding: 4vh 4vw;
	text-transform: uppercase;
	letter-spacing: 1vw;
	cursor: pointer;
	font-size: 0.8em;
	transition: 0.4s;
}
#bt_envoyer:hover{
	letter-spacing: 1.2vw;
	transition: 0.2s;
}
