@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@400;700&display=swap');

body {
	background-color: rgb(248, 248, 248);
	padding-top: 45px;
}

.main-body {
	padding: 1em;
}

/*************** HEADER ***************/

.header {
	/* margin-left: 250px; */
	padding-left: 16px;
	height: 45px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background-color: #16181a;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgb(228, 228, 228);
	transition: all 0.3s ease;
}

.left-section {
	display: flex;
	align-items: center;
}

.hamburger-menu {
	height: 24px;
	margin-right: 24px;
	margin-left: 24px;
	cursor: pointer;
}

.right-section {
	/* width: 180px; */
	margin-right: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}

.item-container {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.item-container > a {
	margin-left: 1em;
}

a.white-text {
	color: white;
	padding: 10px;
}

a.white-text:hover {
	background-color: #555;
}

.toggle {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	top: 0;
	color: white;
	width: 30px;
	min-height: 24px;
}

.toggle:hover {
	color: white;
}

.toggle span, .toggle span:before, .toggle span:after {
	background-color: white;
}

.dropdown {
	float: left;
	overflow: hidden;
}

.dropdown .dropbtn {
	/* font-size: 17px; */
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	float: none;
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown:hover .dropbtn {
	background-color: #555;
	color: white;
}

.dropdown-content a:hover {
	background-color: #ddd;
	color: black;
}

.dropdown:hover .dropdown-content {
	display: block;
}

/*===================== SIDE BAR =====================*/

.hc-offcanvas-nav .nav-content {
	padding-bottom: 76px;
}
.hc-offcanvas-nav .nav-content::-webkit-scrollbar {
	display: none;
}

.hc-offcanvas-nav .nav-container .link_name {
	margin-left: 1em;
}

.nav-item:hover {
	border-radius: 5px;
	background-color: #292c30;
}

.hc-offcanvas-nav .nav-container .bottom-nav {
	position: fixed;
	bottom: 0;
	background-color: #202225;
	z-index: 1;
}

.bottom-nav .profile-details {
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* padding: 12px 0; */
	transition: all 0.5s ease;
	width: 250px;
}

.bottom-nav .profile-details .profile-content {
	display: flex;
	align-items: center;
}

.bottom-nav .profile-details .profile-content a {
	color: white;
}

.bottom-nav .profile-details .profile-content i {
	font-size: 40px;
	margin-right: 14px;
}

.bottom-nav .profile-details img {
	height: 52px;
	width: 52px;
	object-fit: cover;
	border-radius: 16px;
	margin: 0 14px 0 0;
}

.bottom-nav .profile-details .profile_name {
	margin-right: 14px;
	white-space: break-spaces;
}

.bottom-nav .profile-details i {
	font-size: 25px;
	color: white;
}

/*===================== FLASH MESSAGES =====================*/

.flash, .alert {
	padding: 20px;
	background-color: #000;
	color: white;
	opacity: 1;
	transition: opacity 0.6s;
	margin: 1em auto;
	text-align: center;
	width: 90%;
	border-radius: 10px;
}

.flash.success {background-color: #04AA6D;}
.flash.error {background-color: #e02a1d;}
.flash.info {background-color: #2196F3;}
.flash.warning {background-color: #ff9800;}

.closebtn {
	margin-left: 15px;
	color: white;
	font-weight: bold;
	float: right;
	font-size: 22px;
	line-height: normal;
	cursor: pointer;
	transition: 0.3s;
}

.closebtn:hover {
	color: black;
}

.alert.alert-danger {background-color: #ff1100;}

/*===================== OTHERS =====================*/

.c-check {color: #00a347 !important;}
.c-xmark {color: #a30048 !important;}

/*===================== GROUP GRID ADMIN =====================*/

.group-grid-admin {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	column-gap: 20px;
	row-gap: 40px;
}

.group-grid-admin .group-container {
	border: 2px solid #000;
	border-radius: 10px;
	background-color: white;
	overflow: hidden;
}

.group-grid-admin .group-container .group-name {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.75em;
	border-bottom: 2px solid #000;
	padding: 0.5em;
	/* background-color: #004687; */
	background-color: #2E2E2E;
	color: white;
}

.group-grid-admin .group-container .group-position {
	padding: 0 0.5em;
	border-top: 1px solid #fff;
	background-color: #97cefb;
	color: black;
	font-size: 0.85em;
	display: flex;
	align-items: center;
	min-height: 35px;
}

.group-grid-admin .group-container .group-position a {
	color: black;
	width: 100%;
}

.group-grid-admin .group-container .group-position:hover {
	/* background-color: #2196F3; */
	background-color: #6D9BC3;
}

.group-grid-admin .group-container .gp1 {
	border-top: none;
	background-color: #EBECF0;
}

.group-grid-admin .group-container .gp2 {
	background-color: #BEBEBE;
}

.group-grid-admin .group-container .gp3 {
	background-color: #EBECF0;
}

.group-grid-admin .group-container .gp4 {
	background-color: #BEBEBE;
}

.group-grid-admin .group-container .group-position img, .admin-country-flag {
	width: 30px;
	height: 20px;
	margin-right: 0.5em;
}

/* .group-grid-admin .group-container .group-position span {
	margin-left: 0.5em;
} */

.selectedRow {
	background-color: #d20a11 !important;
	color: #fff !important;
}

/*===================== PROFILE =====================*/

.avatar-container, .profile-info-container {
	width: 100%;
	border: 1px solid rgb(160, 160, 160);
	overflow: hidden;
	box-sizing: border-box;
    border-radius: 8px;
    box-shadow: rgb(0 0 0 / 13%) 0px 1.6px 3.6px 0px, rgb(0 0 0 / 11%) 0px 0.3px 0.9px 0px;
	background-color: rgb(255, 255, 255);
	margin-bottom: 2em;
	font-size: 0.85em;
}

.avatar-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.avatar-container .avatar {
	padding: 2em;
	flex: 1;
	text-align: center;
}

.avatar-container .avatar i {
	font-size: 10em;
}

.avatar-container .avatar-description {
	flex: 3;
	margin-top: 1em;
}

.profile-info-container {
	display: flex;
	flex-direction: column;
}

.profile-info-container .profile-info-row-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
    border-bottom: 1px solid #f2f2f2;
    min-height: 48px;
	padding: 0 1em;;
}

.profile-info-container .profile-info-row-header a {
	font-weight: 400;
}

.profile-info-container .profile-info-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	/* justify-content: space-between; */
	border-bottom: 1px solid #f2f2f2;
    min-height: 48px;
	padding: 0 1em;;
    cursor: pointer;
}

.profile-info-container .profile-info-row:hover {
	background-color: #ececec;
}

.profile-info-container .profile-info-row .profile-label, .profile-info-container .profile-info-row .profile-value, .profile-info-container .profile-info-row .profile-action {
	flex: 1;
}

.profile-info-container .profile-info-row .profile-value {
	flex: 2;
}

.profile-info-container .profile-info-row .profile-label {
	color: #605e5c;
}

.profile-info-container .profile-info-row .profile-value {
	color: #323130;
	font-weight: 600;
}

.profile-info-container .profile-info-row .profile-action {
	text-align: end;
}

.avatar-style-container, .avatar-color-container {
	padding: 1em; display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-around;
}

.avatar-style-container .i-icon, .avatar-color-container .avatar-color {
	font-size: 2.75em;
	line-height: 0.5em;
	margin: 0 0.5em 0.5em;
	cursor: pointer;
}

.avatar-style-container .i-icon label, .avatar-color-container .avatar-color label {
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	text-align: center;
	cursor: pointer;
}

.avatar-style-container .i-icon input[type=radio], .avatar-color-container .avatar-color input[type=radio] {
	margin: 0;
	cursor: pointer;
}

.avatar-color-container .avatar-color span {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: inline-block;
}

.avatar-style-container .i-icon i:hover, .avatar-color-container .avatar-color span:hover {
	box-shadow: 0 0 8px #000;
	border-radius: 50%;
}

.col-1 { background-color: #000; }
.col-2 { background-color: #d90d67; }
.col-3 { background-color: #32a304; }
.col-4 { background-color: #00a347; }
.col-5 { background-color: #008ca3; }
.col-6 { background-color: #21a6ff; }
.col-7 { background-color: #6d00a3; }
.col-8 { background-color: #a3008a; }
.col-9 { background-color: #a30048; }
.col-10 { background-color: #e8dea6; }

.a-col-1 { color: #000; }
.a-col-2 { color: #d90d67; }
.a-col-3 { color: #32a304; }
.a-col-4 { color: #00a347; }
.a-col-5 { color: #008ca3; }
.a-col-6 { color: #21a6ff; }
.a-col-7 { color: #6d00a3; }
.a-col-8 { color: #a3008a; }
.a-col-9 { color: #a30048; }
.a-col-10 { color: #e8dea6; }

/*===================== EDIT DESCRIPTIONS =====================*/

.edit-labels {
	font-size: 1.25em;
	margin-bottom: 0.5em;
}

/*===================== BUTTON STYLES =====================*/

.radius {
    border-radius: 0.1875rem;
}

.bordered {
    border: 0.0625rem solid #cacaca;
}

.shadow {
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

/*===================== MATCH GAMES CONTENT =====================*/

.match-games-content {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 20px;
	row-gap: 40px;
}

.game-container {
	border: 2px solid #000;
	border-radius: 10px;
	background-color: white;
	overflow: hidden;
}

.game-container .game-title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.75em;
	border-bottom: 2px solid #000;
	padding: 0.5em;
	cursor: pointer;
}

.game-container .team {
	padding: 0.5em;
	font-size: 0.95em;
	display: grid;
	grid-template-columns: 4fr 1fr;
}

.game-container .team .country {
	display: flex;
}

.game-container .team .country img {
	width: 30px;
	height: 20px;
	margin-right: 0.5em;
}

.game-container .team .result {
	text-align: center;
	font-weight: 700;
}

.result-container {
	border: 2px solid #000;
	border-radius: 10px;
	background-color: white;
	overflow: hidden;
}

.result-container .result-titles {
	display: flex;
	align-items: center;
	text-align: center;
	border-bottom: 2px solid #000;
	padding: 0.5em;
}

.result-container .result-titles span {
	width: 15%;
}

.result-container .result-titles span:first-child {
	width: 70%;
}

.result-container .result-team {
	display: flex;
	align-items: center;
	padding: 0.5em;
}

.result-container .result-team .country {
	width: 70%;
}

.result-container .result-team .country img {
	width: 30px;
	height: 20px;
	margin-right: 0.5em;
}

.result-container .result-team .score, .result-container .result-team .penalty {
	width: 15%;
}

.result-container .result-team input[type=number] {
	margin-bottom: 0;
	text-align: center;
	padding: 0.3rem;
    height: auto;
}

.grid-results .group-container .group-name {
	display: flex;
	align-items: center;
	justify-content: center;
}

.grid-results .group-container .team {
	width: calc(100% - 200px);
	background-color: transparent;
}

.grid-results .group-container .abr {
	width: 25px;
	text-align: center;
}

.result-container .result-titles-match span:first-child {
	width: 85%;
}

.result-container .result-team .country-match {
	width: 85%;
}

.result-container .result-team .country-winner-label {
	cursor: pointer;
}

.result-container .result-team input[type=radio] {
	margin-bottom: 0;
}

/*===================== FROSTED GRAY =====================*/

.frosted-gray-0 {
	background-color: #2E2E2E;
	color: white;
}

.frosted-gray-1 {
	background-color: #EBECF0;
	color: black;
}

.frosted-gray-2 {
	background-color: #BEBEBE;
	color: black;
}

.frosted-gray-1:hover, .frosted-gray-2:hover {
	background-color: #6D9BC3;
}

/*===================== SPACING =====================*/

.margin-top-1 {
    margin-top: 1rem !important;
}

.margin-top-2 {
    margin-top: 2rem !important;
}

.margin-vertical-1 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/*===================== MEDIA QUERIES =====================*/

/* Small only */
@media screen and (max-width: 39.938em) {
	.group-grid-admin, .match-games-content {
		grid-template-columns: 1fr;
	}
	.right-section {
		display: none;
	}
	.avatar-container {
		flex-direction: column;
	}
	.profile-info-container .profile-info-row .profile-value {
		flex: 1;
	}
}

/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.group-grid-admin, .match-games-content {
		grid-template-columns: 1fr 1fr;
	}

	.grid-results {
		grid-template-columns: 1fr;
	}
}

/* Large and up */
@media screen and (min-width: 64em) {
	.grid-results {
		grid-template-columns: 1fr 1fr;
	}
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}

/*===================== TOURNAMENT BRACKET =====================*/

/* Tournament Bracket */
#knockout {padding: 0;}
.tournament-bracket {
	font-family: sans-serif;
	background-color: #2b303d;
	width: 100%;
	overflow: auto;
}
.tournament-bracket h3 {font-size: 1.17em; color: #fff; text-align: center; margin: 1em 0;}
.r-16-finals, .q-finals, .s-finals, .f-finals {padding: 0 1.5em; overflow: hidden;}
.f-finals {min-width: 14em;}
.r-16-item, .q-item, .s-item, .f-item, .t-item {
	float: left;
	position: relative;
	margin-bottom: 1em;
	justify-self: center;
}
@media screen and (max-width: 39.938em) {
	.r-16-finals, .q-finals, .s-finals, .f-finals {
		display: grid;
		grid-template-columns: 1fr;
	}
}
@media screen and (min-width: 40em) {
	.h-r {margin-bottom: 2em !important;}
	.h-q {margin-bottom: 4.3em !important;}
	.h-s {margin-bottom: 9.2em !important;}
	/* .h-f {margin-bottom: 19em !important;} */
	.r-16-finals, .q-finals, .s-finals, .f-finals {
		float: left;
		padding: 0 0.8em;
	}
	.r-16-item {margin-bottom: 1em;}
	.q-item {margin-bottom: 6.7em;}
	.s-item {margin-bottom: 18em;}
	/* .f-item {margin-bottom: 8em;} */
	.r-16-item:after, .q-item:after, .s-item:after {
		content: '';
		border-color: #fff;
		border-width: 2px;
		position: absolute;
		display: block;
		width: 12px;
		right: -12px;
	}
	.r-16-item-bracket-odd:after {
		border-right-style: solid;
		border-top-style: solid;
		height: 63%;
		top: 49%;
	}
	.r-16-item-bracket-even:after {
		border-right-style: solid;
		border-bottom-style: solid;
		height: 63%;
		top: -12%;
	}
	/* .q-item:before, .s-item:before, .f-item:before { */
	.q-item:before, .s-item:before {
		content: '';
		border-top: 2px solid #fff;
		position: absolute;
		height: 2px;
		width: 14px;
		left: -13.5px;
		top: 48%;
	}
	.q-item-bracket-odd:after {
		border-right-style: solid;
		border-top-style: solid;
		height: 125%;
		top: 49%;
	}
	.q-item-bracket-even:after {
		border-right-style: solid;
		border-bottom-style: solid;
		height: 125%;
		top: -73%;
	}
	.s-item-bracket-odd:after {
		border-right-style: solid;
		border-top-style: solid;
		height: 245%;
		top: 50%;
	}
	.s-item-bracket-even:after {
		border-right-style: solid;
		border-bottom-style: solid;
		height: 245%;
		top: -193%;
	}
	.f-finals {
		clear: both;
	}
}
@media screen and (min-width: 53.875em) {
	.f-finals {clear: none;}
	.h-f {margin-bottom: 19em !important;}
	.f-item {margin-bottom: 8em;}
	.f-item:before {
		content: '';
		border-top: 2px solid #fff;
		position: absolute;
		height: 2px;
		width: 14px;
		left: -13.5px;
		top: 48%;
	}
}
@media screen and (min-width: 40em) and (max-width: 46.994em) {
	.bracket-public-view .s-finals, .bracket-public-view .f-finals {clear: both;}
	.bracket-public-view .h-s, .bracket-public-view .h-f {margin-bottom: 1em !important;}
	.bracket-public-view .s-item, .bracket-public-view .f-item {margin-bottom: 1em;}
	.bracket-public-view .s-item:before, .bracket-public-view .s-item:after, .bracket-public-view .f-item:before {
		content: none;
	}
}
@media screen and (min-width: 47em) and (max-width: 61.994em) {
	.bracket-public-view .s-finals {clear: both;}
	.bracket-public-view .h-s {margin-bottom: 1em !important;}
	.bracket-public-view .s-item {margin-bottom: 1em;}
	.bracket-public-view .s-item:before {
		content: none;
	}
	.bracket-public-view .s-item-bracket-odd:after {
		height: 63%;
	}
	.bracket-public-view .s-item-bracket-even:after {
		height: 63%;
		top: -13%
	}
	.bracket-public-view .f-finals {clear: none;}
	.bracket-public-view .h-f {margin-bottom: 3.5em !important;}
	.bracket-public-view .f-item {margin-bottom: 2em;}
	.bracket-public-view .f-item:before {
		content: '';
		border-top: 2px solid #fff;
		position: absolute;
		height: 2px;
		width: 14px;
		left: -13.5px;
		top: 48%;
	}
}
@media screen and (min-width: 62em) and (max-width: 74em) {
	.bracket-public-view .f-finals {clear: both;}
	.bracket-public-view .h-f {margin-bottom: 1em !important;}
	.bracket-public-view .f-item {margin-bottom: 1em;}
	.bracket-public-view .f-item:before {
		content: none;
	}
}
.tournament-bracket .team {
	float: left;
	background-color: #58595e;
	cursor: pointer;
}
.tournament-bracket .team-border {border-bottom: 1px solid #23252d;}
.tournament-bracket .score {
	float: left;
	padding: 0.4em;
	/* background-color: #787a80; */
	background-color: rgba(255,255,255,.3);
	text-align: center;
	width: 2.4em;
}
.tournament-bracket .flag {
	float: left;
	padding: 0.4em 0 0.15em 0.4em;
	width: 2em;
}
.tournament-bracket .country {
	float: left;
	padding: 0.4em 0.4em 0.4em 0.3em;
	width: 6em;
}
.tournament-bracket .radius-top-left {border-top-left-radius: 5px;}
.tournament-bracket .radius-top-right {border-top-right-radius: 5px;}
.tournament-bracket .radius-bottom-left {border-bottom-left-radius: 5px;}
.tournament-bracket .radius-bottom-right {border-bottom-right-radius: 5px;}
.tournament-bracket .score-text {
	color: #000;
	font-size: 12px;
}
.tournament-bracket .name-text {
	color: #f5f1f1;
	fill: #FFF;
	font-size: 12px;
	text-shadow: 1px 1px 1px #222;
}
.clear {clear: both;}
.last{margin-bottom: 0;}
.tournament-bracket .selectedRow-bracket {
	background-color: #0079b0;
	color: #fff;
}
/* .tournament-bracket .selectedRow .score {background-color: #3590b9} */
.tournament-bracket .firstRow {background-color: #da0}
/* .tournament-bracket .firstRow .score {background-color: #e7c44d} */
/* .tournament-bracket .firstRow .score {background-color: rgba(255,255,255,.3);} */
.tournament-bracket .secondRow {background-color: #ccc}
.tournament-bracket .secondRow .name-text {color: #141414; fill: #000; text-shadow: 1px 1px 1px #b5b5b5;}
/* .tournament-bracket .secondRow .score {background-color: #e4e4e4} */
.tournament-bracket .bubble {
	height: 34px;
	line-height: 34px;
	width: 30px;
	right: -35px;
	position: absolute;
	text-align: center;
	font-size: 11px;
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
	border-radius: 5px;
}
.tournament-bracket .bubble:after {
	content: "";
	position: absolute;
	top: 13px;
	left: -5px;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid transparent;
}
.tournament-bracket .bubble:after {
	border-left: 0;
}
.tournament-bracket .bubble.first {
	background-color: #da0;
	color: #960;
}
.tournament-bracket .bubble.second {
	background-color: #ccc;
	color: #333;
}
.tournament-bracket .bubble.third {
	background-color: #963;
	color: #d95;
}
.tournament-bracket .bubble.fourth {
	background-color: #678;
	color: #ccd;
}
.tournament-bracket .bubble.first:after {border-right-color: #da0;}
.tournament-bracket .bubble.second:after {border-right-color: #ccc;}
.tournament-bracket .bubble.third:after {border-right-color: #963;}
.tournament-bracket .bubble.fourth:after {border-right-color: #678;}

.tournament-bracket .highlight {
	background-color: #3c0;
	color: #000;
}