@charset "UTF-8";

/* CSS Document */


/*
 * UIKit overrides
 */
 
/* Base */

* {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

html {
	color: #000543;
	font-family: "Poppins", Arial, "sans-serif";
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.2;
}

.uk-h1, h1 {
	font-size: 2rem;
	font-weight: 800;
}

@media (min-width: 960px) {

	.uk-h1, h1 {
  	font-size: 2rem;
	}

}

.uk-h2, h2 {
	font-size: 1.25rem;
	font-weight: 800;
}

@media (min-width: 640px) {

	.uk-h2, h2 {
  	font-size: 1.5rem;
	}

}

@media (min-width: 960px) {

	.uk-h2, h2 {
  	font-size: 1.75rem;
	}

}

.uk-h3, h3 {
	font-size: 1.375rem;
	font-weight: 800;
}

@media (min-width: 960px) {

	.uk-h3, h3 {
  	font-size: 1.375rem;
	}

}

/* Background */

.uk-background-primary {
	background-color: #FFA960;
}

.uk-background-secondary {
	background-color: #609DFF;
}

.uk-background-success {
	background-color: #99E577;
}

.uk-background-danger {
	background-color: #E57777;
}

/* Buttons */

.uk-button {
	padding: 0 30px;
	font-size: 1.25rem;
	font-weight: 600;
	border-radius: 500px;
	text-transform: none;
}

.uk-button-default {
	background-color: #FFFFFF;
	color: #FFA960;
	border-color: transparent;
}

.uk-button-default:hover,
.uk-button-default:focus,
.uk-button-default:active,
.uk-button-default.uk-active {
	background-color: #FFFFFF;
	color: #FF9750;
	border-color: transparent;
}

.uk-background-success .uk-button-default {
	color: #99E577;
}

.uk-background-success .uk-button-default:hover,
.uk-background-success .uk-button-default:focus,
.uk-background-success .uk-button-default:active,
.uk-background-success .uk-button-default.uk-active {
	color: #8CE254;
}

.uk-background-danger .uk-button-default {
	color: #E57777;
}

.uk-background-danger .uk-button-default:hover,
.uk-background-danger .uk-button-default:focus,
.uk-background-danger .uk-button-default:active,
.uk-background-danger .uk-button-default.uk-active {
	color: #E26969;
}

.uk-button-primary {
	background-color: #E57777;
}

.uk-button-primary:hover,
.uk-button-primary:focus,
.uk-button-primary:active,
.uk-button-primary.uk-active {
	background-color: #EA6363;
}

.uk-background-secondary .uk-button-default {
	color: #609DFF;
}

.uk-background-secondary .uk-button-default:hover,
.uk-background-secondary .uk-button-default:focus,
.uk-background-secondary .uk-button-default:active,
.uk-background-secondary .uk-button-default.uk-active {
	color: #459EFF;
}

.uk-button-trim-right {
	padding-right: 60px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.uk-button-large .uk-button-trim-right {
	padding-right: 80px;
}

/* Text */

.uk-text-lead {
  color: #000543;
  font-size: 1.25rem;
  line-height: 1.2;
}

.uk-text-meta {
	color: #000543;
	font-size: .75rem;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
}

/* Divider */

.uk-hr, hr {
  border-color: #000543;
}

/* Inverse */

.uk-card-primary.uk-card-body, 
.uk-card-primary > :not([class*="uk-card-media"]), 
.uk-card-secondary.uk-card-body, 
.uk-card-secondary > :not([class*="uk-card-media"]), 
.uk-light, 
.uk-offcanvas-bar, 
.uk-overlay-primary, 
.uk-section-primary:not(.uk-preserve-color), 
.uk-section-secondary:not(.uk-preserve-color), 
.uk-tile-primary:not(.uk-preserve-color), 
.uk-tile-secondary:not(.uk-preserve-color) {
  color: #ffffff !important;
}

.uk-card-primary.uk-card-body .uk-text-meta, 
.uk-card-primary > :not([class*="uk-card-media"]) .uk-text-meta, 
.uk-card-secondary.uk-card-body .uk-text-meta, 
.uk-card-secondary > :not([class*="uk-card-media"]) .uk-text-meta, 
.uk-light .uk-text-meta, 
.uk-offcanvas-bar .uk-text-meta, 
.uk-overlay-primary .uk-text-meta, 
.uk-section-primary:not(.uk-preserve-color) .uk-text-meta, 
.uk-section-secondary:not(.uk-preserve-color) .uk-text-meta, 
.uk-tile-primary:not(.uk-preserve-color) .uk-text-meta, 
.uk-tile-secondary:not(.uk-preserve-color) .uk-text-meta {
	color: #ffffff !important;
}

/* Delay modifiers */

.uk-delay-001 {
	-webkit-animation-delay: .1s;
  animation-delay: .1s;
}

.uk-delay-002 {
	-webkit-animation-delay: .2s;
  animation-delay: .2s;
}

.uk-delay-001 {
	-webkit-animation-delay: .3s;
  animation-delay: .3s;
}

.uk-delay-004 {
	-webkit-animation-delay: .4s;
  animation-delay: .4s;
}

.uk-delay-005 {
	-webkit-animation-delay: .5s;
  animation-delay: .5s;
}

.uk-delay-006 {
	-webkit-animation-delay: .6s;
  animation-delay: .6s;
}

.uk-delay-007 {
	-webkit-animation-delay: .7s;
  animation-delay: .7s;
}

.uk-delay-008 {
	-webkit-animation-delay: .8s;
  animation-delay: .8s;
}

.uk-delay-01 {
	-webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.uk-delay-015 {
	-webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}

.uk-delay-02 {
	-webkit-animation-delay: 2s;
  animation-delay: 2s;
}


/* Extra animations */

.uk-animation-heart
{
	-webkit-animation: uk-pound-080 1.5s infinite;
	animation: uk-pound-080 1.5s infinite;
	transform-origin: center;
	-webkit-transform-origin: center;
}

.uk-animation-small-heart
{
	-webkit-animation: uk-pound-095 1.5s infinite;
	animation: uk-pound-095 1.5s infinite;
	transform-origin: center;
	-webkit-transform-origin: center;
}

@-moz-keyframes uk-pound-080
{
	
	50% {
		-webkit-transform: scale(0.8);
	}
	
}

@-webkit-keyframes uk-pound-080
{
	
	50% {
		-webkit-transform: scale(0.8);
	}
	
}

@keyframes uk-pound-080
{
	
	50% {
		transform: scale(0.8);
	}
	
}

@-moz-keyframes uk-pound-095
{
	
	50% {
		-webkit-transform: scale(0.95);
	}
	
}

@-webkit-keyframes uk-pound-095
{
	
	50% {
		-webkit-transform: scale(0.95);
	}
	
}

@keyframes uk-pound-095
{
	
	50% {
		transform: scale(0.95);
	}
	
}

.uk-animation-bounce-down {
	-moz-animation: uk-bounce-down 2s infinite;
	-webkit-animation: uk-bounce-down 2s infinite;
	animation: uk-bounce-down 2s infinite
}

@-moz-keyframes uk-bounce-down {
	
	0%, 100%, 20%, 50%, 80% {
		-moz-transform: translateY(0);
		transform: translateY(0)
	}
	
	40% {
		-moz-transform: translateY(-20px);
		transform: translateY(-20px)
	}
	
	60% {
		-moz-transform: translateY(-10px);
		transform: translateY(-10px)
	}
	
}

@-webkit-keyframes uk-bounce-down {
	
	0%, 100%, 20%, 50%, 80% {
		-moz-transform: translateY(0);
		transform: translateY(0)
	}
	
	40% {
		-moz-transform: translateY(-20px);
		transform: translateY(-20px)
	}
	
	60% {
		-moz-transform: translateY(-10px);
		transform: translateY(-10px)
	}
	
}

@keyframes uk-bounce-down {
	
	0%, 100%, 20%, 50%, 80% {
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-webkit-transform: translateY(0);
		transform: translateY(0)
	}
	
	40% {
		-moz-transform: translateY(-20px);
		-ms-transform: translateY(-20px);
		-webkit-transform: translateY(-20px);
		transform: translateY(-20px)
	}
	
	60% {
		-moz-transform:translateY(-10px);
		-ms-transform: translateY(-10px);
		-webkit-transform: translateY(-10px);
		transform: translateY(-10px) 
	}
	
}

.uk-animation-bounce-right {
	-moz-animation: uk-bounce-right 2s infinite;
	-webkit-animation: uk-bounce-right 2s infinite;
	animation: uk-bounce-right 2s infinite
}

@-moz-keyframes uk-bounce-right {
	
	0%, 100%, 20%, 50%, 80% {
		-moz-transform: translateX(0);
		transform: translateX(0)
	}
	
	40% {
		-moz-transform: translateX(-20px);
		transform: translateX(-20px)
	}
	
	60% {
		-moz-transform: translateX(-10px);
		transform: translateX(-10px)
	}
	
}

@-webkit-keyframes uk-bounce-right {
	
	0%, 100%, 20%, 50%, 80% {
		-moz-transform: translateX(0);
		transform: translateX(0)
	}
	
	40% {
		-moz-transform: translateX(-20px);
		transform: translateX(-20px)
	}
	
	60% {
		-moz-transform: translateX(-10px);
		transform: translateX(-10px)
	}
	
}

@keyframes uk-bounce-right {
	
	0%, 100%, 20%, 50%, 80% {
		-moz-transform: translateX(0);
		-ms-transform: translateX(0);
		-webkit-transform: translateX(0);
		transform: translateX(0)
	}
	
	40% {
		-moz-transform: translateX(-20px);
		-ms-transform: translateX(-20px);
		-webkit-transform: translateX(-20px);
		transform: translateX(-20px)
	}
	
	60% {
		-moz-transform: translateX(-10px);
		-ms-transform: translateX(-10px);
		-webkit-transform: translateX(-10px);
		transform: translateX(-10px)
	}
	
}

/* 
 * Custom content
 */


/* Page */

.tm-page {
	position: relative;
}

.divider span {
	line-height: 2;
}

.divider span {
	display: inline-block;
  border-bottom: 1px solid #000543;
}


/* Home */

@media (min-width: 640px) {

	.home #hero #title {
  	margin-left: 26.5%;
	}

}

@media (min-width: 960px) {

	.home #hero #title {
  	margin-left: 250px;
	}

}

.home #hero #logo-ues {
	top: 20px;
	left: 35px;
}

@media (min-width: 640px) {

	.home #hero #logo-ues {
		width: 100px;
		top: 40px;
		left: 40px;
	}

}

/* Preamble */

.preamble #hero {
	background-position: 50% 300px;
	background-size: 120%;
}

@media (min-width: 640px) {

	.preamble #hero {
		background-position: 125% 50%;
		background-size: 75%;
	}

}

@media (min-width: 960px) {

	.preamble #hero {
		background-position: 105% 35%;
		background-size: 50%;
	}

}

/* Quizz */

.quizz .question .media {
	min-height: 200px;
}

.quizz .response .media {
	min-height: 0px;
}

@media (min-width: 640px) {

	.quizz .question .media,
	.quizz .response .media {
		height: 100vh;
	}
	
}

.quizz .question > div > div > div {
	background-position: 0% 50%;
	background-size: contain;
}

@media (min-width: 640px) {
	
	.quizz .question > div > div > div {
		background-position: 100% 50%;
		background-size: cover;
	}

}

.quizz .question .counter {
	display: block;
	position: absolute;
	width: 87px;
	height: 87px;
	top: calc(50% - (87px / 2));
	left: 275px;
	z-index: 1;
}

.quizz.demo-mode .question .counter {
	display: none;
}

.quizz .question .background {
	display: block;
	position: absolute;
	background-image: url("/assets/images/UES-Securite-incendie-Compteur-Fond.svg");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	width: 87px;
	height: 87px;
	top: calc( 50% - 87px / 2);
	left: calc( 50% - 87px / 2);
	z-index: 2;
}

.quizz .question .value {
	display: block;
	position: absolute;
	width: 87px;
	height: 87px;
	top: calc(50% - (87px / 2));
	left: calc( 50% - 87px / 2);
	color: #FFA960;
	font-size: 2rem;
	font-weight: 400;
	line-height: 87px;
	text-align: center;
	z-index: 3;
}

.quizz .question .image {
	position: absolute;
	top: calc(50% - 120px);
	left: calc(25% - 100px);
	width: 240px;
	height: 200px;
}

.quizz #bonus .image {
	top: calc(50% - 150px);
	left: calc(25% - 125px);
	width: 300px;
	height: 250px;
}

@media (min-width: 640px) {
	
	.quizz .question .counter {
		top: 20%;
		left: 80%;
	}

	.quizz .question .image {
		top: calc(50% - 200px);
		left: calc(35% - 166px);
		width: 400px;
		height: 333px;
	}

	.quizz #bonus .image {
		top: calc(50% - 275px);
		left: calc(35% - 229px);
		width: 550px;
		height: 458px;
	}

}

@media (min-width: 960px) {
	
	.quizz .question .counter {
		top: 18%;
		left: 85%;
	}

	.quizz .question .image {
		top: calc(50% - 291px);
		left: calc(40% - 350px);
		width: 700px;
		height: 583px;
	}

	.quizz #bonus .image {
		top: calc(50% - 333px);
		left: calc(40% - 400px);
		width: 800px;
		height: 667px;
	}

}

.quizz .question .choice {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.5;
	text-transform: none;
}

.quizz .question .choice {
	color: #FFA960;
}

.quizz .question .choice:hover,
.quizz .question .choice:focus,
.quizz .question .choice:active,
.quizz .question .choice.uk-active {
	color: #FF9750;
}

.quizz.uk-background-secondary .question .choice {
	color: #609DFF;
}

.quizz.uk-background-secondary .question .choice:hover,
.quizz.uk-background-secondary .question .choice:focus,
.quizz.uk-background-secondary .question .choice:active,
.quizz.uk-background-secondary .question .choice.uk-active {
	color: #459EFF;
}

.quizz .question .choice > span {
	display: inline-block;
	margin-top: 5px;
	background: #ffffff;
	padding: 0 15px;
	border-radius: 500px;
}

/* Score */

@media (min-width: 640px) {

	/*
	.score .content .result {
		height: 100vh;
	}
	*/
	
	.quizz .score .result {
		height: 100vh;
	}
	
}

/*
.score #content > div > div > div {
	background-position: 0% 50%;
	background-size: contain;
}
*/

.quizz .score > div > div > div {
	background-position: 0% 50%;
	background-size: contain;
}

@media (min-width: 640px) {

	/*
	.score #content > div > div > div {
		background-position: 100% 50%;
		background-size: cover;
	}
	*/

	.quizz .score > div > div > div {
		background-position: 100% 50%;
		background-size: cover;
	}

}

/*
.score #content .current-result {
	font-size: 7.5rem;
	font-weight: 800;
	line-height: 6rem;
}
*/

.quizz .score .current-result {
	position: relative;
	font-size: 7.5rem;
	font-weight: 800;
	line-height: 6rem;
}

/*
.score #content .max-result {
	font-size: 1.25rem;
	font-weight: 600;
}
*/

.quizz .score .max-result {
	position: absolute;
	display: block;
	top: 10px;
	right: 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
}

/*
.score #content .label {
	font-size: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
}
*/

.quizz .score .label {
	font-size: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
}

@media (min-width: 640px) {

	/*
	.score #content .result {
		height: 100vh;
	}
	*/
	
	.quizz .score .result {
		height: 100vh;
	}
	
	/*
	.score #content .current-result {
		font-size: 12rem;
		line-height: 10rem;
	}
	*/
	
	.quizz .score .current-result {
		font-size: 12rem;
		line-height: 10rem;
	}
	
	/*
	.score #content .max-result {
		font-size: 1.75rem;
	}
	*/

	.quizz .score .max-result {
		font-size: 1.75rem;
	}

	/*
	.score #content .label {
		font-size: 1.75rem;
	}
	*/

	.quizz .score .label {
		font-size: 1.75rem;
	}

}

@media (min-width: 960px) {

	/*
	.score #content .current-result {
		font-size: 18.75rem;
		line-height: 15rem;
	}
	*/
	
	.quizz .score .current-result {
		font-size: 18.75rem;
		line-height: 15rem;
	}
	
	/*
	.score #content .max-result {
		font-size: 2.25rem;
	}
	*/

	.quizz .score .max-result {
		font-size: 2.25rem;
		right: -20px;
	}

	/*
	.score #content .label {
		font-size: 2.25rem;
	}
	*/

	.quizz .score .label {
		font-size: 2.25rem;
	}

}

@media (max-width: 640px) {

	/*
	.score #content h2.score-6 {
		margin-top: 0;
	}
	*/
	
	.quizz .score h2.score-6 {
		margin-top: 0;
	}
	
}

