.tx-uma-appointment-slot-table-wrapper {
  border: 2px solid #00325d;
  display: inline-block;
  overflow: hidden;
  border-radius: 0.5rem;
  max-width: 100%;
}

/* use not(.x) to increase specificity */
.tx-uma-appointment-slot-table:not(.x) {
  display: none;
  border: 0 !important;
  max-width: 100%;
  display: block;
}

.tx-uma-appointment-slot-table:not(.x) tr td {
  padding: 0 !important;
  border: 0 !important;
  text-align: center !important;
  color: inherit !important;
  background: transparent !important;
}

.tx-uma-appointment-date {
  padding: 0.5rem;
  font-weight: bold;
}

.tx-uma-appointment-slot {
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  padding: 4px 8px;
}

.tx-uma-appointment-slot:hover {
  background: #00325d;
  color: #fff;
}

.tx-uma-appointment-slot.remote {
  background: #bec;
}

.tx-uma-appointment-slot.blocked, .tx-uma-appointment-slot.disabled {
  cursor:not-allowed;
  background:#fcfcfc;
  color:#999999;
}

.tx-uma-appointment-slot.selected {
  background: #232e58;
  color: #fff;
}

.tx-uma-appointment-slot-select {
  display: block;
}

.tx-uma-appointment-legend {
  display: flex;
  margin-bottom: 1rem;
}

.tx-uma-appointment-legend-item {
  line-height: 20px;
  margin-right: 20px;
}

.tx-uma-appointment-legend-marker {
  display: block;
  float: left;
  margin-right: 8px;
  width: 40px;
  height: 20px;
}

.tx-uma-appointment-legend-marker-office {
  background: #eee;
}

.tx-uma-appointment-legend-marker-remote {
  background: #bec;
}


