main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.text-error {
    color: #dc3545 !important;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

select {
    appearance: auto !important;
    --bs-form-select-bg-img: none !important;
}

.message-right {
    display: flex;
    justify-content: end;
}

.message-left {
    display: flex;
    justify-content: start;
}

.direct-chat-primary .right .message-right>.direct-chat-text {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
}

.direct-chat-primary .right .message-right>.direct-chat-text::after, .direct-chat-primary .right .message-right>.direct-chat-text::before {
    border-left-color: #007bff;
}

.message-text {
    display: inline-block !important;
    max-width: 40% !important;
    word-wrap: break-word !important;
    text-align: justify !important;
}

.margin-text-right {
    margin-right: 5px !important;
}

.margin-text-left {
    margin-left: 5px !important;
}

.message-timestamp {
    text-align: right !important;
    font-size: 0.8em !important;
    margin-top: 5px !important;
}

.message-left .message-text>.message-timestamp {
    color: #000000 !important;
}

.message-right .message-text>.message-timestamp {
    color: #ffffff !important;
}

.fs-7 {
    font-size: 14px !important;
}

.col-csm-1 {
    -ms-flex: 0 0 3.333333%;
    flex: 0 0 3.333333%;
    max-width: 3.333333%;
}

.select2-hidden-accessible{
    visibility: visible !important;
}
.card-counter {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    background-color: #3c8dbc;
    color: white;
    text-align: center;
    line-height: 30px;
    border-radius: 5px;
    margin-right: 10px;
}

.collapse-filter{
    cursor: pointer;
}

.badge-fontsize{
    font-size: 0.8rem !important;
    font-weight: bold !important;
}

.btn i {
    margin-right: 5px;
}

.layout-navbar-fixed .wrapper .brand-link {
    position: relative !important;
}

.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: 0 !important;
}

.brand-link .brand-image {
    max-height: 60px !important;
}

.user-panel img {
    width: 3rem !important;
}

.badge-wrap > .badge {
    text-wrap: wrap;
}


.input-group .help-block {
    width: 100%
}

.input-group .custom-password {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group .custom-password .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-toggle-eye {
    position: absolute;
    top: 7px;
    right: 10px;
    display: inline-block;
}


.form-group > .control-label{
    font-size: 1.2rem;
}

.form-input-switch {
    position: relative;
    display: inline-block;
}

.form-input-switch input[type="checkbox"] {
    display: none;
}

.form-input-switch label {
    cursor: pointer;
    display: inline-block;
    padding: 5px;
    font-size: 20px;
    color: #555;
}

.form-input-switch label i {
    transition: color 0.3s ease;
}

.form-input-switch input[type="checkbox"]:checked + label i.fa-eye {
    display: none;
}

.form-input-switch input[type="checkbox"]:checked + label i.fa-eye-slash {
    display: inline-block;
}

.form-input-switch i.fa-eye-slash {
    display: none;
}

.edit-center-fix{
    margin-left: 2px;
}

td > .badge{
    text-wrap: wrap;
}

.toggle-questions{
    cursor: pointer;
}

.constructor-question-variants {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.constructor-question-variants-input {
    -ms-flex: 0 0 85%;
    flex: 0 0 85%;
    max-width: 85%;
}

.constructor-question-variants-input > div {
    margin: 0 !important;
}

.constructor-question-buttons {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 16%;
}

.isHidden {
    display: none !important;
}
@media (max-width: 1650px) {
    .table thead th, .table tbody td{
        font-size: 12px;
    }
    .table-status-text{
        font-size: 0.8rem;
    }
}

@media (max-width: 1401px) {
    .table thead th, .table tbody td {
        font-size: 11px;
        padding: 7px;
    }
    .card .card-body .table thead > tr > th:first-of-type {
        padding-left: 7px;
    }
    .card .card-body .table thead > tr > th:last-of-type {
        padding-right: 7px;
    }
    .card .card-body .table thead > tr > td:first-of-type {
        padding-left: 7px;
    }
    .card .card-body .table thead > tr > td:last-of-type {
        padding-right: 7px;
    }
    .table .table-status-mark {
        height: 18px;
        min-width: 12px;
    }
}

.nav-tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    top: 50px;
    text-align: right;
    right: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-link:hover .nav-tooltip {
    visibility: visible;
    opacity: 1;
}
.serial-column{
    width: 5% !important;
}
.new-counter{
    padding: 2px 4px;
    margin-left: 5px;
    font-size: 0.8rem;
    color: white;
    border-radius: 5px;
    background-color: #007bff;
}
.field-userform-image:has(input.is-invalid) .invalid-feedback {
    display: block;
}
.help-block{
    color: #dc3545;
}
.form-control[aria-invalid="true"] {
    border-color: #dc3545;
}