.wrapper {
  width: 99.6%;
  position: relative;
  //position: sticky;
  //border: 1px solid #000;
  border: 1px solid #b3bead;
  //background: #efefef;
  overflow: hidden;
  border-radius: 7px;
  margin-left: 0.2%;
  box-sizing: border-box;
  box-shadow: 0px 0px 8px 1px rgba(0,0,0,0.5);
  transition: all 0.2s ease-out;
}
.wrapper:hover {
  box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.75);
}

.left {
  float: left;
}

.box {
  border: 1px solid #000;
  //width: 400px;
  width: 100%;
}

.container {
  overflow-y: scroll;
  overflow-x: hidden;
  //height: 530px;
  height: 490px;
  //border-top: 41px solid transparent;
  //border-bottom: 41px solid transparent;  
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
}

td + td {
  border-left: 0px solid #fff;
}

td, th {
  border-bottom: 1px solid #fff;
  //background: #efefef;
  padding: 2px;
}

thead tr th,
tfoot tr td {
  height: 0;
  line-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  //color: transparent;
  //border: none;
  //white-space: nowrap;
}

thead tr th div,
tfoot tr td div {
  position: absolute;
  color: #fff;
  padding: 2px;
  margin-left: -2px;
  line-height: normal;
  width: 100%;
  z-index: 2;
  text-align: left;
  //font-weight: bold;
  font-weight: normal;
}

thead tr th div {
  //border-left: 1px solid #b3bead;
  //border-bottom: 1px solid #b3bead;
}

tfoot tr td div {
  //border-left: 1px solid #000;
  //border-top: 1px solid #000;
}

tfoot tr td div.c1,
thead tr th div.c1 {
  color: violet;
}

tfoot tr td div.c2,
thead tr th div.c2 {
  color: green;
}

tfoot tr td div.c3,
thead tr th div.c3 {
  color: yellow;
}

thead tr th div {
  top: 0;
}

tfoot tr td div {
  bottom: 0;
}

thead tr th:first-child div,
tfoot tr td:first-child div {
  border-left: none;
}
