/*BIG*/

nks_table_big * {
  /* border:1px solid; */
}

nks_area_bottom {
  display: flex;
  /* background:#ffffff7a; */
  position: absolute;
  bottom: 50px;
  bottom: 0;
  left: 0;
  width: 100%;
  /* height: 100%; */
  /* top: 20px; */
  justify-content: flex-end;
  flex-direction: column;
  z-index: 2;
  align-items: center;
}

nks_table_big {
  display: flex;
  /* position:absolute; */
  bottom: 0;
  /* width:1019px; */
  /* max-width: 1152px; */
  /* max-width: 1300px; */
  /* height:93px; */
  /* height: auto; */
  /* text-transform: uppercase; */
  /* width: 1360px; */
  flex-direction: column;
  /* min-width: min-content; */
  align-items: center;
  /* min-width: 100%; */
  width: 100% !important;
  /* min-height: 190px; */
  align-content: center;
  /* margin-top: -30px; */
  z-index: 2;
  /* transform: scale(var(--scale)); */
  transform-origin: top;
  /* transform-origin: bottom; */
  margin-bottom: -83px;
}

tbig_wrap {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  margin-bottom: 50px;
  /* margin-top: -30px; */
}

tbig_grid {
  position: relative;
  /* display: grid; */
  /* grid-auto-flow: column; */
  /* grid-auto-columns: 1fr auto 1fr; */
  /* grid-auto-columns: 720px auto 720px; */
  /* align-items: start; */
  display: flex;
}

tbig_grid > * {
  height: 100%;
}

tbig_logo_home,
tbig_logo_away {
  display: flex;
  /* width: fit-content; */
  /* min-width: fit-content; */
  justify-content: center;
  align-items: center;
  /* padding-top: 5px; */
  /* padding-bottom: 5px; */
  /* margin: 5px 13px; */
  height: 120px;
  /* max-height: 69px; */
  --pad-out: 71px;
}

tbig_logo_home img,
tbig_logo_away img {
  /* width: 68px; */
  height: 100%;
  object-fit: contain;
}

tbig_logo_home img {
  /* margin-left: -10px; */
}

tbig_logo_home {
  margin-left: var(--pad-out);
}

tbig_logo_away {
  margin-right: 12px;
  /* align-self: self-end; */
  /* margin-left: 20px; */
  margin-right: var(--pad-out);
}

tbig_grid_left,
tbig_grid_right {
  position: relative;
  width: 720px;
  max-width: 720px;
  height: 80px;
  /* min-height: 69px; */
  display: flex;
  font-size: 47px;
  font-weight: bold;
  /* padding-left: 13px; */
  /* padding-right: 13px; */
  /* min-width: 340px; */
  align-items: center;
  /* overflow: hidden; */
  margin-top: 40px;
}

tbig_name_home,
tbig_name_away {
  flex-grow: 1;
  display: flex;
  overflow: hidden;
  justify-content: center;
  white-space: nowrap;
  margin-left: 13px;
  margin-right: 13px;
  /* text-overflow: ellipsis; */
  /* font-size: 40px; */
}

tbig_name_home {
  display: flex;
  justify-content: flex-end;
}

tbig_name_away {
  justify-content: start;
}

tbig_name_home_text,
tbig_name_away_text {
  /* display:flex; */
  /* font-size: 47px; */
  font-weight: bold;
  text-transform: uppercase;
  --char-threshold: 10;
  --width: 390;
  --charwidth: 30;
  /* transform: scale(20); */
  /* width: 100%; */
}

nks_table_big tbig_name_home_text {
  /* display: flex; */
  /* justify-content: end; */
  text-align: right;
}

[length_mask_tbig_teams^="1234567890123"] {
  font-size: 90%;
}

[length_mask_tbig_teams^="12345678901234"] {
  font-size: 80%;
}

[length_mask_tbig_teams^="1234567890123456"] {
  font-size: 70%;
}

[length_mask_tbig_teams^="123456789012345678"] {
  font-size: 60%;
}

[length_mask_tbig_teams^="12345678901234567890"] {
  font-size: 55%;
}

[length_mask_tbig_teams^="1234567890123456789012"] {
  font-size: 50%;
}

[length_mask_tbig_teams^="1234567890123456789012345"] {
  font-size: 45%;
}

[length_mask_tbig_teams^="123456789012345678901234567"] {
  font-size: 40%;
}

[length_mask_tbig_teams^="1234567890123456789012345678901"] {
  font-size: 35%;
}

[length_mask_tbig_teams^="12345678901234567890123456789012345"] {
  font-size: 30%;
}

[length_mask_tmid_teams^="1234567890123"] {
  font-size: 90%;
}

[length_mask_tmid_teams^="12345678901234"] {
  font-size: 80%;
}

[length_mask_tmid_teams^="1234567890123456"] {
  font-size: 70%;
}

[length_mask_tmid_teams^="123456789012345678"] {
  font-size: 60%;
}

[length_mask_tmid_teams^="12345678901234567890"] {
  font-size: 55%;
}

[length_mask_tmid_teams^="12345678901234567890123"] {
  font-size: 50%;
}

[length_mask_tmid_teams^="1234567890123456789012345"] {
  font-size: 45%;
}

[length_mask_tmid_teams^="123456789012345678901234567"] {
  font-size: 40%;
}

[length_mask_tmid_teams^="1234567890123456789012345678901"] {
  font-size: 35%;
}

[length_mask_tmid_teams^="12345678901234567890123456789012345"] {
  font-size: 30%;
}

tbig_score_home,
tbig_score_away {
  display: flex;
  font-family: "fonbetcup";
  font-weight: normal;
  font-size: 64px;
  width: 82px;
  min-width: 82px;
  justify-content: center;
  --out-pad: 0px;
  --in-pad: 38px;
  box-sizing: content-box;
}

tbig_score_home {
  padding-left: var(--out-pad);
  padding-right: var(--in-pad);
  /* justify-content: end; */
}

tbig_score_away {
  padding-right: var(--out-pad);
  padding-left: var(--in-pad);
}

tbig_triangle_home,
tbig_triangle_away {
  position: absolute;
  top: 0;
  width: 40px;
  height: 80px;
}

tbig_triangle_home {
  right: 0;
  background-color: var(--home-color);
  clip-path: polygon(0% 50%, 100% 100%, 100% 0%);
}

tbig_triangle_away {
  left: 0;
  background-color: var(--away-color);

  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
}

tbig_mid {
  display: flex;
  flex-direction: column;
  padding: 0px 10px;
}

tbig_period_label {
  display: flex;
  position: relative;
  min-width: 160px;
  height: 40px;
  font-size: 25px;
  line-height: 1;
  font-weight: bold;
  /* color:black; */
  justify-content: center;
  align-items: center;
  /* padding-top: 6px; */
  z-index: -1;
  margin-bottom: 10px;
  padding: 0 10px;
  overflow: hidden;
  /* background: url('../assets/images/tbig_period.png'); */
}

tbig_period_label_text {
}

tbig_period_label_text .js-pen_goals_home,
tbig_period_label_text .js-pen_goals_away {
  min-width: 20px;
  display: inline-flex;
  justify-content: center;
}

tbig_vympel {
  width: 160px;
  height: 200px;
}

tbig_period_label_bg.a4_rect_bg {
  border-radius: 6px;
  height: 50px;
  background-color: white;
}

tbig_match_events {
  --in_offset: -6px;
  --height: 80px;
  display: flex;
  font-size:24px;
  text-transform: uppercase;
  white-space: nowrap;
  position: absolute;
  bottom: 113px;
  left: var(--in_offset);
  width: max-content;
  max-width: 798px;
  flex-flow: wrap-reverse;
}

tbig_match_events.home {
  display: flex;
  /* flex-flow: wrap-reverse; */
  left: auto;
  right: var(--in_offset);
}

tbig_match_events.away {
  display: flex;
}

tbig_match_events_wrap {
  --height: 80px;
  display: flex;
  /* background-color: blue; */
  gap: 21px;
  row-gap: 10px;
  padding: 0 40px;
  align-items: center;
  /* max-width: 820px; */
  /* width: min-content; */
  flex-wrap: wrap;
  text-shadow: 1px 1px 0px black, 1px 1px 1px black, 1px 1px 2px black, 1px 1px 7px black;
  /* height: var(--height); */
  /* background-image: url('../assets/images/tbig_events_bg.png'); */
  background-repeat: repeat;
  /* flex-flow: wrap-reverse; */
  /* flex-flow: row-reverse; */
  flex-wrap: wrap;
  /* clip-path: inset(0% 0% 0% 0%); */
}




tbig_match_events_wrap.home{
    display: flex;
    justify-content: flex-end;
}

tbig_match_events_wrap.away {flex-flow: row-reverse;/* flex-flow: wrap; */flex-wrap: wrap;display: flex;justify-content: flex-end;}

tbig_match_events match_event_name{
    margin-right: 5px;
}

tbig_match_events match_event_pen{
  margin-left:8px;
}

tbig_match_events match_event_first_name{
  display:none;
}


tbig_match_events_wrap > * {
  display:none;
}

tbig_match_events_wrap > [type="GOAL"],
tbig_match_events_wrap > [type="PENALTY_GOAL"]{
  display:flex;
}