.ui-autocomplete-loading {
  background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
}

/* For Calendar view[ */

.fc-today {
  background: #fff !important;
  border: none !important;
  border-top: 1px solid #909090 !important;
  font-weight: bold;
}

.past_current_day {
  background-color: grey !important;
}
.past_current_day .fc-time,
.past_current_day .closeon {
  display: none;
}

#w_calendar td.fc-day.fc-past {
  background-color: #eeeeee;
}

#w_calendar .past_current_day {
  background-color: grey !important;
}
#w_calendar .past_current_day .fc-time,
.past_current_day .closeon {
  display: none;
}

#d_calendar td.fc-day.fc-past {
  background-color: #eeeeee;
}

#d_calendar .past_current_day {
  background-color: grey !important;
}
#d_calendar .past_current_day .fc-time,
.past_current_day .closeon {
  display: none;
}
/* ] */
#facebox .calendar-view {
  padding: 0;
  width: 97%;
}

.calendar-view__head [class*="col-sm-7"] {
  display: flex;
  justify-content: flex-end;
}

.calendar-view__head {
  padding: 26px 30px;
}
.calendar-view__head h4 {
  color: #111;
  font-weight: normal;
  margin-bottom: 0 !important;
}
.calendar-view .calendar-view__head h4 span {
  font-weight: bold;
}

.cal-status {
  display: flex;
  align-items: center;
  margin-right: calc(1.5rem + 14px);
}

.cal-status:last-child {
  margin-right: 0;
}

.cal-status p {
  margin-bottom: 0;
  font-size: 0.84rem;
  text-transform: uppercase;
  color: #333;
}
.box-hint {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  margin-right: 0.5rem;
}

.calendar.user-image-block {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.available-box {
  background: #06c886;
}
.disabled-box {
  background: #d1d1d1;
}

.disabled-box {
  background: #e6e6e6;
}

.fc-header-toolbar {
  padding: 1rem 0;
  margin-bottom: 0 !important;
  border-bottom: transparent;
  margin-top: 0 !important;
}

.fc-header-toolbar .fc-toolbar-chunk:first-child {
  margin-right: auto;
}

.fc-header-toolbar .fc-toolbar-chunk:first-child .fc-time-button {
  display: none;
}

.fc-header-toolbar .fc-toolbar-chunk h2 {
  font-size: 1rem;
  color: #111;
  text-transform: uppercase;
  margin-right: 1.3rem;
  font-weight: 600;
}

.fc-header-toolbar .fc-toolbar-chunk h6 {
  display: flex;
  align-items: center;
  font-size: calc(13px + 0.1vw);
  text-transform: uppercase;
  color: #333;
  margin-left: 0 !important;
  font-weight: 600;
}

.fc-header-toolbar .fc-toolbar-chunk h6 .timer {
  color: #111;
  margin: 0 4px;
}

.calendar-view .fc-header-toolbar .fc-toolbar-chunk .fc-today-button {
  background-color: #fff;
  height: 40px;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  border-radius: 12px;
  color: #e84c3d;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border: 1px solid #e84c3d;
  opacity: 1;
}

.calendar-view
  .fc-header-toolbar
  .fc-toolbar-chunk
  .fc-button-group
  .fc-button-primary {
  color: #111;
  background-color: #fff;
  height: auto;
  height: 40px;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  width: 80px;
  padding: 4px 24px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 12px;
  border: 2px solid #e5e5e5;
}

.note {
  position: relative;
  padding: 1rem 2.2rem;
  color: #111;
  background-color: #f8f3f0;
}

.note__title b {
  margin-right: 3px;
}

.note .note__timezone,
.note .note__title {
  display: flex;
}

.fc-col-header-cell {
  border: 1px solid #e6e6e6;
}

.fc-scroller-harness .fc-col-header-cell .fc-scrollgrid-sync-inner {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fc-scroller-harness .fc-col-header-cell .fc-scrollgrid-sync-inner a {
  text-transform: uppercase;
  font-weight: 600;
}
.fc .fc-timegrid-slot {
  height: 30px !important;
}

.calendar-view .fc-timegrid .fc-timegrid-body .fc-day-today {
  position: relative;
  color: #fa4972;
  background-color: transparent;
}
.calendar-view .fc-timegrid .fc-timegrid-body .fc-day-today::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  content: "";
  pointer-events: none;
  background-color: currentColor;
  opacity: 0.06;
}
.calendar-view .fc-timegrid .fc-col-header .fc-day-today {
  color: #fa4972;
  position: relative;
}
.calendar-view .fc-timegrid .fc-col-header .fc-day-today::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  content: "";
  pointer-events: none;
  background-color: currentColor;
  opacity: 0.1;
}

.calendar-view .fc-event.slot_unavailable {
  background: theme("color.gray.500");
  border-color: transparent;
  background-image: linear-gradient(
    45deg,
    #dddddd 14.29%,
    #ffffff 14.29%,
    #ffffff 50%,
    #dddddd 50%,
    #dddddd 64.29%,
    #ffffff 64.29%,
    #ffffff 100%
  );
  background-size: 9.9px 9.9px;
}

.slot_unavailable .fc-event-time {
  color: #111;
}

.calendar-view .fc-v-event {
  background-color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  /* border-radius: 2px; */
  box-shadow: none !important;
}
.note .icon {
  width: 14px;
  margin-right: 8px;
}

#facebox .calendar-view .fc-media-screen {
  padding: 0px 30px 30px;
}

/* .fc-v-event .fc-event-main{
    color: #111 !important;
} */

.fc-timegrid-event .closeon,
.fc-timegrid-event .fc-event-time {
  text-align: center;
}

.scheduled-lesson-popup .box {
  padding: 20px;
}

.weekly-calendar .fc-v-event {
  background: transparent;
  border: 2px solid transparent !important;
  font-size: 0.9rem;
  opacity: 1 !important;
}

.fc-event-main .fc-event-main-frame {
  overflow: hidden;
}

@media (min-width: 1299px) {
  .calendar-view__head h4 {
    font-size: theme("font.size.h5");
  }
}

@media (min-width: 768px) {
  .note {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 425px) {
  .table-box{
    padding: 0 !important;
  }
  .calendar-view{
    padding: 0 !important;
  }
}

@media (max-width: 1199px) {
  .cal-status {
    margin-right: calc(1.5rem + 14px);
  }
}

@media (max-width: 767px) {
  .fc-daygrid-day-events .Scheduled {
    overflow: hidden;
  }
  .availability-calendar #facebox {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    position: fixed;
  }
  .availability-calendar #facebox .popup {
    height: calc(100% - 20px);
    margin: 10px;
  }
  .availability-calendar #facebox .popup .calendar-view {
    height: auto;
  }
  .availability-calendar #facebox .content {
    max-height: 100% !important;
    height: 100%;
    overflow: auto;
    border-radius: 0;
  }

  .calendar-view .calendar-view__head {
    padding: 30px 4px 0;
    text-align: center;
  }
  .calendar-view .calendar-view__head h4 {
    margin-bottom: 14px !important;
  }
  .calendar-view .calendar-view__head [class*="col-sm-7"] {
    justify-content: center;
  }
  .note .note__timezone {
    margin-bottom: 10px;
    display: none;
  }
  #facebox .calendar-view .fc-media-screen {
    padding: 0;
  }
  .calendar-view .fc-header-toolbar {
    flex-direction: column;
  }
  .calendar-view .fc-header-toolbar .fc-toolbar-chunk:first-child {
    margin: auto;
  }
  .calendar-view .fc-header-toolbar .fc-toolbar-chunk {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .calendar-view .fc-header-toolbar .fc-toolbar-chunk .fc-button-group {
    display: inline-block;
    border: none;
    width: 100%;
    padding: 0 20px;
  }
  .calendar-view
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-button:first-child {
    float: left;
  }
  .calendar-view
    .fc-header-toolbar
    .fc-toolbar-chunk
    .fc-button-group
    .fc-button:last-child {
    float: right;
  }
  .calendar-view .fc-header-toolbar .fc-toolbar-chunk .fc-today-button {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    margin-left: 0;
  }
  .fc-header-toolbar .fc-toolbar-chunk h6 {
    justify-content: center;
    height: 40px;
    font-size: 10px;
    font-weight: normal;
  }
  .calendar-view #calendar-container {
    height: calc(100% - 130px);
  }
  #facebox .calendar-view .fc-media-screen {
    height: 100%;
  }
  .calendar-view {
    height: 100%;
  }
  .fc .fc-col-header-cell-cushion{
    color: #333 !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 15px !important;
  }
  .note .note__title {
    font-size: 12px;
    justify-content: center;
  }
  .fc-header-toolbar .fc-toolbar-chunk h2 {
    margin-right: 0;
  }
  .availability-calendar #facebox .close {
    z-index: 11;
    right: 12px;
    top: 10px;
  }
  .availability-calendar #facebox .close:after {
    font-weight: bold;
  }
}

@media (max-width: 435px) {
  .fc .fc-col-header-cell-cushion{
    font-size: 9px !important;
  }
}
@media (max-width: 1024px) {
  .fc .fc-col-header-cell-cushion{
    font-size: 9px !important;
  }
}

/* Calendar Customization */

.calendar-view .fc-v-event .fc-event-main {
  text-align: center;
  color: #222;
  font-size: 1rem;
  font-weight: 600;
  padding: 5px;
}

.calendar-customization .fc-time-grid .fc-slats .fc-minor td {
  border-top-style: solid;
}

.monthly-calendar.calendar-view .fc-daygrid-event-harness .Completed {
  color: #fff;
  margin: 5px;
  padding: 5px 0;
  border: 1px solid green;
  background: green;
}

.monthly-calendar .fc-daygrid-event-harness .Scheduled {
  color: #fff;
  margin: 5px;
  padding: 5px 0;
  border: 1px solid #222;
  background: #222;
}

.monthly-calendar .fc-daygrid-event-harness .Cancelled {
  color: #fff;
  margin: 5px;
  padding: 5px 0;
  border: 1px solid red;
  background: red;
}

.monthly-calendar .fc-daygrid-event-harness .Completed:hover,
.monthly-calendar .fc-daygrid-event-harness .Scheduled:hover,
.monthly-calendar .fc-daygrid-event-harness .Cancelled:hover {
  color: #fff;
}

.monthly-calendar .fc-daygrid-event-dot {
  border-color: transparent;
}

.calendar-view .fc .fc-popover {
  position: fixed;
}

@media (min-width: 1200px) {
  .calendar-view.calendar-with-profile-image {
    position: inherit;
  }
  .user-image-block {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  .loading-wrapper {
    z-index: 10002;
  }
}
