/* Custom calendar elements */

.custom-calendar-wrap {
  margin: 0px;
  position: relative;
  overflow: hidden;
  --blue-primary-10: rgb(238 236 231 / 10%);
  --blue-primary-30: rgb(238 236 231 / 30%);
  --blue-primary-67: rgb(238 236 231 / 67%);
  --blue-primary: #eeece7;
  --blue-primary-text: #c5beaa;
}

.custom-inner {
  background: transparent;
}

.custom-inner:before,
.custom-inner:after {
  content: "";
  width: 99%;
  height: 50%;
  position: absolute;
  background: transparent;
  bottom: -4px;
  left: 0.5%;
  z-index: -1;
}

.custom-inner:after {
  content: "";
  width: 98%;
  bottom: -7px;
  left: 1%;
  z-index: -2;
}

.custom-header {
  background: transparent;
  height: 70px;
  position: relative;
}

.custom-header h2,
.custom-header h3 {
  text-align: center;
  text-transform: uppercase;
}

.custom-header h2 {
  color: var(--blue-primary-text);
  font-weight: 700;
  font-size: 12px;
  margin-top: 10px;
}

.custom-header h3 {
  color: var(--blue-primary-text);
  font-weight: 700;
  font-size: 12px;
  margin-top: 10px;
}

.custom-header nav span {
  position: absolute;
  top: 17px;
  width: 30px;
  height: 30px;
  color: transparent;
  cursor: pointer;
  margin: 0 1px;
  font-size: 20px;
  line-height: 30px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.custom-header nav span:first-child {
  left: 0;
}

.custom-header nav span:last-child {
  right: 0;
}

.custom-header nav span:before {
  color: #686a6e;
  position: absolute;
  left: 0;
  text-align: center;
  width: 100%;
}

.custom-header nav span.custom-prev:before {
  content: "\003C";
  font-size: 14px;
  border: 1px solid #ccd7e2;
}

.custom-header nav span.custom-next:before {
  content: "\003E";
  font-size: 14px;
  border: 1px solid #ccd7e2;
}

.custom-header nav span:hover:before {
  color: #495468;
}

.custom-header h2,
.custom-header h3 {
  text-align: center;
  text-transform: uppercase;
}

.custom-header h2 {
  color: #c5beaa;
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
}

.calendar-links {
  position: absolute;
  width: 100%;
  top: 450px;
  z-index: 999;
}

.calendar-links .booked,
.calendar-links .available {
  font-size: 12px;
  line-height: 18px;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 1px;
  color: #848484;
  position: relative;
  display: block;
}

.calendar-links .booked:before,
.calendar-links .available:before {
  content: "";
  display: inline-block;
  top: 0;
  margin-right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 18px;
  background-color: #97acc9;
  border: 1px solid #e2e8ef;
}

.calendar-links .available:before {
  background-color: #fff;
}

.custom-header nav span.custom-prev:before,
.custom-header nav span.custom-next:before,
.calendar-links .booked:before {
  border-color: var(--blue-primary-67);
}

/* Modifications */.fc-calendar-container {
  position: relative;
  height: 400px;
  width: 400px;
}

.fc-calendar-container {
  width: auto;
  padding: 0;
  background: none;
}

.fc-calendar {
  width: 100%;
  height: 100%;
}

.fc-calendar .fc-head {
  height: 48px;
  line-height: 48px;
  background: #ccc;
  color: #fff;
}

.fc-calendar .fc-head {
  background: #f7fafb;
  color: #272525;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  border-top: 1px solid #ccd7e2;
  border-bottom: 1px solid #ccd7e2;
}

.fc-calendar .fc-body {
  position: relative;
  width: 100%;
  height: 100%;
}

.fc-calendar .fc-row {
  width: 100%;
}

.fc-five-rows .fc-row {
  height: 12%;
}

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
  float: left;
  height: 100%;
  width: 14.28%;
  width: -moz-calc(100% / 7);
  width: -webkit-calc(100% / 7);
  width: calc(100% / 7);
  position: relative;
}

.fc-calendar .fc-row > div {
  padding: 4px;
  overflow: hidden;
  position: relative;
}

.fc-calendar .fc-row > div {
  background: transparent;
  cursor: pointer;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccd7e2;
}

.fc-calendar .fc-row > div.fc-content {
}

.fc-calendar .fc-row > div.all-day {
  background-color: var(--blue-primary-67) !important;
}

.fc-calendar .fc-row > div.first-day {
  background-color: #ccd7e2 !important;
}

.fc-calendar .fc-row > div.last-day {
  background-color: transparent !important;
}

.fc-calendar .fc-row > div.fc-today {
  background: #fff4c3 !important;
}

.fc-calendar .fc-row > div:empty {
  background: transparent;
}

.fc-calendar .fc-row > div.fc-content > span.fc-date {
  color: #686a6e !important;
}

.fc-calendar .fc-row > div > span.fc-date {
  position: absolute;
  width: 30px;
  height: 20px;
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  color: #ddd;
  bottom: 5px;
  right: 5px;
  text-align: right;
}

.fc-calendar .fc-row > div > span.fc-date {
  color: #686a6e;
  font-weight: 400;
  top: 50%;
  left: 50%;
  text-align: center;
  margin: -10px 0 0 -15px;
  font-weight: 400;
  pointer-events: none;
  font-size: 12px;
}

.fc-calendar .fc-row > div > span.fc-weekday {
  padding-left: 5px;
  display: none;
}




.fc-calendar .fc-row > div.all-day,
.fc-calendar .fc-row > div.first-day,
.calendar-links .booked:before {
  background-color: var(--blue-primary-67) !important;
}

.fc-calendar .fc-head {
    background-color: var(--blue-primary-30) !important;
}


@media screen and (max-width: 400px) {
  .fc-calendar-container {
    height: 300px;
  }
  .fc-calendar .fc-row > div > span.fc-date {
    font-size: 12px;
  }
  .calendar-links {
    top: 300px;
  }
}
