.loading {
	opacity: 0.3 !important;
}

.wrap { display: flex;max-width: 900px;margin: 80px auto;flex-wrap: wrap;}

.wrap-match { margin-bottom: 0 !important; }
.match::before {
	content: attr(data-id);
	position: absolute;
	bottom: 10px;
	left: 5px;
}
.match { display: flex;	margin-bottom:  40px; position: relative; padding-top: 30px; width: 100%;}
.match > div { flex-basis: 50%; position: relative; }
.match > .t1 {padding-right: 30px;}
.match > .t2 { padding-left: 30px; }
.match .group {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	position: absolute; bottom: 0;right: 0;}

.match sup {
	opacity: 0.3;
	position: absolute;
	top: 43px;
}

.t1 sup {left: 15px}
.t2 sup {right: 15px;}

.flag { background: red;position: absolute;width: 40px;height: 25px; opacity: 0;}
.match > .t2 .flag {
	right: 15px;
}

.t1,
.t2 {
	position: relative;
}

.time {
	position: absolute;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
}

.team {
	display: inline-block;
	padding-top: 3px;
	width: 100%;
	text-align: center;
}

.score,
.bet {
	position: absolute;
}

.score {
	top: 4px;
	font-size: 35px;
}
.bet{ top: 70px; font-size: 20px;}

.match .t1 .score { right: 84px; }
.match .t2 .score { left: 77px;}


.match > .t1 .bet:after {
	content: '-';
	position: absolute;
	left: 22px;
}

.match .t2 .bet {
	left: 15px;
}

.match .t1 .bet { right: 15px; }
.match .t1 .slot { padding-right: 30px;}
.match .t2 .slot { padding-left: 30px;}
.slot { min-height: 50px;display: flex; justify-content: space-around;padding: 30px 15px 20px;}
.slot span { width: 80px; height: 40px; background: #ccc; border-radius: 4px;text-align: center; color: #fff; text-transform: uppercase;line-height: 40px ;font-size: 20px;}

.login {
	display: flex;
	background: #fff;
	justify-content: space-around;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 99999;
}

.avatar {
	cursor: pointer;
}

.login.logged { width: 100px; height: 50px; top: 50px; right: 50px; left: initial}
.login.logged .login-text { display:  none !important;}
.login.logged .avatar:not(.active) { display: none !important }

[data-user="ha"] { background: #e2e8f0 !important; color: #222 !important}
[data-user="vt"] { background: rgb(184, 4, 4) !important}
[data-user="qt"] { background: #f000b9 !important}
[data-user="vd"] { background: #ff9800 !important}
[data-user="al"] { background: #10b981 !important}
[data-user="he"] { background: #0ea5e9 !important}

.bg-vt { background: rgb(184, 4, 4);}

@media(max-width: 980px) {
	.login.logged { top: 15px;}
	.login.logged { width: 40px; height: 40px;}
	.login.logged .card { padding: 0 !important}
	.login.logged .inline-space { margin-top:  0; height: 40px !important;}
	
	.slot span { width: 35px;}
	.t1 .team {padding-right: 0;text-align: left;}
	.t2 .team {padding-left: 0;text-align: right;}
	.match .t1 .score{right: 53px;}
	.match .t2 .score{left: 54px;}
}

.winner::before,
.draw::before {
	content: 'winner';
	background: #fbbc05;
	border-radius: 4px;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	padding: 0 10px;
	position: absolute;
	top: -27px;
}

.t2.winner::before {
	right: 0;
}

.draw::before {
	background: red;
	content: 'draw';
	top: 52px;
	left: 50%;
	transform: translateX(-50%);
}
