#nkstable_stats {
  display: flex;
  width: 100% !important;
  position: absolute;
  /* bottom: 120px; */
  top: 230px;
}

#nkstable_stats *{
  position:relative;
}

#nkstable_stats .tstats_wrap {
  /* font-family: "Heading-Now"; */
  font-weight: bold;
  font-size: 30px;
  display: flex;
  text-transform: uppercase;
  width: 100% !important;
  height: 610px !important;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

#nkstable_stats .tstats_block {
  display: flex;
  /* background-color: var(--bg-color3); */
  flex-direction: column;
  width: 910px;
  /* width: 530px; */
  align-items: center;
  /* padding-bottom: 20px; */
--col-width: 240px;
}

#nkstable_stats .tstats_bg {
  position: absolute;
  background-color: var(--bg-color);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#nkstable_stats .sponsor_logo {
  display: flex;
  justify-content: center;
  margin-top: 0px;
  /* width: 160px; */
}

#nkstable_stats .sponsor_logo img {
  width: 60px;
  height: 50px;
  object-fit: contain;
}

#nkstable_stats .tstats_logo {
  display: flex;
  height: 160px;
  width: 100%;
  /* width:140px; */
  position: relative;
  /* background: #ff00004f; */
  z-index: 1;
}

#nkstable_stats .tstats_logo img {
  width:100%;
  object-fit: contain;
}

#nkstable_stats .tstats_grid {
  display: flex;
  /* --col-width: 200px; */
  /* grid-template-columns: auto auto auto; */
  width: 100%;
  justify-items: center;
  /* row-gap: 30px; */
  /* margin: 70px 20px 60px; */
  align-items: center;
  flex-direction: column;
}

#nkstable_stats .tstats_grid_row {
  display: flex;
  width: 100%;
  height: 94px;
  /* border-top: 2px solid var(--text-color); */
  position:relative;
}

#nkstable_stats .tstats_grid_row::before{
  content:" ";
  position:absolute;
  top:0;
  width:100%;
  height:2px;
  background:var(--text-color);
  opacity: 0.2;
}

#nkstable_stats .tstats_grid_row:first-child{
  border-top:none;
}

#nkstable_stats .tstats_grid_row:first-child::before{
  display:none;
}

#nkstable_stats .tstats_grid_row > * {
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-top: 4px solid #272727; */
}


#nkstable_stats .tstats_header {
  height: 58px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-items: center;
  background: var(--accent-color);
  /* margin-top: 40px; */
}

#nkstable_stats .tstats_header > * {height: 100%;/* overflow: hidden; */}

#nkstable_stats .tstats_header .tstats_header_h {
  display: flex;
  /* background-color: var(--bg-color2); */
  color: black;
  /* background: var(--accent-color); */
  color: white;
  padding: 0px 30px;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

#nkstable_stats .tstats_header .tstats_header_col{
  display: flex;
  width:200px;
  width: var(--col-width);
  justify-content: center;
  align-items: center;
}

#nkstable_stats .tstats_header .tstats_header_col.home {
  /* background-color: var(--home-color); */
}

#nkstable_stats .tstats_header .tstats_header_col.away {
  /* background-color: var(--away-color); */
}

#nkstable_stats .tstats_grid_col {
  width: 230px;
  width: var(--col-width);
  text-align: center;
  overflow: hidden;
  /* border-color: transparent; */
}

#nkstable_stats .tstats_grid_col.active {
  background-color: var(--accent-color);
  color: black;
}

#nkstable_stats .tstats_grid_col {
}

#nkstable_stats .tstats_grid_h {
  /* color:var(--accent-color); */
  /* font-size: 29px; */
  flex-grow: 1;
  /* border: none; */
  border-color: transparent;
}

#nkstable_stats .tstats_grid_row#stats_goals {
  height: 138px;
  height: 200px;
}

#nkstable_stats .tstats_grid_row#stats_goals > * {
  border: none;
}

#nkstable_stats .tstats_grid [var-content="home-score"],
#nkstable_stats .tstats_grid [var-content="away-score"] {
  font-size: 90px;
}

#nkstable_stats .tstats_period{
  display: flex;
  font-size: 25px;
  font-weight: 500;
  min-width: 260px;
  height:36px;
  background-color: var(--accent-color);
  color:black;
  padding: 0 30px;
  align-items: center;
  justify-content: center;
}