.calendar {
  display: inline-block;
  margin: 0 30px;
  vertical-align: top;
}

.cal-header {
  text-align: center;
  font-weight: 600;
  font-size: 1.2em;
  margin: 10px 0;
}

@media (max-width: 900px) {
  div#calendars {
    flex-wrap: wrap;
  }
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  gap: 4px;
}

.cal-dayname {
  text-align: center;
  color: #444;
  font-size: 1em;
}

.cal-day {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 0px;
  font-size: 0.95rem;
}

.cal-day.available {
  /* background: #dcfce7;
  color: #2d884d;
  border: 1px solid #bbf7d0; */
  font-weight: 700;
}

.cal-day.booked {
    background: #f2f0ef;
    color: #bfbfbf;
    font-weight: 200;
}

.cal-day.checkin {
    background: linear-gradient(to top left, #f2f0ef 50%, #fff 50%);
    color: #4b5563;
    font-weight: 700;
}

.cal-day.checkout {
    background: linear-gradient(to bottom right, #f2f0ef 50%, #fff 50%);
    color: #4b5563;
    font-weight: 700;
}
.cal-day.checkin-checkout {
  background: linear-gradient(to bottom right, #f2f0ef 50%, #f2f0ef 50%);
}

.cal-day.past {
  /* background: #eee !important; */
  color: #e7e7e7 !important;
  pointer-events: none;
}
.cal-legend{
    width: 100%;
    display: flex;
    padding: 20px 39px;
}
.cal-legend-available{    
    width: 20px;
    height: 20px;
    margin: 2px 8px 8px 15px;
    background: #ddffcc;}
.cal-legend-booked{
    width: 20px;
    height: 20px;
    background: #ffc0bd;
    margin: 2px 8px 8px 15px;
}
.nav-btn {
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #444;
  background: #b1b1b1;
  border-radius: 0.375rem;
  padding: 3px;
  margin: 0 30px;
  transition: color 0.2s;
  display: flex;
    align-items: center;
}
@media (max-width:600px)
{
    .nav-btn{
        margin: 0;
    }
}
button#nextBtn {
    position: absolute;
    bottom: -50px;
    right: 25px;
}
button#prevBtn {
    left: 25px;
    position: absolute;
    bottom: -50px;
}

.nav-btn:disabled {
  background-color: #e4e4e4;
  cursor: not-allowed;
}

.nav-btn:hover:not(:disabled) {
  color: #000;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
}
