* {
	box-sizing:border-box;
}
.dib{display:inline-block;}

body{
	background-color:#f1f2f4;
	font-size:14px;
    color: #565658;
}

#bloc-navigation {
	width:100%;
	max-width: 1024px;
	margin: 20px auto 0;
}

#logo_site_panel {
	text-align:right;
}

.display_table {
	display:table;
}

.display_table_cell {
	display:table-cell;
}

.display_table.header_question {
	width: 100%;
}

.display_table_cell.num_question {
	width:1px;
}

#main {
	width:95%;
	max-width: 1024px;
	border: 1px solid #888888;
	border-radius:10px;
    margin: 30px auto 0;
	background-color:white;
	padding:45px 60px
}

#main #error {
    display: block;
    color: #DF0714;
    text-align: center;
}

.quest-top .arianne_num_question {
	background-color:#888888;
	color: white;
	font-weight: bold;
	display: inline-block;
	padding: 3px 5px;
	margin-right:10px;
}

.quest-top {
	margin-bottom: 25px;
}

.quest-top .quest-intitule {
	font-weight:bold;
	line-height: 1.4em;
	text-align:justify;
	display: block;
	margin-bottom:7px;
}

.quest-top .quest-intitule.erreur {
	color:#DF0714;
}

.quest-top .quest-precision {
	font-style: italic;
}

#zone_avancement {
	float: right;
}

#zone_avancement #barre {
	border:1px solid #cfcfcf;
	background-color: white;
	border-radius:5px;
	padding: 1px;
	display: inline-block;
	width:200px;
    vertical-align: top;
}

#zone_avancement #valeur_avancement {
    font-weight: bold;
    vertical-align: middle;
    font-size: 0.85em;
    color: #4d4d4f;
}

#zone_avancement #barre_background {
	background-color: #e7e7e9;
	border-radius:5px;
	height: 14px;
	overflow: hidden;
}

#zone_avancement #barre_background #avancement {
	background-color:#888888;
	height: 14px;
	display:block;
}

.quest-content {
	padding: 20px 0;
}

.quest-question {
	padding: 0 40px;
}

footer {
	text-align: center;
	padding-top: 25px;
}

footer #btn-suite, footer #btn-retour {
	background-color: #888888;
	color: white;
	border: none;
	border-radius:5px;
	font-size:1.1em;
	display: inline-block;
	cursor: pointer;
	padding: 5px 13px;

}


table.question-matricielle {
	width: 100%;
    table-layout: fixed;
    font-size: 14px;
}

table.question-matricielle .matricielle_entete .matricielle_entete_fleche,
table.question-matricielle .matricielle_entete .matricielle_entete_modalite {
	vertical-align: middle;
	display: inline-block;
}

table.question-matricielle .matricielle_entete_gauche .matricielle_entete_fleche {
	padding-right: 10px;
}

table.question-matricielle .matricielle_entete .matricielle_entete_fleche .fleche {
	font-size: x-large;
}

table.question-matricielle .matricielle_entete .matricielle_entete_gauche { 
	text-align: left;
}

table.question-matricielle .matricielle_entete_droite .matricielle_entete_fleche {
	padding-left: 10px;
}

table.question-matricielle .matricielle_entete .matricielle_entete_droite { 
	text-align: right;
}

table.question-matricielle input[type="radio"] {
	outline: none;
}

table.question-matricielle td, table.question-matricielle th {
	padding:10px 5px;
	background-color: rgba(255,255,255, 1);
}

table.question-matricielle td {
	text-align: center;
	border-bottom:1px solid #e7e7e7;
	cursor: pointer
}

table.question-matricielle td.modalite {
	text-align: left;
	cursor: default;
}

table.question-matricielle td.saisie-hoover {
	background-color:#f1f1f3;
}

table.question-matricielle td.current {
	background-color: #e7e7e7;
}

table.question-matricielle td.saisie-checked {
	background-color:#bfbfbf;
}

table.question-matricielle td.disabled {
	background-color: #DEDEDE;
	cursor:default;
}

.intitule_erreur {
	color:#DF0714;
}

/* -- QUESTIONS OUVERTES -- */
.quest-content.question_ouverte table.textTable td {
	padding: 4px;
}

/* -- QUESTIONS RADIO -- */
.quest-content.question_radio .bouton_radio {
	margin-bottom:5px;
}

.quest-content.question_radio input[type="radio"] {
	vertical-align: middle;
	cursor:pointer;
	margin-right:10px;
	margin-bottom: 2px;
	margin-top: 2px;
	float:left;
}

.quest-content.question_radio .intitule_modalite{
	margin-left:23px;
}

.quest-content.question_radio label:nth-child(1) {
	padding-top: 0;
}

.quest-content.question_radio label {
	/*display: inline-block;*/
	display:block;
	padding:5px 5px;
	cursor: pointer;
}

/* -- QUESTIONS CHECKBOX -- */
.quest-content.question_checkbox .bouton_radio {
	margin-bottom:5px;
}

.quest-content.question_checkbox input[type="checkbox"] {
	vertical-align: middle;
	cursor:pointer;
	margin-right: 10px;
	margin-bottom: 2px;
	float:left;
    margin-top: 2px;
}

.quest-content.question_checkbox .intitule_modalite{
	margin-left:23px;
}


.quest-content.question_checkbox label:nth-child(1) {
	padding-top: 0;
}

.quest-content.question_checkbox label {
	/*display: inline-block;*/
	display:block;
	padding:5px 5px;
	cursor: pointer;
}

#image_miniature {
	width: 100%;
	text-align: center;
}

#image_miniature .miniature {
	text-align: center;
    display: inline-block;
}

#image_miniature .miniature img {
	width: 100%;
}

/* -- QUESTIONS TEXTAREA -- */
.quest-content.question_textarea textarea {
	background-color:#f7f7f7;
	border-radius:5px;
	width:100%!important;
	border: 1px solid #d4d4d4;
	resize:none;
    min-height: 130px;
    padding: 5px 10px;
}

/* -- QUESTIONS SELECT -- */
.quest-content.question_select select {
	padding: 5px 10px;
	cursor: pointer;
	border-radius: 4px;
	border: 1px solid #A9A9A9;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* -- QUESTIONS ECHELLE -- */
.quest-content.question_echelle table {
	width: 100%;
	table-layout: fixed;
}

.quest-content.question_echelle .tableHead {
	font-size:0.9em;
	margin-bottom:10px;
}

.quest-content.question_echelle .tableHead td:nth-child(1) {
	text-align: left;
}

.quest-content.question_echelle .tableHead td:nth-child(2) {
	text-align: right;
}

.quest-content.question_echelle .tableChoix td {
    text-align: center;
    border: 1px solid #e7e7e7;
    height: 40px;
    cursor: pointer;
}

.quest-content.question_echelle .tableChoix td:hover {
	background-color:#e7e7e7;
}

.quest-content.question_echelle .tableChoix td.active {
	background-color:#bfbfbf;
	font-weight: bold;
}

.quest-content.question_echelle .tableauEchelle {
	width: 100%;
 	border: 1px solid #e7e7e7;
 	text-align: center;
}

.quest-content.question_echelle .tableauEchelle .caseEchelle {
	display: inline-block;
	padding: 10px 15px;
	cursor: pointer;
	border-right: 1px solid #e7e7e7;
}

.quest-content.question_echelle .tableauEchelle .caseEchelle:nth-last-child(3) {
	border-right:none;
}

.quest-content.question_echelle .tableauEchelle .caseEchelle:hover {
	background-color:#e7e7e7;
}

.quest-content.question_echelle .tableauEchelle .caseEchelle.active {
	background-color:#bfbfbf;
	font-weight: bold;
}

/* -- QUESTION CHOIX IMAGE -- */

.quest-content.question_choix_image .image {
	border: 2px solid transparent;
	padding: 5px 5px 5px 5px;
}

.quest-content.question_choix_image .image img {
    vertical-align: top;
    cursor: pointer;
}

.quest-content.question_choix_image .image label {
	cursor:pointer;
	display: block;
	margin-top: 10px;
}

.quest-content.question_choix_image .image.choisi { 	
	cursor:pointer;
	border-color:#bfbfbf;
	filter:alpha(opacity=100);   /* IE */
	-moz-opacity:1;           /* Firefox */
	opacity: 1;               /* standard CSS3 */
	-khtml-opacity: 1;        /* Konqueror */
}

.quest-content.question_choix_image .image.nonChoisi { 
	cursor:pointer;
	filter:alpha(opacity=50);   /* IE */
	-moz-opacity:0.5;           /* Firefox */
	opacity: 0.5;               /* standard CSS3 */
	-khtml-opacity: 0.5;        /* Konqueror */

}

/* -- QUESTION ORDONNEE SELECT -- */

.quest-content.question_ordonnee select {
	/*float:left;
	margin-right:10px;*/
	position: absolute;
}

.quest-content.question_ordonnee .modalite {
	display:block;
	margin-left:60px;
	margin-bottom:10px;
}

/* -- QUESTION CODE POSTAL -- */
/*.quest-content.question_code_postal .contentQuest {
	text-align: center;
}*/

.quest-content.question_code_postal .contentQuest .indication {
	color:#AAA;
	font-size:0.85em;
	font-style:italic;
}

.quest-content.question_code_postal .contentQuest #affiche {
    border: 1px solid #CCC;
    padding: 5px;
    margin-bottom: 6px;
    font-size:0.9em;
}


/* -- QUESTION VIDEO -- */

.video-js {
    position: relative !important;
    width: 95% !important;
    height: auto !important;
    margin: 0 auto;
}
.video-js  video{
	position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
}

/* -- QUESTION CURSEUR -- */

.contentQuest .question-curseur {
	position: relative;
	padding-bottom:50px;
	border-top: 1px solid #DDD;
	margin-top:20px;
	padding-top: 30px;
}

.contentQuest .question-curseur:nth-child(1) {
	border-top: none;
	margin-top:0;
	padding-top: 0;
}

.question-curseur .titre_curseur {
	margin-bottom:15px;
	display: block;
	font-weight:bold;
}

.question-curseur .libelle_gauche {
	display:inline-block;
	width: 50%;
	text-align: left;
	margin-bottom: 35px;
	font-style: italic;
	font-size: 0.9em;
}

.question-curseur .libelle_droite {
	display:inline-block;
	width: 50%;
	text-align: right;
	margin-bottom: 35px;
	font-style: italic;
	font-size: 0.9em;
}

/* -- QUESTION INFOS ENFANTS -- */

.question_infos_enfants .item_enfant {
	margin-bottom: 10px;
	border-bottom: 1px solid #DDD;
	padding-bottom: 10px;
}

.question_infos_enfants .item_enfant:nth-last-child(1) {
	border-bottom: 0;
	padding-bottom: 0px;
}

.question_infos_enfants .item_enfant .titre_item {
	display: inline-block;
	margin-bottom: 4px;
}

.question_infos_enfants .item_enfant table td{
	padding: 5px;
}

.question_infos_enfants .input_age {
	width: 40px;
	text-align: center;
}

.question_infos_enfants .infos_enfants {
	margin: 0 auto;
}

.question_infos_enfants .infos_enfants th {
	padding-bottom: 10px;
}

.question_infos_enfants .infos_enfants td {
	padding: 5px 10px;
}

/* -- QUESTION DRAG N DROP -- */

.quest-content.question_drag_n_drop .connectedSortable  {
	background-color: #E7E7E9;
	border: 1px solid #cfcfcf;
	padding:5px;
	min-height: 100px;
	list-style-type: none;
	display: inline-block;
	vertical-align: top;
	margin-right: 1%;
}

.quest-content.question_drag_n_drop .connectedSortable li  {
    background-color: white;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #cfcfcf;
    margin-bottom: 5px;
}

.quest-content.question_drag_n_drop .connectedSortable li:nth-last-child(1)  {
	margin-bottom: 0;
}

/* -- QUESTION DEFILEMENT -- */
.quest-content.question_defilement #modalites_radio span{
	transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    display: inline-block;
	margin: 0 10px;
	background-color: #888888;
	color: white;
	border: none;
	border-radius:5px;
    cursor: pointer;
}

.quest-content.question_defilement #modalites_radio span label {
	cursor:pointer;
}

.quest-content.question_defilement #modalites_radio span.click {
	background-color:#636363!important;
}

/** -- QUESTION RAYON -- **/

.quest-content.question_rayon .contentQuest {
	text-align:center;
}

.quest-content.question_rayon #choix_articles {
    border: 1px solid #888888;
    border-radius: 5px;
    padding: 5px;
    margin-top:10px;
}

.quest-content.question_rayon #choix_articles .article {
    display: inline-block;
    max-width: 20%;
    text-align: center;
    font-weight: bold;
    padding:5px;
    vertical-align: top;
    overflow:hidden;
}

.quest-content.question_rayon #choix_articles .article .supprimer_article {
	cursor: pointer;
}

.quest-content.question_rayon #choix_articles .article img {
	max-width:80%;
}

/** Entete fixe questions matricielle **/

.fakeHeader {
	background-color:rgba(255,255,255, 0.7);
	display: none;
}

.fakeHeader .fakeTr .fakeTh {
	display:inline-block;
	padding:10px 5px;
	text-align:center;
	    vertical-align: middle;
}

.fakeHeader .fakeTr .fakeTh .fleche {
    font-size: x-large;
}

.fakeHeader .fakeTh.matricielle_entete_gauche {
	text-align:left;
}

.fakeHeader .fakeTh.matricielle_entete_droite {
	text-align:right;
}

.fakeHeader .fakeTh.matricielle_entete_gauche .fleche {
	margin-right:10px;
}

.fakeHeader .fakeTh.matricielle_entete_droite .fleche {
	margin-left:10px;
}

#copyrights {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
    font-size: 0.75em;
}