/**************************
 *
 *     G E N E R A L
 *
 **************************/

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body{
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    line-height: 1.0em;
}

h1, h2, h3{
  text-align: center;
  display: block;
}

h2{
    font-size: 1.4em;
}

#content{
  margin-left: auto;
  margin-right: auto;
  padding-top:5.5vh;
  width: 80%;
  background-repeat: no-repeat;
  background-position:top right;
  background-size: 30%;
  background-position: right 20px;
}

body.client-logo{
    background-image: url('../images/logo_client.png');
    background-repeat: no-repeat;
    background-size: 110px;
    background-position: right 50px top 50px;
}

#dragdrop-content{
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    width: 70%;
}

#content:after{
   content: " ";
   display: block;
   height: 0;
   clear: both;
   *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML += '<div class="ie7-clear"></div>' );
}

#page-content{
  margin-bottom: 2%;
  padding: 2%;
}

.content-body{
    margin-top: 50px;
    /*
    padding: 30px;
    border-radius: 5px;
    -moz-box-shadow: 2px 2px 3px 1px #90adba;
    -webkit-box-shadow: 2px 2px 3px 1px #90adba;
    -o-box-shadow: 2px 2px 3px 1px #90adba;
    box-shadow: 2px 2px 3px 1px #90adba;
    */
}

.bouton,
.bouton-innactive{
  display: block;
  margin: 2%;
  width: 29%;
  float: left;
  background-color: #fff;
  text-decoration: none;
  padding: 0.16%;
  border-radius: 2px;
  cursor: pointer;

  -moz-box-shadow: 2px 2px 3px 1px #90adba;
  -webkit-box-shadow: 2px 2px 3px 1px #90adba;
  -o-box-shadow: 2px 2px 3px 1px #90adba;
  box-shadow: 2px 2px 3px 1px #90adba;
  outline:none;
}

.bouton-img{
  width: 100%;
}


.nav{
  margin-top: 1%;
  color: #fff;
  text-decoration: none;
  background-color: #6a8591;
  padding: 10px;
  border-radius: 2px;
}

.nav:hover{
  background-color: #4f6873;
}

.nav-left{
  float: left;
  margin-left: 2%;
}

.nav-right{
  float: right;
  margin-right: 2%;
}

/*   OVERLAY BOX
-------------------*/

.overlay{
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    display: none;
}

.overlay-content{
    width: 55%;
    margin-top: 10%;
    background-color: #efefef;
    -moz-box-shadow: 4px 4px 10px 1px #000;
    -webkit-box-shadow: 4px 4px 10px 1px #000;
    -o-box-shadow: 4px 4px 10px 1px #000;
    box-shadow: 4px 4px 10px 1px #000;
    padding: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    font-size: 1em;
}

.overlay-content-body{
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.overlay-content-body .button{
    width: 45%;
}

.overlay h1{
    margin-top: 40px;
    font-weight: bold;
    font-family: 'Lilita One', cursive;
    font-size: 2em;
}

.overlay-close{
    margin-right: 10px !important;
}

.see_answer{
    margin-left: 10px !important;
}

/*
.overlay-close,
.submit{
    padding: 10px 10px 8px 10px;
    line-height: 1.2em;
    font-size: 1em;
    text-decoration: none;
    color: #fff;
    background-color: #3bc573;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    width: 30%;
    cursor: pointer;
    border-radius: 10px;
    border-top: none;
    border-left: none;
    border-right: none;
}
*/
.overlay-close:hover,
.submit:hover{
    background-color: #41d47c;
}


.form-label{
    width: 20%;
    float: left;
    padding: 5px;
}

.overlay-input{
    padding: 5px;
    width: 70%;
    float: right;
    webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #eee;
    font-size: 1em;
}

#success form{
    margin-top: 30px;
}


/**************************
 *
 *       Q U I Z Z
 *
 **************************/

.container{
    margin-top: 3%;
    background-repeat: no-repeat;
    background-position:top left;
}

.start-page,
.final-page{
    text-align: center;
    margin-top: 12%;
}

.start-page h1,
.final-page h1{
    font-size: 3em;
    font-family: 'Lilita One', cursive;
    text-transform: uppercase;
    line-height: 1.2em;
    display: block;
}

.start-page h2,
.final-page h2{
    font-size: 2em;
    margin-top: 20px;
    display: block;
    font-weight: 300;
}

.start-page h3,
.final-page h3{
    margin-top: 100px;
    font-size: 1.2em;
    font-weight: 300;
    display: block;
}

.start-page .start_button,
.form-page .start_button,
.final-page .start_button{
    line-height: 2em;
    border-radius: 10px;
    padding: 15px 30px 15px 30px;
    margin-top: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 300;
    border: 0px;
}


.question-body{

}

.question-image{
    height: 60px;
    width: 60px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.answer-body{
}

.content-body .question-title,
.content-body .answer-title{
    padding: 0 10% 0 10%;
    text-align: center;
    display: block;
    min-height: 200px;
    line-height: 100px;
    margin-bottom: 20px;
    background-size: 9%;
    background-repeat: no-repeat;
    background-position:top left;
}

.content-body .question-title{
    background-image: url('../images/question_logo_white.png');
}

.content-body .answer-title{
    background-image: url('../images/answer_logo_white.png');
}


.question-title .vertical-align,
.answer-title .vertical-align{
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    /*line-height: 1.5em;*/
}

.vertical-align.bold_title{
    font-size: 2.1em;
    font-family: 'Lilita One', cursive;
    text-align: center;
    line-height: 1.5em;
}

.vertical-align.light_title{
    font-size: 1.8em;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    text-align: center;
}

.question-subtitle{
    line-height: normal;
    margin-bottom: 40px;
    font-family: 'Quicksand', cursive;
    font-size: 1.2em;
    text-decoration: none;
}

.question-answers:after{
   content: " ";
   display: block;
   height: 0;
   clear: both;
   *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML += '<div class="ie7-clear"></div>' );
}

.question-label{
    margin-bottom: 20px;
}

.choice{
    display: block;
    padding: 20px;
    line-height: 1.0em;
    margin: 15px auto 0 auto;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    width: 50%;
    font-size: 1.2em;
    font-family: 'Quicksand', cursive;
    text-align: center;
}

.choice:hover,
.validate_choice:hover{
    cursor: pointer;
}

.validate_choice:hover{
    background-color: #000;
    color: #fff;
}

.true-false{
    width: 46%;
    margin-right: 2%;
    margin-left: 2%;
    margin-top: 50px;
    text-align: center;
}

.true{
    display: inline-block;
}

.false{
    display: inline-block;
}


.button{
    display: block;
    padding: 20px;
    line-height: 1.0em;
    font-size: 1.1em;
    border-radius: 20px;
    text-decoration: none;
    color: #000;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    font-weight: normal;
    cursor: pointer;
}

.button.button_top{
    margin-top: 45px;
}

.button.button_bottom{
    margin-top: 30px;
}

.skip_question{
    font-family: 'Quicksand';
    display: block;
    padding: 25px;
    line-height: 1.0em;
    font-size: 1.2em;
    text-decoration: none;
    text-align: right;
    float: right;
    font-weight: normal;
    cursor: pointer;
    margin-top: 20px;

}

.button.validate_choice{
    background-image: url('../images/icon_validate.png');
    background-size:contain;
    background-repeat: no-repeat;
    background-position: left;
    width: 60%;
}

.button.next{
    width: 50%;
}

.button:hover{
    background-color: #000;
    color: #fff;
}

.question-footer{
    color: #ccc;
    font-style: italic;
    text-align: right;
    font-size: 0.75em;
    margin-top: 25px;
}

.answer-box{
    border-radius: 10px;
    padding: 30px;
    color: #fff;
    line-height: 1.8em;
}

.answer-top-box{
    margin-bottom: 20px;
}

.final-page{
    display: block;
    margin-top: 100px;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
}

#close_instructions,
#see_answer{
    display: inline-block;
}

/**************************
 *
 *        F O R M
 *
 **************************/

.form-page .question-label{
    font-size: 1.5em;
    font-family: 'Lilita One', cursive;
    line-height: 1.0em;
    display: block;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
}

.form-page{
    text-align: center;
}

.age-bloc{
    margin-bottom: 20px;
}

.gender-bloc{
    margin-bottom: 70px;
}

.form-page label{
    display: inline-block;
    width: 160px;
    height: 200px;
    padding-top: 180px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    margin-top: 20px;
}

.form-page input[type="radio"]{
    display: none;
}

.woman-icon{
    background-image: url('../images/icon_woman.png');
    margin-right: 20px;
    text-transform: uppercase;
}

.woman-icon.selected{
    background-image: url('../images/icon_woman_selected.png');
}

.man-icon{
    background-image: url('../images/icon_man.png');
    margin-left: 20px;
    text-transform: uppercase;
}

.man-icon.selected{
    background-image: url('../images/icon_man_selected.png');
}

#age-input{
    width: 500px;
    margin-bottom: 10px;
    margin-top: 20px;
}

input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

/* FIREFOX */

input[type=range]::-moz-range-track {
    background: #152042;
    height: 5px;
    border-radius: 5px;
}

input[type=range]::-moz-range-thumb {
    border: none !important;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    outline: none;
    background-color: white;
}

input[type=range]::-moz-focus-outer {
    border: 0;
}

/* WEBKIT */

input[type=range]::-webkit-slider-runnable-track {
    background: #152042;
    height: 5px;
    border-radius: 5px;
}

input[type=range]::-webkit-slider-thumb{
    -webkit-appearance: none;
    border: none;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin-top: -12px;
    background: white;
    cursor: pointer;
}

input[type=range]:focus {
    outline: none;
    border: none;
}

#age-output{
    text-transform: uppercase;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 15px;
    color: #000;
    display: inline-block;
    padding: 10px;
}

.lien-retour {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    margin-top: 6.4rem;
}

.lien-retour:before {
    background: url(../images/icn-arrow-left.svg) no-repeat;
    width: 3.7rem;
    height: 3.6rem;
    margin-right: 1.8rem;
    content: '';
    background-size: contain;
}

a.lien-retour {
    font-family: 'Gilroy', sans-serif;
    color: #fff !important;
    margin-left: 4.6rem;
    text-decoration: none;
}