.intro {
  max-width: 1100px;
  margin: 1em auto;
}
.table-scroll {
  position: relative;
  width:100%;
  z-index: 1;
  margin: auto;
  overflow: auto;
  margin-bottom: 21px;
}
.table thead>tr>th {
    vertical-align: bottom;
    border-bottom: 0px;
}
.table-scroll table {
  width: 100%;
  min-width: 1100px;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
}
.table-wrap {
  position: relative;
}
.table-scroll th {
  padding: 5px 10px;
  background-color:#35a6c2;
  vertical-align: top;
  width: 12%;
}
.table-scroll td {
  padding: 5px 10px;
  vertical-align: top;
  width: 12%;
}
.table-scroll thead th,
.table-scroll thead td {
  background-color:#35a6c2;
  color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}
.table-scroll tbody th {
  background-color:#ffffff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: normal;
}
.table-scroll thead th.resultlabel {
  text-align:left;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
.table-scroll thead td.resultlabelyear {
  text-align:right;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
.table-scroll tbody th.resultlabel {
  background-color:#EFEFEF;
  text-align:left;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
.table-scroll tbody td.resultlabelyear {
  background-color:#EFEFEF;
  text-align:right;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #666;
  color: #fff;
  z-index:4;
}

a:focus {
  background: red;
} /* testing links*/

th:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
  width: 40%;
}
thead th:first-child,
tfoot th:first-child {
  z-index: 5;
}
@media screen and (max-width: 48em) {
.intro {
  max-width: 768px;
  margin: 1em auto;
}
.table-scroll {
  position: relative;
  width:100%;
  z-index: 1;
  margin: auto;
  overflow: auto;
  margin-bottom: 21px;
}
.table thead>tr>th {
    vertical-align: bottom;
    border-bottom: 0px;
}
.table-scroll table {
  width: 100%;
  min-width: 768px;
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0;
}
.table-wrap {
  position: relative;
}
.table-scroll th {
  padding: 5px 10px;
  background-color:#35a6c2;
  vertical-align: top;
  width: 133px;
}
.table-scroll td {
  padding: 5px 10px;
  background-color:#ffffff;
  vertical-align: top;
  width: 133px;
}
.table-scroll thead th,
.table-scroll thead td {
  background-color:#35a6c2;
  color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}
.table-scroll tbody th {
  background-color:#ffffff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: normal;
}
.table-scroll thead th.resultlabel {
  text-align:left;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
.table-scroll thead td.resultlabelyear {
  text-align:right;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
.table-scroll tbody th.resultlabel {
  background-color:#EFEFEF;
  text-align:left;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
.table-scroll tbody td.resultlabelyear {
  background-color:#EFEFEF;
  text-align:right;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-weight: bold;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #666;
  color: #fff;
  z-index:4;
}

a:focus {
  background: red;
} /* testing links*/

th:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
  width: 103px;
  min-width: 103px;
  max-width: 103px;
}
thead th:first-child,
tfoot th:first-child {
  z-index: 5;
}
}
