#hk_overlay .tlittle_lineup{
	
}

#hk_overlay #bottom_lineups_container{
	display: grid;
	grid-template-areas:
		"area";
	/* background: #ff000040; */
	/* transform: scale(0.8); */
	justify-content: center;
	justify-items: center;
}

#hk_overlay .nks_table_lineup_bottom {
	/* position: absolute; */
	/* bottom: 70px; */
	/* bottom: 60px; */
	grid-area: area;
	width: auto !important;
	/* max-width: 96%; */
	/* font-family: 'Heading-Now'; */
	font-weight: bold;
	--scale: 1;
	--scale: 0.8;
	--scale: 0.65;
	--lineup-player-bg: #282828;
	--photo-height: calc(256px * var(--scale));
	--photo-width: calc(271px * var(--scale));
	--lineup-bottom-midheight: calc(110px * var(--scale));
	--top-padding: calc(var(--photo-height) - var(--lineup-bottom-midheight));
	--lineup-name-height: calc(50px * var(--scale));
	--lineup-height: calc(var(--photo-height) + var(--lineup-name-height));
	--name-width: 240px;
	--name-width: calc(300px * var(--scale));
}

#hk_overlay .tlittle_lineup #bottom_lineups_container{
	/* margin-top: calc(0px - var(--row0-height)); */
}

#hk_overlay .tlittle_lineup .nks_table_lineup_bottom{
	--scale: 1;
	--scale: 0.8;
	--lineup-player-bg: #282828;
	--photo-height: 130px;
	--photo-width: 170px;
	--top-padding: var();
	--top-padding: var(--row0-height);
	--top-padding: 0;
	--lineup-bottom-midheight: var(--little-full-height);
	--lineup-name-height: var(--team-row-heigth);
	/* --lineup-name-height: 30px; */
	/* --lineup-height: calc(var(--photo-height) + var(--lineup-name-height)); */
	--name-width: 200px;
	--lineup-height: var(--little-full-height);
}

#hk_overlay .tlittle_lineup .tlineup_wrap{
	display:flex;
	align-items: flex-end;
}

#hk_overlay .tlittle_lineup .first_name{
	/* display:none; */
}

#hk_overlay .tlittle_lineup .tlineup_name{
	/* --ccit: calc(var(--name-width) - 20px); */
	--autofit: 180px;
}

#hk_overlay .tlineup_wrap {
	display: flex;
	--height: var(--lineup-height);
	height: var(--height);
	min-height: var(--height);
}

#hk_overlay .tlineup_bg {
	position: absolute;
	top: var(--top-padding);
	left: 0;
	right:calc(var(--name-width) + 10px);
	height: var(--lineup-bottom-midheight);
	background: var(--bg-color);
	transition:right 0.3s;
	transition-delay:1.8s;
	transition-timing-function: ease-in-out;
}

#hk_overlay [current-lineup-num="0"] .tlineup_bg,
body[data-lineup-mode="roster"] #hk_overlay .tlineup_bg{
	right:0;
	transition-delay:1.3s;
}

#hk_overlay .tlineup_logo_block {
	display: flex;
	--size: calc(156px * var(
 --scale));
	/* width: var(--size); */
	min-width: var(
	--size);
	justify-content: center;
	align-items: center;
	clip-path: none;
	height: var(
	--lineup-bottom-midheight);
	/* bottom: 40px; */
	/* margin-bottom: var(
	--lineup-name-height); */
	margin-top: var(--top-padding);
	flex-shrink: 0;
	/* align-self: end; */
	/* background: var(--bg-color); */
}

#hk_overlay .tlineup_team_logo {
	display: flex;
	height: 160px;
	padding: 4px 8px;
}

#hk_overlay .tlineup_logo_block.home {
	/* background: var(--home-color); */
}

#hk_overlay .tlineup_logo_block.away {
	/* background: var(--away-color); */
}

#hk_overlay .tlineup_team_logo img {
	height: 100%;
	/* object-fit: contain; */
	/* padding: 34px; */
	/* margin: 4px; */
	/* box-sizing: border-box; */
}

#hk_overlay .tlineup_lines {
	display: grid;
	grid-template-areas:
		'content';
}

#hk_overlay .tlineup_line {
	display: flex;
	grid-area: content;
}

#hk_overlay .tlineup_line_wrap {
	grid-area: content;
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	/* grid-auto-columns: 1fr; */
	/* background: var(--accent-color); */
	/* background: var(--bg-color3); */
	flex-grow: 1;
	/* margin-top: -30px; */
}

#hk_overlay .tlineup_player {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
}

#hk_overlay [mode="lineups"] .tlineup_player[role="GK"]{
	display:none;
}

#hk_overlay [mode="lineups"] [line="0"] .tlineup_player[role="GK"]{
	display:flex;
	
}



#hk_overlay .tlineup_player.disabled{
	display:none;
}

/*
tlineup_line:not([line="0"]) tlineup_player[role="GK"]{
	visibility:hidden;
	
}
*/


#hk_overlay .tlineup_player[dummy]{
	display:none;
}

#hk_overlay .tlineup_player_wrap {
	display: flex;
	overflow: hidden;
	flex-direction: column;
	padding-right: 6px;
	/* visibility: hidden; */
	width: 100%;
	align-items: center;
}

#hk_overlay .tlineup_player_bg {
	position: absolute;
	top: var(--top-padding);
	height: var(--lineup-bottom-midheight);
	left: 0;
	right: -1px;
	background-color: var(--bg-color);
	z-index: -9999;
	display: none;
}

#hk_overlay .tlineup_player:nth-child(n + 4) .tlineup_player_bg {
	background-color: #282828;
}

#hk_overlay .tlineup_photo {
	display: flex;
	--size: var();
	--size: var(--photo-height);
	height: var(--size);
	align-items: flex-end;
	width: 100%;
	justify-content: center;
}

#hk_overlay .tlineup_photo img {
	object-fit: contain;
	display: flex;
	height: 100%;
	width: 100%;
	/* height: calc(159px * var(--scale)); */
	width: var(--photo-width);
	object-fit: contain;
	object-position: top;
}

#hk_overlay .tlineup_photo_img{
	display: flex;
	height: 100%;
	width: 100%;
	/* height: calc(159px * var(--scale)); */
	/* width: calc(var(--photo-width) - 100px); */
	width: var(--photo-width);
	background-size: cover;
	background-position: top;
	background-image:url('../assets/player.png');
	background-repeat: no-repeat;
}

#hk_overlay .tlineup_photo img[src='']{
	background-image:url('../assets/player.png')
}


#hk_overlay .tlineup_num_block {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: center;
	/* flex-grow: 1; */
	/* height: 93px; */
	/* min-height: 93px; */
	/* margin-right: 20px; */
	align-items: center;
	--size: calc(55px * var(
	--scale));
	--width: calc(70px * var());
	--width: calc(60px * var(--scale));
	height: var(--size);
	width: var(--width);
	min-width: var(--width);
	background: var(--accent-color);
	color: var(--accent-text-color);
}

#hk_overlay .tlineup_num {
	display: flex;
}

#hk_overlay .tlineup_num_text {
	font-size: calc(27px * var(--scale));
	/* font-weight: 500; */
	/* color:black; */
	/* font-family: 'TT Supermolot Neue'; */
}

#hk_overlay .tlineup_name_block {
	display: flex;
	background: white;
	color: black;
	min-height: var(--lineup-name-height);
	justify-content: center;
	text-transform: uppercase;
	font-size: calc(20px * var(--scale));
	font-weight: 500;
	font-weight: bold;
	align-items: center;
	line-height: 1.1;
	/* line-height: 1.3; */
	padding: 2px calc(6px * var(--scale));
	width: 100%;
	text-align: center;
	flex-direction: column;
	max-width: 260px;
	/* --name-width: 240px; */
	max-width: var(--name-width);
	min-width: var(--name-width);
	overflow: hidden;
	gap: 1px;
}

#hk_overlay .tlineup_name {
	display: flex;
	/* width: min-content; */
	/* width: max-content; */
	/* width: 100%; */
	/* max-width: 221px; */
	line-height: 1;
	white-space: nowrap;
	/* overflow: hidden; */
	/* text-overflow: ellipsis; */
	/* display: inline; */
	--autofit: 220px;
	font-weight: 600;
}



#hk_overlay .tlineup_sponsor_bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 50%;
	bottom: 0;
	background-color: var(--lineup-player-bg);
}

#hk_overlay .tlineup_sponsor_logo {
	display: flex;
	/* align-self: center; */
	align-items: center;
	align-content: center;
	height: 100%;
	height: var(--lineup-bottom-midheight);
	/* margin-bottom: var(--lineup-name-height); */
	margin-top: var(--top-padding);
	/* background: red; */
	display: none;
}

#hk_overlay .tlineup_sponsor_logo img {
	--size: calc(45px * var(
	--scale));
	height: var(--size);
	width: var(--size);
}

/* Lineup BIG */

#hk_overlay .nks_table_lineup_big {
	display: flex;
	position: absolute;
	/* top: 100px; */
	/* font-family: 'Heading-Now'; */
	width: auto !important;
}

#hk_overlay .tlineup_big_wrap {
	display: flex;
	/* width: 1150px; */
	min-width: 1150px;
	/* min-height: 680px; */
	flex-direction: column;
	color: black;
}

#hk_overlay .tlineup_big_bg {
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 25px;
	background-color: var(--bg-color);
}

#hk_overlay .tlineup_big_line_h {
	display: flex;
	height: 59px;
	min-height: 59px;
	/* position: absolute; */
	left: 0;
	right: 0;
	/* z-index: 1; */
	/* opacity: 0.2; */
}

#hk_overlay .tlineup_big_line_h_bg {
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: white;
	/* opacity: 0.1; */
}

#hk_overlay .tlineup_big_line_h_logo {
	display: flex;
	width: 186px;
	min-width: 186px;
	height: 100%;
	justify-content: center;
	overflow: hidden;
	align-items: center;
	visibility: hidden;
}

#hk_overlay .tlineup_big_line[line="0"] .tlineup_big_line_h_logo{
	visibility: visible;
	z-index: 2;
}

#hk_overlay .tlineup_big_line_h_logo.home {
	background-color: var(--home-color);
}

#hk_overlay .tlineup_big_line_h_logo.away {
	background-color: var(--away-color);
}

#hk_overlay .tlineup_big_line_h_logo img {
	width: 130px;
	height: 130px;
	object-fit: contain;
	/* transform: scale(1.5); */
}




#hk_overlay .tlineup_big_line_h_content {
	display: flex;
	flex-grow: 1;
	padding-left: 36px;
	align-items: center;
}

#hk_overlay .tlineup_big_line_name_container {
	display: grid;
	grid-template-areas:
		'a b';
	display: grid;
	align-items: center;
	white-space: nowrap;
	/* overflow: hidden; */
	transition: all 0.4s;
	transition-timing-function: ease-in-out;
}

#hk_overlay .tlineup_big_line_name,
#hk_overlay .tlineup_line_header_title{
	clip-path: inset(0% 0% 100% 0%);
	/*   max-width: 0px;
 */
	font-size: 30px;
	font-weight: 500;
	grid-area: a;
	overflow: hidden;
	text-transform: uppercase;
	--expanded_width: auto;
	transition: all 0.4s;
	transition-timing-function: linear;
	opacity: 1;
	z-index: 2;
}

#hk_overlay .tlineup_big_line_h_splitter {
	grid-area: b;
	font-size: 20px;
	font-weight: normal;
	/* padding-left: 20px; */
	/* padding-right: 10px; */
	padding: 0 1rem;
}

#hk_overlay .tlineup_big_teamname {
	font-size: 20px;
	font-weight: normal;
	text-transform: uppercase;
}

#hk_overlay .tlineup_big_lines {
	display: grid;
	grid-template-areas:
		'content';
	/* grid-template-columns: 1fr 1fr 1fr; */
	z-index: 1;
	margin: 29px 0px 60px;
}

#hk_overlay .tlineup_big_line {
	grid-area: content;
	display: flex;
	/* display: none; */
	flex-direction: column;
	user-select: none;
	pointer-events: none;
}

#hk_overlay .tlineup_big_line_wrap {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	/* grid-template-columns: 1fr 1fr; */
	width: 100%;
	justify-items: center;
	/* padding-top: 20px; */
}

#hk_overlay .tlineup_big_player {
	display: flex;
	/* width: 30%; */
	flex-direction: column;
	margin: 28px;
	overflow: hidden;
}

#hk_overlay .tlineup_big_player[dummy]
{display:none}

#hk_overlay .tlineup_big_player_wrap {
	display: flex;
	overflow: hidden;
	flex-direction: column;
}

#hk_overlay .tlineup_big_player_bg {
	display: none;
}

#hk_overlay .tlineup_big_photo {
	/* width: 233px; */
	/* width: 100%; */
	--photo-width: 260px;
	width: var(--photo-width);
	height: 260px;
	display: flex;
	justify-content: center;
}

#hk_overlay .tlineup_big_photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* object-fit: cover; */
	object-position: top;
}

#hk_overlay .tlineup_big_player_content {
	display: flex;
	/* background: var(--bg-color2); */
	/* color: var(--accent-color); */
}

#hk_overlay .tlineup_big_num {
	display: flex;
	height: 56px;
	width: 75px;
	background-color: white;
	justify-content: center;
	align-items: center;
	background: var(--accent-color);
	color: var(--accent-text-color);
}

#hk_overlay .tlineup_big_num_text {
	font-size: 37px;
	font-weight: ищдв;
	display: flex;
	justify-content: center;
}

#hk_overlay .tlineup_big_name_block {
	display: flex;
	padding-left: 15px;
	padding-top: 7px;
	color: var(--text-color);
	text-wrap: wrap;
}

#hk_overlay .tlineup_big_name {
	display: flex;
	line-height: 1.2;
	font-size: 19px;
	font-weight: bold;
	width: min-content;
	text-transform: uppercase;
	align-items: center;
}

#hk_overlay .tlineup_big_sponsor_logo {
	height: 50px;
	width: 50px;
	align-self: center;
	/* display: none; */
	opacity: 0;
}

#hk_overlay .tlineup_line_header {/* position: absolute; *//* bottom: 100%; */display: flex;/* z-index: 1000; */height: 59px;align-items: center;}


#hk_overlay .tlineup_line_header_title{
	color: green;
	/* z-index: 109000; */
	clip-path: none;
}

#hk_overlay .tlineup_big_header{
	min-height: 60px;
	display: flex;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: auto 1fr auto;
	align-items: center;
	background: var(--accent-color);
	padding: 0 40px;
	gap: 41px;
	color: var(--accent-text-color);
	font-size: 36px;
	line-height: 1;
	padding-top: 1px;
	/* margin-top: 71px; */
}

#hk_overlay .tlineup_big_header_text{
	display: flex;
	/* padding-left:100px; */
	flex-grow: 1;
	max-width: 610px;
	padding: 7px 0px;
}

#hk_overlay .tlineup_big_team_logo{
	display: flex;
	height: 60px;
	/* margin: 0 30px; */
	align-items: center;
}

#hk_overlay .tlineup_big_team_logo img{
	height: 190px;
}

#hk_overlay .tlineup_big_header_descr{
	display: flex;
}