/*

* Override Pages default styles or create your own styles here

*/
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
  padding: 0 5px !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.row-gap-0 {
  row-gap: 0 !important;
}

.row-gap-1 {
  row-gap: 0.25rem !important;
}

.row-gap-2 {
  row-gap: 0.5rem !important;
}

.row-gap-3 {
  row-gap: 1rem !important;
}

.row-gap-4 {
  row-gap: 1.5rem !important;
}

.row-gap-5 {
  row-gap: 3rem !important;
}

.column-gap-0 {
  -moz-column-gap: 0 !important;
  column-gap: 0 !important;
}

.column-gap-1 {
  -moz-column-gap: 0.25rem !important;
  column-gap: 0.25rem !important;
}

.column-gap-2 {
  -moz-column-gap: 0.5rem !important;
  column-gap: 0.5rem !important;
}

.column-gap-3 {
  -moz-column-gap: 1rem !important;
  column-gap: 1rem !important;
}

.column-gap-4 {
  -moz-column-gap: 1.5rem !important;
  column-gap: 1.5rem !important;
}

.column-gap-5 {
  -moz-column-gap: 3rem !important;
  column-gap: 3rem !important;
}

.jumbotron h1.large-demo-text {
  font-size: 150px;
}

.icon-text-search {
  font-size: 42px;
  width: 150%;
}

*:not(.pg-icon,.fa,.blueimp-gallery-button) {
  font-family: 'Nanum Gothic', 'Helvetica', 'Arial', sans-serif !important;
}

.modal .form-group-default.form-group-default-select2 > label {
  z-index: 1052 !important;
}

tr.selected td {
  background: #d3eeff !important;
  color: #4b4b4b;
}

.edit-column-view {
  min-height: 500px;
}

.right-column-view .empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-del {
  text-decoration: line-through;
}

.text-underline {
  text-decoration: underline;
}

.fullscreen-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 799;
  background-color: #a0a0a0;
  opacity: .8;
}

.layer-selector-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 140px;
  margin: 0;
}

.calendar-event-title {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-v-event {
  border: 1px solid #ddd !important;
}

.card-big {
  height: 400px !important;
  margin: 0;
}

.card-big-half {
  height: 225px !important;
}

.select2-results__options li[aria-disabled="true"] {
  text-decoration: line-through;
}

.tms-login-logo {
  max-height: 70px;
  width: auto;
}

.tms-main-logo {
  max-height: 35px;
  width: auto;
}

.form-control.bottom-border-only {
  border-top: none;
  border-left: none;
  border-right: none;
}

.user-work-status {
  width: 16px;
  height: 16px;
}

.thumbnail-wrapper .user-work-status {
  position: absolute;
  right: -2px;
  bottom: -2px;
}

#chat .thumbnail-wrapper:after {
  margin-top: 19px;
  margin-left: -12px;
}

.header .profile-dropdown-toggle.user-online:after,
#chat .profile-img-wrapper.user-online:after,
#chat .thumbnail-wrapper.user-online:after {
  background-color: #35b425;
}

.header .profile-dropdown-toggle.user-offline:after,
#chat .profile-img-wrapper.user-offline:after,
#chat .thumbnail-wrapper.user-offline:after {
  background-color: #636363;
}

.header .profile-dropdown-toggle.user-away:after,
#chat .profile-img-wrapper.user-away:after,
#chat .thumbnail-wrapper.user-away:after {
  background-color: #cbe200;
}

.form-group .file-upload-default {
  visibility: hidden;
  position: absolute;
}

.attachment-box {
  position: relative;
  height: auto;
}

.attachment-box img {
  height: auto;
  width: 100%;
}

.attachment-box img:hover {
  opacity: .8;
}

.attachment-box .attachment-menu {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  background-color: rgba(230, 225, 220, 0.66);
}

.attachment-box .attachment-menu-buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 15px;
}

.attachment-box:hover .attachment-menu {
  display: block;
}

.list-attachment > .item {
  margin-bottom: 5px;
}

.attachment-delete-button {
  width: 100%;
}

.select2-dropdown {
  z-index: 1000;
}

.btn-cons {
  margin-right: 0px;
}

.table-center thead th, .table-center thead td, .table-center tbody th, .table-center tbody td {
  text-align: center;
}

.table-attendance td i, .table-attendance td span {
  vertical-align: middle;
}

.border-transparent {
  border-color: transparent !important;
}

span.dynatree-selected:not(.dynatree-has-children) a {
  font-style: normal !important;
  color: #9500c5 !important;
  font-weight: bold;
}

span.dynatree-active a {
  background-color: transparent !important;
}

.cursor-pointer {
  cursor: pointer;
}

.time-class {
  vertical-align: middle !important;
}

.table-responsive {
  border: none;
}

.table-responsive .table-bordered th {
  border-top: 1px solid rgba(224, 224, 224, 0.7) !important;
}

.icon-thumbnail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  left: 0;
  float: right;
  margin-right: 14px;
  color: #929aac;
  -webkit-transition: -webkit-transform 0 0.4s cubic-bezier(0.05, 0.74, 0.27, 0.99);
  transition: transform 0 0.4s cubic-bezier(0.05, 0.74, 0.27, 0.99);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  font-family: "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-weight: bold;
}

@keyframes blink-effect {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.icon-thumbnail.active {
  background-color: #845ae0;
  color: #FFF;
  animation: blink-effect normal 1.5s infinite ease-in-out;
}

.attendance-progress-box {
  min-width: 180px;
}

.no-dragging {
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.loading-overlay {
  z-index: 999 !important;
}

.breadcrumb-item a[href="#"] {
  cursor: text;
}

.field-error {
  border: 1px solid #b82d23 !important;
}

.breadcrumb > .breadcrumb-item.active {
  font-size: 11px !important;
  font-weight: bold;
}

.license-box {
  position: fixed;
  right: 8px;
  top: 8px;
  font-size: 12px;
}

.show-log {
  cursor: pointer;
  font-weight: bold;
}

#logText[readonly] {
  cursor: text;
}

/* modal z-index */
.modal {
  z-index: 1053;
}

.modal-backdrop {
  z-index: 1052;
}

.modal-open > .select2-container {
  z-index: 1060 !important;
}

.attendance-cell-time {
  display: block;
  font-size: 10px;
  color: #6c757d;
}

.modal-open .datepicker.dropdown-menu {
  z-index: 1055 !important;
}

.menu-bar ul > li.active > a {
  font-weight: bold !important;
  color: #FFF !important;
}

.menu-bar ul > li.active.open > a {
  color: #4b4b4b !important;
}

.menu-bar ul > li.active.open ul > li.active > a {
  font-weight: bold !important;
  color: #4b4b4b !important;
}

.qrcode-timer {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
}

.qrcode-timer-text {
  margin: 0 auto;
  background-color: #000;
  color: #FFF;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  width: 200px;
}

.qrcode-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.dynatree-text-del .dynatree-title {
  text-decoration: line-through;
}

.card-styled-top {
  background-color: #a895e1;
  width: 100%;
  height: 2px;
}

.card-handle {
  background-color: #f9f9f9;
  background-repeat: no-repeat;
  background-position: center;
  cursor: move;
}

.card-handle.horizontal {
  width: 100%;
  height: 22px;
  background-size: auto 8px;
  background-image: url("../../img/handle/handle-h.svg");
}

.card-handle.vertical {
  width: 17px;
  height: 100%;
  background-size: 8px auto;
  background-image: url("../../img/handle/handle-v.svg");
}

.note-btn-group i {
  font-size: 13px !important;
}

.card-handle.fixed {
  cursor: not-allowed !important;
}

.timetable-container {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: 1fr;
  border: 1px solid #ddd;
}

.timetable-student-list-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(auto-fill, 70px);
}

.timetable-container .item {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  align-items: center;
  border: 1px solid #ddd;
  height: 70px;
  text-align: center;
  padding: 0.25rem 0.35rem;
}

.timetable-container .item-attendance:hover {
  cursor: pointer;
  color: black;
}

.timetable-container .item.header {
  background-color: #f4f4f4;
  color: #212529;
  font-weight: 600;
  z-index: 2;
}

.timetable-attendance-scroll-container {
  overflow-x: auto;
}

.timetable-attendance-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, 80px);
  grid-auto-flow: column;
}

.timetable-attendance-list-container {
  display: grid;
  grid-template-columns: 80px;
  grid-template-rows: repeat(auto-fill, 70px);
  grid-auto-flow: row;
}
