.navbar-cheat {
  height: 44px;
  background-color: #045772;
  position: fixed;
  z-index: 1029;
  width: 100%;
  top: 0;
}

.nav-container {
  font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
  font-size: 16px;
  line-height: 20px;
  background-color: #045772;
  color: #fff;
  padding: 0;
  height: 44px;
  display: none;
  align-items: center;
}

.header-link {
  color: #fff;
  text-decoration: none;
  padding: 0 1em;
  height: 100%;
  display: flex;
  align-items: center;
  transition: background .1s linear;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.header-link.open {
  background-color: rgba(255,255,255,.1);
}

.header-link.today-journal-button {
  padding-right: 0;
  display: none;
}

.header-link:hover {
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

.header-link:not(.exit):hover {
  background-color: rgba(255,255,255,.1);
}

.header-link:not(.exit):active {
  background-color: rgba(255,255,255,.2)!important;
}

.dropdown.show .header-link {
  background-color: rgba(255,255,255,.1);
}

.dropdown-item.user-role-item {
  padding: 10px 16px 10px 36px;
}

.dropdown-item.user-role-item.active-role {
  padding: 10px 16px;
}

.dropdown-item.user-role-item.active-role::before {
  content: '';
  font-family: Fontawesome;
  color: #0687b1;
  font-size: 12px;
  width: 20px;
  display: inline-block;
}

.MenuButton {
  padding-right: 4em!important;
  margin-right: auto;
}

#nav-icon3 {
  width: 1.5em;
  height: 1.1em;
  position: relative;
  margin: auto;
  cursor: pointer;
  font-size: 18px;
}

#nav-icon3 span {
  display: block;
  position: absolute;
  height: .2em;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: transform .25s ease-in-out,width .25s ease-in-out,left .25s ease-in-out;
  -moz-transition: transform .25s ease-in-out,width .25s ease-in-out,left .25s ease-in-out;
  -o-transition: transform .25s ease-in-out,width .25s ease-in-out,left .25s ease-in-out;
  transition: transform .25s ease-in-out,width .25s ease-in-out,left .25s ease-in-out;
  will-change: width,transform,left;
}

#nav-icon3 span:nth-child(1) {
  top: 0;
}

#nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) {
  top: .5em;
}

#nav-icon3 span:nth-child(4) {
  top: 1em;
}

#nav-icon3.open span:nth-child(1) {
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  width: 0%;
  left: 50%;
}

#menuTitle {
  position: relative;
}

#menuTitle1 {
  position: absolute;
  opacity: 1;
  top: 0;
  -webkit-transition: top .25s ease-out,opacity .25s ease-out;
  -moz-transition: top .25s ease-out,opacity .25s ease-out;
  -o-transition: top .25s ease-out,opacity .25s ease-out;
  transition: top .25s ease-out,opacity .25s ease-out,height .25s cubic-bezier(1,.01,1,-.7);
  height: 100%;
}

#menuTitle2 {
  position: absolute;
  opacity: 0;
  top: -2em;
  -webkit-transition: top .25s ease-out,opacity .25s ease-out;
  -moz-transition: top .25s ease-out,opacity .25s ease-out;
  -o-transition: top .25s ease-out,opacity .25s ease-out;
  transition: top .25s ease-out,opacity .25s ease-out;
}

#menuTitle.open #menuTitle1 {
  top: 1em;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

#menuTitle.open #menuTitle2 {
  top: 0;
  opacity: 1;
}

.today-journal-button::after {
  content: '';
  width: 1px;
  height: 50%;
  background-color: #fff;
  margin-left: 1em;
}

.today-journal-button::before {
  content: '';
  font-family: 'FontAwesome';
  margin-top: 3px;
  font-size: 25px;
}

.today-journal-button > span {
  margin-left: .5em;
}

.today-journal {
  margin: auto;
  margin-top: -44px;
  opacity: 0;
  transition: margin-top .2s linear,opacity .2s linear;
  font-size: 16px!important;
  padding: 14px;
  max-height: calc(100vh - 86px);
  width: 33%;
  background-color: #f8f9fa;
  border: 1px solid #edeef0;
  border-radius: 5px;
  box-shadow: 3px 3px 10px 2px rgba(0,0,0,.5);
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.today-journal.open {
  margin-top: 20px;
  opacity: 1;
  transition: margin-top .2s linear,opacity .2s linear;
}

.today-journal .today-journal-header {
  border-bottom: 1px solid #ddd;
  margin-bottom: 17px;
}

.today-journal .today-journal-header h3 {
  text-align: center;
  margin-bottom: 0;
  flex-grow: 1;
}

.today-journal .today-journal-header button.close {
  padding: 0 .5em;
}

.today-journal .today-journal-header .weekdays-div {
  margin: 8px 0;
}

.today-journal .today-journal-header .weekdays-div a {
  padding: 0 2px;
  margin: 0 3px;
  line-height: 20px;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}

.today-journal .today-journal-header .weekdays-div a.selected {
  color: #fd7846;
}

.today-journal .today-journal-header .weekdays-div a.today {
  border-bottom: 1px dotted #1a1a1a;
}

.today-journal .today-journal-header .weekdays-div a:hover {
  color: #b30!important;
}

.today-journal .today-journal-body {
  flex-grow: 1;
  overflow-y: auto;
}

.today-journal .today-journal-body .shift-separator {
  width: 50%;
}

.today-journal table {
  width: 100%;
  border-collapse: collapse;
}

.today-journal table thead th, .today-journal table > thead > tr > th {
  font-weight: 500;
  text-transform: uppercase;
  color: #7f7f7f;
  border-bottom: 2px solid #ddd;
  vertical-align: middle;
}

.today-journal table td, .today-journal table th {
  padding: 10px;
  font-size: 16px;
  vertical-align: top;
}

.today-journal table td:not(:first-child), .today-journal table th:not(:first-child) {
  width: 30%;
}

.today-journal table tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,.05);
}

.today-journal .today-journal-footer {
  border-top: 1px solid #ddd;
  margin: 17px 0 10px;
  padding-top: 17px;
  text-align: right;
}

.today-journal .today-journal-body-loading {
  font-size: 24px;
  font-weight: 100;
  color: #555;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.today-journal .today-journal-body-loading i {
  display: inline-block;
  animation: spin 1.5s linear 0s infinite;
}

div.new-menu {
  font-family: "Segoe UI",sans-serif;
  font-size: 1em;
  width: 25em;
  height: calc(100vh - 44px);
  background-color: #01384a;
  color: #fff;
  position: fixed;
  z-index: 1000;
  top: 44px;
  left: -26em;
}

div.new-menu > div.nav-shadow {
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.5);
  width: 100%;
  height: 1px;
  position: absolute;
  top: -1px;
  z-index: 1001;
}

div.new-menu ul {
  margin: 0;
  padding: 0;
}

div.new-menu li {
  display: flex;
  position: relative;
}

div.new-menu > div.menu-wrapper {
  overflow: hidden;
  position: relative;
  height: 100%;
}

div.new-menu div.menu-container {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: absolute;
  flex-direction: column;
}

div.new-menu ul.menu-header {
  padding-bottom: 10px;
}

div.new-menu ul.menu-body {
}

div.new-menu ul.menu-footer {
  display: flex;
}

div.new-menu ul.menu-footer li {
  flex: 1;
}

div.new-menu ul.menu-body > li:not(:first-child) {
  border-top: 1px solid #184656;
}

div.new-menu li > a {
  list-style-type: none;
  display: block;
  color: #fff;
  text-decoration: none;
  padding: .5em 1.5em;
  flex: 1;
  display: flex;
  background-color: #01384a;
  transition: background .1s linear;
  cursor: pointer;
}

div.new-menu li > a:hover {
  background: #184656;
}

div.new-menu li > a:hover span:not(.unread) {
  text-decoration: underline;
}

div.new-menu li > a:nth-child(2).next {
  border-left: 1px solid #184656;
  flex: none;
}

div.new-menu li > a.next::after {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyLjIxOSAyLjI4MUwxMC43OCAzLjcyIDE4LjA2MiAxMUgydjJoMTYuMDYzbC03LjI4MiA3LjI4MSAxLjQzOCAxLjQzOCA5LTkgLjY4Ny0uNzE5LS42ODctLjcxOXoiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9Ii43Ii8+PC9zdmc+) center no-repeat;
  background-size: 1em;
  background-position: center;
  width: 1em;
  content: '';
  margin: 0 .5em;
}

div.new-menu li > a.back::before {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTEyLjIxOSAyLjI4MUwxMC43OCAzLjcyIDE4LjA2MiAxMUgydjJoMTYuMDYzbC03LjI4MiA3LjI4MSAxLjQzOCAxLjQzOCA5LTkgLjY4Ny0uNzE5LS42ODctLjcxOXoiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9Ii43Ii8+PC9zdmc+) center no-repeat;
  transform: rotate(180deg);
  background-size: 1em;
  background-position: center;
  width: 1em;
  content: '';
  margin-right: .5em;
}

div.new-menu li > a.exit {
  background-color: #f63440;
}

div.new-menu li > a.exit:hover {
  background-color: #ff5f60;
}

div.new-menu li > a span:nth-child(1) {
  display: block;
  flex: 1;
}

div.new-menu li > a span.unread {
  font-size: 13px;
  line-height: 1.7em;
  display: block;
  background-color: rgba(255,255,255,.3);
  width: 1.7em;
  border-radius: 50%;
  text-align: center;
  height: 1.7em;
  margin: 0 .4em;
}

div.new-menu li > input[type="search"] {
  margin: .5em 1.5em;
  width: 100%;
  padding: .5em 1.5em;
  background-color: #184656;
  color: #fff;
  border: 1px solid #184656;
}

div.new-menu li > input[type="search"]::-webkit-input-placeholder {
  color: rgba(255,255,255,.5);
}

div.new-menu li > input[type="search"]::-moz-placeholder {
  color: rgba(255,255,255,.5);
}

div.new-menu li > input[type="search"]:-moz-placeholder {
  color: rgba(255,255,255,.5);
}

div.new-menu li > input[type="search"]:-ms-input-placeholder {
  color: rgba(255,255,255,.5);
}

div.new-menu ::-webkit-scrollbar-track {
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-color: rgba(0,0,0,.2);
}

div.new-menu ::-webkit-scrollbar-thumb {
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-color: #1b4959;
}

div.new-menu ::-webkit-scrollbar {
  width: 15px;
}

div.new-menu li > a[data-type]::before {
  content: '';
  font-family: 'FontAwesome';
  padding-right: .5em;
  width: 2em;
  text-align: center;
}

div.new-menu li > a[data-type="Exit"]::before {
  content: '';
}

div.new-menu li > a[data-type="Settings"]::before {
  content: '';
}

div.new-menu li > a[data-type="News"]::before {
  content: '';
}

div.new-menu li > a[data-type="Errors"]::before {
  content: '';
}

div.new-menu li > a[data-type="Account"]::before {
  content: '';
}

div.new-menu li > a[data-type="Users"]::before {
  content: '';
}

div.new-menu li > a[data-type="Sms"]::before {
  content: '';
}

div.new-menu li > a[data-type="Feed"]::before {
  content: '';
}

div.new-menu li > a[data-type="Messages"]::before {
  content: '';
}

div.new-menu li > a[data-type="Skuds"]::before {
  content: '';
}

div.new-menu li > a[data-type="appeal"]::before, div.new-menu li > a[data-type="Appeal"]::before {
  content: '';
}

div.new-menu li > a[data-type="ReestrDocuments"]::before {
  content: '';
}

div.new-menu li > a[data-type="ReportsList"]::before {
  content: '';
}

div.new-menu li > a[data-type="HomeStudentList"]::before {
  content: '';
}

div.new-menu li > a[data-type="Replace"]::before {
  content: '';
}

div.new-menu li > a[data-type="InstituteList"]::before, div.new-menu li > a[data-type="Institute"]::before {
  content: '';
}

div.new-menu li > a[data-type="RooList"]::before {
  content: '';
}

div.new-menu li > a[data-type="Bills"]::before {
  content: '';
}

div.new-menu li > a[data-type="DiaryList"]::before {
  content: '';
}

div.new-menu li > a[data-type="Transfer"]::before {
  content: '';
}

div.new-menu li > a[data-type="Claims"]::before {
  content: '';
}

div.new-menu li > a[data-type="KshpList"]::before {
  content: '';
}

div.new-menu li > a[data-type="DepartmentList"]::before {
  content: '';
}

div.new-menu li > a[data-type="GartensList"]::before {
  content: '';
}

div.new-menu li > a[data-type="Invite"]::before {
  content: '';
}

div.new-menu li a.disable-click {
}

div.new-menu li a.disable-click::after {
  content: 'Меню обновлено недавно, пожалуйста, подождите немного';
  position: absolute;
  color: #fff;
  padding: 5px;
  font-size: 13px;
  background-color: #ff5f60;
  border-radius: 5px;
  top: 80%;
  left: 10%;
  right: 10%;
}

@media (max-width:575px) {
  .MenuButton {
    padding-right: 1em!important;
  }
}

@media (max-width:575px) {
  div.new-menu {
    width: 100vw;
    left: -101vw;
    font-size: 1.1em;
  }
}

@media (max-width:575px) {
  div.new-menu .menu-container ul.menu-body {
    padding-bottom: 46px;
  }
}

@media (max-width:575px) {
  div.new-menu li > a {
    padding: .5em .5em;
  }
}

@media (max-width:575px) {
  div.new-menu ::-webkit-scrollbar {
    width: 7px;
  }
}

@media (max-width:575px) {
  .today-journal {
    width: 100%;
    height: calc(100vh - 44px);
    max-height: none;
    box-shadow: none;
    padding: 7px;
  }
}

@media (max-width:575px) {
  .today-journal.open {
    margin-top: 0;
  }
}

@media (max-width:575px) {
  .today-journal .today-journal-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width:575px) {
  .today-journal .today-journal-header > h3 {
    font-size: 1.4rem;
  }
}

@media (max-width:575px) {
  .today-journal .today-journal-footer {
    padding-top: 10px;
    margin-top: 10px;
  }
}

@media (max-width:575px) {
  .today-journal table td, .today-journal table th {
    padding: 10px 5px;
  }
}

@media (max-width:575px) {
  .today-journal table th {
    padding-top: 0;
    font-size: 13px;
  }
}

@media (max-width:575px) {
  .today-journal-button::after {
    width: 0;
  }
}

@media (min-width:576px)and (max-width:768px) {
  .MenuButton {
    padding-right: 1em!important;
  }
}

@media (min-width:576px)and (max-width:768px) {
  .today-journal {
    width: 80%;
  }
}

@media (min-width:576px)and (max-width:768px) {
  .today-journal-button::after {
    width: 0;
  }
}

@media (min-width:769px)and (max-width:992px) {
  .today-journal {
    width: 60%;
  }
}

@media (min-width:993px)and (max-width:1200px) {
  .today-journal {
    width: 50%;
  }
}

.error-to-load-menu {
  margin: 10px;
}

.error-to-load-menu a {
  color: #fff;
  text-decoration: underline;
}

