.mb-10 {
    margin-bottom: 10px !important;
}
.mb-20 {
    margin-bottom: 20px !important;
}
.mt-20 {
    margin-top: 20px !important;
}

/* Login page */
.login-page {
    display: flex;
    align-items: center;
}
.login-page .row {
    margin-top: 72px;
    height: calc(100vh - 72px);
}
.login-page > .row {
    align-items: center;
}
.login-page > .row > .col-6:nth-child(1) {
    display: flex;
    align-items: center;
}
.login-page > .row > .col-6:nth-child(2) {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}
.login-page form, .login-page .col-6:nth-child(1) {
    gap: 24px;
    display: flex;
    flex-wrap: wrap;
}
.login-page input[type=text], .login-page input[type=password] {
    width: 370px;
}
.login-page label.form-label {
    margin-bottom: 10px;
}
@media (max-width: 480px) {
    #username {
        width: 100%;
    }
    #password {
        width: 100%;
    }
    #authorSelect {
        width: 100%;
    }
    #testerSelect {
        width: 100%;
    }
    #assignerSelect {
        width: 100%;
    }
    #assignTargetSelect {
        width: 100%;
    }
    #testAuthorSelect {
        width: 100%;
    }
    .login-page #confirmPassword {
        width: 100%;
    }
}

/* Sign up page */
.sign-up-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 860px;
}
@media (max-width: 768px) {
    .sign-up-page {
        height: calc(100vh + 350px);
        width: unset;
    }
}
.sign-up-page .card {
    padding: 24px 30px 30px 30px;
}
@media (max-width: 576px) {
    .sign-up-page .card {
        padding: 0;
        border: none;
    }
}
.sign-up-page label.form-label {
    margin-bottom: 10px;
}
.sign-up-page .form-group, .sign-up-page h1 {
    margin-bottom: 24px;
}

/* Test assign page */
.test-assign {
    padding-bottom: 0 !important;
}
.test-assign .row.justify-content-between, .admin-tests-list h1,
.to-pass-tests-list h1, .verification-tests-list h1, .verified-list h1,
.test-assign-list h1, .verify-view h1, .verify-view #testNameTag,
.users-edit h1, .user-view h1 {
    margin-bottom: 20px;
}
.test-assign .h3 {
    margin-bottom: 20px;
}
.test-assign .search-group {
    width: 320px;
}
.filter-row {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.buttons-cell {
    width: 160px;
}
.tools-cell.buttons-cell {
    display: flex;
    flex-direction: row;
    gap: 18px;
}

@media (max-width: 767px) {
    .tools-cell.buttons-cell {
        gap: 0;
    }
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
}
.form-check input {
    margin: 4px 0;
}
.form-check p {
    margin: 0;
    padding-top: 3px;
}

#progressbar {
    z-index: 1;
    height: 8px;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
}
#testView .col-xl-9 {
    padding: 30px 40px 120px 0;
}
#testView .col-xl-3 {
    padding: 30px 0 0 0;
}
@media (max-width: 1199px) {
    #testView .col-xl-9 {
        padding: 30px 0 120px 0;
    }
}
.test-pass-view {
    padding: 100px 12px 0 12px;
}

#testView p.h4 {
    margin-bottom: 24px;
    max-width: 800px;
}

#questionContainer {
    margin-bottom: 24px;
}
#questionContainer > * > * > .text-medium {
    margin-bottom: 12px;
}

#questionContainer > * > * > label {
    margin-bottom: 6px;
}

.content-start-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}
@media (max-width: 992px) {
    .content-start-padding {
        padding-bottom: 40px !important;
    }
}

.users-edit .search-group {
    width: 400px;
}
.users-edit h1 {
    margin-bottom: 20px;
}

#questionListContainer > .d-flex, #questionListContainer {
    gap: 10px;
}

.question-list-title {
    padding: 7px 0 24px 0;
}

.change-password {
    width: 100%;
    gap: 24px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.search-input {
    background-image: url("/img/icon/search-icon-gray.svg");
    background-repeat: no-repeat;
    background-position: right 6px center;
    width: 250px;
    padding: 0 36px 0 12px;
}

.bs-searchbox .form-control {
    background-image: url("/img/icon/search-icon-gray.svg");
    background-repeat: no-repeat;
    background-position: right 6px center;
    padding: 0 36px 0 12px;
    height: 38px;
}

.dropdown-menu.inner.show .selected.active {
    color: #ffffff;
}

.dropdown-menu.inner.show .selected.active:hover {
    color: #212529;
}

.dropdown-menu.inner.show .dropdown-item {
    /*height: 15px;*/
}

.list-page .collapse, .list-page .collapsing {
    transition: all 0s ease 0s !important;
    padding-bottom: 24px !important;
}
.list-page {
    padding-bottom: 0 !important;
}
@media (max-width: 991px) {
    .test-assign .list-page {
        padding-bottom: 25px !important;
    }
    .test-assign #testTable thead {
        display: none;
    }
    .test-assign .col-12.col-lg-8.list-page {
        padding-bottom: 0 !important;
    }
    .test-assign.content-start-padding {
        padding-bottom: 0 !important;
    }
}
@media (min-width: 1200px) {
    .filter-show-btn {
        display: none;
    }
    .list-page .collapse {
        display: block !important;
    }
    .user-permission-container {
        display: none;
    }
}
.user-permission-container {
    padding-bottom: 24px;
}

.overflow-wrap-anywhere {
    overflow-wrap: anywhere;
}
.padding-top-20 {
    padding-top: 20px;
}
.padding-top-30 {
    padding-top: 30px;
}
.mb-20 {
    margin-bottom: 20px;
}