#btn-validate {
    max-width: 25ch;
    width: 100%;
    background-color: #083b88;
    color: white;
    border: 1px solid #083b88;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

#btn-validate:hover {
    background-color: white;
    color: #083b88;
    border: 1px solid #083b88;
}

#btn-validate:disabled {
    filter: grayscale(100%);
    pointer-events: none;
    opacity: 0.7;
}

hr {
    margin: 0;
}

/* QUIZ CHECKBOX */
.quiz-form-check {
    position: relative;
    margin: 0.5em;
    padding: 0;
    width: 100%;
    border: 1px solid white;
    border-radius: .5em;
    box-shadow: 0px 0px 5px grey;
    background-color: white; 
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    cursor: pointer;
}

.quiz-form-check.checked {
    border-color: #083b88;
    box-shadow: 0px 0px 7px #083b88;
}

.quiz-form-check > input.form-check-input {
    display: block;
    opacity : 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(100%, -50%);
}

.quiz-form-check > input.form-check-input:focus,
.quiz-form-check > input.form-check-input:checked {
    border-color:rgb(#083b88);
    background-color: rgb(#083b88);
}
.quiz-form-check > input.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(#083b88,0.25);
}

.quiz-form-check > label.form-check-label {
    flex-grow: 1;
    user-select: none;
    cursor: pointer;
}

.quiz-form-check > label.form-check-label > img {
    max-width: 100%;
    height: auto;
}

#qcm-part pre {
    width: min-content;
    margin: 0 auto;
}

#div-iframe{
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    #div-iframe{
        width: 100%;
        height: 100%;
        min-height: none;
        overflow: hidden;
        position: relative;
        margin-bottom: 1.5rem;
        padding-bottom: 56.25%;
    }
    #div-iframe iframe{
        position: absolute;
    }
}

.responses-div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
}
#consigne-part img {
    width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .responses-div {
        grid-template-columns: 1fr 1fr;
    }
    #consigne-part img {
        max-width: 750px;
        height: auto;
    }
    #selector-exercise {
        width: 50%;
    }
    .main-part {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
    
}

#wrapper-part{
    background-color: #F2F6FA;
    background-image: url("/EvidenceB/assets/images/playerBackground.png");
    background-repeat: repeat;
}

.code {
    color: black;
    border : 1px solid grey;
    border-radius: 5px;
    padding: 3px;
    background-color: lightgoldenrodyellow;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    font-weight: normal;
    margin : 0px;
}

#mode-select-div{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #FFC152;
    padding: 0.3em;
}

#mode-select-images{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.mode-select{
    cursor: pointer;
    border: none;
}
.mode-select:hover{
    filter: brightness(1.2);
    box-shadow: 0px 0px 5px black;
    scale: 1.1;
}
.mode-select p {
    margin: auto;
}
.mode-select img {
    width: 100%;
}

#mode-select-images button{
    width: 30%;
}

.span-answer-number {
    color: var(--text-0);
    border: black solid 1px;
    border-bottom: black solid 1px;
    border-radius: 5px;
    margin: 0;
    padding: 0 0.5em;
    position: relative;
    top: -0.5em;
    left: -0.5em;
    background: white;
    box-shadow: 1px 1px 0px 0.5px black;
}

.primary-eb{
    color: #084298;
    background-color: #cfe2ff;
    border: 1px solid #b6d4fe;
}
.info-eb{
    background-color: #cff4fc;
    color: #055160;
    border: 1px solid #b6effb;
}

.success-eb{
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.warning-eb{
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}

#indication-part{
    background-color: white;
    border-bottom: 1px solid black;
}

.main-part{
    background-color: #FAFAFE;
}

.btn-validate-part{
    position:sticky;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    border-top: black solid 1px;
    background-color: white;
}

#hint-part{
    border: 1px solid #083b88;
    border-radius: 5px;
}

#hint-text{
    margin: 0;
    padding: 1rem;
}

.volumeLow{
    width: 35px;
    height: 35px;
    margin-right: 15px;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 0px 5px grey;
}

.keySolid{
    width: 25px;
    height: 25px;
    margin-left: 10px;
    margin-right: 0px;
    margin-top: 16px;
}

.btn-zoom-editor {
    opacity: 1 !important;
}