#nks_table_mid * {
	/* border:1px solid; */
	/* box-sizing: border-box; */
}

#nks_table_mid {
	/* background: #ff00004d; */
	position: absolute;
	/* max-width: 974px; */
	display: flex;
	/* margin-top: 48px; */
	top: 200px;
	margin-left: 12px;
	/* justify-content: center; */
}

#nks_table_mid .tmid_wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
	align-content: center;
}

#nks_table_mid .tmid_bg_wrapper {
	display: flex;
	position: absolute;
	top: 39px;
	bottom: 0px;
	width: 1079px;
	overflow: hidden;
	justify-content: center;
	align-items: center;
	align-content: center;
}

#nks_table_mid .tmid_bg {
	position: absolute;
	top: 39px;
	top: 0;
	bottom: 0px;
	width: 100%;
	/* left: 40px; */
	/* right: 100px; */
	background-color: var(--bg-color);
	/* background-image: url('../assets/through.jpg'); */
	z-index: 0;
}

#nks_table_mid .tmid_bg2 {
	position: absolute;
	/* top: -41px; */
	/* top: 0; */
	/* bottom: 0px; */
	width: 1230px;
	height: 760px;
	/* left: 40px; */
	/* right: 100px; */
	background-color: var(--bg-color3);
	background: url('../assets/match_id_bg.png');
	/* background: url('../assets/match_id_bg_small.png'); */
	/* background: url('../assets/through.jpg'); */
	background: url('../assets/ovi_element.svg');
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-position: center -90px;
	z-index: 0;
}

#nks_table_mid .tmid_row1,
#nks_table_mid .tmid_row2,
#nks_table_mid .tmid_row3 {
	display: grid;
}

#nks_table_mid .tmid_row1 {
	position: relative;
	display: flex;
	--logo-mrg: 0 0 -92px;
	height: 90px;
}

#nks_table_mid .tmid_row2 {
	--padd-ext: 57px;
	--padd-in: 23px;
	/* --marg-in: 53px; */
	--date-width: 612px;
	--date-pd-side: 0 100px;
	--logo-side-placement: -120px;
	/* position: absolute; */
	position: relative;
	/* top: 221px; */
	display: flex;
	display: grid;
	grid-auto-columns: 1fr auto 1fr;
	justify-items: center;
	grid-auto-flow: column;
	/* background: #380000; */
	align-items: center;
	height: 181px;
	min-height: 181px;
	margin-top: 83px;
}

#nks_table_mid .tmid_row3 {
	/* top: 470px; */
	--mrg-ext: 52px;
	margin-top: 43px;
	position: relative;
	height: 183px;
	min-height: 183px;
	width: 100%;
	max-width: 1040px;
	display: grid;
	grid-auto-columns: 1fr auto 1fr;
	justify-items: center;
	grid-auto-flow: column;
	align-items: start;
}

#nks_table_mid .tmid_left_arrows,
#nks_table_mid .tmid_right_arrows {
	min-width: 320px; /* width: 300px; */
	display: flex;
	margin-top: 120px;
	display: none;
}

#nks_table_mid .tmid_left_arrows {
	/* display: flex; */
	justify-content: flex-end;
	padding-right: 70px;
}

#nks_table_mid .tmid_right_arrows {
}

#nks_table_mid .tmid_left_arrow,
#nks_table_mid .tmid_right_arrow {
	display: flex;
	width: 41px;
	height: 68px;
	margin: 0 16px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

#nks_table_mid .tmid_left_arrow {
	margin-right: 0;
	background-image: url('../assets/pixel_arrow_left.svg');
}

#nks_table_mid .tmid_liga_logo {
	display: flex;
	margin: var(--logo-mrg);
}

#nks_table_mid .tmid_liga_logo img {
	width: 387px;
	height: 270px;
	object-fit: contain;
	margin-bottom: 100px;
	/* margin-top: -150px; */
}

#nks_table_mid .tmid_liga_logo img[src=''] {
	display:none;
	/* opacity: 0; */
}

#nks_table_mid .tmid_right_arrows {
	padding-left: 70px;
}

#nks_table_mid .tmid_right_arrow {
	margin-left: 0;
	background-image: url('../assets/pixel_arrow_right.svg');
}

#nks_table_mid .tmid_team_home,
#nks_table_mid .tmid_team_away {
	display: flex;
	position: relative;
	/* display: none; */
	width: 100%;
	border-color: #00ff3b;
	/* background-color: #0d3c18; */
	height: 96px;
	align-items: center;
	/* max-width: 370px; */
	min-width: 280px;
}

#nks_table_mid .tmid_team_home {
	/* padding-left: var(--padd-ext); */
	/* padding-right: var(--padd-in); */
}

#nks_table_mid .tmid_team_away {
	/* padding-right: var(--padd-ext); */
	/* padding-left: var(--padd-in); */
	/* justify-self: start; */
}

#nks_table_mid .tmid_logo_home,
#nks_table_mid .tmid_logo_away {
	/* position: absolute; */
	/* width: auto; */
	/* top: -60px; */
	display: flex;
	align-items: center;
	align-content: center;
	/* border: 1px solid red; */
	/* height: 96px; */
}

#nks_table_mid .tmid_logo_home img,
#nks_table_mid .tmid_logo_away img {
	/* width: auto; */
	/* position: relative; */
	/* height: 178px; */
	/* height: 150px; */
	/* width: 280px; */
	/* height: 100%; */
	/* object-fit: contain; */
	/* opacity: 0.4; */
	/* margin-right: -50%; */
	/* margin-left: -50%; */
	/* display: flex; */
	/* margin-right: -140px; */
	/* display: block; */
	/* transform: translateX(50%); */
	/* opacity: 0.2; */
}

#nks_table_mid .tmid_logo_home img {
	/* transform: translateX(-50%); */
}

#nks_table_mid .tmid_logo_home {
	/* right: var(--logo-side-placement); */
	transform: scale3d(1, 1, 1);
	/* right: 0; */
	/* left: 100%; */
}

#nks_table_mid .tmid_logo_away {
	/* left: var(--logo-side-placement); */
	transform: scale3d(1, 1, 1);
	display: inline;
	/* width: 80%; */
	/* overflow: hidden; */
	/* right: 100%; */
}

#nks_table_mid .tmid_logo_home_wrap,
#nks_table_mid .tmid_logo_away_wrap {
	display: flex;
	/* width: 300px; */
	/* margin-right: -50%; */
	/* margin-left: -50%; */
	/* text-align: right; */
	/* display: inline; */
	/* width: 50%; */
	/* overflow: hidden; */
	height: 150px;
}

#nks_table_mid .tmid_logo_away_wrap {
}

/********* Mid Names ************/

#nks_table_mid .tmid_name_home,
#nks_table_mid .tmid_name_away {
	display: flex;
	position: relative;
	font-size: 16.67px;
	font-size: 19px;
	font-size: 30px;
	line-height: 1.2;
	max-width: 490px;
	text-transform: uppercase;
	display: flex;
	width: 100%;
	justify-content: center;
	text-align: center;
	/* background-color: aliceblue; */
	color: black;
	height: 100%;
	align-items: center;
	min-width: 230px;
}

#nks_table_mid .tmid_name_home {
	/* background-color: var(--home-color); */
	padding-right: var(--padd-in);
	padding-left: var(--padd-ext);
	display: flex;
	/* justify-self: stretch; */
	/* text-align: initial; */
	/* justify-content: center; */
	/* width: 140px; */
}

#nks_table_mid .tmid_name_away {
	/* background-color: var(--away-color); */
	padding-left: var(--padd-in);
	padding-right: var(--padd-ext);
	/* margin-right: -17px; */
}

#nks_table_mid .tmid_name_text_home,
#nks_table_mid .tmid_name_text_away {
	position: relative;
	z-index: 2;
}

#nks_table_mid .tmid_name_text_home {
	margin-left: -20px;
	color: var(--home-color-text);
}

#nks_table_mid .tmid_name_text_away {
	margin-right: -20px;
	color: var(--away-color-text);
}

/********* Mid Names BG ************/

#nks_table_mid .tmid_edge_home,
#nks_table_mid .tmid_edge_away {
	position: absolute;
	height: 100%;
	right: 0;
	left: 0;
	display: flex;
}

#nks_table_mid .tmid_edge_home {
}

#nks_table_mid .tmid_edge_away {
	flex-direction: row-reverse;
}

#nks_table_mid .tmid_edge_home svg {
	height: 100%;
	/* object-fit:cover; */
	fill: var(--home-color);
	display: flex;
}

#nks_table_mid .tmid_edge_away svg {
	height: 100%;
	fill: var(--away-color);
}

#nks_table_mid .tmid_edge_home::after,
#nks_table_mid .tmid_edge_away::after {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

#nks_table_mid .tmid_edge_away::after {
	right: 50px;
	background-color: var(--away-color);
}
#nks_table_mid .tmid_edge_home::after {
	left: 50px;
	background-color: var(--home-color);
}

#nks_table_mid .tmid_date {
	display: flex;
	font-size: 33.33px;
	width: var(--date-width);
	flex-direction: column;
	text-align: center;
	/* padding: 0 100px; */
	line-height: 1;
	/* padding-top: 40px; */
}

#nks_table_mid .tmid_date_text {
	/* margin-top: 74px; */
	padding: var(--date-pd-side);
	text-transform: uppercase;
	font-weight: normal;
}

#nks_table_mid .tmid_date_text2 {
	/* font-size:20px; */
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
	display: none;
}

#nks_table_mid .tmid_date_text2.enabled {
	display: flex;
}

#nks_table_mid .tmid_ser_score_home,
#nks_table_mid .tmid_ser_score_away {
	font-size: 45px;
}

#nks_table_mid .tmid_ser_score_text {
	margin: 0 30px;
	font-size: 18px;
	width: 101px;
}

#nks_table_mid .tmid_score_home,
#nks_table_mid .tmid_score_away {
	display: flex;
	font-size: 145.83px;
	line-height: 111px;
	width: 100%;
}
#nks_table_mid .tmid_score_home {
	/* justify-self: flex-end; */
	padding-right: var(--mrg-ext);
	display: flex;
	justify-content: flex-end;
}
#nks_table_mid .tmid_score_away {
	padding-left: var(--mrg-ext);
	display: flex;
	/* justify-content: flex-end; */
}

#nks_table_mid .tmid_score_wrap_home,
#nks_table_mid .tmid_score_wrap_away {
}

#nks_table_mid .tmid_score_wrap_home {
}

#nks_table_mid .tmid_score_wrap_away {
}

#nks_table_mid .tmid_remain {
	width: 377px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	/* opacity: 0; */
}

#nks_table_mid .tmid_remain_text {
	text-transform: uppercase;
	font-size: 20.83px;
	text-align: center;
	font-weight: normal;
	margin-top: 1px;
}

#nks_table_mid .tmid_remain_time {
	font-size: 79.17px;
	line-height: 1;
	/* height: 80px; */
	/* margin-bottom: 33px; */
	margin-top: 12px;
	letter-spacing: calc(10/109 * 1em);
	/* background: red; */
	/* padding-left: 10px; */
}

#nks_table_mid .tmid_remain_logo {
	height: 49px;
	width: 189px;
	background-image: url('../assets/betera_green_hor.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-top: 40px;
}

#nks_table_mid .actual_img {
	position: absolute;
	height: 100%;
	display: flex;
	/* border: 1px solid red; */
}

#nks_table_mid .actual_img {
}

#nks_table_mid .tmid_logo_home .actual_img {
	/* margin-left: -100%; */
}

#nks_table_mid .tmid_logo_away .actual_img {
	margin-left: -100%;
	/* transform: translateX(50%); */
}

#nks_table_mid .tmid_liga_logo {
	display: flex;
	margin: var(--logo-mrg);
	width: 377px;
	height: 243px;
	margin-top: -50px;
	justify-content: center;
}

#nks_table_mid .tmid_liga_logo img {
	width: 167px;
	height: 223px;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
