.global-nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 10px 0;
  padding: 0;
}

.global-nav ul li {
  margin-right: -1px;
  list-style-type: none;
  padding: 10px;
  border: 1px solid #000;
}

.schedule-table {
  table-layout: fixed;
  border: 1px solid #000;
}

.schedule-table th,
.schedule-table td {
  position: relative;
  padding: 5px;
  z-index: 1;
  border-bottom: 0;
}

.schedule-table .subbed-row th,
.schedule-table .subbed-row td {
  border-top: 1px dashed #aaa;
  border-bottom: 1px dashed #aaa;
}

.schedule-table .schedule-bedname-cell {
  white-space: nowrap;
  width: auto;
}

.schedule-table .schedule-calendar-month-cell {
  border-width: 1px 0 0 0;
  width: 3em;
  text-align: center;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
}

.schedule-table .schdule-month-change-cell {
  border-left: 1px solid #000;
}

.schedule-table .schedule-calendar-cell {
  border-top: 1px dashed #000;
}

.schedule-table .schedule-calendar-cell p {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 3em;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  text-align: center;
}

.schedule-table .schedule-data-cell {
  width: 3em;
  white-space: nowrap;
}

.schedule-table .schedule-blank-cell {
  position: relative;
  padding: 0;
  background-color: #fff;
  z-index: 1;
}

.schedule-table .schedule-blank-cell .schedule-blank-link {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-decoration: none;
}

.schedule-table .schedule-blank-cell .schedule-blank-link:hover {
  background: #89d0ff;
}

.schedule-table .schedule-empty-bed .schedule-bedname-cell {
  color: blue;
  font-weight: bold;
}

.schedule-table .schedule-empty-bed .schedule-target-bed {
  background-color: #fef;
}

.schedule-table .rmsextype-1 {
  background: #ddf;
}

.schedule-table .rmsextype-2 {
  background: #fdd;
}

.schedule-ng {
  display: none;
}

.schedule-checked-message-area {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100000;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 5px;
  border-top: 3px double #000;
  width: 100%;
  background: #fff;
  text-align: center;
}

.schedule-checked-message-area .check-bedname {
  color: #00f;
  font-weight: bold;
}

.aggregate-data-table td {
  white-space: nowrap;
}

.aggregate-data-table .data-cell-reservation,
.aggregate-data-table .data-cell-cancel {
  white-space: nowrap;
}

.aggregate-data-table .aggregate-week-total {
  background: #ffcccc;
}

.reserve-count-table th,
.reserve-count-table td {
  padding: 5px;
  white-space: nowrap;
}

.reserve-count-table thead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.reserve-count-table tbody th {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 5;
}

.reserve-count-table th.total-month {
  color: #000;
  background: #afa;
}

.reserve-count-table th.total-week {
  color: #000;
  background: #afa;
}

.reserve-count-table .ag-count {
  position: relative;
  width: 3em;
  border-right: none;
}

.reserve-count-table .ag-count .lmlimit-number {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.7em;
}

.reserve-count-table .warn-number {
  border-left: 1px dotted;
}

.reserve-count-table .count-lmwarn {
  background: #ffa;
}

.reserve-count-table .count-lmlimit {
  font-weight: bold;
  background: #faa;
}

.reserve-count-table td input[type=number] {
  width: 3em;
}
