/* Temaplate - Vacation - new.php */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
  /* Add additional font weights and styles as needed */
}

/* Apply Inter font to all elements */
*, body {
  font-family: 'Inter', sans-serif;
}


#calendar {
  max-width: 1100px;
  height: 800px;
  /* z-index: 900; */
  position: relative !important;
}

.fc .fc-scroller-liquid-absolute {
  overflow: hidden !important;
}

.fc-daygrid-body .fc-daygrid-body-unbalanced .fc-scrollgrid-sync-table tr {
  height: 48px !important;
}

#calendar table tbody > tr:nth-child(odd) > td {
  margin: 10px !important;
  min-height: 58px;
  /* height: 50px !important; */
  /* width: 120px; */
}

.fc-theme-standard td,
.fc-theme-standard th {
  border: none !important;
}

.row.form-calendar {
  margin-right: -60px !important;
}

@media (min-width: 1024px) and (max-width: 1600px) {
  .row.form-calendar {
    margin-right: 0px !important;
  }
}

#calendar table tbody > tr:nth-child(odd) > td,
#calendar table tbody > tr:nth-child(odd) > th {
  background: #ffffff;
  opacity: 1;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: transparent !important;
}

.fc-day-today > .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
  background-color: #f6cf75;
  color: #fff;
}
.fc .fc-scrollgrid {
  border: none !important;
}

.fc-scroller {
  overflow: hidden !important;
}

.fc .fc-daygrid-day-frame {
  display: flex;
  justify-content: start;
  align-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  padding: 15px;
  margin: 5px;
  min-height: 78px;
}

td.fc-day.fc-day-sat.fc-daygrid-day,
td.fc-day.fc-day-sun.fc-daygrid-day {
  color: red;
  opacity: 0.6;
}

.form-vacation {
  box-shadow: 0px 4px 16px 0px #0000001f;
  padding: 15px;
  height: auto;
  border-radius: 15px;
  opacity: 1;
  margin: 0;
}

.fc-highlight {
  background: #f0a500 !important;
  opacity: 0.7;
}

/* .fc-highlight {
  display: none;
} */

.fc-weekend {
  background-color: transparent !important;
}

button.fc-prev-button.fc-button.fc-button-primary,
button.fc-next-button.fc-button.fc-button-primary {
  background-color: transparent !important;
  color: #f0a500 !important;
  border: none;
}

button.fc-next-button.fc-button.fc-button-primary {
  left: 255px;
}

.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
  position: relative;
  margin: 15px 0px;
}

.fc-toolbar-chunk h2 {
  position: absolute;
  top: 14px;
  font-size: 18px !important;
  font-family: "Inter";
  line-height: 11px;
  letter-spacing: -0.56px;
  font-weight: 700;
  left: 110px;
}

.fc .fc-button:focus {
  outline: none;
  box-shadow: none !important;
}

#title {
  font-size: 35px;
  line-height: 40px;
  font-family: "Inter";
  font-weight: 700;
}

@media only screen and (min-width: 768px) and (orientation: landscape) {
  div#calendar {
    margin: 0px !important;
    width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .col-mobile {
    padding: 0px !important;
    margin: 0px !important;
  }
  #title {
    font-size: 30px;
    line-height: 30px;
    padding: 0px 20px;
  }
  #total-days-text {
    padding: 0px 20px;
  }

  .row.row.form-calendar {
    margin-right: 0 !important;
  }

  .col-lg-9.col-md-12.col-mobile {
    overflow-x: scroll;
  }
  .col-vaction {
    margin-top: 20px 0px !important;
  }
  .col-vaction,
  .col-lg-3.col-md-12.col-vaction {
    overflow: hidden !important;
    margin: 20px 0px !important;
    padding: 0px 10px !important;
  }

  #calenndar table tbody > tr:nth-child(odd) > td {
    min-height: 65px !important;
    width: 70px !important;
  }

  .day-cell .vacation-users {
    top: 25px !important;
    left: 20px !important;
  }
}

@media (min-width: 1023px) {
  .form-vacation h2 {
    font-size: 22px;
  }
}

.form-vacation h2 {
  border-bottom: 2px solid #f7f7f7;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
  padding: 10px 0px;
}

.form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;
}

@media (max-width: 767px) {
  .row.form-calendar {
    margin: 0 !important;
  }

  #calendar table tbody > tr:nth-child(odd) > td {
    min-height: 65px !important;
    width: 56px !important;
  }

  .fc .fc-daygrid-day-frame {
    min-height: 65px !important;
    padding: 0px !important;
    margin: 2px !important;
  }

  h1#title {
    font-size: 31px;
    line-height: 30px;
    padding: 0px 20px;
  }

  h5#total-days-text {
    padding: 0px 20px;
  }

  .fc-scrollgrid-sync-table {
    max-width: 100% !important;
    height: 450px !important;
  }

  .form-vacation {
    height: auto;
  }

  .container-fluid {
    padding: 0 !important;
  }

  #calendar {
    height: 550px !important;
    z-index: 0;
    margin: 0 auto;
    padding: 0;
    width: 500px;
    overflow-x: scroll;
  }

  .col-mobile {
    padding: 0px;
    margin: 0px;
  }

  .col-lg-9.col-md-12.col-mobile {
    overflow-x: scroll;
    border-radius: 15px !important;
    box-shadow: 0px 4px 16px 0px #0000001f !important;
  }

  .vacation-users {
    top: 19px !important;
    left: 17px !important;
  }

  .vacation-users span.add-more {
    left: 20px !important;
  }
  .col-vaction,
  .col-lg-3.col-md-12.col-vaction {
    overflow: hidden !important;
    margin: 20px 0px !important;
    padding: 0px 5px !important;
  }
  button.btn-holiday {
    margin-left: 0.5rem !important;
  }
}

.error-message {
  background-color: #d80500;
  color: white;
  padding: 10px;
  text-align: center;
}

.btn-holiday:hover {
  background-color: transparent !important;
}

.tooltip.bs-tooltip-bottom .tooltip-inner {
  background-color: #fff;
  border: 1px solid #f0a500;
  color: #000;
  padding: 10px;
  border-radius: 8px;
  -webkit-box-shadow: 0px 4px 10px 0px rgba(212, 212, 212, 0.48);
  -moz-box-shadow: 0px 4px 10px 0px rgba(212, 212, 212, 0.48);
  box-shadow: 0px 4px 10px 0px rgba(212, 212, 212, 0.48);
  width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow {
  border-bottom-color: #00ff00;
}

.tooltip.bs-tooltip-top .tooltip-inner {
  background-color: #f0a500;
}

.tooltip.bs-tooltip-top .tooltip-arrow {
  border-top-color: #f0a500;
}

.hover-effect.tooltip-inner {
  font-weight: 700;
}

.vacation-users span:not(.add-more),
.vacation-users span button {
  margin-right: 5px;
  border-radius: 50%;
  background: #f0a500;
  padding: 4px;
  font-size: 13px;
  display: flex;
  /* display: inline-block; */
  width: 25px;
  height: 25px;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-color: #f0a500;
  cursor: pointer;
}
button.btn.btn-warning.border-solid-orange.mt-2.show-more-users {
  background-color: #fff !important;
  font-weight: 600;
  border: 2px solid #f0a500;
}
td.fc-day-today .vacation-users {
  display: block;
}

td.fc-day-today.fc-day.fc-day-sat.fc-daygrid-day .vacation-users,
td.fc-day.fc-day-sat.fc-day-past.fc-daygrid-day .vacation-users,
td.fc-day-today.fc-day.fc-day-sun.fc-daygrid-day .vacation-users,
td.fc-day.fc-day-sun.fc-day-past.fc-daygrid-day .vacation-users {
  display: none;
}
.day-cell .btn-holiday {
  position: absolute;
}
.day-cell .btn-holiday + br + .vacation-users {
  display: none;
}
.day-cell {
  position: relative;
}
.day-cell .vacation-users {
  position: absolute;
  top: 25px;
  left: 30px;
}

.vacation-users span:nth-child(n + 3):not(.add-more) {
  display: none;
}

.vacation-users span.add-more {
  position: absolute;
  top: -8px;
  left: 37px;
}

.vacation-users span:nth-child(2) {
  position: absolute;
  top: 0px;
  left: 19px;
}

.fc-daygrid-day-number {
  position: relative;
  z-index: -1;
}

.vacation-users:hover {
  display: block;
}

.dropdown-up .dropdown-menu {
  width: 350px;
  padding: 20px;
  z-index: 1000 !important;
  position: relative !important;
  font-size: 15px;
}

button.btn-vacation {
  color: #000 !important;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  justify-content: center;
  gap: 5px;
  background-color: transparent;
  background: linear-gradient(90deg, #fdc343 0%, #ffe4aa 114.09%) !important;
  align-items: center;
  border-radius: 10px !important;
  padding: 10px 24px;
  border: none !important;
  font-size: 16px !important;
}
button.btn-vacation[type="submit"]:hover,
button.btn-vacation:hover {
  background: linear-gradient(90deg, #fdc343 0%, #ffe4aa 114.09%) !important;
}
button.btn-vacation:focus-visible {
  outline: none;
}
textarea#description {
  background: #f7f7f7;
}
select#type_of_leave {
  background: #f7f7f7;
}
