/* Add here all your CSS customizations */

.body-login {
    background: #fff url('/img/login.jpg');
    background-size: cover;
}


.answers-block .answer-item .delete-row {
    color: #666;
    margin-left: 10px;
}

.answers-block .answer-item {
    display: flex;
    align-items: center;
    position: relative;
}

.answers-block .answer-item:not(:last-child) {
    margin-bottom: 15px;
}

.answers-block .answer-item .answer-text {
    width: 100%;
}

.answers-block .answer-item .answer-check {
    display: flex;
    align-items: center;
    position: absolute;
    right: -170px;
}

.answers-block .answer-item .answer-check .checkbox-custom {
    margin-bottom: 0;
}


.fa-trash-alt {
    color: #666;
}

.table .actions button {
    background: none;
    border: none;
    margin-left: 10px;
}


#imageModal {
    overflow: hidden;
}

#imageModal .modal-dialog {
    max-width: 1000px;
}

html .btn {
    border-radius: 100px;
}

/* CSS */
html .btn-primary {
    align-items: center;
    background-color: #0A66C2;
    border: 0;
    border-radius: 100px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 20px;
    max-width: 480px;
    min-height: 40px;
    min-width: 0px;
    overflow: hidden;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    touch-action: manipulation;
    transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
}

html .btn-primary:hover,
html .btn-primary:focus {
    background-color: #16437E;
    color: #ffffff;
}

html .btn-primary:active {
    background: #09223b;
    color: rgb(255, 255, 255, .7);
}

html .btn-primary:disabled {
    cursor: not-allowed;
    background: rgba(0, 0, 0, .08);
    color: rgba(0, 0, 0, .3);
}

ul.nav-main li .nav-children li.nav-active {
    background: #0A66C2;
}

ul.nav-main li .nav-children li.nav-active>a {
    color: #fff;
}

.nav-link:hover {
    color: #333;
}

table {
    font-size: 16px;
}

ul.nav-main li a {
    font-size: 15px;
}


.alert-success {
    position: fixed;
    right: 30px;
    top: 20px;
    z-index: 99999;
    font-size: 15px;
    padding: 40px 60px 40px 40px;
    font-weight: 600;
}

.alert p {
    color: #0a3622;
}

#add-answer-button {
    display: block;
    margin-left: auto;
}

.question-image-link {
    display: flex;
    width: 100%;
    height: 100%;
}

#question_text-textarea {
    min-height: 300px;
    font-size: 18px;
}

.courses-list,
.tests-list,
.questions-list {
    padding: 0;
    list-style: none;
}

.file-wrapper {
    display: flex;
    margin: 30px 0;
    align-items: flex-end;
}

.file-wrapper i {
    font-size: 40px;
}

.ck-editor__editable[role="textbox"] {
    /* editing area */
    min-height: 300px;
}

.ck-powered-by-balloon {
    display: none !important;
}

.document-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    flex-direction: column;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #ebecee;
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

.document-item .buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
}

.documents-block {
    margin-top: 50px;
}

.document-item .buttons button {
    border: none;
    margin-left: 5px;
    background: none;
}

.document-item .buttons button i {
    color: #0a66c2;
    font-weight: 900;
}


.document-item .document-icon {
    margin-bottom: 10px;
}

.question-item {
    padding: 20px;
    border: 1px solid #ebecee;
    border-radius: 20px;
    margin-bottom: 20px;
}

.question-item .question-number {
    color: #000;
    font-weight: 600;
    font-size: 20px;
}

.question-item .question-text {
    font-size: 20px;
    line-height: 1.2;
    margin-top: 20px;
    color: #000;
    font-weight: 400;
}

.question-item .answers {
    margin-top: 20px;
    font-size: 16px;
    color: #000;
}

.to-back {
    margin-bottom: 50px;
}

.to-back a {
    display: flex;
    align-items: center;
    width: 100px;
    font-size: 18px;
    color: #000;
    line-height: 1;
}

.show-course-row .resource-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.test-info {
    font-size: 20px;
    color: #000;
    margin-bottom: 50px;
    margin-top: 50px;
}

p.exam {
    font-size: 42px;
    color: rgb(20, 194, 4);
    font-weight: bold;
}

p.exam.failed {
    color: rgb(240, 54, 54);
}
