.questionnaire p.aide {
	white-space: pre-line;
	margin: 0 0 .5em 0;
	padding: 0;
	color: #353535;
}

.questionnaire .question {
	margin: 2em 0;
}

.questionnaire .question h3 {
	padding: 0;
	margin: 0 0 .5em 0;
	font-size: 100%;
	font-weight: bold;
	white-space: pre-line;
}

.questionnaire .question.invalide p.raison:before {
	content: "!";
	font-weight: bold;
	margin-right: .5em;
	color: white;
	background: #959595;
	padding: 0 .5em;
	border-radius: .5em;
	font-size: 90%;
}
.questionnaire p.raison {
	display: none;
	text-align: right;
	margin: 0 0 .5em 0;
	padding: 0;
	color: #959595;
	font-size: 90%;
}
.questionnaire .question.invalide p.raison {
	display: block;
}

.questionnaire .question .saisie {
	border-left: 10px solid #D6D700;
}

.questionnaire textarea.commentaires {
	border: none;
	width:100%;
	box-sizing: border-box;
	height: 4em;
	font-family: inherit;
	background-color: #F5F5F5;
	padding: 10px;
	font-size: 90%;
	font-style: italic;
}
.questionnaire textarea.commentaires:focus {
	background-color: #FFF;
	outline: 1px solid #D6D700;
}

.questionnaire .question.type_date .saisie input ,
.questionnaire .question.type_texte_court .saisie input ,
.questionnaire .question.type_texte_long .saisie textarea {
	width: 100%;
	font-family: inherit;
	font-size: inherit;
	background-color: #F5F5F5;
	border: none;
	padding: 10px;
	box-sizing: border-box;
}
.questionnaire .question.type_texte_court .saisie input[size] {
	width: auto;
	max-width: 100%;
}
.questionnaire .question.type_date .saisie input:focus ,
.questionnaire .question.type_texte_court .saisie input:focus ,
.questionnaire .question.type_liste_choix .saisie select:focus ,
.questionnaire .question.type_texte_long .saisie textarea:focus {
	background-color: #FFFFFF;
	outline: 1px solid #D6D700;
}

.questionnaire .question.type_liste_choix .saisie select {
	width: 100%;
	font-family: inherit;
	font-size: inherit;
	background-color: #F5F5F5;
	border: none;
	padding: 10px;
}
.questionnaire .question.type_liste_choix_multiples .saisie label,
.questionnaire .question.type_liste_choix .saisie label {
	display: block;
	font-family: inherit;
	background-color: #F5F5F5;
	border: none;
	padding: 10px;
}
.questionnaire .question.type_liste_choix_multiples .saisie label input,
.questionnaire .question.type_liste_choix .saisie label input {
	margin-right: 15px;
}

.questionnaire .question.type_titre {
	background: transparent;
	box-shadow: none !important;
}
.questionnaire .question.type_titre h3 {
	margin: 0;
	padding: 0;
	font-size: 140%;
}
.questionnaire .question.type_titre .saisie {
	display: none;
}

/* Echelles */

.questionnaire .question.type_echelles .saisie {
	border: none;
}
.questionnaire .question.type_echelles .saisie table {
	width: 100%;
	border-collapse: collapse;
}
.questionnaire .question.type_echelles .saisie table thead th {
	text-align: left;
	font-size: 90%;
	padding: 10px 0;
	white-space: nowrap;
	color: #959595;
	font-weight: normal;
}
.questionnaire .question.type_echelles .saisie table thead th:last-child {
	text-align: right;
}

.questionnaire .question.type_echelles .trigger {
	cursor: help;
}
.questionnaire .question.type_echelles .trigger img {
	height: 1em;
	height: 1em;
	margin: 0 0 0 .3em;
	vertical-align: middle;
}
.questionnaire .question.type_echelles .trigger:hover + .legende {
	display: grid;
}
.questionnaire .question.type_echelles .legende {
	display: none;
	position: absolute;
	background: white;
	pointer-events: none;
	font-size: 80%;
	box-shadow: -1px 1px 5px #959595;
	grid-template-areas: 'ex0 label1' 'ex1 label2' 'ex2 label2' 'ex3 label2';
	align-items: center;
	padding: 5px;
	z-index: 1;
}
.questionnaire .question.type_echelles .legende > div {
	padding: 0 5px;
	margin: 5px;
}
.questionnaire .question.type_echelles .legende > span {
	text-align: left;
	border-left: 1px solid #585857;
	height: 100%;
	margin: 5px;
	padding: 5px 0;
	display: flex;
	align-items: center;
	height: calc( 100% - 30px );
}
.questionnaire .question.type_echelles .legende > span:before {
	content: " ";
	border-top: 1px solid #585857;
	width: 1em;
	left: 0;
	margin-right: 5px;
}

.questionnaire .question.type_echelles .saisie table tbody tr {
	background-color: #F5F5F5;
	border-bottom: 2px solid white;
}
.questionnaire .question.type_echelles .saisie table tbody th:before {
	display: block;
	content: " ";
	border-left: 10px solid #D6D700;
	position: absolute;
	height: 100%;
	left: 0;
	top: 0;
}
.questionnaire .question.type_echelles .saisie table tbody th {
	position: relative;
	font-weight: normal;
	padding: 5px 10px 5px 20px;
}
.questionnaire .question.type_echelles .saisie table tr:hover {
	background-color: white;
}
.question.type_echelles td.niveau {
	white-space: nowrap;
	padding: 5px;
	font-size: 90%;
	text-align: right;
}
.question.type_echelles td input[type="radio"] {
	display: none;
}
.question.type_echelles span.pasdereponse {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	line-height: 2em;
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-color: transparent;
	box-sizing: border-box;
	cursor: pointer;
	background-image: url(../img/icone-reverse-2.svg);
	background-repeat: no-repeat;
	background-position: 50% bottom;
	background-size: contain;
	background-clip: content-box;
	margin-right: .5em;
	filter: saturate(0%) opacity(30%);
	opacity: 0;
}
.question.type_echelles tr:hover span.pasdereponse {
	opacity: .4;
}
.question.type_echelles tr:hover span.pasdereponse:hover {
	opacity: 1;
}
.question.type_echelles span.pasdaccord {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	line-height: 2em;
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-color: transparent;
	box-sizing: border-box;
	cursor: pointer;
	background-image: url(../img/croix.svg);
	background-repeat: no-repeat;
	background-position: 50% bottom;
	background-size: 100%;
	filter: saturate(0%) opacity(10%);
	background-clip: content-box;
	margin-right: .2em;
}
.question.type_echelles .degre span {
	display: inline-block;
	width: 1em;
	height: 2em;
	line-height: 2em;
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-color: transparent;
	box-sizing: border-box;
	cursor: pointer;
	background-image: url(../img/niveau.svg);
	background-repeat: no-repeat;
	background-position-y: bottom;
	filter: saturate(0%) opacity(10%);
	background-clip: content-box;
	background-size: 6em 100%;
}
.question.type_echelles span.pasdaccord:hover,
.question.type_echelles td.niveau span.hover {
	filter: saturate(0%) opacity(50%);
}
.question.type_echelles span.selected {
	filter: none;
}
.question.type_echelles td > input[type="radio"].pas_de_reponse + span {
	background: transparent;
	color: transparent;
	border-width: 0;
	width: 2em;
}
.question.type_echelles tr:hover td > input[type="radio"].pas_de_reponse + span {
	color: #EEE;
}
.question.type_echelles td > input[type="radio"].pas_de_reponse:checked + span {
	font-weight: normal;
}

/* */

