body {
  font-family: Nunito, sans-serif;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}
.today-highlight {
  border: 2px solid red;
}
.week-highlight {
  background-color: rgba(0, 156, 255, 0.6) !important;
  color: #2d3a58;
  font-weight: 600;
}
.week-highlight:hover {
  background-color: rgb(0, 156, 255) !important;
}
.next-month,
.prev-month {
  opacity: 0.4;
}

.week-timeslots-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
.wrapper {
  display: flex;
  align-items: center;
  height: 350px;
  width: 100%;
}
.wrapper .inner {
  width: 100%;
  margin: auto;
  vertical-align: middle;
}
.company-name {
  text-align: center;
  padding-bottom: 20px;
  font-weight: 700;
  color: #fff;
  font-size: 45px;
  line-height: 50px;
  text-transform: capitalize;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.company-name a {
  transition: all 0.3s ease;
  color: #ffffff;
  text-decoration: none;
}
.company-name a:hover {
  opacity: 0.7;
}
.dayName {
  min-width: 25px;
  min-height: 46px;
  text-align: center;
  font-size: 15px;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #a2a2a2;
  font-weight: 600;
}
.dayName:nth-child(7n),
.dayName:nth-child(7n + 1) {
  color: #c06c6c;
}
.dayButton {
  width: 40px !important;
  height: 40px !important;
  line-height: 20px;
  text-align: center;
  font-size: 15px;
  border-radius: 3px;
  border: none;
}
.column {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 70px;
}
.prev_next {
  cursor: pointer;
  color: #009cff;
  font-weight: 600;
}
.prev_next:hover {
  opacity: 0.7;
}
.date-select {
  padding: 40px 0 0;
}
.header {
  background-image: url("/frontend/images/hearder.jpg");
  width: 100%;
  min-height: 350px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.book_main {
  border: 1px solid #e8e9ee;
  border-radius: 4px;
  padding: 40px;
  margin-bottom: 30px;
}
.selectedWeek {
  padding: 0 0 40px;
}
.table > :not(caption) > * > * {
  padding: 0.2rem 0.25rem;
  border: none !important;
}
.time-slot {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 3px;
  padding: 10px 3px;
  font-size: 14px;
  font-weight: 600;
}
td {
  padding-bottom: 0 !important;
}
.time-slot.busy {
  background: #dad2ce;
  color: #2d3a58;
  opacity: 0.4;
  cursor: not-allowed;
}
.time-slot.free {
  background: #d3e0f1;
}
.time-slot.free:hover {
  background-color: #009cff;
  color: #ffffff;
}
.day-off {
  opacity: 0.4;
  color: #81889a;
}
.day-on {
  color: #464646;
}
.time-legend {
  display: flex;
  justify-content: flex-end;
  padding: 5px 0 0;
  flex-wrap: wrap;
}
.time-legend .unavailable {
  margin-left: 20px;
}
.time-legend .circle {
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.time-legend .available .circle {
  background: #d3e0f1;
}
.time-legend .unavailable .circle {
  background: #dad2ce;
  opacity: 0.4;
}
.scroll_top_button {
  position: fixed;
  right: 30px;
  z-index: 200;
  bottom: 30px;
  width: 45px;
  height: 45px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #009cff;
}
.scroll_top_button:hover {
  transform: scale(1.15);
}
.scroll_top_button::after {
  content: "\f102";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  font-style: normal;
  display: block;
  font-size: 18px;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  line-height: 43px;
  text-align: center;
  color: #fff;
}
.selectedWeek-solts {
  overflow-x: auto;
  white-space: nowrap;
}
.empty-week-time-part {
  text-align: center;
}
.empty-week-time-part .calendar-nothing-available-icon {
  background-image: url(../images/nothing-available.svg);
  width: 110px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50%;
  height: 150px;
  display: block;
  margin: 0 auto;
  position: relative;
  left: 6px;
}
.empty-week-time-part .btn-next-week {
  background: #009cff;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .company-name {
    font-size: 30px;
  }
  .current_time {
    font-size: 14px;
  }
  .prev_next .text {
    display: none;
  }
  .selectedWeek {
    padding: 0 0 20px;
  }
}
@media (max-width: 767px) {
  .company-name {
    font-size: 22px;
  }
  .date-select {
    padding: 20px 0 0;
  }
  .header {
    min-height: 200px;
  }
  .wrapper {
    height: 200px;
  }
  .book_main {
    padding: 15px;
    margin-bottom: 0px;
  }
  .selectedWeek {
    padding-bottom: 10px;
  }
  .scroll_top_button {
    right: 15px;
    bottom: 15px;
  }
  .selectedWeek-solts {
    max-height: 420px;
  }
}

.calendar-grid.days-header,
.calendar-grid.days-body {
  grid-template-columns: repeat(21, 1fr);
}

@media (max-width: 1023.98px) {
  .calendar-grid.days-header,
  .calendar-grid.days-body {
    grid-template-columns: repeat(14, 1fr);
  }
}

@media (max-width: 767.98px) {
  .calendar-grid.days-header,
  .calendar-grid.days-body {
    grid-template-columns: repeat(7, 1fr);
  }
}
