/* ****************** R E S E T S ******************* */
html,
body {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

/* ******** S H O W   H I D E   E V E N T S ********* */
.hide {
  display: none;
}
.show {
  display: block;
}

/* ********** D A T E   S U M M A R I E S *********** */
.dateSummaries {
  border: red solid 2px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 10px 25px;
  padding: 5px 0;
}

.dateSummaries li {
  text-decoration: none;
  list-style: none;
  color: red;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 3rem;
  background-color: black;
  border-radius: 25px;
  cursor: pointer;
  user-select: none;
  min-width: 220px;
  text-align: center;
}
.dateSummaries li:hover {
  color: white;
  background-color: red;
}
.dateSummaries li.active {
  color: white;
  background-color: darkred;
}

/* *********** E V E N T S  S T Y L I N G ************ */
.events {
  min-width: 300px;
  max-width: 70%;
  margin: 1em auto;
  padding: 1em;
  background: #eee;
  font-family: arial, helvetica, san-serif;
  box-shadow: 0 0 0.1em rgba(0, 0, 0, 0.5);
  border-radius: 0.2em;
}
.events:last-child {
  border-top: 6px solid red;
}
.events h1 {
  margin: 0 0 0.4em;
  font-weight: bold;
}
.events .event {
  color: #333;
  display: block;
  padding: 0.1em;
  transition: all 0.25s ease;
  margin-bottom: 0.5em;
}
.events .event:hover {
  background: #d5d5d5;
  text-decoration: none;
  color: black;
}
.events .event_icon {
  width: 3em;
  float: left;
  margin-right: 0.75em;
}
.events .event_month,
.events .event_day {
  text-align: center;
}
.events .event_month {
  padding: 0.1em;
  margin-bottom: 0.15em;
  background: #c00000;
  font-size: 0.75em;
  color: white;
  border-top-left-radius: 0.3em;
  border-top-right-radius: 0.3em;
}
.events .event_day {
  border: 1px solid #999;
  background: white;
  color: black;
  font-size: 1.25em;
  font-weight: bold;
  border-bottom-left-radius: 0.1em;
  border-bottom-right-radius: 0.1em;
}
.events .event_title {
  font-size: 1.1em;
  height: 3em;
  display: table-cell;
  vertical-align: middle;
}
.events .btn {
  margin-top: 0.5em;
  width: 100%;
  font-size: 1.5em;
}

/* ******* M O N T H L Y   C A L E N D A R S ******** */

#calendar-container {
  margin: 0 auto;
  display: block;
  border-collapse: collapse;
  text-align: center;
  background-color: #333333;
  font-family: "Roboto Condensed", sans-serif;
  padding: 10pt 0;
  height: 270px;
  width: 100%;
  overflow: hidden;
}

#calendar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.calendar-month-heading {
  color: #3fabab;
  position: absolute;
  left: 0pt;
  right: 0pt;
  top: 0pt;
  height: 30pt;
}

#calendar-header {
  color: #3fabab;
  font-size: 14pt;
  line-height: 14pt;
  padding-top: 5pt;
  padding-bottom: 10pt;
  width: 100%;
}

.calendar-header-year {
  background-color: #333333;
  font-weight: 700;
  font-size: 24pt;
}

.calendar-header-box.calendar-button {
  font-size: 30pt;
  line-height: 30pt;
  margin-top: -10pt;
  transition: all 300ms ease-in-out;
}
.calendar-header-box.calendar-button:hover {
  color: #d9c3a4;
}

table.calendar {
  float: left;
  text-align: center;
  border: 0px solid;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 10px;
  padding-top: 12px;
}
.calendar-dim {
  opacity: 0.4;
}

@media screen and (max-width: 620px) {
  .calendar-dim {
    display: none;
  }
}

.calendar-table-break {
  float: left;
  text-align: center;
  width: 2px;
  border-collapse: collapse;
  border: 0px solid;
  margin: 0px;
  padding: 0px;
}

.calendar-table-break-child {
  height: 200px;
  border: 0px solid;
  margin: 0px;
  padding: 0px;
  margin-bottom: -190px;
  margin-top: 20px;
  background-color: #486b6f;
}

th.calendar,
td.calendar {
  width: 28px;
  height: 28px;
  border: 0px solid;
  margin: 0px;
  padding: 0px;
  z-index: -1;
}

th.calendar {
  color: #3fabab;
}

td.calendar {
  color: #fcf1f7;
  font-size: 10pt;
  border: 1px solid transparent;
  transition: all 500ms;
  -webkit-transition: all 500ms;
  position: relative;
}
td.calendar:hover {
  border: 1px solid #486b6f;
}
td.calendar.calendar-daystyle-today {
  border: 1px solid #3fabab;
}
td.calendar.calendar-daystyle-event-exists {
  border-radius: 50%;
  background-color: rgb(119, 115, 41, 0.6);
}
td.calendar.calendar-daystyle-price-normal::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0px;
  right: 0px;
  height: 2px;
  margin: 0px;
  border: 0px solid;
  border-bottom: 0px solid rgba(255, 192, 203, 0.3);
}
td.calendar.calendar-daystyle-price-high::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0px;
  right: 0px;
  height: 2px;
  margin: 0px;
  border: 0px solid;
  border-bottom: 1px solid rgba(255, 192, 203, 0.4);
}
td.calendar.calendar-daystyle-price-peak::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0px;
  right: 0px;
  height: 2px;
  margin: 0px;
  border: 0px solid;
  border-bottom: 1px solid rgba(255, 100, 115, 0.6);
}

.calendar-daystyle-booking-middle::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background-color: rgba(63, 171, 171, 0.24);
}

.calendar-daystyle-booking-start::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to bottom right,
    rgba(100, 100, 100, 0) 0%,
    rgba(100, 100, 100, 0) 49%,
    rgba(63, 171, 171, 0.24) 51%,
    rgba(63, 171, 171, 0.24) 100%
  );
}

.calendar-daystyle-booking-end::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to top left,
    rgba(100, 100, 100, 0) 0%,
    rgba(100, 100, 100, 0) 49%,
    rgba(63, 171, 171, 0.24) 51%,
    rgba(63, 171, 171, 0.24) 100%
  );
}

.calendar-daystyle-booking-cross::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to top left,
    rgba(63, 171, 171, 0.24) 0%,
    rgba(63, 171, 171, 0.24) 40%,
    rgba(100, 100, 100, 0) 41%,
    rgba(100, 100, 100, 0) 59%,
    rgba(63, 171, 171, 0.24) 60%,
    rgba(63, 171, 171, 0.24) 100%
  );
}

.calendar-daystyle-booking-cross-pending::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to top left,
    rgba(200, 200, 200, 0.2) 0%,
    rgba(200, 200, 200, 0.2) 40%,
    rgba(100, 100, 100, 0) 41%,
    rgba(100, 100, 100, 0) 59%,
    rgba(63, 171, 171, 0.24) 60%,
    rgba(63, 171, 171, 0.24) 100%
  );
}

.calendar-daystyle-pending-middle::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background-color: rgba(200, 200, 200, 0.2);
}

.calendar-daystyle-pending-start::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to bottom right,
    rgba(100, 100, 100, 0) 0%,
    rgba(100, 100, 100, 0) 49%,
    rgba(200, 200, 200, 0.2) 51%,
    rgba(200, 200, 200, 0.2) 100%
  );
}

.calendar-daystyle-pending-end::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to top left,
    rgba(100, 100, 100, 0) 0%,
    rgba(100, 100, 100, 0) 49%,
    rgba(200, 200, 200, 0.2) 51%,
    rgba(200, 200, 200, 0.2) 100%
  );
}

.calendar-daystyle-pending-cross::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to top left,
    rgba(200, 200, 200, 0.2) 0%,
    rgba(200, 200, 200, 0.2) 40%,
    rgba(100, 100, 100, 0) 41%,
    rgba(100, 100, 100, 0) 59%,
    rgba(200, 200, 200, 0.2) 60%,
    rgba(200, 200, 200, 0.2) 100%
  );
}

.calendar-daystyle-pending-cross-booking::before {
  content: "";
  position: absolute;
  bottom: 2px;
  top: 2px;
  left: 2px;
  right: 2px;
  margin: 0px;
  border: 0px solid;
  z-index: 1;
  background: linear-gradient(
    to top left,
    rgba(63, 171, 171, 0.24) 0%,
    rgba(63, 171, 171, 0.24) 40%,
    rgba(100, 100, 100, 0) 41%,
    rgba(100, 100, 100, 0) 59%,
    rgba(200, 200, 200, 0.2) 60%,
    rgba(200, 200, 200, 0.2) 100%
  );
}

.calendar-animation-left {
  transform-origin: left;
  animation: calendarLeft 1400ms cubic-bezier(0.55, 0.01, 0.17, 1.01) 1 forwards;
}

.calendar-animation-right {
  transform-origin: right;
  animation: calendarRight 1400ms cubic-bezier(0.55, 0.01, 0.17, 1.01) 1
    forwards;
}

.calendar-animation-leftFade {
  transform-origin: left;
  animation: calendarLeftFade 1200ms cubic-bezier(0.55, 0.01, 0.17, 1.01) 1
    forwards;
}

.calendar-animation-rightFade {
  transform-origin: right;
  animation: calendarRightFade 1200ms cubic-bezier(0.55, 0.01, 0.17, 1.01) 1
    forwards;
}

.calendar-animation-leftFadeOut {
  transform-origin: right;
  animation: calendarLeftFadeOut 1000ms cubic-bezier(0.55, 0.01, 0.17, 1.01) 1
    forwards;
}

.calendar-animation-rightFadeOut {
  transform-origin: left;
  animation: calendarRightFadeOut 1000ms cubic-bezier(0.55, 0.01, 0.17, 1.01) 1
    forwards;
}

@keyframes calendarLeft {
  0% {
    transform: translateX(238px);
    -webkit-transform: translateX(238px);
  }
  100% {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
  }
}
@keyframes calendarRight {
  0% {
    transform: translateX(-238px);
    -webkit-transform: translateX(-238px);
  }
  100% {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
  }
}
@keyframes calendarLeftFade {
  0% {
    transform: translateX(238px);
    -webkit-transform: translateX(238px);
    opacity: 0.4;
    -webkit-opacity: 0.4;
  }
  100% {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    opacity: 1;
    -webkit-opacity: 1;
  }
}
@keyframes calendarRightFade {
  0% {
    transform: translateX(-238px);
    -webkit-transform: translateX(-238px);
    opacity: 0.4;
    -webkit-opacity: 0.4;
  }
  100% {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    opacity: 1;
    -webkit-opacity: 1;
  }
}
@keyframes calendarLeftFadeOut {
  0% {
    transform: translateX(238px);
    -webkit-transform: translateX(238px);
    opacity: 1;
    -webkit-opacity: 1;
  }
  100% {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    opacity: 0.4;
    -webkit-opacity: 0.4;
  }
}
@keyframes calendarRightFadeOut {
  0% {
    transform: translateX(-238px);
    -webkit-transform: translateX(-238px);
    opacity: 1;
    -webkit-opacity: 1;
  }
  100% {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    opacity: 0.4;
    -webkit-opacity: 0.4;
  }
}
.calendar-animation-drop {
  animation: calendarDrop 300ms cubic-bezier(0.55, 0.01, 0.17, 1.01) 1 forwards;
}

@keyframes calendarDrop {
  0% {
    transform: translateY(0pt);
    -webkit-transform: translateY(0pt);
    opacity: 0.4;
    -webkit-opacity: 0.4;
  }
  100% {
    transform: translateY(200pt);
    -webkit-transform: translateY(200pt);
    opacity: 0;
    -webkit-opacity: 0;
  }
}
