.calendar-wrap {
  overflow: auto;
}

.calendar-form{
  margin-bottom: 20px;
}

.calendar-form select {
  border: none;
  border-bottom: 1px solid #8A8B8B;
  width: 300px;
  height: 34px;
  border-radius: 0;
  background: none;
  padding: 0 5px 0 0;
  font-size: 14px;
  color: #8A8B8B;
  margin-right: 15px;
}

.calendar-form select.selected option{
  color: #8A8B8B;
}

.calendar-form select option:checked {
  color: #31B8B5;
}

.calendar-form select.selected {
  color: #31B8B5;
}

.calendar-form select:last-of-type{
  margin-right: 0;
}

@media (max-width: 767px){
  .calendar-form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .calendar-form select {
    width: 47%;
    margin-right: 0;
  }
  table.calendar {
    font-size: 12px;
  }
}

@media (max-width: 540px){
  .calendar-form select {
    width: 100%;
    margin-bottom: 5px;
  }
  table.calendar {
    font-size: 10px;
  }
}

table.calendar {
  width: 100%;
}

table.calendar td{
  padding: 10px;
  border: 2px solid #fff;
}

table.calendar thead tr td{
  background: #B9FCF9;
}

table.calendar tbody tr:nth-child(odd) td{
  background: #F9F9FA;
}

table.calendar tr td:nth-child(1),  table.calendar tr td:nth-child(2),  table.calendar tr td:nth-child(3) {
  white-space: nowrap;
}