#past-days-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 5;
}
#past-days-container .table-wrrap {
  box-sizing: border-box;
  margin: 0 auto;
}
.table-wrrap > div {
  position: relative;
  background: #009600;
  height: 50px;
  line-height: 50px;
}
.table-wrrap p {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  margin: 0 0 0 15px;
  padding: 0;
  color: #fff;
}
.table-wrrap i {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
}
#past-days-container table {
  width: 100%;
  border-collapse: collapse;
}
#past-days-container tr {
  height: 50px;
  line-height: 50px;
  background: #fff;
}
#past-days-container tr:nth-of-type(8) td {
  border-bottom: 0;
}
#past-days-container td {
  background: #fff;
  font-size: 20px;
  text-align: center;
  padding: 0;
  border: solid 1px #dcdcdc;
  border-left: 0;
  border-top: 0;
  color: #828282;
  cursor: pointer;
}
#past-days-container td:nth-of-type(6n) {
  border-right: 0;
}
#past-days-container td:active {
  background: #e8e8e8;
}


@media (min-width: 480px) {

  #past-days-container {
    width: 430px;
    top: 50px;
  }
  #past-days-container table {
    border-radius: 5px;
  }
  .table-wrrap {
    border: solid 1px #009600;
    border-radius: 5px;
  }
  #past-days-container tr:nth-of-type(8) td:nth-of-type(1) {
    border-bottom-left-radius: 5px;
  }
  #past-days-container tr:nth-of-type(8) td:nth-of-type(6) {
    border-bottom-right-radius: 5px;
  }


@media (min-width: 750px) {

  #past-days-container {
    width: 570px;
  }
  .table-wrrap p {
    text-align: center;
    margin: 0 0 0 15px;
  }

}
