.admin-quiz {
    width: 50%;
    margin: auto;
    @media(max-width: 992px) {
        width: 100%;
    }
}

.admin-quiz-question {
    position: relative;
    box-shadow: 0px 0px 15px -5px rgba(0, 0, 0, .3);
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
    transition: all 800ms;
    background: #f3f3f3;
    border: 1px solid #f3f3f3;
}

.admin-quiz-question-image {
    margin-top: 20px
}

.admin-quiz-option p,
.admin-quiz-option b {
    margin-left: 10px
}

.admin-quiz-question h4 {
    margin: 10px 0
}

.admin-quiz-question-remove i {
    position: absolute;
    top: 12px;
    right: 13px;
}

.admin-quiz-question-item img {
    width: 100%;
}

.admin-quiz-question-result {
    font-size: 25pt;
    position: absolute;
    top: 8px;
    right: 10px;
}

.admin-quiz-option {
    display: flex;
    align-items: center;
    margin: 10px 0;
    transition: all 800ms;
    border-radius: 10px;
    padding: 5px 10px;
}

.admin-quiz-option .option {
    height: 40px
}

#admin-quiz-remove-question:hover,
#admin-quiz-remove-option:hover,
#admin-quiz-add-option:hover,
#admin-quiz-add-question:hover {
    cursor: pointer;
}

#admin-quiz-remove-option {
    font-size: 16px;
    padding-right: 10px;
}

.admin-quiz-option-prefix {
    height: 40px;
    width: 45px;
    min-width: 45px;
    background: #267350;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 16pt;
}

.admin-show-quizzes {
    margin-top: 20px
}

.admin-show-quizzes h2 {
    margin-bottom: 15px
}

.admin-show-quiz,
.admin-show-exam {
    position: relative;
    max-width: 300px;
    border: 1px solid #dadada;
    border-radius: 5px;
    padding: 0 15px;
    margin: 15px 0;
    box-shadow: 0px 0px 25px -15px rgba(0, 0, 0, 0.3);
    text-align: left;

    p {
        padding: 5px 0;
    }
    a {
        position: absolute;
        top: 0px;
        right: 0px;
        background: #009688;
        height: 100%;
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        border-bottom-right-radius: 5px;
        border-top-right-radius: 5px;
    }
}

.admin-show-exam {
    margin: 15px 0;
}

#admin-quiz-add-option {
    margin-top: 10px
}

#admin-quiz-add-single-question,
#admin-quiz-add-multiple-question {
    display: inline;
}

.admin-quiz-correct-title {
    position: absolute;
    top: 0;
    right: 0;
}


/* USER QUIZZES */

.user-quizzes {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.user-quiz {
    display: block;
    position: relative;
    padding: 15px;
    border-radius: 3px;
    background: #f7f9f8;
    border: 1px solid #e9e9e9;

    & > * {
        margin-bottom: 15px;
    }
    i {
        margin-right: 5px;
    }
    .course-title, .module-title {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .course-title {
        font-weight: bold;
        font-size: 12pt;
        margin-bottom: 7px;
    }
    .module-title {
        font-size: 9pt;
    }
    .percentage {
        display: flex;
        align-items: center;
        margin-bottom: 20px;

        h1 {
            margin-left: 10px;
            margin-right: 10px;
            border-right: 1px solid #d7d7d7;
            padding-right: 10px;
        }
    }
    .view {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        margin: 0;
        background: #e9e9e9;
        border-top: 1px solid #e9e9e9;
        color: white;
        
        a {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 5px 0;

            i {
                font-size: 11pt;
            }
            span {
                font-size: 10pt;
            }
        }
    }
}

.user-quizzes-result button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    height: 39px;
    border: 1px solid #dddddd;
    font-weight: 100;

    &.btn-green i {
        color: green;
    }
    &.btn-orange i {
        color: #d49e43;
    }
    &.btn-red i {
        color: #da3434;
    } 

    &:hover,
    &:active {
        background: #d3d3d3;
        color: black
    }
}