html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .02em;
    color: #201d1d;
    background-color: #fff;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

* {
    box-sizing: border-box;
}

*:focus {
    outline: 0;
}

a,
a:hover,
a:focus {
	color: #fff;
    text-decoration: none;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

ul {
    margin: .4em 0 1em;
}

li {
    margin-bottom: .2em;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

img {
    border: 0;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

a,
.btn-hover,
.img-hover {
    -webkit-transition: .15s ease-in-out;
    -moz-transition: .15s ease-in-out;
    -ms-transition: .15s ease-in-out;
    -o-transition: .15s ease-in-out;
    transition: .15s ease-in-out;
}

button {
    -webkit-transition: .2s background-color ease-in-out, .2s color ease-in-out;
    -moz-transition: .2s background-color ease-in-out, .2s color ease-in-out;
    -ms-transition: .2s background-color ease-in-out, .2s color ease-in-out;
    -o-transition: .2s background-color ease-in-out, .2s color ease-in-out;
    transition: .2s background-color ease-in-out, .2s color ease-in-out;
}

a.a-hover:hover,
.img-hover:hover,
.btn-hover:hover {
	filter: alpha(opacity=85);
	opacity: .85;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.nowrap {
    white-space: nowrap;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    margin-left: -30px;
    margin-right: -30px;
}

.col-md-3,
.col-md-4,
.col-md-6,
.col-md-8,
.col-md-12 {
    float: left;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 30px;
}

.col-md-3 {
    width: 25%;
}

.col-md-4 {
    width: 33.33%;
}

.col-md-6 {
    width: 50%;
}

.col-md-8 {
    width: 66.66%;
}

.col-md-12 {
    width: 100%;
}

.only-mobile,
.only-mobile-992 {
    display: none;
}

.centerfy {
    text-align: center;
}

.fu_popover_content_default {
    font-family: 'Quicksand', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #201d1d;
    text-align: center;
}

/********/
/* Home */

#home div {
	padding: 20px;
	background-color: rgba(255, 255, 255, .6);
	border-radius: 10px;
}

#home,
#resume {
    height: 100%;
    background: url(../img/home.jpg) center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#home h1 {
    font-family: 'Playfair Display', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin: 40px 0;
}

#home p {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2em;
    margin-bottom: 1em;
}

#home form {
    margin: 50px 0 0 0;
    background-color: #fff;
    display: inline-block;
    padding: 2px;
}

#home input {
    vertical-align: top;
    width: 470px;
    height: 56px;
    border: 0;
    font-size: 1.6rem;
    line-height: 56px;
    padding-left: 18px;
    padding-right: 10px;
    color: #ca8a39;
    letter-spacing: .02em;
}

#home button {
    background-color: #ca8a39;
    border: 0;
    width: 200px;
    height: 56px;
    font-family: 'Playfair Display', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
}

#go {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

#go.disabled {
    opacity: .7;
}

/*************/
/* Questions */

#questions {
    display: none;
	height: 100%;
}

#questions .logo {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 10;
}

#questions .square {
    position: absolute;
    z-index: 10;
}

#questions #square-left {
    top: 65%;
    left: 10%;
    background: url(../img/square-left.png) center no-repeat;
    width: 137px;
    height: 136px;
}

#questions #square-right {
    top: 51%;
    right: 10%;
    background: url(../img/square-right.png) center no-repeat;
    width: 110px;
    height: 166px;
}

#questions .question-top {
    height: 53%;
    position: relative;
}

#question-title-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#question-title-container,
.question-text,
.explication-block-text {
    max-width: 900px;
    margin: 0 auto;
}

#questions .question-title {
    display: none;
    background-color: rgba(255, 255, 255, .88);
}

#questions .question-title,
.question-text,
.explication-block-text {
    padding: 15px 90px 20px;
}

#questions .question-title h2 {
    font-family: 'Playfair Display', Arial, sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #ca8a39;
    margin-bottom: 0;
}

#questions .question-title p {
    font-family: 'Playfair Display', Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.35em;
    color: #ca8a39;
    margin-bottom: 0;
}

#questions #question-block,
#explication-block {
    padding: 20px 0 0;
    width: 100%;
    height: 47%;
}

#questions .row-choice {
    margin-bottom: 20px;
}

.question-text {
    display: none;
}

.question-image {
    display: none;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

#timer {
    position: absolute;
    right: 55px;
    bottom: 30px;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
}

#timer .pause {
    width: 17px;
    height: 50px;
    display: none;
    margin-right: 7px;
	filter: alpha(opacity=0);
    opacity: 0;
    background-color: #4aafe3;
}

#timer .clock {
    display: block;
    margin-top: 15px;
    font-family: 'Playfair Display', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ca8a39;
    line-height: 1em;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -ms-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s color ease-in-out;
}

#timer .clock.paused {
    color: #201d1d;
}

#timer .clock.exceeded {
    color: red;
}

#question-count {
    position: absolute;
    left: 55px;
    bottom: 30px;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
}

#question-count > span {
    display: block;
    margin-top: 15px;
    font-family: 'Playfair Display', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1em;
}

#question-count > span > span {
    color: #ca8a39;
}

#timeline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 8px;
}

#timeline div {
    width: 0;
    height: 100%;
    background-color: #ca8a39;
}

#timeline {
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -ms-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

#timeline div {
    -webkit-transition: 1s linear;
    -moz-transition: 1s linear;
    -ms-transition: 1s linear;
    -o-transition: 1s linear;
    transition: 1s linear;
}

#explication-block {
    display: none;
}

.explication-block-text {
    display: none;
}

#explication-block h3,
.explication-block-text div {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.35em;
}

#explication-block h3 {
    margin-bottom: 1em;
    display: none;
}

.explication-block-text div a {
    color: #ca8a39;
}

#questions .btn {
    position: absolute;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-o-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 70%;
    bottom: 25px;
    width: 200px;
    height: 52px;
    padding: 10px 5px;
    background-color: #fff;
    border: 1px solid #ca8a39;
    border-radius: 0;
    font-family: 'Playfair Display', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ca8a39;
    letter-spacing: .02em;
    text-align: center;
}

#questions #next {
    display: none;
}

#questions .btn:not(.disabled):hover {
    background-color: #ca8a39;
    color: #fff;
}

#go.disabled,
#questions .btn.disabled {
    cursor: not-allowed;
}

#questions .btn.disabled {
    opacity: .5;
}

#question-block [type="radio"]:not(:checked),
#question-block [type="radio"]:checked {
	position: absolute;
	left: -9999px;
}

#question-block [type="radio"]:not(:checked) + label,
#question-block [type="radio"]:checked + label {
	position: relative;
	padding-left: 35px;
	cursor: pointer;
	display: inline-block;
}

#question-block [type="radio"]:not(:checked) + label:hover,
#question-block [type="radio"]:checked + label {
    color: #201d1d;
}

#question-block [type="radio"].disabled:not(:checked) + label {
    color: rgba(99, 99, 99, .3);
}

#question-block [type="radio"]:not(:checked) + label:before,
#question-block [type="radio"]:checked + label:before {
	content: '';
	position: absolute;
	left: 0;
	top: -2px;
	width: 18px;
	height: 18px;
	border: 1px solid #201d1d;
	background: #fff;
	border-radius : 0;
}
/*
#question-block [type="radio"]:checked + label:before {
	border: 2px solid #201d1d;
}
*/
#question-block [type="radio"]:not(:checked) + label:after,
#question-block [type="radio"]:checked + label:after {
	content: '\2713';
	position: absolute;
    top: 1px;
	left: 3px;
    font-family: Arial;
    font-size: 2.1rem;
	color: #ca8a39;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}

#question-block [type="radio"]:not(:checked) + label:after {
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
}

#question-block [type="radio"]:hover + label:after,
#question-block [type="radio"]:checked + label:after {
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

#question-block label {
    font-size: 1.5rem;
    line-height: 1em;
    font-weight: 400;
    display: block;
    cursor: pointer;
    -webkit-transition: color .15s ease-in-out;
    -moz-transition: color .15s ease-in-out;
    -ms-transition: color .15s ease-in-out;
    -o-transition: color .15s ease-in-out;
    transition: color .15s ease-in-out;
}

/**********/
/* Resume */

#resume {
    display: none;
}

#resume > div {
	max-width: 1000px;
    background-color: rgba(255, 255, 255, .6);
    padding: 20px 40px 30px;
    border-radius: 10px;
}

#resume h2 {
    font-size: 7rem;
    font-weight: 400;
    margin-bottom: 10px;
}

#resume h2 span {
    font-weight: 700;
    color: #ca8a39;
}

#resume hr {
	width: 100px;
	border: none;
	border-top: 1px solid #ca8a39;
	margin: 40px auto;
}

#resume h3 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2em;
    margin: 45px 0 35px;
    color: #ca8a39;
}

#resume p {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.35em;
    margin: 0;
}

/**************/
/* Responsive */

@media screen and (max-width: 1300px) {
	#questions #square-left {
		top: 60%;
		left: -40px;
	}
	#questions #square-right {
		right: 2%;
	}
	#question-count {
		left: 30px;
	}
	#timer {
		right: 30px;
	}
}

@media screen and (max-height: 1000px) {
	#home h1 {
		font-size: 3.2rem;
		margin-top: 20px;
	}
	#home p {
		font-size: 1.8rem;
	}
}

@media screen and (max-height: 900px) {
	#home h1 {
		font-size: 2.5rem;
		margin-top: 10px;
		margin-bottom: 20px;
	}
	#home p {
		font-size: 1.6rem;
	}
	#home form {
		margin-top: 20px;
	}
	#explication-block h3,
	.explication-block-text div {
		font-size: 1.5rem;
	}
}

@media screen and (max-height: 800px) {
	#home p {
		font-size: 1.4rem;
	}
	#home form {
		margin-top: 10px;
	}
	#explication-block h3,
	.explication-block-text div {
		font-size: 1.4rem;
	}
}
/*
#home,
#questions {
    display: none !important;
}

#resume {
    display: flex;
}
*/
