
.my-ajax-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, .5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.my-header > div:first-child {
  background: linear-gradient(180deg, #004182 0%, #004182 50%, #003366 50%, #003366 100%);
  color: #fff;
}

.my-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.my-title {
  color: #003366;
  text-align: center;
  border-bottom: 2px solid #003366;
  padding: .5rem;
  margin-bottom: 1.5rem;
}

.my-footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}

.my-calendar {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
}

.my-calendar-header {
  text-align: center;
  padding: .5rem;
}

.my-calendar-body {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.my-calendar-body table {
  text-align: center;
}

.my-calendar-body thead img {
  width: 10rem;
  height: auto;
}

.my-calendar-body thead th:empty,
.my-calendar-body thead th:empty ~ th {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
}

.my-calendar-body thead th:empty {
  z-index: 3;
}

.my-calendar-body tbody th,
.my-calendar-body tbody td {
  vertical-align: middle;
}

.my-calendar-body tbody th {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
}

.my-calendar-body thead th.blue {
  color: var(--bs-blue);
}

.my-calendar-body thead th.red {
  color: var(--bs-red);
}

.my-room-img {
  display: inline-block;
  width: 120px;
  height: 90px;
  background: transparent no-repeat center/cover;
  border-radius: 5px;
}

.my-admin-calendar {
  height: 670px;
}

.my-quill .ql-container {
  background: #fff;
  font-family: inherit;
  font-size: inherit;
}

.my-quill-body {
  background: #fff;
  padding: 1rem;
}

.my-quill-body p {
  margin: 0;
}

.my-quill-body img {
  max-width: 100%;
}

#modalForm iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 240px);
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .my-room-img {
    width: 100px;
    height: 75px;
  }
}
