/* @import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700"); */

body {
    font-family: "comfortaa";
    font-size: 14px;
    background: #CFD8DC;
    background-image: url(../img/fond.jpg);
    background-size: cover;
    background-repeat:no-repeat;
    background-attachment:fixed;
    /* mocking native UI */
    cursor: default !important;
    /* remove text selection cursor */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* disbale element dragging */
    /* display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center; */
}

body, html {
    height: 100%;
}

.page-wrap {
    position:relative;
    min-height: 100%;
    /* margin-bottom: -40px;  */
}

.page-wrap:after {
    content: "";
    display: block;
    margin-bottom: 20px
}

.page-wrap .alert-accueil {
    position: absolute;
    top: 200px;
}

.site-footer, .page-wrap:after {
    height: 40px; 
}

.site-footer {
    margin-top: 40px;
    background: #111;
    /* text-align: center; */
    padding-right: 15px;
    color: #fff;
    line-height: 40px;

}

.heart {
    color: #ff3dc6;
}

.site-title-bloc {
    /* margin-top:50px; */
    text-align: center;
}
.site-title-img {
    text-align: right;
}
.site-title-img img {
    width: 200px;
    margin-right: 50px;
}
.site-title {
    display:flex;
    margin:auto;
    /* height:100px; */
    /* line-height: 100px; */
    font-size: 80px;
    padding-left: 2rem;
    color: #4addff;
    font-weight: bold;
    text-align: left;
}

.span-bonjour, .span-role a {
    color: #b5b5b5;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.span-role a {
    color: #9C7531
}

.span-role a:hover {
    color:  #e7d3b1
}

.title,
.subtitle {
    font-family: Montserrat, sans-serif;
    font-weight: normal;
}

.animated {
    -webkit-transition-duration: 0.15s;
    transition-duration: 0.15s;
}

.imgQuiz {
    display: flex;
    width: 100%;
    max-height: 150px;
}

.imgQuiz img {
    margin:auto;
    max-width: 100%;
    max-height: 100%;
}

.questionBox {
    /* width: 50%; */
    /* min-width: 30rem; */
    /* min-height: 30rem; */
    background: rgb(250, 250, 250, 0.9);
    position: relative;
    display: -webkit-box;
    display: flex;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.responseBox {
    background:  rgb(250, 250, 250, 0.9);
    border-radius: 0.5rem;
    padding:15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    margin: 5px;
    min-height: 150px;
}

.questionBox header {
    background: rgba(0, 0, 0, 0.025);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.questionBox header h1 {
    font-weight: bold;
    margin-bottom: 1rem !important;
}

.responseBox header h6 {
    font-weight: bold;
    margin-bottom: 0 !important;
}

.questionBox header .progressContainer {
    width: 80%;
    margin: 0 auto;
}

.questionBox header .progressContainer>progress {
    margin: auto;
    width: 80%;
    border-radius: 5rem;
    overflow: hidden;
    border: none;
    color: #3D5AFE;
}

.questionBox header .progressContainer>progress::-moz-progress-bar {
    /* background: #3D5AFE; */
    /* background: -moz-radial-gradient(ellipse farthest-corner at left center, #111111 0%, #6a5acd 5%, #ffffff 20%, #ffd700 30%, #ffa500 50%, #ff4500 70%); */
    background-color: rgba(236, 48, 20, 0.9);
}

.questionBox header .progressContainer>progress::-webkit-progress-value {
    /* background: #3D5AFE; */
    /* background: radial-gradient(ellipse farthest-corner at left center, #111111 0%, #6a5acd 5%, #ffffff 20%, #ffd700 30%, #ffa500 50%, #ff4500 70%); */
    background-color: rgba(236, 48, 20, 0.9);
}

.questionBox header .progressContainer>p {
    margin: 0;
    margin-top: 0.5rem;
    font-weight:bold;
}

.questionBox .titleContainer {
    text-align: justify;
    font-size: 25px;
    margin: 0 auto;
    padding: 1.5rem;
}
.titleNumber {
    font-weight:bold;
    text-decoration: underline;
    margin-bottom:10px;
}
.questionBox .quizForm {
    display: block;
    white-space: normal;
    height: 100%;
    width: 100%;
}

.questionBox .quizForm .quizFormContainer {
    height: 100%;
    margin: 15px 18px;
}

.questionBox .quizForm .quizFormContainer .field-label {
    text-align: left;
    margin-bottom: 0.5rem;
}

.questionBox .quizCompleted {
    width: 100%;
    padding: 1rem;
    text-align: center;
}

.questionBox .quizCompleted>.icon {
    color: #FF5252;
    font-size: 5rem;
}

.questionBox .quizCompleted>.icon .is-active {
    color: #00E676;
}

.questionBox .quizCompleted>.icon .is-moyen {
    color: #c9b60e;
}

.questionBox .questionContainer {
    white-space: normal;
    height: 100%;
    /* width: 100%; */
}

.questionBox .questionContainer .optionContainer {
    margin-top: 12px;
    -webkit-box-flex: 1;
    flex-grow: 1;
}

.questionBox .questionContainer .optionContainer .option {
    border-radius: 290486px;
    padding: 9px 18px;
    margin: 0 18px;
    margin-bottom: 12px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.85);
    font-weight: bold;
    border: transparent 1px solid;
}

.questionBox .questionContainer .optionContainer .option.is-selected {
    border-color: rgba(0, 0, 0, 0.25);
    background-color: white;
}

.green {
    color: #00b35c;
    font-weight:bold;
    text-decoration: none !important;
}

.red {
    color: #cc0c0c;
    text-decoration: line-through;
}

.questionBox .questionContainer .optionContainer .option:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.questionBox .questionContainer .optionContainer .option:active {
    -webkit-transform: scaleX(0.9);
    transform: scaleX(0.9);
}

.optionContainer a {
    text-decoration: none;
}

.questionBox .questionContainer .questionFooter {
    background: rgba(0, 0, 0, 0.025);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    align-self: flex-end;
}

.questionBox .questionContainer .questionFooter .pagination {
    margin: 15px 25px;
}

.pagination {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.button {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 5rem;
    margin: 0 0.25rem;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    font-weight: bold;
}

.button:hover {
    cursor: pointer;
    background: #ECEFF1;
    border-color: rgba(0, 0, 0, 0.25);
}

.button.is-active {
    background: #e95201;
    color: white;
    border-color: transparent;
}

.button.is-active:hover {
    /* background: #0a2ffe; */
    background: #b23f01;
    color:#f9f9f9;
}

#listButton {
    display: none;
}


@media screen and (min-width: 769px) {
    .site-title-bloc {
        margin-bottom:50px;
    }
    .questionBox {
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
    }

    .questionBox .questionContainer {
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
    }
    
}

@media screen and (max-width: 768px) {
    .site-title-bloc {
        margin-bottom:50px;
    }
    .sidebar {
        height: auto !important;
        border-radius: 6px 6px 0px 0px;
    }
    .site-title {
        font-size: 60px;
        padding: 0;
    }
    .site-title span {
        margin: auto;
    }
    .site-title-img {
        text-align: center;
    }
    .site-title-img img {
        margin-right: 0;
    }
    .btn + .dropdown-toggle-split {
        padding-right: 0.375rem;
        padding-left: 0.375rem;
    }
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        line-height: 1.5;
        border-radius: 0.2rem;
    }
    .alert {
        margin-bottom: 25px;
    }
    .site-footer, .page-wrap:after {
        height: 80px; 
    }
    .site-footer {
        margin-top: 40px;
        background: #111;
        padding-right: 15px;
        color: #fff;
        line-height: 40px;
    }
    .questionBox .titleContainer {
        font-size: 18px;
        margin: 15px 0 25px;
        padding: 0.5rem;
    }
    #restartButton {
        margin-bottom:20px;
    }
    .imgQuiz {
        display: flex;
        width: 100%;
        max-height: 150px;
    }
    
    .imgQuiz img {
        margin:auto;
        /* width: 100%; */
        max-height: 150px;
    }
}

/* INSCRIPTION */
.inscription-form {
    background-color: #ecf0f1;
    color: #2980b9;
    padding: 20px 50px;
}
::placeholder {
    color: #cacace !important;
  }