

.calendar {
  background: #2b4450;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
  height: 420px;
  perspective: 1000;
  transition: .9s;
  transform-style: preserve-3d;
  width: 100%;
  margin-bottom: 10px;
}

/* Front - Calendar */
.front {
  transform: rotateY(0deg);
}

.current-date {
  border-bottom: 1px solid rgba(73, 114, 133, .6);
  display: flex;
  justify-content: space-between;
  padding: 10px 10px;
}

.current-date h1 {
  color: #dfebed;
  font-size: 1.4em;
  font-weight: 300;
}

.week-days {
  color: #dfebed;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  padding: 10px 10px;
  list-style-type: none;
}

.days {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.weeks {
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.weeks div {
  display: flex;
  font-size: 1.1em;
  font-weight: 600;
  justify-content: space-between;
  margin-bottom: 0px;
  width: 100%;
}

.last-month {
  opacity: 0;
}

.last-month-booked {
    opacity: 0;
    text-decoration:line-through;
  }

.weeks span {
    position: relative;
    padding: 10px;
    max-width: 50px;
}

.weeks span.price {
    color:orange;
    font-size: 0.55em;
    padding: 0px;
    margin: 0px;
    font-weight: 100;

    position: absolute;
    bottom: 35px; /* Pushes the span above the bottom edge of the container */
    left: 8px;
  }

.weeks span.booked {
  text-decoration:line-through;
  opacity: .9;
  color: rgb(251, 62, 62);
}

/* .weeks span:not(.last-month):hover {
  cursor: pointer;
  font-weight: 600;
} */

.event {
  position: relative;
}

.event:after {
  content: '•';
  color: #f78536;
  font-size: 1.4em;
  position: absolute;
  right: -4px;
  top: -4px;
}

/* Back - Event form */
/* 
.back {
  height: 100%;
  transform: rotateY(180deg);
}

.back input {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(73, 114, 133, .6);
  color: #dfebed;
  font-size: 1.4em;
  font-weight: 300;
  padding: 30px 40px;
  width: 100%;
}

.info {
  color: #dfebed;
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 1.2em;
  padding: 30px 40px;
}

.info div:not(.observations) {
  margin-bottom: 40px;
}

.info span {
  font-weight: 300;
}

.info .date {
  display: flex;
  justify-content: space-between;
}

.info .date p {
  width: 50%;
}

.info .address p {
  width: 100%;
} */

/* Flip animation */

.flip {
  transform: rotateY(180deg);
}

.front, .back {
  backface-visibility: hidden;
}