@font-face
{
	font-family: "Source Sans Pro";
	src: url("webfonts/SourceSansPro-Regular.ttf");
}

body
{
	width: 100%;
	height: 100%;
	position: relative;

	color: #000000;
	font-size: 16px;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	text-align: center;

	/* background-color: #00acba; */
	background-color: #008188;
}

img
{
	margin: 0px;
	padding: 0px;
	border: none;
}

p
{
	margin: 20px;
	color: #ffffff;
	font-size: 16px;
	line-height: normal;
	font-weight: bold;
}
li
{
	margin: 10px;
}

a, a:hover
{
	color: #FCEB4B;;
}

i, em
{
	font-style: italic;
}
b, strong
{
	font-weight: bold;
}

#app
{
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0px;
	top: 0px;

	/* background-color: #00acba; */
	background-color: #008188;

	overflow-y: auto;
	user-select: none;
}

.large
{
	width: 100%;
	max-width: 1000px;
	margin: auto;
}
.medium
{
	width: 100%;
	max-width: 650px;
	margin: auto;
}
.small
{
	width: 100%;
	max-width: 400px;
	margin: auto;
}
.left
{
	max-width: 450px;
	position: relative;

	text-align: left;
}
.show
{
	opacity: 1 !important;
}

.left.reponses
{
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 30px;
}
.left.reponses .reponse
{
	width: 100%;
	margin: 0px 10px;
}
.left.reponses .reponse.on
{
	width: calc(100% - 20px);
	margin: 10px;
}
.left.reponses .reponse.off
{
	width: calc(100% - 60px);
	margin: 0px 10px 0px 50px;
	border-left: 2px solid #FCEB4B;
}
.left.reponses .reponse.off img:not(.photo)
{
	height: 70px;
	margin-left: 40px;
}
.left.reponses .reponse.off .photo
{
	max-width: 188px;
}
.left.reponses .reponse.off p
{
	font-size: 14px;
}
.left.info
{
	padding-left: 40px;
	left: -150px;
}

.right.classement
{
	display: inline-block;
	vertical-align: middle;

	max-width: 375px;
	margin-left: 135px;
	margin-top: 0px;
}


/* Header avec titre ou question */

#header
{
	margin: 50px auto;

	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;

	user-select: none;

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
@media (max-width: 1024px)
{
	#header
	{
		flex-direction: column;
  	}
}
.user #header
{
	opacity: 1;
}
.user #header,
.index #header
{
	margin: 20px auto;
	opacity: 1;
}

#header .logo.kyushi
{
	width: 100%;
	max-width: 200px;
	margin: 0px 60px 20px 10px;
}
#header .code
{
	display: none;
	width: 100px;
    margin: 0 0px 30px 80px;
    font-size: 22px;
}
.user #header .logo.kyushi
{
	max-width: 240px;
	margin: 0px 20px 20px 0px;
}
.index #header .logo.kyushi
{
	max-width: 300px;
}

#header .titre,
#header .question
{
	display: none;
	width: auto;
	max-width: 670px;
	margin-left: 10px;
	padding: 10px 20px;
	border-left: 2px solid #FCEB4B;
}

#header .titre
{
	display: block;
}

#header .titre h1
{
	width: 100%;
	margin: 0px auto;

	text-align: left;
	font-weight: bold;
	font-size: 32px;
	color: #FCEB4B;
}

#header .question p
{
	width: 100%;
	margin: 0px auto 10px;

	color: #FCEB4B;
	font-size: 26px;
	text-align: left;
	font-weight: bold;
}
.user .question p,
.user .bienvenue p
{
	margin-bottom: 30px;
	padding-top: 20px;

	color: #FCEB4B;
	font-size: 24px;
	text-align: left;
	border-top: 2px solid #FCEB4B;
}
.user .question .score
{
	padding-top: 30px;

	color: #ffffff;
	font-size: 22px;
	text-align: center;
	border-top: none;
}
.bienvenue .gros
{
	font-size: 36px;
}
.user .question .gros,
.user .bienvenue .gros
{
	font-size: 28px;
}
#header .question .intitule,
.question .resultat
{
	color: #ffffff;
}
#header .media
{
	margin: 20px 10px 0px;
	padding: 20px 20px 20px 80px;
	color: #ffffff;
	font-size: 60px;
	cursor: pointer;

	background-color: #ed8620;
	background-image: url(../img/picto_media.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 55px;

	border-radius: 100px;
	box-shadow: 2px 2px 0px #ffffff;
}
#header .media p
{
	margin: 0px;
}
#header .media:hover,
#header .media:hover p
{
	background-color: #F09236;
}


/* Texte d'introduction */

.intro
{
	margin: 50px auto 20px;
	position: relative;

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.index .intro
{
	margin-bottom: 50px;
	opacity: 1;
}
.index .intro .new
{
	display: inline-block;
	color: #FCEB4B;
	font-weight: bold;
}
.index .intro .bienvenue
{
	display: inline-block;
	margin-bottom: 30px;
	font-size: 58px;
	line-height: 58px;
	color: #FCEB4B
}
.intro p, .info
{
	font-size: 28px;
	line-height: 32px;
}
.intro .titre
{
	color: #FCEB4B;
}
.user .intro
{
	opacity: 1;
	margin: 30px auto 60px;
	text-align: center;
}
.user .intro .label
{
	display: inline-block;
	width: calc(100% - 64px);
	margin: 0px 20px 5px;
	line-height: 32px;

	font-size: 22px;
	color: #ffffff;
	font-weight: bold;
	text-align: left;
}
.user .intro .wait
{
	text-align: center;
    font-size: 26px;
    margin-top: 20px;
}
input
{
	width: calc(100% - 64px);
	margin: 5px 20px 20px;
	padding: 5px 10px;

	font-size: 20px;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	color: #ffffff;

	/* background-color: #00acba; */
	background-color: #008188;
	border: 2px solid #FCEB4B;
}
.code
{
	display: none;
	width: 150px;
	margin: 20px 20px 20px;

	font-size: 32px;
	text-align: center;
}
input::placeholder
{
	color: #dddddd;
}
input:disabled
{
	/* background-color: #007079; */
	background-color: #004a50;
}
input:focus,
select:focus,
textarea:focus,
button:focus
{
    outline: none;
}
.info
{
	color: #FCEB4B;
	margin: 15px auto;

	opacity: 0;
	transition: opacity 1s ease-in-out;
	overflow: hidden;
}
.info span
{
	font-size: 50px;

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.secondes
{
	display: none;
	width: 100%;
	position: absolute;
	top: 15px;
	margin: 0px;

	font-size: 32px !important;
	line-height: normal !important;
	color: #008188;
}
.secondes.orange
{
	color: #F39200;
}
.secondes.rouge
{
	color: #FF1818;
}
.intro .participants
{
	display: none;
	min-height: 224px;
	margin: 0px 20px 40px;
	list-style: none;

	/*display: flex;*/
	justify-content: left;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;

	padding-right: 200px;
	/*background-image: url(../img/top_depart.gif);
    background-repeat: no-repeat;
    background-position: right -64px bottom -35px;
    background-size: 330px;*/
}
.intro .participants li
{
	width: 29%;
	margin: 8px 25px 8px 0px;
	line-height: 32px;

	text-align: left;
	font-size: 24px;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	color: #ffffff;
	font-weight: bold;

	overflow: hidden;
	white-space: nowrap;
}
.intro .participants li::before
{
	content: "\2022";
	color: #FCEB4B;
	font-weight: bold;
	display: inline-block;
	width: 20px;
	margin-left: 0px;
}
.intro .right
{
	display: none;
	width: 330px;
	position: absolute;
	right: -60px;
	top: 56%;
	transform: translateY(-50%);

	transition: opacity 1s ease-in-out;
	opacity: 0;
}
.intro .right.big
{
	width: auto;
	left: 0;
	right: 0;
	top: 70%;
}
.intro .gif
{
	width: 330px;
}
.intro .bt_quiz
{
	display: inline-block !important;
	opacity: 1;
	margin-top: -50px;
}
.intro .instruction
{
	font-size: 24px;
	margin-bottom: 60px;
}
.intro .instruction span
{
	color: #FCEB4B;
}
.intro .instruction i
{
	font-size: 36px;
	margin-right: 20px;
	color: #FCEB4B;
}

/* Les réponses */

.reponses
{
	margin: 0px auto;

	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	flex-wrap: wrap;

	user-select: none;
	opacity: 0;

	overflow: hidden;
	transition: opacity 1s ease-in-out;
}
.reponses.show
{
	opacity: 1;
}
.user .reponses
{
	opacity: 1;
	max-width: 400px;
}
.reponses.hide
{
	display: none;
}

.reponses .reponse
{
	width: 46%;
	margin: 0px 10px;

	display: flex;
	justify-content: left;
	align-items: center;
	align-content: center;

	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;

	cursor: pointer;
}
/* .reponses .reponse.on
{
	justify-content: center;
} */
.user .reponses .reponse
{
	width: 40%;
	margin: 2px;
}
.user .reponses .reponse.hide
{
	display: none;
}
.reponses .reponse.off
{
	opacity: 0.2;
	/*filter: grayscale(1);*/
}
/* .master .reponses .reponse.off
{
	display: none;
} */
.reponses .reponse img
{
	height: 75px;
    margin: 5px 15px 5px 5px;
}
.user .reponses .reponse img
{
	width: 80%;
	height: auto;
}
.reponses .reponse p
{
	margin: 20px 0px 20px 0px;

	text-align: left;
	font-size: 22px;
	font-weight: bold;
	color: #ffffff;
}
.reponses .reponse .photo
{
	width: auto;
	max-width: 260px;
	height: auto;
	max-height: 160px;

	margin: 10px 10px 10px 10px;
}

.soluce
{
	width: 100%;
	max-width: 155px;
	margin: 20px auto;
}
.soluce img
{
	width: 78%;
}

.note
{
	margin: 0px auto;

	font-size: 40px;
	font-weight: bold;
	color: #FCEB4B;
}
.note.bad
{
	color: #ffffff;
}
.wait
{
	margin-top: 0px;
	padding-bottom: 20px;
}


/* Chronomètre */

.chronometre
{
	display: none;
	position: relative;
	width: calc(100% - 40px);
	max-width: 320px;
	margin: 40px auto 20px;

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.chronometre.show
{
	display: block;
	opacity: 1;
}
.big .chronometre.show
{
	transform: scale(2);
	opacity: 0.9 !important;
}
.chrono
{
	display: none;

	width: 70px;
	height: 70px;
	margin: auto;
	position: relative;

	border: 8px solid #008188;
	box-shadow: 0px 0px 0px 4px #ffffff;
	background-color: #ffffff;
	border-radius: 80px;
	overflow: hidden;
	cursor: pointer;
}
.user .chrono
{
	/*width: calc(360px - 40px);
	margin-bottom: 20px;*/
	margin: 20px auto 5px;
	transform: scale(0.8);
}
.chrono .barre
{
	width: 6px;
	height: 30px;
	position: absolute;
	left: 32px;
	top: 5px;

	opacity: 0.3;
	background-color: #008188;
	transform-origin: bottom center;
	transform: rotate(0deg);

	transition: transform 1.0s linear;

	/* animation-delay: 0s;
	animation-direction: normal;
	animation-duration: 3s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	animation-name: chrono;

	animation-play-state: paused; */
}
.chrono .barre.play
{
	/* animation-play-state: running; */

	/* transition: left 1s linear; */
}
@keyframes chrono
{
	from
	{
    	left: -100%;
 	}

  	to
  	{
    	left: 0%;
  	}
}
.chrono_play,
.chrono_pause
{
	display: inline-block;
	margin: 10px 5px 0px;
	color: #ffffff;
	font-size: 30px;
	cursor: pointer;
}
.chrono_play:hover,
.chrono_pause:hover
{
	color: #FCEB4B;
}
.chrono_play.on,
.chrono_pause.on
{
	opacity: 0.2;
}
.chrono_play.on:hover,
.chrono_pause.on:hover
{
	color: #FFFFFF;
	cursor: default;
}
.chronometre p.lancer
{
	margin: 5px 0 30px;
}

/* Chronomètre */

.classement
{
	display: none;
	margin: 20px auto;

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.user .classement
{
	opacity: 1;
	margin: 30px auto 20px;
}
.user .classement.final
{
	padding-top: 250px;

	background-image: url(../img/podium_final.gif);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 210px;
}
.master .classement.final
{
	background-image: url(../img/podium_final.gif);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: contain;
	display: block;
}
.classement p
{
	display: inline-block;
	/* margin: 0px 10px 0px 10px; */
	margin: 0px 20px 10px;
	padding: 5px 0px;

	text-transform: uppercase;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	vertical-align: middle;
}
.user .classement p
{
	margin: 0px 20px 10px;
}
.user .classement.final p
{
	left: 0px;
	font-size: 20px;
}
.classement ol
{
	/* display: inline-block; */
	display: table;
	/* max-width: 450px; */
	max-width: none;
	/* vertical-align: middle; */
	margin: 0px auto 30px;
}
.user .classement ol
{
	display: table;
	max-width: none;
	margin: auto;
	left: 0px !important;
}
.classement li
{
	/* display: inline-block; */
	display: list-item;
	margin: 10px 5px;
	padding: 3px 0px;

	text-align: left;
	font-size: 20px;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	color: #ffffff;

	background-size: 32px;
	background-repeat: no-repeat;
	background-position: 20px center;
}
.classement.final li:first-child,
.master .classement li:first-child
{
	background-image: url(../img/picto_coupe.png);
}
.classement.final li:nth-child(2),
.master .classement li:nth-child(2)
{
	background-image: url(../img/picto_cocarde.png);
}
.classement.final li:nth-child(3),
.master .classement li:nth-child(3)
{
	background-image: url(../img/picto_medail.png);
}
.classement li.moi
{
	color: #FCEB4B;
}
.classement li.plus
{
	line-height: 8px;
	margin-bottom: 15px !important;
	text-align: center;
	font-weight: bold;
}
.user .classement li
{
	display: list-item;
	margin: 5px 10px;

	font-size: 20px !important;
    font-weight: normal !important;
	background-size: 28px;
	background-position: 16px center;
}
.classement li b
{
	width: 20px;
	display: inline-block;
	margin-right: 30px;
    text-align: right;
}
.user .classement li b
{
	width: auto;
	margin-right: 10px;
}
.user .classement.final li b
{
	margin-right: 40px;
}
.classement.final p
{
	margin: 0px 20px 20px;
	position: relative;
	left: -150px;
	font-size: 28px;
}
.classement.final ol
{
	max-width: none;
	margin: auto;
	position: relative;
	left: -150px;
	text-align: center;
}
.master .classement.final li
{
	display: list-item;
	background-size: 42px;
	background-position: 35px center;

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.classement.final li b
{
	margin-right: 65px;
}
.classement.final li:first-child
{
	font-size: 28px;
	font-weight: bold;
}
.classement.final li:nth-child(2)
{
	font-size: 26px;
	font-weight: bold;
}
.classement.final li:nth-child(3)
{
	font-size: 24px;
	font-weight: bold;
}


/* Footer */

#footer
{
	width: 100%;
	position: fixed;
	left: 0px;
	bottom: 0px;

	background-color: #ffffff;
}
#footer .logo
{
	width: 100%;
	max-width: 120px;
	margin: 12px auto;
	display: block;
}
.user #footer .logo
{
	max-width: 120px;
	margin: 12px auto;
}


/* Bouton */

.bouton
{
	/* height: 24px;
	line-height: 24px; */
	user-select: none;
	display: inline-block;
	margin: 40px 20px;
	padding: 10px 20px;
	position: relative;

	color: #000000;
	text-decoration: none;
	font-size: 34px;
	font-weight: bold;
	background-color: #FCEB4B;
	cursor: pointer;

	transition: opacity 1s ease-in-out;
}
.bouton.violet
{
	color: #ffffff;
	font-size: 26px;
	background-color: #7A67AC;
}
.bouton.orange
{
	color: #ffffff;
	font-size: 26px;
	background-color: #ed8620;
}
.bouton.rose
{
	margin: 60px 30px 20px;

	color: #000000;
	background-color: #F194BE;
}
.bouton.vert
{
	margin: 20px 30px 60px;

	color: #000000;
	background-color: #BBD02B;
}
.bouton:hover
{
	background-color: #FFE054;
}
.bouton.violet:hover
{
	background-color: #8072A4;
}
.bouton.orange:hover
{
	background-color: #f09236;
}
.bouton.rose:hover
{
	background-color: #F6B6D3;
}
.bouton.vert:hover
{
	background-color: #E1ED8B;
}
.bouton:after
{
	content: "";
	display: block;

	width: 0;
	height: 0;
    position: absolute;
    left: 0px;
    bottom: -18px;

    border-top: 18px solid #F29202;
    border-left: 40px solid transparent;
}
.bouton.violet:after
{
	border-top: 18px solid #642583;
}
.bouton.orange:after
{
	border-top: 18px solid #e94e1b;
}
.bouton.rose:after
{
	border-top: 18px solid #E7236E;
}
.bouton.vert:after
{
	border-top: 18px solid #609C30;
}

.question, .solution, .wait
{
	display: none;
}
.bt_start,
.bt_quiz,
.bt_question,
.bt_solution,
.bt_classement,
.bt_home
{
	display: none;
	opacity: 0;
}
.bt_start,
.bt_quiz
{
	margin-top: 0px;
}
.bt_question,
.bt_classement
{
	margin: 0px 10px 20px 30px
}
.bt_participer
{
	margin: 10px 20px 0px;
}
.bt_reconnecter
{
	margin: 10px 20px 60px 20px;
	font-size: 30px !important;
}
.reconnect
{
	display: none;
	margin: 20px 20px 40px 20px;
	border-bottom: 2px solid #FCEB4B;
}
.reconnect .label
{
	width: calc(100% - 24px) !important;
	margin: 0 0 5px !important;
}
.bt_favori i
{
	margin-right: 10px;
}
.bt_favori
{
	display: none;
	margin-top: 35px;
}
.bt_home
{
	margin-top: 15px;
}
.bouton.bt_quit,
.bouton.bt_logout,
.bouton.bt_fullscreen
{
	height: auto;
	line-height: 16px;

	margin: 0px;
	padding: 8px 15px;
	position: absolute;
	right: 15px;
	top: 15px;

	font-size: 14px;
}
.bouton.bt_quit:after,
.bouton.bt_logout:after,
.bouton.bt_fullscreen:after
{
	top: 32px;
}
.bouton.bt_quit
{
	right: 136px;
}
.bouton.bt_fullscreen
{
	right: 262px;
}

.frise
{
	display: block;
	width: calc(100% - 60px);
	max-width: 1600px;
	margin: 30px auto 20px;
}


/* Lightbox */

.lightbox
{
	position: fixed;

	background-color: #000;
	border: 3px solid #ffffff;
	z-index: 1;

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.lightbox img
{
	width: 100%;
	height: 100%;
	position: relative;
}
.lightbox video
{
	width: 100%;
	height: 100%;
	position: relative;
	outline: none;
}
.lightbox audio
{
	width: 100%;
	height: 100%;
	position: relative;
	outline: none;
}
.lightbox .fermer
{
	position: absolute;
	top: 0px;
	right: 0px;

	font-size: 30px;
	color: #ffffff;
	cursor: pointer;

	padding: 6px 10px;
    background-color: #000000;
}
.lightbox .intitule
{
	width: calc(100% - 40px);
	position: absolute;
    top: -73px;
    left: 0px;

    font-size: 26px;
    z-index: 1;
}
.blackscreen
{
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0px;
	top: 0px;

	background-color: rgba(0,0,0,0.8);

	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.tarteaucitronIconBottomRight
{
	bottom: -6px !important;
	right: -6px !important;
}
.tarteaucitronSelfLink
{
	display: none !important;
}

#links
{
	margin-top: 50px;
	margin-bottom: 120px;
}
#links a
{
	color: #ffffff;
    font-weight: normal;
    text-decoration: none;
}