

table {
  font-family: Arial, sans-serif;
  border-collapse: collapse;
  width:800px;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
  height: 200%;
  //width: 100%;
  //overflow: scroll;
  
}
thead {
  background-color: #EFEFEF;
//  position: sticky;
}

thead,
tbody {
  display: block;
}

tbody {
  overflow-y: scroll;
  overflow-x: scroll;
  //overflow-x: hidden;
  height: 500px;
  width:800px;
}


th {
    
  min-width: 100px;
  height: 25px;
  border: 1px solid #ffaf3d;
  background-color:#ff7100;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
  color: #fff;
  position: sticky;
  top:10;
  vertical-align : middle;
  text-align:center;
  padding: 8px;
}
th{
    position: sticky;
}
/*
th {
  border: 1px solid #ffaf3d;
  background-color:#ff7100;
  color: #fff;
  position: sticky;
  top:10;
  vertical-align : middle;
  text-align:center;
  padding: 8px;
  
  }*/

td {
  border: 1px solid #ffaf3d;
  background-color:#ffffff;
  vertical-align : middle;
  text-align: left;
  position: middle;
  padding: 8px;
}

tr:nth-child(even) {
    background-color:#ffffdd;
}
tr:nth-child(1)
{
    text-align:center;
}
.table td:first-child{
text-align: center;
}
table td:nth-of-type(-n+1)
{
    text-align:center;
}​  