* {
  font-family: sans-serif;
}

table {
  width: 100%;
  text-align: center;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
td, th {
  border: 0px;
  margin: 0px;
  padding: 10px;
}

th:nth-child(2) {width: 75px;}
th:nth-child(5) {width: 25px;}
td:nth-child(2) {width: 75px;}
td:nth-child(5) {width: 25px;}

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}

.scroll-display {
  max-height: 500px;
  overflow-y: scroll;
}


input ,select, option {
  width: 90%;
  padding: 5px;
  border: 0px;
 text-align: center;
 background-color: inherit;
}

input:focus {
  outline: none;
}

input[name=note] {
  width: 100%;
  height: 2em;
  text-align: right;
}

button {
  height: 30px;
  width: 100px;
  background: MediumSeaGreen;
    border: 0px;
  cursor: pointer;
}

#save {
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 60px;
  width: 200px;
  background: tomato;
  border: 0px;
  z-index: 100;
  cursor: pointer;
}

.top>ul, .top>ul>li>ul>li:nth-child(n+2) {
  display: grid;
  grid-template-columns: auto auto;
  list-style-type: none;
  text-align: center;
  direction: ltr;
}

.top>ul>li>ul {
  list-style-type: none;
}
.top>ul>li>ul>li:first-child {
  background-color: lightblue;
}
.top>ul>li>ul>li:nth-child(2) {
  background-color: SandyBrown;
}

.twoLines {
  display: flex;
  flex-direction: column;
}

.seperator {
  color: purple;
}

.green {
  font-weight: bold;
  color: seagreen;
}

.red {
  font-weight: bold;
  color: tomato;
}

tbody {
  direction: ltr;
}

@media only screen and (max-width: 580px) {
  tr>td:nth-child(1), tr>th:nth-child(1), tr>td:nth-child(2), tr>th:nth-child(2),
  tr>td:nth-child(4), tr>th:nth-child(4), tr>td:nth-child(5), tr>th:nth-child(5),
  tr>td:nth-child(7), tr>th:nth-child(7), tr>td:nth-child(8), tr>th:nth-child(8), 
  tr>td:nth-child(9), tr>th:nth-child(9) {
    display: none;
  }
}
