/* * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
} */
*:focus {
  outline: 0 !important;
}

html {
  /* background: #1D2D50; */
}

body {
  opacity: 1;
  transition-duration: 0.3s !important;
}

.select2, .select2-container, .select2-container * {
  transition-duration: 0s !important;
}

input, select {
  /* border: 0 !important; */
}

th{
  overflow: hidden;
}

.fc-list-empty{
  max-height: 100px;
}

label {
  color: #4C4C4C;
}

#yii-debug-toolbar{
  z-index: 9999999999999;
}

.fc-media-screen .fc-timegrid-event {
  min-height: 45px;
  text-align: center;
}

.fa-perbis {
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0;
  padding: 0;
}

.fa-perbis.cockpit {
  background: url(/images/cockpit-white.svg);
  background-size: 35px !important;
}

.menu-item.active .fa-perbis.cockpit, .menu-item:hover .fa-perbis.cockpit {
  background: url(/images/cockpit.svg);
}

.fa-perbis.project {
  background: url(/images/project-white.svg?t=1);
  background-size: 35px !important;
}

.menu-item.active .fa-perbis.project, .menu-item:hover .fa-perbis.project {
  background: url(/images/project.svg?t=1);
}

.fa-perbis.logout {
  background: url(/images/logout-white.svg);
  background-size: 25px !important;
}

.menu-item.active .fa-perbis.logout, .menu-item:hover .fa-perbis.logout {
  background: url(/images/logout.svg);
}

.fa-perbis.data {
  background: url(/images/data-white.svg);
  background-size: 25px !important;
}

.menu-item.active .fa-perbis.data, .menu-item:hover .fa-perbis.data {
  background: url(/images/data.svg);
}

.fa-perbis.school {
  background: url(/images/school-white.svg);
  background-size: 25px !important;
}

.menu-item.active .fa-perbis.school, .menu-item:hover .fa-perbis.school {
  background: url(/images/school.svg);
}

.menu-item[aria-expanded='true'] .fa-perbis.data{
    background: url(/images/data.svg);
}

.fa-perbis.teacher {
  background: url(/images/teacher-white.svg);
  background-size: 25px !important;
}

.menu-item.active .fa-perbis.teacher, .menu-item:hover .fa-perbis.teacher {
  background: url(/images/teacher.svg);
}

.fa-perbis.calendar {
  background: url(/images/calendar-white.svg);
  background-size: 30px !important;
}

.menu-item.active .fa-perbis.calendar, .menu-item:hover .fa-perbis.calendar {
  background: url(/images/calendar.svg);
}

.fa-perbis.mail {
  background: url(/images/mail-white.svg);
  background-size: 25px !important;
}

.menu-item.active .fa-perbis.mail, .menu-item:hover .fa-perbis.mail, .fa-perbis.mail.forced {
  background: url(/images/mail.svg);
}

.fa-perbis.group {
  background: url(/images/group-white.svg);
  background-size: 25px !important;
}

.menu-item.active .fa-perbis.group, .menu-item:hover .fa-perbis.group {
  background: url(/images/group.svg);
}

.fa-perbis.student {
  background: url(/images/student-white.svg);
  background-size: 25px !important;
}

.menu-item.active .fa-perbis.student, .menu-item:hover .fa-perbis.student {
  background: url(/images/student.svg);
}

.forced {
  display: inline-block;
  width: 30px;
  height: 20px;
  position: relative;
  top: 3px;
}

.fa-perbis.raports {
  background: url(/images/raports-white.svg);
  background-size: 30px !important;
}

.menu-item.active .fa-perbis.raports, .menu-item:hover .fa-perbis.raports, .menu-item[aria-expanded="true"] .fa-perbis.raports {
  background: url(/images/raports.svg);
}

.loading {
  opacity: 0 !important;
  transition-duration: 0.3s !important;
}

*[onclick], a {
  cursor: pointer;
}

*:not(.fa):not(.fas):not(.far):not(.fab):not(.fc-icon) {
  font-family: 'Roboto' !important;
}

a {
  text-decoration: none !important;
}

.content-holder {
  height: calc(100vh - 80px);
  overflow: auto;
  width: calc(100vw - 50px);
  padding: 1rem 2rem 2rem;
}

@media (max-width: 1200px){
  .content-holder{
    padding: 1rem 1.5rem 1rem;
  }
}

@media (max-width: 992px){
  .content-holder{
    padding: 1rem 1rem 1rem;
  }
}

@media (max-width: 768px){
  .content-holder{
    padding: 1rem 1.5rem 1rem;
    width: calc(100vw);
  }
}

@media (max-width: 576px){
  .content-holder{
    padding: 1rem .5rem 1rem;
  }
}

.content-holder > div.row > div.col-12{
  /* padding: 0; */
}

.percentage-indicator {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #1D2D50;
    background: red;
}

h2 .percentage-indicator{
  margin-right: 10px;
}

.percentage-indicator.p100{
  background: #15b415;
}

.percentage-indicator.p75{
  background: #fcf030;
}

.percentage-indicator.p50{
  background: #ffcd55;
}

.percentage-indicator.p25{
  background: #ff8500;
}

.percentage-indicator.p0{
  background: #9f2929;
}

@media screen and (max-width: 767px) {
  .navbar-active .content-holder {
    max-width: calc(100vw)
  }
}

@media screen and (min-width: 768px) {
  .navbar-active .content-holder {
    max-width: calc(100vw - 250px)
  }
}

.row {
  width: 100%;
}

.navi.col-12:empty {
    margin: 0 !important;
}

.bg-data {
  background: #F5F5F5;
  border-radius: 5px;
  box-shadow: 0px 6px 6px #00000029;
  margin-bottom: 2rem !important;
}

.content-holder > div {
    margin: 0;
}

.form-data {
  background: #F5F5F5;
  border-radius: 5px;
  padding-bottom: 1.5rem;
  box-shadow: 0px 6px 6px #00000029;
}

.form-data.failed {
  border: 2px solid red;
}

.error-holder i {
  display: inline-block;
  height: 30px;
  width: 30px;
  line-height: 30px;
  text-align: center;
  color: red;
  font-size: 20px;
}

.error-holder p {
  line-height: 24px;
}

table {
  background: #fff;
  border: 1px solid #BBBBBB;
  margin-bottom: 0 !important;
}

tr.highlight,
table:not(.no-hover) tbody tr:hover {
  background: rgb(29 45 80 / 19%);
}

table th {
  text-transform: uppercase;
  font-weight: bold;
  color: #4C4C4C;
  border: 1px solid #BBBBBB;
  text-align: center;
}

div.navi:nth-of-type(1) {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

table td {
  border: 1px solid #BBBBBB;
}

table td .grade {
  border: 0 !important;
}

table td.action, table th.action {
  background: #1D2D50 !important;
  border: 1px solid #1D2D50 !important;
  padding: 0 !important;
  position: relative;
  min-width: 100px;
  border-right: 0 !important;
}

table td.action>div, table th.action>div {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  justify-content: space-evenly;
  align-items: center;
}

.records p, .records select {
  display: block;
  font-size: 15px;
}

.records select {
  border-radius: 0 5px 5px 0;
}

div.navi {
  max-width: 290px;
  margin: 0 auto;
}

div.navi ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

div.navi ul li {
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #4C4C4C;
}

div.navi ul li.prev a, div.navi ul li.next a {
  color: white;
  font-weight: bold;
  background: #1D2D50;
  width: 26px;
  height: 26px;
  display: block;
  line-height: 28px;
  text-align: center;
  border-radius: 100%;
  font-size: 18px;
  margin: -1px;
}

div.navi ul li.page a {
  color: #4C4C4C;
  font-size: 15px;
}

.records p {
  margin: 0;
  line-height: 35px;
  background: white;
  padding: 0 15px 0 10px;
  border-radius: 5px 0 0 5px;
  border: 1px solid #ced4da;
  border-right: 0;
}

table td.action *, table th.action * {
  color: white;
  font-size: 20px;
}

select#records {
    border-left: 0;
}

h2, h2 a {
  text-transform: uppercase;
  font-weight: bold;
  color: #1D2D50 !important;
  font-size: 24px;
  line-height: 24px;
  margin-top: 12px;
}

.menu-item[aria-expanded="true"] .menu-item-text i {
  transform: rotate(45deg);
}

.menu-item:hover, .menu-item.active, .menu-item[aria-expanded="true"] {
  background: white;
}

.menu-item.active *, .menu-item[aria-expanded="true"] *, .menu-item:hover *, .menu-item[data-depth="1"].active * {
  color: #1D2D50 !important;
}

*, *:focus, *:active, *:hover, *:visited {
  transition-duration: 0.2s !important;
}

.menu-content .separator {
  height: 25px;
  position: relative;
}

.menu-content .separator::before {
  content: " ";
  display: block;
  height: 1px;
  position: absolute;
  top: 12px;
  left: 3%;
  right: 3%;
}

.sub-menu {
  background: rgba(0, 0, 0, 0.2);
}

.sub-menu .menu-item-text {
  width: calc(100% - 104px);
}

.menu-header h1 {
  font-size: 25px;
  line-height: 25px;
}

#content {
  height: calc(100vh - 110px);
  margin-top: 80px;
  margin-left: 0px;
}

.user-header {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  top: -80px;
  background: white;
  box-shadow: 0px 12px 12px #00000029;
  z-index: 3;
  overflow: hidden;
  padding: 0 2rem 0;
}

@media (max-width: 1200px){
  .user-header {
      padding: 0 1rem 0;
  }
}

@media (max-width: 992px){
  .user-header {
      padding: 0 1rem 0;
  }
}

@media (max-width: 576px){
  .user-header {
      padding: 0 .5rem 0;
  }
}

.user-header::before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    right: 0;
    width: 70px;
    background: linear-gradient(90deg, transparent, white 50%);
    z-index: 999;
    pointer-events: none;
}

@media (min-width: 768px){
  .user-header::before{
    display: none;
  }
}

.user-header .col-12 {
  overflow: auto;
  padding: 0;
}

.user-header > *{
  padding: 0;
}

.user-menu .user-avatar {
  display: block;
  height: 40px;
  margin-left: 10px;
  border-radius: 100%;
  box-shadow: 0px 3px 6px #00000029;
}

.user-menu .first-name, .user-menu .last-name {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  text-transform: Capitalize;
  color: #4c4c4c;
  font-size: 15px;
}

.user-menu i {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-right: 15px;
  font-size: 20px;
}

.user-menu a {
  color: #212529;
  transition-duration: 0.3s;
}

.user-menu a:hover {
  color: #81B214;
  transition-duration: 0.3s;
}

/*
.tile {
  width: 100%;
  box-shadow: 0px 12px 12px #00000029;
  margin-bottom: 2.5rem;
  border-radius: 5px;
  position: relative;
}

.tile-content {
  position: absolute;
  z-index: 3333333;
  background: #F5F5F5;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 5px;
}

.tile-label{
  left: 1rem;
  bottom: 1rem;
  position: absolute;
  text-transform: uppercase;
  color: #1D2D50;
  font-weight: bold;
  font-size: 24px;
}

.tile::before {
  content: " ";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  top: 0;
  border-radius: 5px;
}

 */
.grid-container {
  width: 100%;
  height: 700px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 0.25fr 0.25fr 0.25fr;
  gap: 20px 25px;
  grid-template-areas:
    "Raporty Info Info Info"
    "Dane Info Info Info"
    "Poczta Info Info Info";
}

.Raporty {
  grid-area: Raporty;
}

.Dane {
  grid-area: Dane;
}

.Poczta {
  grid-area: Poczta;
}

.Info {
  grid-area: Info;
}

.tile-container {
  margin: 1rem;
  height: calc(100% - 2rem);
  position: relative;
}

.tile-background {
  height: 100%;
  border-radius: 5px;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  background: red;
  transform: translate(0, 10px);
}

.tile-background.green {
  background-color: #81B214
}

.tile-background.orange {
  background-color: #F0A500
}

.tile-background.blue {
  background-color: #0052F5
}

.tile-background.red {
  background-color: #B21414
}

.tile-content {
  height: 100%;
  background: #F5F5F5;
  border-radius: 5px;
  position: absolute;
  z-index: 22;
  left: 0;
  right: 0;
  box-shadow: 0px 12px 12px #00000029;
}

img.avatar {
  border-radius: 100%;
  box-shadow: 0px 3px 6px #00000029;
}

div.avatar a:nth-child(1n) {
  position: absolute;
  right: 57%;
  bottom: -15px;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 23px;
  color: white;
  background: #1D2D50;
  border-radius: 100%;
  box-shadow: 0px 3px 3px #00000029;
}

div.avatar a:last-child {
  position: absolute;
  left: 57%;
  bottom: -15px;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 23px;
  color: white;
  background: #1D2D50;
  border-radius: 100%;
  box-shadow: 0px 3px 3px #00000029;
}

.tile-label {
  left: 1rem;
  bottom: 1rem;
  position: absolute;
  text-transform: uppercase;
  color: #1D2D50;
  font-weight: bold;
  font-size: 24px;
}

#project_selector.custom-select {
  max-width: 160px;
  background-color: #F5F5F5;
}

#selector_school.custom-select {
  max-width: 400px;
  background-color: #F5F5F5;
  margin-left: 10px;
}

.modal-delete-name {
  font-weight: bold;
}

select#records, .search .input-group-append {
  max-width: 70px;
}

.select2-selection {
  height: calc(1.5em + 1rem + 2px) !important;
  padding: .5rem 1rem;
  font-size: 1.25rem;
  border-radius: .3rem !important;
}

div.search input, .select2-selection {
  border: 1px solid #ced4da !important;
}

.select2 {
  max-width: 100%;
  width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 50px !important;
  right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 31px !important;
}

div.search button {
  border: 0;
  border-radius: 5px !important;
  background: #1D2D50;
  color: white;
  padding: 0;
  width: 50px;
  background: url('/images/arrow.svg');
}

div:not(.raport_selects):not(.modal-body):not(.triple_holder)>span.select2:nth-child(2n) {
  display: none !important;
}

.select2-selection--multiple {
  overflow: auto;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  font-size: 0.8em;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  max-height: 30px !important;
  margin-top: 0 !important;
}

.custom-tabs {
  height: 37px;
  background: #1D2D50;
  border-radius: 6px 6px 0 0;
  padding-left: 5px;
  overflow: hidden;
}

.custom-tabs a.tab {
  height: 37px;
  padding: 0 30px;
  line-height: 37px;
  display: inline-block;
  color: white;
  background: transparent;
  border-radius: 5px 5px 0 0;
  margin: 0 -5px;
  position: relative;
  z-index: 2;
}

.custom-tabs a.tab.active, .custom-tabs a.tab:hover {
  background: #F5F5F5;
  color: #1D2D50;
  z-index: 3;
}

.bc {
  font-weight: normal;
}

#group-details div.avatar a:last-child, #group-details div.avatar a:nth-child(1n) {
  bottom: -8px;
  height: 30px;
  width: 30px;
  line-height: 30px;
  font-size: 16px;
}

.modal .select2-selection {
  background: white;
  border-radius: 5px;
  height: auto !important;
  min-height: fit-content;
  max-height: unset;
}

hr {
  width: 100%;
  display: block;
}

td.presence {
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
}

.user-header .select2-selection {
  background: #F5F5F5 !important;
}

.user-header .select2 {
  margin-right: 10px;
  max-width: 300px;
}

#school-index table td:first-child, #school-index table th:first-child,
#group-index table td:first-child, #group-index table th:first-child,
#student-index table td:first-child, #student-index table th:first-child,
#group-details table td:first-child, #group-details table th:first-child {
  text-align: center;
}

input[type="checkbox"] {
  height: 20px;
  width: 20px;
  position: relative;
  padding: 0;
  margin: 0;
  border-radius: 5px !important;
  appearance: none;
  border: 1px solid #bbb;
}

td input[type="checkbox"], .checkbox-middle input[type="checkbox"] {
  height: 20px;
  width: 20px;
  position: relative;
  padding: 0;
  margin: 0;
  border-radius: 5px !important;
  border: 1px solid #bbb;
  appearance: none;
}

td input[type='checkbox']:checked, .checkbox-middle input[type="checkbox"]:checked {
  background: #1D2D50;
  border: 1px solid #1D2D50 !important;
}

/* td input[type='checkbox']:checked::after {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  background: white;
} */

/* td input[type='checkbox']:checked::before {
  content: " ";
  position: absolute;
  left: 2px;
  top: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: 5px;
  background: #1D2D50;
  z-index: 3;
} */

#teacher-index input[type='checkbox'] {
  top: 2px;
  left: 2px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  white-space: nowrap;
  display: inline-block;
  top: 3px !important;
  max-width: 90%;
  padding-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;

}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove, .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  position: relative;
  top: -4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
  background-color: transparent !important;
}

#student-details .select-holder .select2 {
  display: block !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1D2D50;
}

h3 {
  font-weight: normal;
  margin: 0;
  height: 48px;
  line-height: 48px;
}

#presence-percent {
  position: relative;
}

.td-grade span {
  display: block;
  height: 40px;
  line-height: 44px;
}

.fc-timegrid-col-frame::before {
  content: " ";
  position: absolute;
  right: -1px;
  width: 1px;
  top: 0;
  bottom: 1px;
  background: rgb(112 112 112 / 0.5);
  z-index: 333;
}

.fc * {
  border-style: none !important;
}

.fc-timegrid-slot-lane:not(.fc-timegrid-slot-minor) {
  border-top: 1px solid rgb(112 112 112 / 0.5) !important;
}

.fc .day {
  color: #1D2D50;
  font-weight: bold;
  font-size: 19px;
  margin: 0 !important;
  line-height: 18px;
}

.fc .number {
  color: #1D2D50;
  font-weight: lighter;
  font-size: 16px;
  margin: 0;
  line-height: 23px;
}

@media (max-width: 768px) {
  .fc .number, .fc .day {
    display: none;
  }
}

.fc-col-header-cell-cushion {
  display: none !important;
}

th.fc-col-header-cell {
  position: relative;
}

.fc-list-day-side-text, .fc-list-day-text {
  color: #1D2D50 !important;
}

.fc thead tr {
  border-bottom: 1px solid rgb(112 112 112 / 0.5) !important;
}

th.fc-col-header-cell::before {
  content: " ";
  position: absolute;
  right: -1px;
  width: 1px;
  top: 10px;
  bottom: 0;
  background: rgb(112 112 112 / 0.5);
}

th.fc-col-header-cell.fc-day-mon::after {
  content: " ";
  position: absolute;
  left: 0px;
  width: 1px;
  top: 10px;
  bottom: 0;
  background: rgb(112 112 112 / 0.5);
}

.fc-scrollgrid-shrink {
  border-top: 1px solid rgb(112 112 112 / 0.5) !important;
}

button.fc-prev-button.fc-button.fc-button-primary, button.fc-next-button.fc-button.fc-button-primary {
  border-radius: 100% !important;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  padding: 0;
  margin-left: 20px !important;
}

button.fc-prev-button.fc-button.fc-button-primary span, button.fc-next-button.fc-button.fc-button-primary span {
  text-align: center;
}

.fc .fc-scroller-liquid-absolute {
  position: unset !important;
}

@media (min-width: 769px) {
  .fc-view-harness.fc-view-harness-active {
    height: unset !important;
  }
}

.mail-menu a {
  display: block;
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #1D2D50;
  text-indent: 10px;
  white-space: nowrap;
}

.mail-menu-mobile a {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  color: #1D2D50;
  text-indent: 10px;
  white-space: nowrap;
  padding: 0 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.main-menu-mobile a:last {
  border-right: none !important;
}

.mail-menu a:hover, .mail-menu-mobile a:hover {
  background: rgba(0, 0, 0, 0.1);
}

.mail-menu a.active, .mail-menu-mobile a.active {
  font-weight: bold;
}

.mail-list {
  background: white;
  overflow: auto;
  max-height: 70vh;
}

div.mail {
  position: relative;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 9px 10px 2px;
  margin-bottom: 4px;
}

.mail p {
  margin: 0;
  color: #1D2D50;
}

p.from {
  font-size: 15px;
  font-weight: bold;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 62%;
}

p.topic {
  font-size: 14px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 75%;
}

p.content {
  font-size: 12px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* max-width: 75%; */
  max-height: 69px;
}

p.date {
  font-size: 13px;
  line-height: 15px;
  position: absolute;
  right: 10px;
  top: 10px;
  text-align: right;
}

textarea {
  overflow: auto;
  resize: none;
  width: 100%;
  min-height: 150px;
  padding: 15px;
  background: white;
  border-radius: 3px;
  border: 1px solid #ced4da;
}

.from p, .topic p {
  font-weight: bold;
  color: #1D2D50;
  font-size: 16px;
  margin: 0;
}

.date p {
  font-size: 14px;
  color: #1D2D50;
  margin: 0;
  line-height: 21px;
}

.div-menu {
  max-height: 0px;
}

@media (max-width: 768px) {
  .div-menu {
    max-height: unset;
    margin-bottom: 2rem;
  }
}

#select_to>div>span.select2 {
  display: block !important;
}

#mail-new .from p {
  line-height: 48px;
}

#grade-grades table input {
  border: 0 !important;
}

.fc-media-screen .fc-timegrid-event-harness {
  left: 2% !important;
  right: 0% !important;
  margin-right: 0 !important;
}

.popover-body {
  padding: 0;
}

.user-header i {
    color: #1D2D50;
}

.user-header i:hover {
    color: #81B214;
}

.pop-subject {
  padding: 5px 10px;
  max-width: 275px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1D2D50;
  font-weight: bold;
  font-size: 17px;
}

.popover-body p {
  margin: 0;
}

div.pop-teacher, div.pop-presence, div.pop-group, div.pop-time{
  padding: 5px 10px;
}

.popover-body > div:hover{
  background: rgba(29, 45, 80, 0.1);
  transition-duration: 0.3s;
}


div.pop-time{
  margin-top: 10px;
}

div.pop-presence{
  margin-bottom: 10px;
}

.pop-teacher a, .pop-group a, .pop-presence a, div.pop-time p {
  display: block;
  line-height: 20px;
  color: black;
  font-size: 16px;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#grade-grades .table-responsive th:nth-child(2), #grade-grades .table-responsive td:nth-child(2),
#meeting-presence .table-responsive th:nth-child(2), #meeting-presence .table-responsive td:nth-child(2){
  position:sticky;
  left:0px;
  background-color: white;
  border: 0 !important;
  outline: 1px solid #BBB;
  transform: translate(1px, 1px);
}

table tr{
  overflow: hidden;
}

#grade-grades .table-responsive td:nth-child(2),
#meeting-presence .table-responsive td:nth-child(2){
}

#grade-grades tr:hover td, #grade-grades tr:hover th, #grade-grades tr:hover,
#meeting-presence tr:hover td, #meeting-presence tr:hover th, #meeting-presence tr:hover{
  background: #f1f5ff !important;
}

.popover-body i{
  display: inline-block;
  width: 20px;
  text-align: right;
  margin-right: 15px;
  color: rgb(29, 45, 80);
}

.pop-time-e i{
  opacity: 0;
}

.form-check-label{
  line-height: 40px
}

.form-check-label input{
  top: 3px;
  left: -15px;
}

span.menu-mytitle{
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 10px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 14px;
  line-height: 14px;
  max-width: 100%;
  white-space: nowrap;
}

.modal-body > .row{
  margin: 0;
}

.modal-body > .row > div{
  padding: 0;
}

.modal-body label:not(.not){
  margin-bottom: 0px;
  font-size: 13px;
  font-weight: bold;
  color: #4C4C4C;
}

.modal-body .col-6:nth-child(1) .form-group{
  padding-right: 10px;
}

.modal-body .col-6:nth-child(2) .form-group{
  padding-left: 10px;
}

body .modal {
    left: 50px;
}

body.navbar-active .modal{
  left: 250px !important;
  width: calc(100% - 250px) !important;
}

@media screen and (max-width: 768px){
  body .modal {
      left: 0;
  }

  body.navbar-active .modal{
    left: 0 !important;
    width: 100% !important;
  }
}

div#message{
  padding: 9px 10px 2px;
  max-height: 250px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#modal-grades p{
  margin: 0;
}

.checkbox-middle input[type='checkbox']{
  top: 1px;
}

.no-wrap{
  white-space: nowrap !important;
}

.search .input-group-append button{
  height: 38px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  z-index: 55;
}

.search input{
  /* right: -10px; */
  height: 37px;
}

.table-cell{
  padding: 0.7rem;
}

.select2-container .select2-selection--multiple{
  line-height: 20px;
}

#grade-grades td > input {
  width: 100%;
}

.raports-menu .form-group{
  margin-top: 0;
}

table:not(.no-hover) tbody tr.time-error{
  background: rgba(155, 0, 0, 0.4);
}

table:not(.no-hover) tbody tr.time-error:hover{
  background: rgba(155, 0, 0, 0.5);
}

@media (max-width: 576px){
  .custom-tabs{
    display: none !important;
  }

  select#records, .search .input-group-append{
    max-width: unset;
  }

  .search{
    padding-left: 10px;
  }

  .records {
    padding-left: 10px;
  }
}

.content-holder > .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.content-holder > .row > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

tr.last {
    background: rgb(29 45 80 / 30%);
}

.not-available-bcs-of-date{
  opacity: 0.1;
  cursor: not-allowed;
}

.custom-radio label {
  display: flex;
  padding: .25rem 1rem;
  align-items: center;
}

.custom-radio input {
  appearance: none;
  display: inline-block;
  height: 20px;
  width: 20px;
  margin-right: 1rem;
  outline: 1px solid #ced4da;
  background: white;
  border-radius: 5px;
}


.custom-radio input:checked{
  background: #81B214;
  outline: 1px solid #81B214;
  border: 0 !important;
}


#schedule-modal a{
  font-weight: bold;
  color: #1d2d50 !important;
}

#schedule-modal a:hover{
  text-decoration: underline !important;
  color: #1d2d50 !important;
}

.select2-container--disabled{
    opacity: 0.6
}

.project-date{
  background-color: #fff;
  border: 1px solid #aaa;
  height: 48px;
  text-align: center;
  color: #444;
  font-size: 20px;
}

.project-date[disabled]{
  opacity: 0.6;
  background: #f4f4f4;
  border: 1px solid #aaa;
}

.project-date[type='date_from']{
  border-radius: 4px 0 0 4px;
}

.project-date[type='date_to']{
  border-radius: 0 4px 4px 0;
}

td[data-select2-id]{
  max-width: 400px;
}

table action a *{
  pointer-events: none;
}

table .action a:focus-within i,
table .action a:focus i,
table .action a:hover i{
  color: #81b214;
}

.title-clear{
  text-transform: lowercase;
  color: #212529;
  font-weight: normal;
}
