/************************************************************************************************/
/* COMMON */
/************************************************************************************************/

@font-face {
    font-family: "Ludicrous";
    src: url("fonts/Ludicrous.woff") format("woff")
}

* {
    box-sizing: border-box;
}

html {
	font: 100%/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight: normal
}

body {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
}

a {
    color: #00afc8;   
    padding:0.5rem;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-family : "Ludicrous", sans-serif;
    margin-top:0;
    padding-top: 1.5rem;
    text-align: center;
}

h2 {
    font-weight: 700;
    padding-left: 1.5rem;
}

/************************************************************************************************/
/* QUIZZ */
/************************************************************************************************/

body.super-hero { 
    background-color: #8FA844;
}

body.aventurier {
    background-color: #00afc8;
}

body.leader { 
    background-color: #f3a442;
}

body.creatif {
    background-color: #dc4332;
}    

.title {
    color:#1d1d1b;
    font-size: 1.3rem;
    margin: 3rem 0 0 0;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
}

.sub-title {
    color: #8e8e8e;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
}

.quizz {
    width:100%;
}

.quizz .center {
    text-align: center;
}

.quizz .question .container {
    background-color: #ededed;
    border: none;
    padding: 0.5rem;
}

/*
.quizz .field ol>li {
    border-width: 5px;
    margin:5px;
    padding: 6px;
}
*/

.quizz .field ol ul li {
    padding-block-end: 8px;
}

.quizz .hidden,
.btn.next.hidden {
    display: none;
}

.wrapper {
    background-color: #fff;
    margin:0 auto;
    max-width: 1280px;
    overflow: hidden;
}

.quizz ol, .quizz ul {
    list-style: none;
    padding-top: 3rem;
}

.quizz .submit {
    text-align: center;
    margin: 24px 0;
}

.btn.next {
    background-color: #555;
    color:#fff;
    display: inline-block;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
}

.btn.next:hover {
    background-color: #000;
}

.quizz .submit .btn {
    text-align:center;
}

/* Begin Question style */

.quizz ol {
    margin:0;
    padding: 0;
}

.quizz ul {
	margin: 0;
    overflow: hidden;
}
				
.quizz ul li {
	width: 100%;
	color: #000;
	display: block;
	position: relative;
	float: left;
	margin: 0;
}							
                    
.quizz input[type=radio] { position: absolute; visibility: hidden; }
					
			
.quizz input[type=radio] label {
	display: block;
	position: relative;
	
	padding: 0px 48px 0px 40px;
	color: #444;
	z-index: 9;
	cursor: pointer;
	transition: all 0.25s linear;				
}


ul li .check {
    display: inline;
    position: absolute;
    border: 1px solid #444;
    border-radius: 100%;
    height: 32px;
    width: 32px;
    top: 2px;
    left: 0;
    z-index: 5;
    transition: border .25s linear;
}    

ul li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 22px;
    width: 22px;
    top: 3px;
    left: 3px;
    margin: auto;
    transition: background 0.25s linear;
}

label {
    display: block;
    position: relative;
    padding: 0px 48px 0px 40px;
    color: #444;
    z-index: 9;
    /*cursor: pointer;*/
    transition: all 0.25s linear;
    
}

/* Default colors */
ul li:hover .check { border: 2px solid #00afc8; }
input[type=radio]:checked ~ .check { border: 2px solid #00afc8; }
input[type=radio]:checked ~ .check::before { background: #00afc8; }
input[type=radio]:checked ~ label { color: #00afc8; }


.quizz .super-hero ul li:hover .check { border: 2px solid #8FA844; }
.quizz .super-hero input[type=radio]:checked ~ .check { border: 2px solid #8FA844; }
.quizz .super-hero input[type=radio]:checked ~ .check::before { background: #8FA844; }
.quizz .super-hero input[type=radio]:checked ~ label { color: #8FA844; }

.quizz .aventurier ul li:hover .check { border: 2px solid #00afc8; }
.quizz .aventurier input[type=radio]:checked ~ .check { border: 2px solid #00afc8; }
.quizz .aventurier input[type=radio]:checked ~ .check::before { background: #00afc8; }
.quizz .aventurier input[type=radio]:checked ~ label { color: #00afc8; }

.quizz .leader ul li:hover .check { border: 2px solid #f3a442; }
.quizz .leader input[type=radio]:checked ~ .check { border: 2px solid #f3a442; }
.quizz .leader input[type=radio]:checked ~ .check::before { background: #f3a442; }
.quizz .leader input[type=radio]:checked ~ label { color: #f3a442; }

.quizz .creatif ul li:hover .check { border: 2px solid #dc4332; }
.quizz .creatif input[type=radio]:checked ~ .check { border: 2px solid #dc4332; }
.quizz .creatif input[type=radio]:checked ~ .check::before { background: #dc4332; }
.quizz .creatif input[type=radio]:checked ~ label { color: #dc4332; }

/* End Question style*/

/************************************************************************************************/
/* Result page */
/************************************************************************************************/

.messages {
    padding: 1.5rem;
}

.share {
    text-align: left;
}
.share a {
    padding-left: 0;
}

.share p {
    font-weight: bold;
}

.share .btn {
    color:#fff;
    font-weight: bold;
    text-decoration: none;
}

.share .btn.facebook {
    background-color: #365899;
}

.share .btn.facebook::before {
    content:'';
    background-image: url('i/icons/icon-facebook.png');
    display: inline-block;
    height:24px;
    width:38px;
}
.share .btn.twitter {
    background-color: #4fadef;
}

.share .btn.twitter::before {
    content:'';
    background-image: url('i/icons/icon-twitter.png');
    display: inline-block;
    height:24px;
    width:42px;
}

.description {
    padding: 1.5rem;
    text-align: justify;
}

.description .title {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
    padding: 1.5rem;
}

.description .title-percent {
    font-family : "Ludicrous", cursive;
    font-size: 6rem;
    margin: 0;
    text-align: center;
}

.description .title-percent.super-hero { 
    color: #8FA844;
}

.description .title-percent.aventurier {
    color: #00afc8;
}

.description .title-percent.leader { 
    color: #f3a442;
}

.description .title-percent.creatif {
    color: #dc4332;
}    

.profile-card {
    padding: 1.5rem;
}

.messages {
    padding: 1.5rem 0;
    text-align: justify;
}

.messages .message-title {
    padding: 0;
    margin: 0;
    font-size: 1,375rem;
    text-align: left;
    text-transform: uppercase;
}

.messages .super-hero { 
    color: #8FA844;
}

.messages .aventurier {
    color: #00afc8;
}

.messages .leader { 
    color: #f3a442;
}

.messages .creatif {
    color: #dc4332;
}    

.footer {
    border-top:1px solid #ededed;
    clear: both;
    display: flex;
    padding: auto 3rem;
}

.footer img {
    max-width: 100%;
}

.quiz-result .profil-img {
    max-width: 50%;
}

.title-img {
    display: block;
    margin: 3rem auto;
    max-width: 100%;
}

.hide_a11y {
	position: absolute;
	left: -9999px;
	overflow: hidden;
}

.back-link {
    color:#797676;
    display: block;
    font-size: 0.75rem;
    padding-top: 2.5rem;
    text-transform: uppercase;
}

.page-quiz .wrapper {
    position: relative;
}

.page-quiz .back-link {
    position: absolute;
    right: 0;
    top:0;
}

@media only screen and (min-width: 450px) {
    #wrapper {
        padding:1.5rem;
    }

    .quizz .field ol ul li {
        padding-block-end: 8px;
        padding:3px;
    }

    .title {
        font-size: 1.5rem;
        margin: 3rem 0 0 0;
        padding: 0;
    }
        
    .quizz .question .container {
        margin-bottom: 1rem; 
        padding: 1.5rem 4.5rem;
    }    

    .quiz-result .profil-img {
        max-width: 100%;
    }

    
    .back-link {
        font-size: 1.5rem;
    }    
}

/************************************************************************************************/
/* Quiz Result Specific                                                                         */
/************************************************************************************************/

.quiz-result img {
    max-width: 100%;
}

.quiz-result .center {
    text-align: center;
}

.quiz-result .right {
    text-align: right;
}


.quiz-result .row.header {
    margin-bottom: 5rem;
}

.quiz-result .footer {
    margin-top: 4rem;
}

.quiz-result .chart {
    margin:3rem 0;
    min-height: 300px;
}

.quiz-result .chart-box {
    background: #ebebeb;
    margin: 5rem 0;
    padding:1.5rem;
}
/* Test slide effect */

/************************************************************************************************/
/* Chartist */
/************************************************************************************************/
.ct-series.super-hero .ct-slice-pie { 
    fill: #8FA844;
}

.ct-series.aventurier .ct-slice-pie {
    fill: #00afc8;
}

.ct-series.leader .ct-slice-pie { 
    fill: #f3a442;
}

.ct-series.creatif .ct-slice-pie {
    fill: #dc4332;
}    

.ct-label {
    color:#000;
    fill: #000;
    font-family: sans-serif;
    font-size: 1.5rem;
}