body {
    background-position: top left;
    background-attachment: fixed;
    background-size: auto;
    width: 100vw;
    height: 100vh;

    background:
            linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
            url('/static/images/themes/modern/pattern.png') repeat;
    background-blend-mode: lighten;
    background-position: top left;
    background-attachment: fixed;
    background-size: auto;
}

.b-db-table .e-table-head {
    font-weight: normal !important;
}

.project-context li.current {
    background-color: #555;
}

.project-context li.current a {
    color: #fff;
}

.project-context li.current a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}

#left-panel {
    background: #6485DF;
}

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

#left-panel > nav span {
    font-family: Open Sans;
    font-style: normal;
    line-height: 22px;
    color: #FFFFFF;
}

#left-panel > nav span.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background: #FFB050;
    border-radius: 10px;
}

.login-info span a {
    font-family: Open Sans;
    font-style: normal;
    color: #FFFFFF;
}

#left-panel i::before {
    color: white;
}

div.vertical-align-center {
    height: calc(100vh - 150px);
}

div.side-tab__info-item {
    left: 5px;
}

.side-tabs__placeholder > .side-tabs {
    top: 90px;
    right: 5px;
}

#header {
    background: #445877;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    padding: unset;
}

#header > #hide-menu {
    display: inline-flex;
    height: 100%;
}

#header > #hide-menu > .header-left-panel {
    display: inline-flex;
}

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

.header-right-panel > .profile-info {
    height: 100%;
    vertical-align: middle;
    text-align: center;
    display: inline-flex;
    align-items: center;
    background: #23344F;
}

#hide-menu i.fa.fa-bell-o::before {
    content: "\f0a2";
}

@media only screen and (min-width: 320px) and (max-width: 589px) {
    div.project-context {
        width: 160px;
    }
}

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

    div.header-btn #notifications-btn {
        margin-left: 5px;
        margin-top: 8px !important;
    }

    div.project-context .dropdown-menu {
        min-height: 150px;
    }
}

.avatar-s {
    height:4rem;
    width: 4rem;
}

.header-right-panel div.profile-info-user-name {
    color: #FFFFFF;
    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    line-height: 19px;
    margin-top: 10px;
}

.header-right-panel .ajax-dropdown {
    left: unset;
    right: 40%;
}

.header-right-panel > .profile-info > a {
    text-align: left;
    display: inline-flex;
    align-items: center;
}

.profile-info > .dropdown:hover .dropdown-menu {
    display: block;
}

.profile-info > .dropdown .dropdown-menu {
    margin-top: 0;
}

.header-right-panel > .profile-info > .profile-info-dropdown {
    margin-right: 10px;
    margin-left: 5px;
    font-size: 12px;
    color: white;
}

li > #menu-item-sign-out-link {
    display: none;
}

.header-right-panel > .profile-info > .profile-info-dropdown > a {
    color: white;
    display: flex;
    text-decoration-line: none;
}

.header-right-panel > .profile-info > .profile-info-dropdown > a:hover {
   cursor: pointer;
}

#logout {
    display: unset;
}

#logout a {
    font-size: 13px;
    line-height: 25px;
}

.profile-info-dropdown > ul.dropdown-menu > li > a {
    line-height: 25px;
}

@media (max-width: 767px) {
    .profile-info-dropdown > ul.dropdown-menu {
        margin: unset;
    }

    #hide-menu > :first-child > a, .btn-header a {
        width: auto !important;
        line-height: 22px !important;
    }
}

@media (max-width: 720px) {
    div#logo {
        display: none;
    }
    #notifications-btn {
        margin-left: 5px !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 479px) {
    .profile-info-user-name {
        display: none;
    }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
    #header > #hide-menu > #logo {
        margin-top: 5px !important;
    }

    #header > #hide-menu > .hide-menu-button > a > img.sidebar-icon{
        padding-top: 5px;
    }

    .header-right-panel .ajax-dropdown {
        right: 7%;
    }

    #hide-menu i {
        color: white;
    }
}

#header > #hide-menu > .hide-menu-button > a {
    min-width: 64px;
    margin: unset !important;
    height: 100% !important;
    font-size: 24px;
    padding: unset !important;
}

#header > #hide-menu > .hide-menu-button > a > img{
   padding-top: 8px;
}

#header > #hide-menu > .hide-menu-button > a:hover {
    border: unset;
}

#header > #hide-menu > .hide-menu-button > a:active {
    background: unset;
}

nav ul .active > a {
    position: relative;
    background: #3350A3;
    /*font-weight: bold;*/
}

nav ul ul li > a {
    background: #4F6CBD;
}
nav ul ul {
    padding: unset;
}

nav ul ul li > a:hover {
    background: #3350A3;
    /*font-weight: bold;*/
}

nav ul li a:hover {
    background: #4F6CBD;
}

nav ul li a:active {
    background: #3350A3 !important;
}

nav ul li.open > a {
    background: #4F6CBD;
}

.minifyme {
    display: none;
}

.login-info {
    border-bottom: unset;
}

#notifications-btn {
    background: none;
    margin-left: 28px;
    margin-top: 12px;
}

#notifications-btn .activity-dropdown i {
    color: white;
}

#notifications-btn span b.badge {
    font-size: 11px;
    right: -5px;
    background: #FFB050 !important;
}

.btn-header > :first-child > a {
    background-image: unset;
    background: #23344F;
    border: unset;
}

.btn-header > :first-child > a > i {
    color: white;
}

nav ul ul {
    background: #82B3FF;
}

nav ul li a {
    color: white;
}

nav > ul > li > ul::before {
    content: unset;
}

nav > ul ul li::before {
    content: unset;
}

#left-panel::-webkit-scrollbar-track {
    background: none;
    color: blue;
}

nav ul li.active > a::before {
    left: 3px;
    right: unset;
    content: "\f0da";
}

.jarviswidget {
    background: #FFFFFF;
    box-shadow: 0 10px 10px #D1DCED;
}

.jarviswidget-ctrls {
    display: block;
}

@media (max-width: 767px) {
    .jarviswidget-ctrls {
        display: block;
    }
}

#jarviswidget-fullscreen-mode {
    z-index: 1030;
}

.jarviswidget-color-darken > header > .jarviswidget-ctrls a, .jarviswidget-color-darken .nav-tabs li:not(.active) a {
    color: #333 !important;
}

.jarviswidget > header {
    background: #FFFFFF;
    box-shadow: 0px 4px 50px #D1DCED;
    border-top: 3px solid;
    border-bottom: unset;
    border-top-color: #6485DF !important;
    border-left-color: #cccccc !important;
    border-right-color: #cccccc !important;
}

.jarviswidget > header h2 {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 28px;
    text-transform: uppercase;
    color: #445877;
}

.jarviswidget > header .widget-icon {
   color: black;
}

.b-dgs-table-container > table > thead > tr {
    background: #E5EEFC;
    border-radius: 0px;
}

.widget-body-toolbar div.btn-group.pull-right > a,
.widget-body-toolbar div.btn-group.pull-right > button,
.timesheet-head-panel .additional-buttons > button {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 10px;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    letter-spacing: -0.408px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.widget-body .filters {
    background: #E5EEFC;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.e-db-table-row {
    background: #FFFFFF;
    height: 80px;
}

.table-bordered > tbody > tr > td {
    background: #FFFFFF !important;
    border-left: unset;
    border-right: unset;
    vertical-align: middle;
}

.table-bordered > tbody > tr.e-filters > td {
    background: #F4F8FB !important;
}

input.e-dgs-field-filter-text {
    background: #FFFFFF;
    border: 1px solid #E1EDF1;
    box-sizing: border-box;
    border-radius: 4px;
}

th.e-table-head {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #445877;
}

.table-bordered>thead>tr>th.e-table-head {
   border: unset;
}

td.e-db-table-row-item {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #333333;
}

.e-db-button.btn-primary {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 8px !important;
}

.btn-group > .e-db-clear-filters {
    background: #F38B8B;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 8px !important;
    color: white;

}

.btn-group .btn+.btn {
    margin-left: 3px;
}

td.e-db-table-row-actions > .btn-group > .dropdown-toggle {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 8px !important;
    color: white;
    font-size: 0;
    width: 35px;
    padding: 6px 9px;
}

tr .filters-btn-group {
    margin-right: 5px;
}

td.e-db-table-row-actions > .btn-group {
    float: right;
    margin-right: 5px;
}

td.e-db-table-row-actions > .btn-group > .dropdown-toggle > span.caret {
    display: none;
}

td.e-db-table-row-actions > .btn-group > .dropdown-toggle:before {
    content: "⋮";
    font-size: 15px;
}

td.e-db-table-row-actions > a.e-db-action.e-db-list-row-action[data-action-name="edit"]:before {
    content: "✎";
    font-size: 15px;
    margin-left: -2px;
}

td.e-db-table-row-actions > a.e-db-action.e-db-list-row-action[data-action-name="edit"] {
    font-size: 0px;
    color: #FFFFFF;
    background: #6485DF;
    border-radius: 8px !important;
    box-shadow: 0px 4px 10px #ccd7ec;
    float: right;
    margin-right: 5px;
    width: 35px;
}

td.e-db-table-row-actions > a.e-db-action.e-db-list-row-action[data-action-name="edit"]:hover {
    background: #4F6CBD;
}

td.e-db-table-row-actions > a.e-db-action.e-db-list-row-action[data-action-name="remove"]:before {
    background-image: url('/static/images/themes/modern/trash-icon.png');
    display: inline-block;
    width: 13px;
    height: 17px;
    content: '';
    background-size: 100% 100%;
    margin-top: 1px;
    margin-left: -1px;
}

td.e-db-table-row-actions > a.e-db-action.e-db-list-row-action[data-action-name="remove"] {
    font-size: 0px;
    color: #fff;
    background: #f38b8b;
    border-radius: 8px !important;
    box-shadow: 0px 4px 10px #ccd7ec;
    float: right;
    margin-right: 5px;
    height: 35px;
    width: 36px;
}

td.e-db-table-row-actions > a.e-db-action.e-db-list-row-action[data-action-name="remove"]:hover {
    background: red;
}

.table-bordered {
    border: unset;
}

.widget-body-toolbar {
    border-bottom: unset;
}

button.e-db-clear-filters:hover {
    background: red;
}

.widget-body-toolbar .btn-default:hover, div.btn-group.pull-right > a:hover {
    background: #4F6CBD;
    color: #FFFFFF;
}

.open .dropdown-toggle.btn-default {
    background: #4F6CBD;
    color: #FFFFFF;
}

.e-db-table-row-item > span.label {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
}

.e-db-table-row-item > span.label.label-success {
    background: #91CD84;
}

div.dt-row.dt-bottom-row {
    background: #F4F8FB;
}

.filters-btn-group > button[type="submit"]:hover {
    background: #4F6CBD;
}

/* News feeds */

#publish-form {
    background: #FFFFFF;
    box-shadow: 0 4px 50px #D1DCED;
    border-radius: 8px;
}

#publish-form textarea {
    border-radius: 4px !important;
    padding-top: 15px;
    resize: none;
}

#publish-form textarea:placeholder-shown {
    font-style: italic;
}

.b-upload-file .b-upload-file__attach-media {
    width: 2px;
}

.b-upload-file {
    width: 35px;
    height: 35px;
    background: #5ABB95;
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
}

.b-form-edit__buttons > .b-upload-file > .fa-camera::before {
    color: #FFFFFF;
    margin-left: 0;
    left: 0;
    top: 0;
    content: "\f0c6";
    width: 35px;
    height: 35px;
    padding-top: 10px;
}

#filename-block {
    margin-left: 50px;
    margin-top: -4px;
}

.e-comment-create-block__button {
    background: #6485DF;
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
}

.e-comment-create-block__button > i.fa.fa-send:before {
    color: #FFFFFF;
}

textarea.e-comment-create-block__content.form-control {
    border-radius: 4px !important;
}

#publish-button {
    background: #6485DF;
    box-shadow: 2px 4px 10px #B7D8EA;
    border-radius: 10px;
    height: 35px;

    font-family: Open Sans, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;

    text-align: center;
    letter-spacing: -0.408px;
    text-transform: uppercase;
    color: #FFFFFF;
}

#publish-button:hover {
    background: #4F6CBD;
}

.b-publish-post-cancel {
    font-family: Open Sans, serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    margin-right: 50px;

    text-align: center;
    letter-spacing: -0.408px;
    text-transform: uppercase;

    color: #6485DF;
}

.b-feed {
    background: #FFFFFF;
    box-shadow: 0 4px 50px #D1DCED;
    border-radius: 8px;
}

.e-feed__date {
    font-family: Open Sans, serif;
    font-style: normal;
    font-weight: normal;
    line-height: 19px;
    margin-top: 5px;
    margin-right: 20px;

    letter-spacing: 0.05em;

    color: #7A98A9;
}

.e-feed__avatar .e-user-avatar__image {
    width: 60px;
    height: 60px;
}

.e-feed__username {
    margin-top: 6px;
}

i.fa.e-feed-reactions__icon.fa-heart-o:before {
    content: "\f08a";
    color: black;
}

i.fa.fa-comment-o:before {
    content: "\f0e5";
    color: black;
}

.e-feed__action-buttons > a.dropdown-toggle,
.e-comment-item__actions-button > a.dropdown-toggle {
    color: #FFFFFF;
    background: #6485DF;
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
    width: 35px;
    height: 35px;
}

.e-feed__action-buttons > ul.dropdown-menu.text-left.e-buttons-group__dropdown > li > a,
.e-comment-item__actions-button > ul.dropdown-menu.text-left.e-buttons-group__dropdown > li > a {
    background: #FFFFFF;
    color: #333;
    border-radius: unset;
    text-transform: none;
    font-size: 14px;
    text-align: left;
    line-height: 20px;
    box-shadow: none;
}

.e-feed__action-buttons > ul.dropdown-menu.text-left.e-buttons-group__dropdown > li > a:hover,
.e-comment-item__actions-button > ul.dropdown-menu.text-left.e-buttons-group__dropdown > li > a:hover {
    background: #6485DF;
    color: #FFFFFF;
}

.e-feed__action-buttons > a > span:before,
.e-comment-item__actions-button > a > span:before {
    content: "⋮";
    font-size: 15px;
}

.e-comment-item__header {
    min-height: 35px;
}

#content {
    padding-right: 15px;
    padding-top: 55px;
    /*padding-left: 15px;*/
}

#manual-page ~ #content {
    padding-top: 0;
}

#manual-page {
    min-height: 40px;
    padding-right: 15px;
    margin-top: 52px
}

#open-manual-modal:hover {
    background-color: #4F6CBD;

}

@media (max-width: 767px) {
    .e-feed__date {
        margin-right: 0;
    }

    #manual-page {
        padding-right: 5px;
    }

    #publish-button {
        font-size: 12px;
    }

    .b-publish-post-cancel {
        font-size: 12px;
        margin-right: 10px;
    }

    #filename-block {
        width: 50px;
    }

    .e-db-table-row-item > span.label {
        font-size: 75%;
    }

    #content {
       padding: 50px 5px 25px 5px;
    }

    .message_container {
        margin-top: 5px;
    }
}

.hidden-menu #hide-menu > :first-child > a {
    background-color: #445877;
    background-image: unset;
}

/* timesheet table */

table.timesheet-table thead > tr {
    background: #E5EEFC;
}

.timesheet-header-container, .timesheet-header-container > .b-db-fast-form {
    background: #F4F8FB;
}

table.timesheet-table thead > tr {
    background: #E5EEFC;
}

table.timesheet-table thead > tr > th {
    border: unset;
}

table.timesheet-table tbody > tr > td.weekday-td > span.weekday-info {
    color: #445877;
}

table.timesheet-table tbody > tr > td.lesson-ident-td {
    background: #F4F8FB !important;
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #445877;
}

table.timesheet-table tbody > tr > td.weekday-td {
    background: #E5EEFC !important;
}

table.timesheet-table thead > tr > th {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #445877;
    border: unset;
    background: #E5EEFC;
}

table.timesheet-table tbody > tr.first-row {
    border-top: 3px solid #F4F8FB;
}

table.timesheet-table tbody > tr.first-row td {
    border-top: 7px solid #dbe6f8;
}

table.timesheet-table tbody > tr.first-row:first-child td {
    border-top: 3px solid #dbe6f8;
}

table.timesheet-table tbody > tr > td {
    border: 1px solid #e5eefc;
}

.b-db-table-lesson-timesheet #btn-timesheet-block a {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 4px;
    color: white;
}

.b-db-table-lesson-timesheet .header-action-buttons .btn.btn-default {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 4px;

    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    letter-spacing: -0.408px;
    text-transform: uppercase;
    color: #FFFFFF;
}

#scroll_right {
    background: #e5eefc;
}

#scroll_left {
    background: #e5eefc;
}

.checkbox-menu li label {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    margin:0;
    transition: background-color .4s ease;
}

.checkbox-menu li.active label {
    background-color: #cbcbff;
    font-weight:bold;
}

.checkbox-menu li label:hover,
.checkbox-menu li label:focus {
    background-color: #f5f5f5;
}

.checkbox-menu li.active label:hover,
.checkbox-menu li.active label:focus {
    background-color: #b8b8ff;
}

.timesheet-header-container, .timesheet-header-container > .b-db-fast-form {
    background: #F4F8FB;
}

.table-striped > tbody > tr:nth-child(even) > td.sticky-date {
    background: #DBE6F8 !important;
}

.lesson-timesheet-panel-header > .header-item.timesheet-filters-header > .lesson-timesheet-study-group-dropdown > button {
    border: 1px solid #E1EDF1;
    box-sizing: border-box;
    border-radius: 4px;
    font-style: italic;
    color: #95B2C2;
}

.lesson-timesheet-panel-header > .header-item > .teacher-selector-header > .teacher-selector {
    border: 1px solid #E1EDF1;
    box-sizing: border-box;
    border-radius: 4px;
    font-style: italic;
    font-weight: normal;
    font-size: 15px;
    line-height: 18px;
    color: #95B2C2;
}

.lesson-timesheet-panel-header > .header-item > .chapter-selector-header > .chapter-selector {
    border: 1px solid #E1EDF1;
    box-sizing: border-box;
    border-radius: 4px;
    font-style: italic;
    font-weight: normal;
    font-size: 15px;
    line-height: 18px;
    color: #95B2C2;
}

.lesson-timesheet-panel-header > .header-item.timesheet-filters-header > .lesson-timesheet-study-group-dropdown > button:hover {
    background: initial;
}

.lesson-timesheet-panel-header > .header-item.timesheet-filters-header > .lesson-timesheet-study-group-dropdown > button:active {
    background: initial;
}

.lesson-timesheet-panel-header > .header-item.timesheet-filters-header > .lesson-timesheet-study-group-dropdown.open .dropdown-toggle.btn-default {
    background: initial;
}

.achievement-add-subject-btn, .achievement-remove-subject-btn, .achievement-add-subject-item-btn, .achievement-remove-subject-item-btn{
    color: #3276b1;
    box-sizing: border-box;
    border-radius: 8px;
}

.fa-plus {
    color: #6485df;
}

a.timesheet-add-btn, a.achievement-add-subject-btn {
    background: #FFFFFF;
    border: 1px solid #6485DF;
}

table.timesheet-table tbody .sticky-lesson-time {
    /*left: 85px;*/
}

@media (max-width: 767px) {
    table.timesheet-table tbody .sticky-lesson-time {
        left: 80px;
    }
}

/* vacation schedule */

.vacation-schedule-table  {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #445877;
}

.vacation-schedule-table > thead > tr:first-child, .vacation-schedule-table > thead > tr:nth-child(2) > th:first-child,
.vacation-schedule-table > thead > tr:nth-child(2) > th:nth-child(2) {
    background: #E5EEFC;
    border-radius: 0px;
}

.vacation-schedule-table > thead > tr:nth-child(2) > th:nth-child(n + 3) {
    text-align: center;
}

.vacation-schedule-table > thead > tr > th.weekend-header {
    font-weight: normal;
}

.vacation-schedule-table td {
    border: 1px solid #E7F1FB !important;
    font-weight: normal;
}

.vacation-schedule-table td > a.schedule-item {
    height: 30px;
}

.vacation-schedule-table td.weekend-cell {
    background: #F9FCFF !important;
}

.vacation-schedule-table > tbody > tr > td.user-index-cell, .vacation-schedule-table > tbody > tr > td.user-name-cell {
    background: #F4F8FB !important;
}

.vacation-schedule-panel-header > .header-item.header-action-buttons > .header-add-vacation-button, .vacation-schedule-panel-header > .header-item.header-action-buttons .header-export-button{
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 8px;
}

.vacation-schedule-panel-header > .header-item.header-action-buttons ul.dropdown-menu{
    right: 100%;
    left: unset;
}

.vacation-schedule-panel-header .header-item.header-date-navigation > a {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 4px;
    color: white;
}

.vacation-schedule-header-container {
    background: #F4F8FB;
    border-radius: 0px;
}

/* journal */


.journal-table  {
    font-family: Open Sans;
    font-style: normal;
    letter-spacing: 0.05em;
    color: #445877;
}

.journal-table i.fa.fa-comment-o:before {
    color: #6485df;
}

.journal-table thead > tr > td:first-child,  .journal-table thead > tr:last-child > td.student-header-cell {
    background: #E5EEFC !important;
}

.journal-table thead > tr:first-child > th:nth-child(even) {
    background: #DBE6F8;
    border-radius: 0px;
}

.journal-table thead > tr:first-child > th:nth-child(odd) {
    background: #E5EEFC;
}

.journal-table thead > tr:nth-child(n + 2) > th:nth-child(n + 2) {
    background: #F4F8FB;
    border: 1px solid #E7F1FB;
}

.journal-table tbody > tr > td:first-child,  .journal-table tbody > tr > td:nth-child(2) {
    background: #F4F8FB !important;
}

.journal-table td {
    border: 1px solid #FFFFFF !important;
}

.table-bordered > thead > tr > th {
    border: 1px solid #CBD7EB;
}

.table-bordered > thead > tr.row-assignment-buttons > th a{
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    box-shadow: unset;
    -webkit-box-shadow: unset;

    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    text-align: center;

    color: #6485DF;
}

.journal-check-icon {
    color: #6485DF !important;
}

.text-journal-header-date {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;

    text-align: center;
    letter-spacing: 0.05em;
    color: #445877;
}

.modern-icon-violet {
    filter: invert(56%) sepia(5%) saturate(6200%) hue-rotate(189deg) brightness(93%) contrast(87%);
}

.journal-btn {
    background: #FFFFFF;

    border: 1px solid #6485DF;
    box-sizing: border-box;
    border-radius: 8px;
}

.journal-table .widget-body-toolbar.b-db-fast-form > .btn-group .btn {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 8px;
}

.journal-filters-table {
    background: #F4F8FB;
}

.journal-filters-table .header-filters > div select,  .journal-filters-table .header-filters > div input {
    background: #FFFFFF;
    border: 1px solid #E1EDF1;
    box-sizing: border-box;
    border-radius: 4px;
}

.journal-filters-table .header-filters > div label {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;

    color: #445877;
}

.journal-filters-table .header-filters > div:last-child > button,
.timesheet-head-panel .additional-buttons > button {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 10px;
}

.widget-body-toolbar.b-db-fast-form button:hover, .widget-body-toolbar.b-db-fast-form a:hover, .journal-filters-table button:hover {
    background: #4F6CBD !important;
}

.journal-table .cell-control-menu a.add-journal-column-btn:hover img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(11%) saturate(5881%) hue-rotate(198deg) brightness(98%) contrast(93%);
}

.journal-table .cell-control-menu a.chat-lesson-btn:hover img {
    filter: brightness(0) saturate(100%) invert(31%) sepia(34%) saturate(650%) hue-rotate(84deg) brightness(89%) contrast(90%);
}

.journal-table .cell-control-menu a.remove-journal-lesson-btn:hover img, .journal-table a.remove-journal-column-btn:hover img{
    filter: brightness(0) saturate(100%) invert(24%) sepia(6%) saturate(5053%) hue-rotate(314deg) brightness(99%) contrast(94%);
}

.journal-table th.cell-theme-assignment > div .e-db-action:first-child {
    border-right: 1px solid #E7F1FB;
}

.journal-table .e-grade-comment-btn > i {
    color: #6485df;
}


/* marketplace shop */

.marketplace-shop-container .btn-product-buy {
    background: #6485DF;
    box-shadow: 0px 4px 10px #CCD7EC;
    border-radius: 10px;
}

.marketplace-shop-container .product-cell {
    background: #DBE6F8;
    box-shadow: 0px 4px 50px #E1E8F2;
    border-radius: 10px;
}

.marketplace-shop-container .marketplace-shop-filters select {
    background: #FFFFFF;
    border: 1px solid #E1EDF1;
    box-sizing: border-box;
    border-radius: 4px;

    font-weight: normal;
    font-size: 15px;
    line-height: 18px;
    color: #95B2C2;
}

.marketplace-shop-container .marketplace-shop-filters {
    border-bottom: 1px solid #E7F1FB;
}

.product-container .btn-product-buy, .checkout-container .btn-product-buy {
    background: #6485DF;
    box-shadow: 0px 4px 10px #ccd7ec;
    border-radius: 10px;
}

.product-container .btn-product-buy:hover, .checkout-container .btn-product-buy:hover {
    background: #4F6CBD;
}

/* chat rooms list */

.e-empty-search {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #60789E;
}

.e-empty-search .e-chat-rooms-empty-search-header {
    font-weight: bold;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #6485DF;
}

.b-chat-list .b-conversation {
    background-color: #FFFFFF;
}

.b-db-table-chat_rooms > .widget-body-toolbar.b-db-fast-form {
    padding: 0;
}

.b-db-table-chat_rooms > .widget-body-toolbar.b-db-fast-form a.b-chat-row-link:hover {
    background: none !important;
}

.b-db-table-chat_rooms .b-chat-list-toolbar {
    padding: 12px 20px;
    background: #F4F8FB;
    border-radius: 0;
    height: 60px;
}

.b-db-table-chat_rooms .b-chat-list-toolbar .b-create-chat-room a {
    margin-top: -4px;
    background: #6485DF;
    box-shadow: 0 4px 10px #ccd7ec;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    letter-spacing: -0.408px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.b-db-table-chat_rooms .e-chat-list-filter__search:focus + .input-group-addon {
    border-color:#66afe9;
    background-color: #4F6CBD;
    color:#FFFFFF;
}

.b-db-table-chat_rooms .b-create-chat-room a:hover {
    background: #4F6CBD !important;
    color: #FFFFFF;
}

.b-db-table-chat_rooms  .b-chat-row-actions-button {
    background: #6485DF;
    box-shadow: 0 4px 10px #ccd7ec;
    border-radius: 8px !important;
    color: white;
    width: 35px;
}

.b-db-table-chat_rooms  .b-chat-row-actions-button .fa-ellipsis-v:before {
    content: "⋮";
}

.b-db-table-chat_rooms {
    font-family: Open Sans;
    font-style: normal;
}

.b-db-table-chat_rooms  .b-chat-room-row {
    font-weight: 600;
    letter-spacing: 0.05em;
}

.b-db-table-chat_rooms .b-chat-room-row .e-chat-name {
    font-size: 16px;
    color: #445877;
}

.b-db-table-chat_rooms .b-chat-room-row .e-chat-room-user-message strong {
    color: #6485DF;
}

.b-db-table-chat_rooms .b-chat-room-row .e-chat-room-user-message {
    color: #445877;
}

.b-db-table-chat_rooms .b-chat-row-actions {
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #445877;
}

/* chat room */

#chat {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
}

#chat .chat-room-container .panel-header {
    border-top: 3px solid #6485DF;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
}

#chat .chat-room-container .panel-header h2 {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #445877;
}

#chat .chat-room-container .panel-header .control-buttons button {
    width: 40px;
    height: 40px;
    background: #6485DF;
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
}

#chat .chat-room-container .primary-box-content,
#chat .chat-room-container .secondary-box-content {
    height: calc(100% - 80px);
}

#chat .primary-box-footer {
    height: 80px;
    background: #F4F8FB;
}

#chat .primary-box-footer .control-buttons button,
#chat .preview-buttons .preview-secondary-buttons button {
    background: #6485DF;
}

#chat .primary-box-footer .control-buttons .fa,
#chat .preview-buttons .preview-secondary-buttons .fa {
    padding-top: 4px;
}

#chat .primary-box-footer .fa-stack,
#chat .preview-buttons .preview-secondary-buttons .fa-stack {
    margin-top: 2px;
}

#chat .chat-room-container .control-buttons button {
    margin: 5px;
}

#chat .primary-box-footer .control-buttons button.btn-record {
    background: #d02929;
}

#chat .primary-box-footer .control-buttons button.btn-record .fa {
    padding-top: 0;
}

#chat .chat-room-container  .panel-header .control-buttons button.call-btn,
#chat .control-buttons button.call-btn.call-status-in,
#chat .control-buttons button.stream-btn.stream-status-on {
    background: #58C075;
}

#chat .control-buttons button.call-btn.call-status-out .fa {
    -webkit-transform: none;
    transform: none;
}

#chat .control-buttons button.call-btn.call-status-out,
#chat .beta-version-notification,
#chat .control-buttons button.stream-btn.stream-status-off,
#chat .control-buttons button.leave-webinar-btn {
    background: #EC6464;
}

#chat .chat-room-container  .panel-header .fa {
    padding-top: 4px;
    color: #ffffff;
}

#chat .chat-room-container  .fa-phone:before {
    content: url(../../images/button-icons/call-icon.svg);
}

#chat .chat-room-container  .fa-users:before {
    content: url(../../images/button-icons/users-icon.svg);
}

#chat .chat-room-container  .fa-comments-o:before {
    content: url(../../images/button-icons/comment-icon.svg);
}

#chat .chat-room-container  .fa-arrows-alt:before {
    content: url(../../images/button-icons/full-screen-icon.svg);
}

#chat .chat-room-container  .fa-microphone:before {
    content: url(../../images/button-icons/microphone-icon.svg);
}

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

#chat .chat-room-container  .fa-desktop:before {
    content: url(../../images/button-icons/desktop-icon.svg);
}

#chat .chat-room-container  .fa-ban:before {
    content: url(../../images/button-icons/ban-icon.svg);
}

#chat .chat-room-container .fa-ban {
    margin: -8px 0;
}

#chat .chat-room-container .text-chat .message-input {
    height: 80px;
    background: #F4F8FB;
}

#chat .chat-room-container  .message-input textarea.form-control.send-message {
    background-color: #FFFFFF !important;
    border: 1px solid #E1EDF1;
    box-sizing: border-box;
    border-radius: 4px;
    height: 45px;
}

#chat .chat-room-container  .message-input textarea.form-control.send-message::placeholder {
    font-family: Open Sans;
    font-weight: normal;
    font-size: 15px;
    color: #95B2C2;
    letter-spacing: 0;
}

#chat .chat-room-container .text-chat .message-input .btn.send-message {
    width: 40px;
    height: 40px;
    background: #6485DF;
    box-shadow: 0 4px 10px #CCD7EC;
    margin-top: 3px;
    border-radius: 8px;
}

#chat .chat-room-container .text-chat .message-input .btn.attach-message {
    border-color: #58C075;
    background: #58C075;
}


#chat .chat-room-container  .message-input .btn.send-message i.fa {
    margin: -5px -10px;
}

#chat .chat-room-container  .message-input .btn.attach-message i.fa {
    padding-top: 0;
}

#chat .chat-room-container  .fa-paper-plane:before {
    content: url(../../images/button-icons/send-icon.svg);
}

#chat .chat-room-container  .messages-history .message .author-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

#chat .text-chat .message .message-box {
    margin-left: 8px;
    padding: 12px;
    background: #C7D6FF;
    border-radius: 10px;
}

#chat .text-chat .message .message-box .author-name {
    color: #4F6CBD;
}

#chat .text-chat .message .message-box .text {
    color: #333333;
    margin-top: 5px;
}

#chat .text-chat .message .message-box .time {
    color: #445877;
}

#chat .text-chat .message-actions .message-action-btn {
    padding: 0 6px;
}

#chat .text-chat .message-actions .message-action-btn > i.fa.fa-ellipsis-v:before {
    content: "⋮";
}

#chat .text-chat .history-date {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #445877;
    background: #E5EEFC;
    border-radius: 10px;
}

#chat .text-chat .message.self-message .message-box {
    margin-right: 8px;
    margin-left: 0;
    background: #E5EEFC;
}

#chat .text-chat .messages-history .empty-message {
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 0.05em;
    color: #6485DF;

    background-image: url('../../images/search/empty-chat.svg');
    background-position: top center;
    background-repeat: no-repeat;
    margin-top: 10vh;
    padding-top: 15vh;
    display: block;
    height: 30vh;
}

#chat .chat-room-container .panel-header h2 {
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    color: #445877;
}

#chat .chat-room-container .control-buttons button.close-btn {
    width: 40px;
    height: 40px;
    background: #EC6464;
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
}

#chat .chat-room-container .fa-times {
    padding-top: 4px;
}

#chat .chat-room-container .fa-times:before {
    content: url(../../images/button-icons/close-icon.svg);
}

#chat .chat-room-container .members-list .members-list-item {
    height: 80px;
    background: #FFFFFF;
}

#chat .chat-room-container .members-list .members-list-item .user-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

#chat .chat-room-container .members-list {
    letter-spacing: 0.05em;
    margin-left: 8px;
}

#chat .chat-room-container .members-list .members-list-item .user-name {
    color: #333333;
}

#chat .chat-room-container .members-list .members-list-item .user-itself {
    color: #60789E;
}

#chat .call_ended {
    color: #FFFFFF;
}

#chat .call_ended .call_ended__title {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #6485DF;
}

#chat .call_ended .button_rejoin {
    background: #6485DF;
}

#chat .call_ended .button_chats {
    background: #EC6464;
}

#chat .grid-container .video-chat__grid .video-chat__grid-item {
    background: #6485DF;
    border-radius: 8px;
}

#chat .grid-container .primary-user-block .user-block__info {
    background: none;
    margin-top: 10px;
}

#chat .grid-container {
    background: #445877;
}

#chat .grid-container .user-block__info {
    background: #6485DF;
    border-radius: 8px;
}

#chat .grid-container .video-chat__grid-item  .user-block__info {
    background: #445877;
    opacity: 0.8;
    backdrop-filter: blur(20px);
    border-radius: 0 0 8px 8px;
    bottom: 0;
    min-height: 30px;
    margin-left: -2px;
}

#chat .grid-container .user-block__info .fa-ban {
    margin: 0;
}

/* diary */

.widget-body-toolbar.b-db-fast-form {
    background: #F4F8FB;
    border-radius: 0;
}

.b-table-diary {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
}

.table-bordered.b-table-diary > thead > tr > th {
     border: none;
}

.b-table-diary th {
    background: #E5EEFC;
    border-radius: 0;
    color: #445877;
    font-size: 14px;
    font-weight: 400;
}

table.b-table-diary > tbody > tr > td.b-diary-week-date {
    background: #E5EEFC !important;
    color: #445877;
    border-radius: 0;
}

table.b-table-diary > tbody > tr > td.diary-ident {
    background: #F4F8FB !important;
    color: #445877;
}

table > tbody > tr > td.diary-ident.holiday {
    background: #F4F8FB !important;
    color: #445877;
}

td.b-diary-ident.holiday {
    background: #F4F8FB !important;
    color: #445877;
}

table.b-table-diary > tbody > tr > td {
    border: 1px solid #E7F1FB;
}

table.b-table-diary a.btn,
table.b-table-diary button.btn {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    box-shadow: 0 4px 10px #ccd7ec;
    border-radius: 8px;
    height: 35px;
    color: #FFFFFF;
    text-align: center;
}

table.b-table-diary .btn-primary {
    background: #6485DF;
}

table.b-table-diary .btn-success {
    background: #58C075;
}

table.b-table-diary .btn-warning {
    background: #FFB050;
}

table.b-table-diary .btn-danger {
    background: #EC6464;
}

table.b-table-diary span.btn {
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
    color: #FFFFFF;
}

table.b-table-diary a {
    color: #6485DF;
}

table.b-table-diary .fa-plus:before {
    content: url(../../images/button-icons/plus-icon.svg);
    margin-right: 5px;
    vertical-align: middle;
}

table.b-table-diary .fa-pencil:before {
    content: url(../../images/button-icons/pen-icon.svg);
    margin-right: 5px;
    vertical-align: middle;
}

table.b-table-diary .fa-remove:before {
    content: url(../../images/button-icons/close-icon.svg);
    margin-right: 5px;
    vertical-align: middle;
}

table.b-table-diary .fa-check-circle-o:before {
    content: url(../../images/button-icons/checked-icon.svg);
    margin-right: 5px;
    vertical-align: middle;
}

table.b-table-diary .btn-primary:hover {
    background: #4F6CBD !important;
}

table.b-table-diary .btn-warning:hover {
    background: #fa9c1c !important;
}

table.b-table-diary .btn-danger:hover {
    background: #e83333 !important;
}

table.b-table-diary .btn-success:hover {
    background: #09c231 !important;
}

@media (max-width: 767px) {
    table.b-table-diary .fa-plus:before {
        vertical-align: -5px;
    }

    table.b-table-diary .fa-pencil:before {
        vertical-align: -8px;
    }

    table.b-table-diary .fa-check-circle-o:before {
        vertical-align: -8px;
    }
}

/* user diary */

table.b-table-diary .e-user-diary-lesson-title_actions {
    width: 35px;
}

.b-diary-actions .btn-primary {
    background: #6485DF;
    box-shadow: 0 4px 10px #CCD7EC;
    border-radius: 8px;
    color: #FFFFFF;
    height: 35px;
}

.b-diary-actions .fa-plus:before {
    content: url(../../images/button-icons/plus-icon.svg);
    margin-right: 5px;
    vertical-align: middle;
}

a.e-user-diary-grade-item-action i {
    margin: -9px;
}

table.b-table-user-diary > tbody > tr > td {
    vertical-align: baseline;
}

table.b-table-user-diary .btn.e-user-diary-grade-item-action {
    width: 35px;
}

table.b-table-user-diary .fa.fa-ellipsis-v:before {
    content: "⋮";
}

table.b-table-user-diary .dropdown-menu a {
    color: black;
}

table.b-table-user-diary .dropdown-menu a:hover {
    color: #FFFFFF;
}

table.b-table-user-diary .e-diary-lesson-title_actions {
    margin-top: -8px;
}

@media (max-width: 767px) {
    button.e-user-diary-lesson-title_actions {
        margin-top: 14px;
        margin-right: 12px;
    }

    .widget-body-toolbar .btn .fa-plus:before {
        vertical-align: -5px;
    }

    .widget-body-toolbar .btn .fa-pencil:before {
        vertical-align: -8px;
    }

    .widget-body-toolbar .btn .fa-check-circle-o:before {
        vertical-align: -8px;
    }
}

.download-app-info {
    top: 80px !important;
}


/*friend requests*/

.b-dgs-table-container-friend_requests div.btn-group > .dropdown-toggle:hover,
.b-dgs-table-container-friend_requests div.btn-group.open > .dropdown-toggle {
    background: #4F6CBD;
    color: #FFFFFF;
}
/*friend requests*/



/* assignment uploads list*/

.b-db-table-uploads .e-db-table-row-actions > a.btn-default,
.b-db-table-assignments_review .e-db-table-row-actions > a.btn-default {
    background: #6485DF;
    box-shadow: 0px 4px 10px #ccd7ec;
    border-radius: 0.25em;
    color: #FFFFFF;
}

.b-db-table-uploads .e-db-table-row-actions > a.btn-default:hover,
.b-db-table-assignments_review .e-db-table-row-actions > a.btn-default:hover {
    background: #4F6CBD !important;
}
/* assignment uploads list*/


.auth-form .fa-user:before {
    content: url(../../images/button-icons/user.svg);
}
.auth-form .fa-padlock:before {
    content: url(../../images/button-icons/padlock.svg);
}
.auth-form .fa-eye:before {
    content: url(../../images/button-icons/eye.svg);
}
.auth-form .fa-eye-slash:before {
    content: url(../../images/button-icons/eye-slash.svg);
}

@media only screen and (max-width:1020px) {
    .main-profile-return {
        position: fixed;
        right: 0;
        top: 49px;
    }
}

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

