﻿

.OPQuiz svg {
    max-width: 100%;
}


.OPQuizPhotoHere {
    background-size: cover;
    min-height: 200px;
    aspect-ratio: 3 / 2;
    width: 100%;
}

.OPQuizText {
    flex: 1;
    padding: 12px;
    background-color: #4eb1c9;
}

.OPQuizQuestion {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 40px;
    overflow-wrap: anywhere;
}

.OPQuizAnswer {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
    border: 1px solid #363636;
    padding: 4px;
    background-color: #FFFFFF;
    border-radius: 4px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

    .OPQuizAnswer label {
        display: inline;
    }

    .OPQuizAnswer, .OPQuizAnswer * {
        cursor: pointer;
    }

.OPQuizAnswer.correct {
    background-color: #67CC25;
}

.OPQuizCorrect {
    font-weight: 700;
}

.OPQuizWrong {
    color: #E60026;
    height: 18px;
    width: 18px;
    margin-left: 10px;
    display: inline-block;
    margin-bottom: 2px;
}

.OPQuizWrongSvg {
    height: 18px;
}

.OPQuizInputLabel {
    margin-left: 3px;
}

.OPQuizFeedbackAndNext {
    /*display: none;*/
    padding: 12px;
    border: 2px solid #67CC25;
    font-weight: 600;
    overflow-wrap: break-word;
}

.OPQuizNext {
    display: flex;
    padding: 12px;
}

.OPQuizNextButton {
    cursor: pointer;
    margin-left: auto;
    padding: 4px;
    border: 1px solid #363636;
    border-radius: 4px;
    background-color: #FFFFFF;
}

.OPQuizFinished {
    width: 100%;
    padding: 50px 30px 30px 30px;
    display: none;
    background-color: rgb(167, 216, 228);
    text-align: center;
    font-size: 1.875rem;
    box-sizing: border-box;
}

.OPQuizFinishedMessage {
    margin-bottom: 50px;
}

.OPQuizReplay {
    font-size: 1.25rem;
}

.OPQuizReplayButtonHere {
    margin-bottom: 30px;
}

.OPQuizReplayButton {
    background-color: #FFFFFF;
    font-weight: 700;
    border: 1px solid #363636;
    border-radius: 4px;
    padding: 4px;
    margin-bottom: 30px;
    font-size: 1.25rem;
    cursor: pointer;
}


@media (min-width: 768px) {
    .OPQuizPhotoHere {
        min-height: initial;
        aspect-ratio: initial;
    }

    .OPQuestion:not(.noimage) {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .OPQuiz .OPQuestion {
        min-height: 320px;
    }
}

@media (min-width: 992px) {

    .col-xl-12 .OPQuiz .OPQuestion {
        min-height: 420px;
    }
}
