@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.woff) format('woff');
}

* {
	box-sizing: border-box;
}

html, body {
	font-family: 'Open Sans', sans-serif;
	font-size: 12pt;
	padding: 0;
	margin: 0;
	background-color: white;
}

html {
	height: 100%;
}

template {
	/* Pour les navigateurs un peu cons */
	display: none;
}

h1 {
	margin-left: 1em;
	font-weight: normal;
	font-size: 2em;
	letter-spacing: 0.01em;
}
h2 {
	margin-left: 1em;
	font-weight: normal;
	font-size: 1.2em;
}
h3 {
	margin-left: 1.5em;
	font-weight: normal;
}

p {
	margin: 0 2em;
	padding: .5em 0 .5em .6em;
	text-justify: inter-word;
	text-align: justify;
}

button {
	background: rgb(230,230,230); 
	border: 1px solid rgb(180,180,180);
	font-size: 100%;
	font-weight: normal;
	font-family: inherit;
	color: #666;
	cursor: pointer;
	outline: none;
}
button:not(:disabled):hover {
	color: #000;
	background: rgb(220,220,255);
}
button:disabled {
	opacity: .7;
	cursor: default;
}

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

.multiligne {
	white-space: pre-line;
}

.ecran {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(74, 74, 74, .9);
	z-index: 10;
	display: flex;
}

/* Message plein ecran */

#message-plein-ecran {
	background: white;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 11;
}
#message-plein-ecran span {
	font-size: 300%;
	color: #959595;
	text-align: center;
}

/* Menu principal */

.accueil {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

.accueil .menu {
	display: flex;
	flex-direction: column;
	margin: 0;
	justify-content: center;
	position: absolute;
	top: 150px;
	left: 0;
	height: calc( 100% - 150px );
	width: 100%;
}

.accueil .utilisateur {
	color: #eee;
	font-size: 200%;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	height: 150px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.accueil button > b:first-child {
	font-size: 150%;
	display: block;
}

.accueil button {
	margin: .5em auto;
	padding: 1em;
	width: 30em;
}

/* Selection dossier */

.selection-dossier {
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #777;
	position: absolute;
	top: 150px;
	left: 100%;
	height: calc( 100% - 150px );
	width: 100%;
	transition: left ease-in-out .5s;
}
.selection-dossier.ouvert {
	left: 0;
}

.selection-dossier header {
	background: #e6e6e6;
	color: #666;
	font-size: 120%;
	padding: .5em 1em;
	text-align: left;
	margin-bottom: .5em;
}

.selection-dossier .cadre_defil {
	flex-grow: 1;
	overflow: auto;
}

.selection-dossier .liste_dossiers {
	display: flex;
	flex-wrap: wrap;
}

.selection-dossier .vide {
	padding: 1em;
	margin: auto;
	font-style: italic;
}

.selection-dossier .dossier {
	width: 15em;
	cursor: pointer;
	padding: 1em;
	border: 2px solid transparent;
}
.selection-dossier .candidat-actif {
	background-position: 10px 16px;
	background-repeat: no-repeat;
	background-image: linear-gradient( 135deg, orange , orange 10px, transparent 10px );
}
.selection-dossier .dossier:hover {
	background-color: #626262;
	border-color: #999;
}
.selection-dossier .dossier > span {
	display: block;
	text-align: left;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.selection-dossier .nom {
	font-size: 120%;
	font-weight: bold;
}
.selection-dossier .date {
	font-size: 80%;
	font-style: italic;
}

.popup-dossier {
	position: absolute;
	top: 150px;
	left: 100%;
	height: calc( 100% - 150px );
	width: 100%;
	transition: left ease-in-out .5s;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #555;
}

.popup-dossier .nom {
	color: #e6e6e6;
	font-size: 300%;
	text-align: left;
	margin: 0 auto;
	font-weight: bold;
}

.popup-dossier .details {
	display: inline-grid;
	grid-template-columns: auto auto;
	margin: 1em auto;
	margin: 2em auto;
	text-align: left;
	color: #e6e6e6;
}
.popup-dossier .details dt {
	font-weight: bold;
}

.popup-dossier .candidat {
	border: 5px solid #888;
	background: #777;
	margin: 15px auto;
	width: 29em;
	color: #e6e6e6;
	padding: .5em;
}
.popup-dossier .candidat > b {
	font-size:150%;
}
.popup-dossier .candidat pre {
	color: #FFF;
	font-weight: bold;
	font-size:110%;
}
.popup-dossier .candidat button {
	width: 25em;
	padding: .5em;
}

/* Vue questionnaire */

.vue_questionnaire {
	width: 100%;
	display: flex;
	flex-direction: column;
	position: absolute;
	height: 100%;
}

.vue_questionnaire #topbar {
	background: rgba(255,255,255,.5);
}

.vue_questionnaire header {
	padding: .5em;
	border-bottom: 1px solid #000;
	background: rgba(255,255,255,.5);
	display: flex;
	justify-content: center;
	align-items: baseline;
}

.vue_questionnaire header span {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.vue_questionnaire header span.liste {
	font-size: 120%;
}
.vue_questionnaire header span.groupe {
	font-size: 150%;
}
.vue_questionnaire header span+span:before {
	content: "»";
	padding: .4em;
	font-weight: bold;
	color: #FFF;
	font-size: 24px;
}
.vue_questionnaire header span.completion {
	font-size: 90%;
}

.vue_questionnaire .questionnaire {
	text-align: left;
	padding: 0 1em;
	flex: 1;
	overflow: auto;
	margin: 0;
}

.vue_questionnaire .menu {
	text-align: center;
	max-width: calc( 240px * 3 );
	margin: 2em auto;
}

.vue_questionnaire .identification {
	margin: 5px 0;
	padding: 5px;
	background: rgba(255,255,255,.4);
}

.vue_questionnaire .menu .groupes > button.groupe {
	display: inline-flex;
	align-items: center;
	width: 240px;
	box-sizing: border-box;
	vertical-align: top;
	font-size: 140%;
	font-weight: bold;
	position: relative;
	overflow: hidden;
	background-image: linear-gradient( to top left, red , red 10px, transparent 10px );
	color: #000;
	opacity: .7;
}
.vue_questionnaire .menu .groupes > button.groupe:before {
	padding-top: 100%;
	content: "";
	display: block;
}
.vue_questionnaire .menu .groupes > button.groupe:hover {
	opacity: 1;
}


.vue_questionnaire .menu .groupes > button.groupe p {
	width: 100%;
	margin: 0;
	padding: 15px;
	box-sizing: border-box;
}
.vue_questionnaire .menu .groupes > button.groupe p:first-child {
	top: 0px;
}
.vue_questionnaire .menu .groupes > button.groupe p:last-child {
	bottom: 0px;
}

.vue_questionnaire .menu .groupes > button.groupe.valide {
	background-image: linear-gradient( to top left, green , green 10px, transparent 10px );
}

.vue_questionnaire .menu button.synthese {
	margin-top: 5px;
	width: 100%;
	height: auto;
	min-height: 1em;
	position: relative;
	padding: 1em 0;
	font-size: 120%;
}
.vue_questionnaire .menu button.synthese > .reste {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	background: rgba(255,255,255,.8);
	z-index: 0;
}
.vue_questionnaire .menu button.synthese > p {
	position: relative;
	z-index: 0;
}

.vue_questionnaire .menu button.annexe {
	margin-top: 5px;
	width: 100%;
	padding: 5px;
}

.vue_questionnaire .questionnaire > .etat,
.vue_questionnaire .questionnaire > .groupe {
	background-color: rgba(255,255,255,.4);
	padding: 1px;
	border-radius: 10px;
	max-width: 80em;
	margin: 1em auto;
}

.vue_questionnaire .questionnaire .question .raison {
	display: none;
}
.vue_questionnaire .questionnaire .question.invalide .raison {
	padding-left: 1em;
	display: block;
	font-weight: bold;
	text-align: right;
}
.vue_questionnaire .questionnaire .question.invalide .raison:before {
	content: "⚠ ";
}

.vue_questionnaire .questionnaire .question.invalide {
	background: #FEC;
}
.vue_questionnaire .questionnaire .question.obligatoire h3:after {
	content: "*";
	color: red;
	padding: 0 .3em;
}

.vue_questionnaire footer {
	border-top: 1px solid #000;
	background: rgba(255,255,255,.5);
	display: flex;
	justify-content: center;
}
.vue_questionnaire footer button {
	padding: .5em;
	justify-content: center;
	margin: .5em;
}

/* */

table.liste {
	width: calc(100% - 4.6em);
	border-collapse: collapse;
	margin: .5em 2em .5em 2.6em;
}

table.liste thead th {
	font-size: 80%;
	padding: 0px 10px;
	font-weight: normal;
	color: rgb(100,100,100);
	font-variant: small-caps;
}

table.liste tbody tr {
	background: rgb(240,240,240) ;
	border-top: 2px solid #FFF;
	cursor: pointer;
}

table.liste tbody tr:nth-child(even) {
	background: rgb(220,220,220) ;
}

table.liste td {
	padding: 5px 10px;
}

table.liste.hover tbody tr:hover {
	background: rgb(180,180,180);
}




/* Cases à cocher pour choix multiples */

label.check input[type="checkbox"] {
	display: none;
}
label.check input[type="checkbox"] + span {
	display: inline-block;
	border: 1px dotted #c0c0c0;
	border-radius: 10px;
	margin: 0 10px 10px 0;
	padding: 3px 14px;
	background-color: #e7e7e7;
	color: #999;
}
label.check input[type="checkbox"] + span:hover {
	border-style: soild;
	box-shadow: 0px 0px 3px #000;
	color: #000;
}
label.check input[type="checkbox"]:checked + span {
	border-style: solid;
	border-color: #616161;
	color: #000;
	background: #bbbbbb;
}

/* */


/* Datepicker */

.ui-datepicker {
	background: white;
	border: 1px solid #CCC;
}

/* */
