#stm_quiz_questions {
    background-color: #f1f1f1;
    .ui-sortable-handle {
        background-color: #fff;
    }
    #section_questions {
        background-color: #f1f1f1;
        .stm-curriculum-single {
            background-color: #fff;
        }
    }
    .stm-curriculum-single-name {
        &:hover {
            border-bottom: 2px solid #3854ce;
        }
    }
}

.stm_metaboxes_grid .stm_metaboxes_grid__inner {
    .stm-curriculum-questions {
        .stm-curriculum-single--meta {
            padding: 15px 0 15px 35px !important;
        }
        .stm-curriculum-single {
            padding: 22px 17px 20px 15px !important;
            margin-bottom: 10px;
            border: 0 !important;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            border-radius: 0 !important;
            &-open {
                width: 33px !important;
                cursor: pointer;
                i {
                    display: block;
                    position: relative;
                    top: 1px;
                    left: 5px;
                    min-height: 30px;
                    &:before {
                        content: '+';
                        color: #3854ce;
                        font-weight: 700;
                        font-size: 21px;
                    }
                    &.lnr-chevron-up {
                        &:before {
                            content: '';
                            background-color: #3854ce;
                        }
                        &:after {
                            content: '';
                            display: block;
                            position: absolute;
                            top: 14px;
                            width: 10px;
                            height: 2px;
                            background-color: #3854ce;
                        }
                    }
                }
            }
            &-actions {
                margin-left: auto;
                width: 100px !important;
                .stm_lms_answers_container__delete,
                .lnr-pencil {
                    display: inline-block;
                    width: 35px;
                    height: 35px;
                    line-height: 35px;
                    text-align: center;
                    background-color: #f1f1f1;
                    font-size: 16px !important;
                    border-radius: 50%;
                    &:hover {
                        background-color: #3854ce;
                        color: #fff !important;
                        i {
                            color: #fff !important;
                        }
                    }
                }
                .stm_lms_answers_container__delete {
                    .lnr {
                        margin-left: 0;
                    }
                }
            }
            &-name {
                width: calc(100% - 150px) !important;
                input {
                    position: relative;
                    top: 3px;
                    font-size: 16px;
                    color: #23282d;
                    font-weight: 700;
                }
            }
            &--choices {
                display: flex;
                margin: 0 0 35px;
                flex-wrap: wrap;
                .stm_lms_radio {
                    margin-right: 20px;
                }
            }
        }
    }
    .stm-lms-questions {
        &-single {
            margin: 0 0 30px;
            &_answer {
                display: flex;
                margin: 0 0 20px;
                &:last-child {
                    border-bottom: 0;
                }
                input {
                    display: inline-block !important;
                    vertical-align: middle;
                    position: relative;
                    top: -1px;
                    margin: 0 5px 0 0;
                    &[type="text"] {
                        padding: 15px 10px;
                        margin: 0 0 0 15px;
                        width: calc(100% - 50px);
                    }
                }
                label {
                    display: block;
                    width: calc(100% - 60px);
                    font-weight: 400;
                    margin-bottom: 0;
                }
                textarea {
                    min-height: 70px;
                    height: 70px;
                    margin: 13px 0 0 40px;
                    width: calc(100% - 50px);
                    background-color: #fff;
                    box-shadow: none !important;
                    border-color: #bfbfbf;
                }
                .actions {
                    margin: 8px 0 0 auto;
                    width: 50px;
                    text-align: right;
                    .lnr {
                        position: relative;
                        display: inline-block;
                        margin-right: 15px;
                        width: 20px;
                        height: 20px;
                        line-height: 20px;
                        text-align: center;
                        border-radius: 50%;
                        cursor: pointer;
                        border: 1px solid #919396;
                        &.lnr-trash {
                            &:after,
                            &:before {
                                content: '';
                                display: block;
                                position: absolute;
                                top: 8px;
                                left: 4px;
                                width: 10px;
                                height: 2px;
                                background-color: #919396;
                                transform: rotate(45deg);
                            }
                            &:after {
                                transform: rotate(-45deg);
                            }
                        }
                        &:hover {
                            border-color: #3854ce;
                            &:before,
                            &:after {
                                background-color: #3854ce;
                            }
                        }
                    }
                }
            }
        }
        &-multi_choice {
            i.fa-check {
                top: 11px;
            }
        }
        &-true_false {
            i {
                top: 5px;
            }
        }
    }
}

.stm_lms_answers_container {
    display: flex;
    align-items: center;
    padding-left: 39px;
    &__input {
        position: relative;
        max-width: 35%;
        width: calc(100% - 350px);
        &:before {
            content: '+';
            position: absolute;
            top: 13px;
            left: 12px;
            display: inline-block;
            width: 20px;
            height: 20px;
            line-height: 14px;
            font-size: 17px;
            text-align: center;
            border: 2px solid #3854ce;
            color: #3854ce;
            font-weight: 700;
            border-radius: 50%;
        }
        input {
            width: 90% !important;
            padding-left: 40px !important;
            margin-bottom: 0 !important;
            border-color: transparent !important;
            box-shadow: none !important;
            background-color: #fff !important;
        }
        &:hover {
            input {
                border-color: #bfbfbf !important;
            }
        }
    }
    &__submit {
        width: 200px;
        .button {
            padding: 0 20px !important;
            height: 42px !important;
            line-height: 39px !important;
            margin-bottom: 0 !important;
        }
    }
}

.stm_lms_add_new_question {
    position: relative;
    display: flex;
    margin: 40px 0 0;
    min-height: 54px;
    flex-wrap: wrap;
    align-items: center;
    label {
        width: 100%;
    }
    input {
        margin-bottom: 0 !important;
        width: calc(100% - 200px) !important;
    }
    .button {
        display: block;
        height: 42px !important;
        line-height: 38px !important;
        margin-left: auto;
        margin-bottom: 0 !important;
        transition: 0s !important;
        font-size: 13px !important;
        padding: 0 20px !important;
    }
    //&:not(:hover) .button{
    //    position: absolute;
    //    top: 0;
    //    right: 0;
    //    bottom: 0;
    //    left: 0;
    //    border-radius: 0 !important;
    //}
}

.stm_lms_question_box {
    padding: 30px;
    background-color: #fff;
    //border: 1px solid #e1e1e1 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}