

#quiz_overall_presentation {
    width: 100%;
    margin: 0 -60px 45px -60px;
    padding: 15px 60px;
    background: url(img/v3_blanssemitransp.png) repeat transparent;
}
#quiz_overall_presentation h1 {
    text-align: center;
    margin: 30px 0 20px 0;
}
.quiz-title-separator {
    text-align: center;
    margin: 0 auto 30px auto;
    width: 60%;
}
.quiz-title-separator span {
    display: block;
    height: 2px;
    background: linear-gradient(to right, transparent, #565656, transparent);
}





#go_back_quiz_list {
    float: right;
    margin: 0 -90px 15px 0;
}
#go_back_quiz_list a {
    padding: 5px 10px;
    background: white;
    font-size: 12px;
}

#all_quiz_list {
    width: calc(100% + 120px);
    margin: 0 -60px;
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}
#all_quiz_list .a-quiz {
    width: calc(50% - 10px);
    height: inherit;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    background: #ffffff;
    cursor: pointer;
}
#all_quiz_list .a-quiz .quiz-cover {
    width: 100%;
    position: relative;
}
.quiz-nouveau-ribbon {
    position: absolute;
    top: 14px;
    left: -4px;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px 5px 10px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.quiz-nouveau-ribbon::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    border-top: 4px solid #7b1a12;
    border-left: 4px solid transparent;
}
#all_quiz_list .a-quiz .quiz-cover img {
    width: 100%;
}
#all_quiz_list .a-quiz .quiz-metas {
    width: calc(100% - 30px);
    margin: 0 15px;
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
#all_quiz_list .a-quiz .quiz-meta {
    font-size: 10px;
}
#all_quiz_list .a-quiz .quiz-infos  {
    margin-top: 10px;
    text-align: center;
}
#all_quiz_list .a-quiz .quiz-infos p.description {
    font-size: 13px;
    margin: 10px 0 15px 0;
}






#quiz_wrapper {
    margin: 0 -90px 0 -120px;
}
#quiz_wrapper .quiz-cover {

}
#quiz_wrapper .quiz-content {
    display: inline-block;
    position: relative;
    top: -100px;
    width: 80%;
    margin: 0 10%;
    background-color: white;
    padding-bottom: 45px;
}

#owl_quiz {
    display: none;
}

#quiz_wrapper_finish_section {
    display: none;
    margin-top: 30px;
}
#quiz_reveal_good {
    display: none;
    width: 240px;
    margin: 30px auto 0 auto;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
}
#quiz_reveal_good span {
    font-size: 10px;
}


#links-other-quiz {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}
.link-other-quiz {
    float: right;
    display: inline-block;
    text-align: right;
    font-size: 12px;
    padding: 3px 8px 3px 8px;
    margin-bottom: 10px;
    background: white;
}


#quiz_wrapper .quiz-title {
    font-size: 28px;
    margin: 60px 0 0 0;
    text-align: center;
}
#quiz_wrapper .quiz-size {
    font-size: 12px;
    text-align: center;
    margin: 0 0 30px 0;
}
#quiz_wrapper .quiz-description {
    text-align: center;
    margin: 10px 0 60px 0;
}


#quiz_countdown {
    width: 50%;
    margin: 0 auto 30px auto;
}
.highlight {
    color: #f00;
}



.quiz-question-wrapper {
    padding: 0 60px;
    margin-bottom: 30px;
}

.quiz-question-question {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
}


.quiz-question-answer {
    margin: 5px 0;
    padding: 10px 30px;
    text-align: center;
    cursor: pointer;
    background: whitesmoke;
}
.quiz-question-answer:hover {
    background: white;
}

.quiz-question-answer.answered {
    position: relative;
    background: darkorange;
    color: white;
    font-weight: bold;
}
.quiz-question-wrapper.good .quiz-question-answer.answered {
    background: green;
}
.quiz-question-wrapper.wrong .quiz-question-answer.answered {
    background: red;
}

.quiz-question-wrapper .quiz-question-answer.reveal-good {
    background: green;
}





#result_quiz {
    text-align: center;
}
#result_quiz h3 {
    font-size: 24px;
    margin-bottom: 30px;
}


#stats_quiz {
    display: none;
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
}

.owl-theme .owl-controls {
    margin: 0 60px;
}

.owl-theme .owl-controls .owl-page span {
    background-color: white !important;
    border: 1px solid black;
}
.owl-theme .owl-controls .owl-page.answered span {
    background: darkorange !important;
}
.owl-theme .owl-controls .owl-page.answered.good span {
    background: lightgreen !important;
}
.owl-theme .owl-controls .owl-page.answered.wrong span {
    background: lightcoral !important;
}
.owl-theme .owl-controls .owl-page.answered.active span {
    background: darkorange !important;
}
.owl-theme .owl-controls .owl-page.answered.good.active span {
    background: green !important;
}
.owl-theme .owl-controls .owl-page.answered.wrong.active span {
    background: red !important;
}



.owl-theme .owl-controls .owl-buttons div.owl-prev,
.owl-theme .owl-controls .owl-buttons div.owl-next {
    background: white;
    color: black;
    border: 1px solid black;
}





/*                           RESPONSIVE                          */

@media only screen and (min-width: 1070px) and (max-width: 1399px)
{
    #quiz_overall_presentation {
        /*width: calc(100% + 10px);*/
        width: calc(100% - 60px);
        /*margin: 0 -30px 45px -40px;*/
        margin: 0 0 45px 0;
        padding: 15px 30px;
    }

    #all_quiz_list {
        /*width: calc(100% + 70px);*/
        width: 100%;
        /*margin: 0 -30px 0 -40px;*/
        margin: 0;
    }

    #go_back_quiz_list {
        /*margin: 0 -30px 20px -40px;*/
        margin: 0 0 20px 0;
    }
    #quiz_wrapper {
        /*margin: 0 -30px 0 -40px;*/
        margin: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1069px)
{
    #quiz_overall_presentation {
        width: calc(100% + 60px);
        margin: 0 -30px 45px -30px;
        padding: 15px 30px;
    }

    #all_quiz_list {
        width: calc(100% + 60px);
        margin: 0 -30px 0 -30px;
    }

    #go_back_quiz_list {
        margin: 0 -30px 20px -30px;
    }
    #quiz_wrapper {
        margin: 0 -30px 0 -30px;
    }
}

@media only screen and (max-width: 767px)
{
    #quiz_overall_presentation {
        width: calc(100% + 30px);
        margin: 0 -15px 45px -15px;
        padding: 15px 30px;
    }

    #all_quiz_list {
        width: calc(100% + 30px);
        margin: 0 -15px 0 -15px;
    }
    #all_quiz_list .a-quiz {
        width: 100%;
    }

    #go_back_quiz_list {
        margin: 0 -30px 20px -30px;
    }
    #quiz_wrapper {
        margin: 0 -30px 0 -30px;
    }
}


@media only screen and (max-width: 549px)
{
    #all_quiz_list .a-quiz {
        width: 100%;
    }

    .quiz-question-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .quiz-question-answer {
        border: 1px solid #545454;
    }
}

@media only screen and (max-width: 475px)
{
    #quiz_overall_presentation {
        width: 100%;
        margin: 0 0 30px 0;
        padding: 15px 15px;
    }

    #all_quiz_list {
        width: 100%;
        margin: 0 0 0 0;
    }
    #all_quiz_list .a-quiz {
        width: 100%;
    }

    #go_back_quiz_list {
        margin: 0 0 20px 0;
    }
    #quiz_wrapper {
        margin: 0 0 0 0;
    }
    #quiz_wrapper .quiz-content {
        top: -45px;
        width: 90%;
        margin: 0 5%;
    }

    .quiz-question-question,
    .quiz-question-answers {
        padding: 0 10px;
    }
}