*
{
    box-sizing: border-box;
}

body
{
    /* background: url(https://subtlepatterns.com/patterns/use_your_illusion.png); silver;  */
    background-color: rgb(179, 179, 179);
    color: #2e2e2e;
    font: 1em 'PT Sans', sans-serif;
}

::selection
{
    background-color: #1c1c1c;
}

.tabbed
{
    margin: 0 auto;
    margin-top: 0;
    width: 900px;
}

.tabbed>input
{
    display: none;
}

.tabbed>label
{
    cursor: pointer;
    display: block;
    color: black;
    float: left;
    border-radius: 4px;
    margin-right: 5px;
    padding: 12px 20px;
    transition: background-color 1s;
}

.tabbed>label:hover, .tabbed>input:checked+label
{
    border: 1px solid black;
    border-radius: 5px;
    background-color: LightGrey;
    color: blue;
}

.tabbed>label:hover, .tabbed>input:checked+label
{
    background-color: LightGrey;
    border-color: DarkGray;
    color: black;
}

.tabs
{
    clear: both;
    perspective: 900px;
}

.tabs>div
{
    border: 1px solid white;
    line-height: 1.4em;
    margin-top: 30px;
    opacity: 0;
    padding: 30px 10px 10px 20px;
    position: absolute;
    transform: rotateX(-20deg);
    transform-origin: top center;
    transition: opacity 0.9s, transform 1s;
    width: 100%;
    z-index: 0;
}

#tab-nav-1:checked~.tabs>div:nth-of-type(1),
#tab-nav-2:checked~.tabs>div:nth-of-type(2),
#tab-nav-3:checked~.tabs>div:nth-of-type(3),
#tab-nav-4:checked~.tabs>div:nth-of-type(4),
#tab-nav-5:checked~.tabs>div:nth-of-type(5),
#tab-nav-6:checked~.tabs>div:nth-of-type(6)
{
    opacity: 1;
    transform: rotateX(0);
    z-index: 1;
}

h4 {
    font-size: 14px;
    font-weight: bold;
}

div.wrapper {
    display: block;
    overflow: auto;
}

/*

table.scroll {
    width: 100%;
    background-color: #fff;
}
table.scroll thead {
    width: 100%;
    background: #5dd39e;
}
table.scroll thead tr:after {
    content: '';
    overflow-y: hidden;
    visibility: hidden;
}
table.scroll thead th {
    flex: 1 auto;
    display: block;
    color: #fff;
}
table.scroll tbody {
    display: block;
    width: 100%;
    overflow-y: hidden;
    height: auto;
    max-height: 300px;
}
table.scroll thead tr,
table.scroll tbody tr {
    display: flex;
}
table.scroll tbody tr td {
    flex: 1 auto;
    word-wrap: break;
}
table.scroll thead tr th,
table.scroll tbody tr td {
    width: 25%;
    padding: 5px;
    text-align-left;
    border-bottom: 1px solid #eee;
}

*/
.sroll {
    width: 800px;
}

table.scroll thead tr:after {
    content: '';
    /*overflow: auto;*/
    visibility: hidden;
}

table.scroll thead th {
    display: block;
    flex: 1 auto;
    width: 800px;
}

table.scroll tbody {
    display: block;
    height: auto;
    width: 800px;
    max-height: 300px;
    min-height: 0.01% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

table.scroll thead tr, table.scroll tbody tr {
    display: flex;
}

table.scroll tbody tr td {
    word-wrap: break;
    flex: 1 auto;
}

.fixed_header{
    width: 850px;
    table-layout: fixed;
    border-collapse: collapse;
}

.fixed_header tbody{
  display:block;
  width: 100%;
  overflow: auto;
  height: 350px;
}

.fixed_header thead tr {
   display: block;
}

.fixed_header thead {
  background: rgb(192, 192, 192);
  color:#000000;
}

.fixed_header th,
.fixed_header td {
  text-align: left;
  padding: 5px;
  width: 200px;
}
