@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@100..900&display=swap');

html, body{
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  width: 100vw;
  height: 100vh;
  padding: 8px 16px 8px 16px;
  font-family: "Urbanist";
  background-color: #F2F5F7;
  display: flex;
  flex-direction: row;
}

p, h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.low-line {
  line-height: 1.1; 
}

a {
  text-decoration: none;
  color: #516FA1 !important;
}

a:hover {
  color: #3B537D !important;
}

img {
  border-radius: 16px;
}

.large-text {
  font-size: 50px;
  font-weight: 400;
}

h1 {
  font-size: 32px;
  font-weight: 600;
}

h2 {
  font-size: 28px;
  font-weight: 400;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

h2 {
  font-size: 18px;
  font-weight: 400;
}

hr {
  border-style: inset;
  border-width: 1.5px;

  .m-0 {
    margin: 0;
  }
}

.sub-text {
  font-size: 15px;
  font-weight: 300;
}

.std-text {
  font-size: 22px;
  font-weight: 400;
}

.body-text {
  font-size: 16px;
  font-weight: 300;
}

.body-text-m {
  font-size: 19px;
  font-weight: 300;
}

.body-bold-text {
  font-size: 16px;
  font-weight: 600;
}

.body-bold-text-m {
  font-size: 19px;
  font-weight: 600;
}

.body-semi-bold-text-m {
  font-size: 19px;
  font-weight: 500;
}

.btn-text {
  font-size: 16px;
  font-weight: 400;
}

.caption-1-text {
  font-size: 14px;
  font-weight: 400;
}

.caption-2-text {
  font-size: 14px;
  font-weight: 400;
}

.caption-3-text {
  font-size: 12px;
  font-weight: 400;
}

.p-0 {
  padding: 0;
}

.p-xs {
  padding: 8px;
}

.p-s {
  padding: 16px;
}

.p-m {
  padding: 24px;
}

.p-xl {
  padding: 40px;
}

.pt-s {
  padding-top: 16px;
}

.pb-s {
  padding-bottom: 16px;
}

.pb-xl {
  padding-bottom: 48px;
}

.px-s {
  padding-left: 16px;
  padding-right: 16px;
}

.px-m {
  padding-left: 24px;
  padding-right: 24px;
}

.py-xs {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-s {
  padding-top: 16px;
  padding-bottom: 16px;
}

.ps-s {
  padding-left: 16px;
}

.ps-m {
  padding-left: 24px;
}

.pe-xs {
  padding-right: 8px;
}

.pe-m {
  padding-right: 24px;
}

.ms-s {
  margin-left: 16px;
}

.ms-xs {
  margin-left: 8px;
}

.ms-m {
  margin-left: 24px;
}

.ms-l {
  margin-left: 32px;
}

.me-s {
  margin-right: 16px;
}

.me-xs {
  margin-right: 8px;
}

.mx-s {
  margin-left: 16px;
  margin-right: 16px;
}

.mx-xs {
  margin-left: 8px;
  margin-right: 8px;
}

.mb-xs {
  margin-bottom: 8px;
}

.my-s {
  margin-top: 16px;
  margin-bottom: 16px;
}

.mt-xs {
  margin-top: 8px;
}

.mt-s {
  margin-top: 16px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-m {
  margin-top: 24px;
}

.mt-l {
  margin-top: 32px;
}

.mt-xl {
  margin-top: 48px;
}

.mb-l {
  margin-bottom: 32px;
}

.w-30 {
  width: 30%;
}

.w-40 {
  width: 40%;
}

.w-60 {
  width: 60%;
}

.gray-30 {
  color: #494A4D;
}

.gray-50 {
  color: #5E6063;
}

.gray-60 {
  color: #919499;
}

.gray-70 {
  color: #AAADB2;
}

.menu-section {
  min-width: 16%;
  height: 100%;
  padding: 0 0 26px 0;
  display: flex;
  flex-direction: column;
}

.modal-backdrop {
  z-index: 2000 !important;
}
.modal {
  z-index: 2001 !important;
}

.box {
  position: relative;
  z-index: 1;
  background-color: white;
  border-radius: 24px;
  border-style: solid;
  border-color: #DAE0EB;
  border-width: 1.5px;
  overflow: hidden;
}

.box-icon {
  position: absolute;
  z-index: 2;
  bottom: -25%;
  right: -5%;
  transform: rotate(-10deg);
}

.box-2 {
  background-color: #F0F5FF;
  border-radius: 16px;
  max-height: 40px;
  display: flex;
  justify-content: center;
  cursor: pointer;

  transition: 0.1s ease-out;
}

.box-2:hover {
  background-color: #E4EEFF;
}

.box-2:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.box-2.navy {
  background-color: #516FA1;
  color: white;
}

.box-2.navy:hover {
  background-color: #3B537D;
}

.box-2.clear {
  background-color: rgba(228, 238, 255, 0.35);
  color: #516FA1;
}

.box-2.clear:hover {
  background-color: #E4EEFF;
}

.box-2.red {
  background-color: #893B3B;
  color: white;
}

.box-2.red:hover {
  background-color: #673535;
}

button.box {
  width: 100%;
  text-align: inherit;

  transition: 0.1s ease-out;
}

button.box:hover {
  border-color: #9AADC9;

  svg path {
    stroke: #9AADC9;
  }
}


button.box-2 {
  border: none;
  outline: none;
}

.btn {
  outline: none;
  border: none;
}

.btn-action-empty {
  width: 18px;
  height: 24px;
}

.box-btn {
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0);
  border-radius: 16px;
  border-width: 1.5px;
  border-style: solid;
  display: flex;
  flex-direction: row;
  cursor: pointer;
  transition: 0.1s ease-out;
}

.box-btn:hover {
  background-color: white;
  border-color: #DAE0EB;
}

.box-btn.active {
  background-color: white;
  border-color: #DAE0EB;
  position: relative;
  z-index: 1;
}

.box-btn-indecator {
  display: none;
}

.active .box-btn-indecator {
  display: block;
  background-color: #516FA1;
  border-radius: 8px;
  min-height: 43px;
  min-width: 8px;
  position: absolute;
  z-index: 2;
  left: -21px;
  top: -1.5px;
}

.logo {
  width: 40px;
  height: 40px;
  background-color: #516FA1;
  border-radius: 16px;
  cursor: pointer;
}

.logo:hover {
  background-color: #3B537D;
}

.bottom-border {
  border-bottom-style: solid;
  border-color: #DAE0EB;
  border-width: 1.5px;
}

.col-3 {
  padding-left: 4px;
  padding-right: 4px;
}

.screen {
  display: none;
}

.screen.active-screen {
  display: block;
  overflow-y: scroll;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 16px;
  padding-bottom: 90px;
}

.table{
  border: none;
  margin: 0;

  thead {
    border-style: none;
    border-bottom-style: solid;
    border-color: #DAE0EB;
    border-width: 1.5px;
  }

  thead th {
    padding:16px;
    border: none;
    position: relative;
  }

  thead th.nb::after {
    display: none;
  }

  thead th::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 50%;
    width: 1.5px;
    height: 35%;
    background-color: #DAE0EB;
    transform: translate(0, 50%);
  }

  td {
    padding: 8px;
    padding-left: 16px;
    border: none;
    vertical-align: middle;
    align-content: center;
  }

  tr:nth-child(even) {
    background-color: #F7FAFF;
  }

  .table-btn {
    border-radius: 8px;
    border: none;
    outline: none;
    padding: 0;
    max-width: max-content;
    max-height: max-content;
    background-color: rgba(255, 255, 255, 0);

    path {
      transition: 0.1s ease-out;
    }
  }

  .table-btn:hover {
    path {
      stroke: #9DB3D9;
    }
  }
}

.status-label {
  border-radius: 8px;
  padding: 2px 8px 2px 8px;
  min-width: 105px;
  width: fit-content;
  height: 28px;
  text-align: center;
}

.status-label.green {
  background-color: #E7F9E0;
  color: #627959;
}

.status-label.yellow {
  background-color: #FFF8D5;
  color: #805F13;
}

.status-label.blue{
  background-color: #DAE7FF;
  color: #516FA1;
}

.status-label.red {
  background-color: #F9E0E0;
  color: #814343;
}

.status-label.lavander {
  background-color: #EDE7FF;
  color: #5B4B8A; 
}

.form-group {
  width: 100%;
}

.form-control {
  background-color: #F0F5FF !important;
  border: none;
  border-radius: 16px;

  &::placeholder {
    color: #C2C6CC;
  }
}

/* sideview */

.sideview {
  height: 100%;
  width: 0%;
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 16px 0 0 16px;
  transition: 0.15s ease-out;
  overflow-x: hidden;
  overflow-y: scroll;
}

.sideview.active {
  width: 50%;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.075s ease-out, visibility 0.1s ease-out;
}

#overlay.show {
  opacity: 1;
  visibility: visible;
}

/* signin */

.signin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* calendar */

.fc {
  background-color: #fff;
  border-radius: 16px;
}

.fc-day-today {
  background-color: #f3f6fd !important;
}

.fc-col-header-cell-cussion {
  color: #516FA1 !important;
}

.fc-daygrid-day-number {
  color: #516FA1;
}

.fc .fc-button {
  background-color: #516FA1 !important;
  border: none !important;
}

.fc .fc-button:hover {
  background-color: #3B537D !important;
}

.fc .fc-button:focus,
.fc .fc-button.fc-button-active {
  background-color: #3B537D !important; 
}

.fc-event {
  cursor: pointer;
}

/* 
.fc .fc-bg-event .fc-event-title {
  margin-top: 4px;
  margin-bottom: 4px;
} */

input.flatpickr {
  background-color: #f1f5ff;
}

.form-check-input:checked {
  background-color: #516FA1;
  border-color: #516FA1;
}