* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
    outline: none !important;
}

.fa-manage-user-tests:before,
.fa-manage-children-tests:before,
.fa-manage-assigner-tests:before {
    content: "\f03c";
}

.filters:has(.modern-ui-filter-wrapper) {
    overflow: auto;
}

#filter-popup {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.fa-certificate-achievement:before {
    content: "\f091";
}

.fa-school-settings-imports:before {
    content: "\f093";
}

.fa-profile:before {
    content: "\f2bd";
}

.fa-archive-top-menu:before {
    content: "\f187";
}

.fa-reporting-student-attendance:before,
.fa-children-attendance-report:before,
.fa-reporting-top-menu:before,
.fa-parent-reporting-top-menu:before {
    content: "\f15b";
}

.fa-public-schools:before,
.b-db-table-public_schools i.fa.fa-table:before,
.fa-company-join:before {
    content: "\f19c";
}

.fa-school-imports:before {
    content: "\f019";
}

.fa-children-calendar:before,
.fa-calendar:before {
    content: "\f133" !important;
}

.fa-points-accrual:before {
    content: "\f0d6";
}

.fa-marketplace-shop:before {
    content: "\f07a";
}

.fa-aikom-top-menu:before {
    content: "\f074";
}

.fa-manage-competitions:before {
    content: "\f11e";
}

.fa-trainings-top-menu:before {
    content: "\f0a3";
}

.fa-manage-marketplace:before {
    content: "\f07a";
}

.b-db-table-teacher-journal-remarks i.fa.fa-table:before,
.fa-teacher-journal-remarks:before {
    content: "\f12a";
}

#menu-item-teacher-journal-remarks-link > span {
    width: 80%;
}

.fa-company-join-requests-top-menu:before, .fa-manage-join-requests:before {
    content: "\f2bb";
}

#menu-item-manage-join-requests-link > span {
    font-size: 13px;
}

.fa-support:before {
    content: "\f059";
}

.fa-mobile-show-menu-button:before {
    content: "\f142";
}

.fa-admin:before {
    content: "\f013";
}

.fa-class-streams:before {
    content: "\f03d";
}

.fa-manage-class-streams:before {
    content: "\f03d";
}

.b-db-table-staff_books i.fa.fa-table:before,
.b-db-table-student_books i.fa.fa-table:before,
.b-db-table-parent_books i.fa.fa-table:before,
.fa-manage-library:before,
.fa-library:before {
    content: "\f02d";
}

.b-db-table-conferences_view i.fa.fa-table:before,
.fa-conferences:before {
    content: "\f03d";
}

.fa-gifts-top-menu:before {
    content: "\f06b";
}

.fa-monetization-top-menu:before {
    content: "\f155";
}

.fa-gifts-shop-top-menu:before {
    content: "\f06b";
}

.fa-broadcasting:before {
    content: "\f0a1";
}

.fa-gamification:before {
    content: "\f12e";
}

.fa-users-notes-log:before {
    content: "\f249";
}

.fa-pdf-builder-top-menu:before {
    content: "\f1c1"
}

.fa-manage-meals:before {
    content: "\f0f5";
}

.fa-scheduler:before,
.fa-schedule:before,
.fa-lesson-timesheet:before,
.fa-lesson-schedule:before,
.b-db-table-lesson-timesheet i.fa.fa-table:before,
.fa-head-staff-lesson-timesheet:before {
    content: "\f073";
}

.fa-my-section:before,
.b-db-table-my_students_attendances i.fa.fa-table:before,
.b-journal-students.only-view i.fa.fa-edit:before,
.b-journal-students.only-view i.fa.fa-table:before,
.b-db-table-my_students i.fa.fa-table:before,
.b-db-table-students2parents i.fa.fa-table:before,
.b-db-table-achievements i.fa.fa-table:before,
.b-db-table-students_migrations i.fa.fa-table:before,
.fa-students:before {
    content: "\f19d";
}

.fa-staff:before {
    content: "\f27e";
}

.fa-tests:before {
    content: "\f03c";
}

.fa-user-tags:before {
    content: "\f02c";
}

.fa-dashboards:before,
.fa-window-restore:before {
    content: "\f2d2";
}

.fa-area-chart:before {
    content: "\f1fe";
}

.fa-reporting-student-grades:before,
.fa-children-grades-report:before,
.fa-certificate:before {
    content: "\f0a3";
}

.b-db-table-courses i.fa.fa-table:before,
.b-db-table-courses_manage i.fa.fa-table:before,
.fa-classroom-courses:before,
.fa-courses:before {
    content: "\f212";
}

.b-db-table-skipping-journal i.fa.fa-edit:before,
.b-db-table-skipping-journal i.fa.fa-table:before,
.b-db-table-teacher-activity i.fa.fa-edit:before,
.b-db-table-teacher-activity i.fa.fa-table:before,
.b-db-table-reports i.fa.fa-edit:before,
.b-db-table-reports i.fa.fa-table:before,
.b-db-table-journal-excursions i.fa.fa-edit:before,
.b-db-table-journal-excursions i.fa.fa-table:before,
.b-db-table-briefings i.fa.fa-edit:before,
.b-db-table-briefings i.fa.fa-table:before,
.b-db-table-intro_briefings i.fa.fa-table:before,
.b-db-table-study_groups_students_migrations i.fa.fa-table:before,
.b-db-table-journal_remarks i.fa.fa-table:before,
.fa-reports:before {
    content: "\f200";
}


.fa-diary:before,
.fa-children-diary:before,
.fa-grades:before,
.fa-diary-top-menu:before,
.fa-parent-diary-top-menu:before {
    content: "\f006";
}

.fa-news:before {
    content: "\f05a";
}

.fa-timeline:before {
    content: "\f09e";
}

.fa-learning-management-system:before {
    content: "\f073";
}
.fa-student-information-system:before {
    content: "\f2bb";
}
.fa-health:before {
    content: "\f0f1";
}
.fa-administrative-ops:before {
    content: "\f013";
}
.fa-help:before {
    content: "\f128";
}

.fa-manage-inventory:before {
    content: "\f0f2";
}

.b-db-table-assignments i.fa.fa-edit:before,
.b-db-table-assignments i.fa.fa-table:before,
.b-db-table-uploads i.fa.fa-table:before,
.fa-children-assignments:before,
.fa-reporting-student-homework:before,
.fa-assignments:before {
    content: "\f0ae";
}

.fa-inclusivity-students:before {
    content: "\f0f1";
}

.b-db-table-schools_attendance i.fa.fa-table:before,
.fa-attendance:before {
    content: "\f0ea";
}

.fa-expenses:before {
    content: "\f0d6";
}

.fa-art-journals-top-menu:before,
.fa-art-c-master-top-menu:before {
    content: "\f001";
}

.fa-after-school-menu::before,
.fa-after-school-registrations::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask: url("../images/button-icons/programs.svg") no-repeat center;
    mask: url("../images/button-icons/programs.svg") no-repeat center / contain;
}

.b-journal-students i.fa.fa-edit:before,
.b-journal-students i.fa.fa-table:before,
.fa-journal:before {
    content: "\f02e";
}

.fa-chat-rooms:before {
    content: "\f086";
}

.fa-children-manage:before,
.fa-children-programs:before,
.fa-after-school-children:before,
.b-db-table-parents2students i.fa.fa-table:before,
.fa-childs:before {
    content: "\f1ae";
}

.fa-quizzes:before, .fa-manage-quizzes:before {
    content: "\f128";
}

.fa-programs-top:before {
    content: "\f0e8";
}

.b-db-table-friend_requests i.fa.fa-table:before,
.fa-friends:before {
    content: "\f0c0";
}

.fa-children-report-card:before,
.fa-report-card:before {
    content: "\f07c";
}

.fa-parents:before {
    content: "\f2be";
}

.b-db-table-substitution_log i.fa.fa-table:before,
.fa-substitution-log:before {
    content: "\f079";
}

.b-db-table-vacations i.fa.fa-table:before,
.b-db-table-vacations-report i.fa.fa-table:before,
.fa-manage-vacations:before {
    content: "\f111";
}

.fa-manage-school-settings:before {
    content: "\f085";
}

.fa-individual-educational-plans:before {
    content: "\f126";
}

.fa-leaderboards:before {
    content: "\f091";
}

.fa-incidents:before {
    content: "\f071";
}

.fa-calendar-planning:before {
    content: "\f274";
}

.b-journal-students td input {
    width: 100%;
    min-width: 40px;
    text-align: center;
}

#left-panel {
    height: 100%;
    overflow: auto;
}

#left-panel > nav {
    padding-bottom: 50px;
}

video {
    width: 100%;
    height: 300px;
}

.news-time {
    padding-top: 10px;
}

.b-contents-list .news-block {
    padding: 5px;
}

iframe.app-container {
    width: 100%;
    height: 80vh;
    border: 0;
}

.fa-apps:before,
.b-db-table-apps i.fa.fa-table:before,
.fa-gamefication:before,
.fa-game-center:before {
    content: "\f11b";
}

.fa-apps:before {
    content: "\f135";
}

.fa-manage-user-modules:before {
    content: "\f022";
}


@media screen and (min-width: 768px) {
    .modal-manual .modal-dialog.modal-lg {
        width: 1200px;
        margin: 30px auto;
    }
}

#left-panel {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: auto !important;
    bottom: 0;
    height: auto;
    position: fixed !important;
}

.hidden-menu #left-panel {
    left: -220px;
}

.minified.mobile-view-activated #left-panel {
    position: fixed !important;
    overflow: auto;
}

.hidden-menu #main {
    margin-left: 0px;
}

@media only screen and (max-width: 979px) {
    body {
        overflow: hidden;
    }

    .page-content-overlay {
        background: 0 0;
        -webkit-transition: background .3s;
        transition: background .3s;
        position: fixed;
        z-index: 1001;
    }

    .hidden-menu .page-content-overlay {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, .09);
    }

    .hidden-menu #left-panel {
        z-index: 12000;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .hidden-menu #main {
        left: 0px;
    }

    #left-panel {
        left: -220px;
    }
}

@media (max-width: 767px) {
    .fixed-navigation #left-panel {
        position: fixed !important;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
    .hidden-menu #left-panel {
        left: 0px;
    }

    .hidden-menu #main {
        position: relative;
        left: 0px;
    }
}

@media (max-width: 767px) {
    .hidden-menu #left-panel {
        position: fixed !important;
        left: 0px;
    }

    .jarviswidget-ctrls {
        display: none;
    }
}

@media only screen and (max-width: 679px) and (min-width: 0px) {
    .hidden-menu #main {
        left: 0px;
    }

    div.dataTables_paginate {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    ul.pagination {
        display: flex;
    }
}

@media (max-width: 767px) {
    .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
        white-space: initial;
    }

    .widget-body.table-responsive {
        overflow-x: auto !important;
    }

    div.dt-bottom-row .dataTables_info {
        float: initial;
    }

    ul.dropdown-menu {
        /*top: auto !important;*/
        /*margin: 0 35px 0;*/
    }
}

/* avatar in dgs */

.table-avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.rounded-circle {
    border-radius: 50% !important;
    margin: 0 12px;
}

.avatar-xs {
    height: 3.2rem;
    width: 3.2rem;
}

/* avatar in profile */
div#avatar_file {
    position: relative;
    height: auto;
    max-width: 200px;
    margin: 0 auto;
    overflow: hidden;
}

div#avatar_file .input-group-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    display: block;
    width: initial;
    line-height: 1;
}

div#avatar_file .input-group-btn button {
    width: max-content;
}

div#avatar_file img {
    max-width: 200px;
    height: auto;
}

/* avatar field */
.avatar-field {
    position: relative;
    max-width: 205px;
    margin: 24px auto;
}

.avatar-field__input {
    display: none !important;
}

.avatar-action__outer {
    position: absolute;
    z-index: 1;
    display: block;
}

.avatar-action--hidden {
    display: none;
}

.avatar-action__outer--bottom-left {
    left: 24px;
    bottom: 10px;
}

.avatar-action__outer--bottom-right {
    right: 24px;
    bottom: 10px;
}

.avatar-action__outer--top-right {
    right: 24px;
    top: 10px;
}

.avatar-action__btn {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.avatar-action__btn:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.avatar-action__btn--edit-default {
    background-color: #659EF4;
    border-color: #659EF4;
}

.avatar-action__btn--edit-default:hover {
    background-color: #3276B1;
    border-color: #3276B1;
}

.avatar-action__btn--edit-default:after {
    content: "\f044";
    font-family: 'FontAwesome';
    color: #fff;
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-action__btn--add {
    background-color: #28a745;
    border-color: #28a745;
}

.avatar-action__btn--add:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.avatar-action__btn--add:after {
    content: "\f067";
    font-family: 'FontAwesome';
    color: #fff;
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-action__btn--replace {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.avatar-action__btn--replace:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.avatar-action__btn--replace:after {
    content: "\f040";
    font-family: 'FontAwesome';
    color: #212529;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-action__btn--remove {
    background-color: #dc3545;
    border-color: #dc3545;
}

.avatar-action__btn--remove:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.avatar-action__btn--remove:after {
    content: "\f00d";
    font-family: 'FontAwesome';
    color: #fff;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-field__preview-contour {
    width: 192px;
    height: 192px;
    position: relative;
    border-radius: 100%;
    border: 6px solid #F8F8F8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.avatar-field__preview-container {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* end avatar field */

/* checkboxToggle field */
.f-db-form .toggle {
    margin-bottom: 4px;
    padding-right: 61px;
    font-size: 15px;
    line-height: 25px;
    color: #404040;
    cursor: pointer;
    position: relative;
    display: block;
    font-weight: 400;
}

.f-db-form .toggle:last-child {
    margin-bottom: 0;
}

.f-db-form .toggle input {
    display: none;
}

.f-db-form .toggle input:checked + i {
    border-color: #3276B1;
}

.f-db-form .toggle i {
    content: '';
    position: absolute;
    top: 4px;
    display: block;
    width: 92px;
    height: 18px;
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
    border-color: #BDBDBD;
    background: rgba(255, 255, 255, .12);
    transition: border-color .3s;
    -o-transition: border-color .3s;
    -ms-transition: border-color .3s;
    -moz-transition: border-color .3s;
    -webkit-transition: border-color .3s;
}

.f-db-form .toggle i:after {
    content: attr(data-swchoff-text);
    position: absolute;
    top: 1px;
    right: 8px;
    left: 8px;
    font-style: normal;
    font-size: 11px;
    line-height: 13px;
    font-weight: 700;
    text-align: right;
    color: #5f5f5f;
}

.f-db-form .toggle i:before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 4px;
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    opacity: 1;
    background-color: #3276B1;
    transition: right .2s;
    -o-transition: right .2s;
    -ms-transition: right .2s;
    -moz-transition: right .2s;
    -webkit-transition: right .2s;
}

.f-db-form .toggle input:checked + i:after {
    content: attr(data-swchon-text);
    text-align: left;
}

.f-db-form .toggle input:not(:checked) + i:before {
    right: 77px;
}

/* end checkboxToggle field */

textarea {
    resize: vertical;
}

.table-achievements textarea {
    height: 100px;
}

.th-achievements {
    background-color: #b0ccff;
}

.dropdown-toggle-achievements {
    width: 35px;
}

.dropdown-toggle-achievements, .dropdown-toggle-journal, .filter-toggle-journal {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 8px !important;
    color: white;
    padding: 6px 9px;
}

.dropdown-toggle-achievements:active, .dropdown-toggle-achievements:focus, .dropdown-toggle-achievements:hover,
.dropdown-toggle-journal:active, .dropdown-toggle-journal:focus, .dropdown-toggle-journal:hover,
.filter-toggle-journal:active, .filter-toggle-journal:focus, .filter-toggle-journal:hover {
    color: white !important;
    background: #6485DF !important;
}

.dropdown-item-achievements {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333;
    white-space: nowrap;
}

.charter-text {
    display: inline;
}

.input-subject-rename {
    width: auto;
    display: inline;
}

.table-achievements table thead td,
.table-achievements table thead th {
    vertical-align: middle;
}

.btn-homework, .btn-homework-file {
    box-shadow: none;
}

#left-panel::-webkit-scrollbar {
    width: 6px;
}

#left-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#left-panel::-webkit-scrollbar-thumb {
    background: #777;
}

#left-panel::-webkit-scrollbar-thumb:window-inactive {
    background: #333;
}

.f-db-form-user_profile input#login.form-control.e-dgs-field-input:read-only {
    background: #eee;
}

.vertical-align-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 70px);
}

.menu-top-list {
    max-height: 200px;
    overflow-y: auto;
}

.e-dgs-row-item-textarea, .e-dgs-row-item-text {
    word-break: break-word;
}

.b-signin-logo img {
    width: 40% !important;
}

.circle {
    display: inline;
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    animation: ripple 15s infinite;
    box-shadow: 0px 0px 1px 0px #508fb9;
}

.small {
    width: 200px;
    height: 200px;
    left: -100px;
    bottom: -100px;
}

.medium {
    width: 400px;
    height: 400px;
    left: -200px;
    bottom: -200px;
}

.large {
    width: 600px;
    height: 600px;
    left: -300px;
    bottom: -300px;
}

.xlarge {
    width: 800px;
    height: 800px;
    left: -400px;
    bottom: -400px;
}

.xxlarge {
    width: 1000px;
    height: 1000px;
    left: -500px;
    bottom: -500px;
}

.shade1 {
    opacity: 0.2;
}

.shade2 {
    opacity: 0.5;
}

.shade3 {
    opacity: 0.7;
}

.shade4 {
    opacity: 0.8;
}

.shade5 {
    opacity: 0.9;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(0.8);
    }
}

.ripple-background {
    display: inline;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
}

.well {
    z-index: 2 !important;
}

body#login, #login #main {
    background: #3399ff;
    background-image: unset;
}

body {
    overflow: hidden;
}

#login {
    overflow: visible;
}

.date-btn-filter-group-current-link {
    left: 10px;
}

@media (max-width: 767px) {
    .date-btn-filter-group {
        display: flex;
    }

    .date-btn-filter-group button {
        flex: 1;
    }

    .date-btn-filter-group-current-link {
        margin: 15px 25% 5px 25%;
    }
}

.app-chat {
    /*margin-bottom: 90px;*/
}

.form-edit-feed textarea {
    max-height: 30vh;
}

@media (max-width: 700px) {
    .divMessageBox {
        overflow-y: scroll;
    }
}

@media (max-width: 350px) {
    .smart-form footer .btn {
        padding: 0px 9px;
        margin: 10px 0 0 0px;
    }
}

@media (max-width: 767px) {
    .date-btn-filter-group {
        display: flex;
    }

    .date-btn-filter-group button {
        flex: 1;
    }

    .date-btn-filter-group-current-link {
        margin: 15px 25% 5px 25%;
    }
}

@media (min-width: 600px) and (orientation: landscape) {
    #main {
        min-height: unset;
    }
}

.users-points__text {
    margin-top: 5px;
    background: #f6f6f6;
    color: #6D6A69;
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    height: 30px;
}

@media (max-width: 880px) {
    .users-points__text {
        height: 39px;
    }
}

.users-points__points {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.users-points__text img {
    height: 16px;
    margin-right: 3px;
}

.users-points__text:hover,
.users-points__text:focus {
    color: #6D6A69;
    text-decoration: none;
}

.users-points__star {
    color: #dcab48;
}

.badge.menu-item-activity-counter {
    background: #FFB050;
    padding: 0 6px;
    border-radius: 12px;
}

@media (max-width: 979px) {
    .users-points__text {
        margin-top: 4px;
    }
}

@media (max-width: 880px) {
    .users-points__text {
        margin: 0;
        line-height: 29px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .users-points__points {
        max-width: 60px;
    }
}

.page-content-loader {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

#logout {
    display: none;
}

.label-required span {
    padding-right: 12px;
    background-size: 12px;
}

img.m-required {
    width: 12px;
    height: 12px;
}

#menu-item-profile-link {
    display: none;
}

@media (max-width: 767px) {
    .table-bordered > tbody > tr > td {
        font-size: 12px;
        word-break: normal;
    }

    td.e-db-table-row-actions > .btn-group.open > .dropdown-toggle > .dropdown-menu {
        margin-right: 50px;
    }

    ul.dropdown-menu {
        /*margin-top: -20px;*/
    }
}

/* header points styling */

.users-points__text {
    background: unset;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

.users-points__text:hover {
    color: whitesmoke;
}

.users-points__points {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.users-points__points.high-points {
    font-size: 11px;
}

.users-points__text img {
    height: 40px;
    margin-right: unset;
}

/* header points styling */

.input-group.file-input .input-group-btn button.btn {
    width: 40px;
    margin-right: 15px;
}

/* holidays */

.table-bordered > tbody > tr > td.holiday-background-autumn {
    background-image: url(../images/holidays/autumn-holiday-left.svg),
    url(../images/holidays/autumn-holiday-right.svg) !important;
    background-position: left top, right bottom !important;
    background-repeat: no-repeat, no-repeat !important;
}

.table-bordered > tbody > tr > td.holiday-background-spring {
    background-image: url(../images/holidays/spring-holiday-left.svg),
    url(../images/holidays/spring-holiday-right.svg) !important;
    background-position: left top, right bottom !important;
    background-repeat: no-repeat, no-repeat !important;
}

.table-bordered > tbody > tr > td.holiday-background-summer {
    background-image: url(../images/holidays/summer-holiday-left.svg),
    url(../images/holidays/summer-holiday-right.svg) !important;
    background-position: left top, right bottom !important;
    background-repeat: no-repeat, no-repeat !important;
}

.table-bordered > tbody > tr > td.holiday-background-winter {
    background-image: url(../images/holidays/winter-holiday-left.svg),
    url(../images/holidays/winter-holiday-right.svg) !important;
    background-position: left top, right bottom !important;
    background-repeat: no-repeat, no-repeat !important;
}

input.e-chat-list-filter__search::placeholder {
    background-image: url(../images/button-icons/search-icon.svg);
    background-position: right center;
    background-repeat: no-repeat;
}

.fa-white-comment:before {
    content: url(../images/button-icons/comment-icon.svg);
}

.fa-white-video-camera:before {
    content: url(../images/button-icons/camera-white-icon.svg);
}

.modal-body dl.dl-horizontal dd.span5 div.btn-group span.btn.btn-default {
    margin: -40px -0 -20px -15px;
}

.modal-body dl.dl-horizontal dd.span5 div.btn-group button.btn.btn-default {
    margin: -15px -0 -20px -15px;
}

.modal-body dl.dl-horizontal dd.span5 {
    margin-bottom: 10px;
}

div.project-context {
    margin-left: 4px;
}

div.project-selector {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    color: #FFFFFF;
}

.project-selector-text {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

ul.menu-top-list {
    max-width: 500px;
}

ul.menu-top-list > li > a {
    white-space: normal;
    padding: 10px 20px;
    width: 100% !important;
}

@media only screen and (min-width: 320px) and (max-width: 679px) {
    div.project-context {
        display: block !important;
        width: 120px;
    }

    ul.menu-top-list {
        width: 200px;
    }
}

#header {
    width: 100%;
    position: fixed;
}

.header-right-panel {
    float: right;
    display: inline-flex;
}

/* auth */

#form-signup,
#form-user-type,
#login-form {
    font-family: Open Sans, Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    text-align: start;
}

#form-signup .privacypolicy,
#form-user-type .privacypolicy,
#login-form .privacypolicy {
    text-align: justify;
}

#form-signup header,
#form-user-type header,
#login-form header {
    font-size: 22px;
    text-align: center;
    background: #F4F8FB;
}

#form-signup footer,
#form-user-type footer,
#login-form footer {
    background: #FFFFFF;
    height: 35px;
}

#form-signup .form-control-buttons,
#form-user-type .form-control-buttons,
#login-form .form-control-buttons {
    background: #E5EEFC;
    height: 35px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    text-align: center;
}

#form-signup .auth-providers,
#form-user-type .auth-providers,
#login-form .auth-providers {
    background: #F4F8FB;
    display: flex;
    flex-direction: row;
    height: 60px;
    justify-content: space-between;
    align-items: center;
}

#form-signup .auth-provider-item,
#form-user-type .auth-provider-item,
#login-form .auth-provider-item {
    margin: auto;
}

#form-signup input:not([type="checkbox"]),
#form-user-type input:not([type="checkbox"]),
#login-form input:not([type="checkbox"]) {
    border-radius: 8px;
    height: 35px;
}

#form-signup i.icon-append,
#form-user-type i.icon-append,
#login-form i.icon-append:before {
    font-size: 18px;
    margin-top: 2px;
}

#form-signup .fa-home,
#form-user-type .fa-home,
#login-form .fa-home {
    margin-top: 8px;
}

#form-signup .fa-home:before,
#form-user-type .fa-home:before,
#login-form .fa-home:before {
    font-size: 18px;
}

#form-signup .btn,
#form-user-type .btn,
#login-form .btn {
    font-family: Open Sans, Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    background: #6485DF;
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
    color: #FFFFFF;
    height: 35px;
}

#form-signup .btn.btn-home,
#form-user-type .btn.btn-home,
#login-form .btn.btn-home {
    background: #838a88;
}

#form-signup .btn.btn-home:hover,
#form-user-type .btn.btn-home:hover,
#login-form .btn.btn-home:hover {
    background: #3b3f3b;
}

#form-signup .btn:hover,
#form-user-type .btn:hover,
#login-form .btn:hover {
    background: #4F6CBD;
}

#form-signup footer .btn,
#form-user-type footer .btn,
#login-form footer .btn {
    margin: 6px;
}

#form-signup .btn.btn-success,
#form-user-type .btn.btn-success,
#login-form .btn.btn-success {
    background: #58C075;
}

#form-signup .btn.btn-success:hover,
#form-user-type .btn.btn-success:hover,
#login-form .btn.btn-success:hover {
    background: #09c231;
}

#form-user-type .btn.btn-success.btn-lg {
    height: 45px;
    font-size: 18px;
}

div.ui-dialog-content#loadingBar {
    overflow: unset;
}

.ui-dialog:has(#loadingBar) {
    z-index:  110000 !important;
}

.b-db-table-schools {
    margin-bottom: 250px;
}


.tooltip-inner {
    word-break: normal;
    word-wrap: normal;
}

img.file-field-preview {
    width: 100px;
}

.tooltip, .ui-tooltip, #divSmallBoxes, .select2-drop {
    z-index: 101999 !important;
}

.e-status.badge.label-open {
    color: #212529;
    background-color: #ffc107;
}

.e-status.badge.label-closed {
    color: #fff;
    background-color: #28a745;
}

.e-status.badge.label-rejected {
    color: #fff;
    background-color: #dc3545;
}

.timesheet-head-panel .additional-buttons {
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

@media only screen and (max-width:305px) {
    .timesheet-head-panel .additional-buttons button {
        margin-left: 23px !important;
    }
}

.timesheet-head-panel .modern-filter-popup {
    width: 400px;
}

@media only screen and (max-width:400px) {
    .timesheet-head-panel .modern-filter-popup {
        width: 95%;
    }
}

.b-db-table-lesson-timesheet .timesheet-table-container .well {
    min-height: 220px
}

.timesheet-head-panel .filter-item .filter-value {
    -webkit-touch-callout: none;
}

.timesheet-head-panel #week {
    cursor: default;
}
#content .guide-block + .section-filters-bar {
    margin-top: 64px;
}

#widget-grid .col-md-12:has(.guide-block),
#widget-grid .col-md-12:has(.b-breadcrumbs) {
    width: 100%;
}

.b-breadcrumbs-right {
    padding: 10px 13px 10px 0;
    display: flex;
    justify-content: flex-end;
    align-content: center;
    flex-direction: row;
}

.guide-block {
    margin-top: 10px;
    min-height: 160px;
    border-radius: 12px;
    position: relative;
    width: 100%;
    padding: 0 !important;
    font-family: Rajdhani, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: stretch;
    overflow-x: hidden;
    background:
        linear-gradient(to right, #605DFA 0%, #605DFA 15%, rgba(62,236,255,0.8) 100%),
        url('/static/images/gamification/portraits-pattern.png');
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, auto;
    background-position: left top, left top;
}

.guide-block .guide-block-image {
    flex: 0 0 190px;
    position: relative;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.guide-block .guide-block-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    margin-right: 0;
    max-width: none;
    object-fit: cover;
    object-position: right bottom;
}

.guide-block .guide-block-content {
    flex: 1;
    padding: 28px;
    display: flex;
    font-size: 18px;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.guide-block .guide-block-title,
.guide-block .guide-block-text {
    color: #FFFFFF;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.guide-block .guide-block-title {
    font-weight: 700;
}

.guide-block .guide-block-text {
    margin-top: 10px;
    /*font-size: 1rem;*/
    font-weight: 500;
}

@media screen and (max-width: 960px) {
    .guide-block {
        min-height: 120px;
    }

    .guide-block .guide-block-image {
        flex: 0 0 100px;
    }

    .guide-block .guide-block-content {
        padding: 20px 28px;
    }

    .guide-block .guide-block-text {
        margin-top: 6px;
    }
}

@media screen and (max-width: 767px) {
    .guide-block {
        min-height: 100px;
        padding: 0;
        overflow: visible;
    }

    .guide-block .guide-block-image {
        flex: 0 0 80px;
        overflow-x: hidden;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    .guide-block .guide-block-content {
        padding: 15px;
    }

    .guide-block .guide-block-title {
        font-size: 16px;
    }

    .guide-block .guide-block-text {
        font-size: 12px;
        margin-top: 4px;
    }
}

/* Header Select */
/* Ensure dropdown menu does not change width */
#header .dropdown-menu.menu-top-list {
    padding-top: 0 !important; /* Remove unnecessary padding */
    width: 100% !important; /* Fix width */
    max-width: 400px; /* Limit max width */
    min-width: 250px; /* Set min width for better adaptation */
    min-height: auto;
}

/* Fixed search input inside <li> */
/* Ensure dropdown menu does not change width */
#header .dropdown-menu.menu-top-list {
    padding-top: 0 !important; /* Remove unnecessary padding */
    width: 100% !important; /* Fix width */
    max-width: 400px; /* Limit max width */
    min-width: 250px; /* Set min width for better adaptation */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Fixed search input inside <li> */
.header-search-li {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

/* Search input styling */
.header-search-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    outline: none;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

/* Highlight input when focused */
.header-search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* List items (fix for long words) */
#header .dropdown-menu.menu-top-list li {
    word-wrap: break-word; /* Ensures long words wrap properly */
    overflow-wrap: break-word; /* Additional support for word breaking */
    white-space: normal; /* Allows text wrapping */
    max-width: 100%; /* Prevents text from overflowing */
    text-overflow: ellipsis; /* Optional: Adds "..." for extra-long words */
    overflow: hidden; /* Ensures no horizontal scroll appears */
}

/* "No results found" message */
.no-results-message {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #777;
    display: none;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}
/* Header Select */



/* .guide-block-gamification {
    background: url("/static/images/gamification/banner-bg.png") no-repeat right #605DFA;
} */

/* @media screen and (max-width: 1000px) {
    .guide-block-gamification {
        background: linear-gradient(to right, #605DFA 50%, transparent 100%), url("/static/images/gamification/banner-bg.png") no-repeat right;
        background-size: 100% 50%, auto;
    }
} */

#login[readonly] {
    background: #eee;
}

.return_profile_alert i.fa {
    line-height: 34px;
    vertical-align: middle;
}

.return_profile_alert span {
    line-height: 34px;
    vertical-align: middle;
}

.return_profile_alert > div {
    line-height: 34px;
}

#assignConfirmation .f-db-form {
    margin: 0;
}

#assignConfirmation .assignment-title {
    margin-bottom: 6px;
}

#assignConfirmation .assignment-list {

}

#gameWorldNotificationDialog .modal-dialog {
    z-index: 1051;
}

.flatpickr-calendar.open {
    z-index: 999999 !important;
}

input.form-control.e-dgs-field-element-schedule_datetime[readonly] {
    background-color: #fff;
}

.badge {
    padding: 8px 10px;
    border-radius: 20px;
}
