@import url("https://fonts.googleapis.com/css2?family=Play&display=swap");
/* color palette: https://www.schemecolor.com/gold-and-black-color-scheme.php */

body {
	font-family: "Play", "Arial", sans-serif;
	background: #eee;
}

/******************************
LOADING OVERLAY
*******************************/

#loading-overlay {
	height: 100vh;
	width: 100vw;
	position: absolute;
	top: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 9999;
	display: none;
	/* display: flex; */
	align-items: center;
	justify-content: center;
}

#loading-overlay div {
	display: flex;
	align-items: center;
	justify-content: center;
}

#loading-overlay svg {
	width: 150px;
	height: 150px;
	animation: rotate 2s linear infinite;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#loading-overlay svg circle {
	width: 100%;
	height: 100%;
	fill: none;
	stroke-width: 10;
	stroke: #ffb606;
	stroke-linecap: round;
	stroke-dasharray: 440;
	stroke-dashoffset: 440;
	transform: translate(5px, 5px);
	animation: animate 4s linear infinite;
}

@keyframes animate {
	0%,
	100% {
		stroke-dashoffset: 440;
	}

	50% {
		stroke-dashoffset: 0;
	}

	50.1% {
		stroke-dashoffset: 880;
	}
}

#loading-overlay .logo {
	position: absolute;
	background-image: url("../images/icon-bingo-logo.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center bottom;
	height: 90px;
	width: 90px;
}

/******************************
PAGE SKELETON
*******************************/

.wrapper {
	width: 100%;
}

#sidebar {
	min-width: 250px;
	max-width: 250px;
	height: 100%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background: #212121;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#sidebar .logo {
	padding: 10px;
	display: flex;
	align-items: center;
}

#sidebar .logo a {
	font-weight: bold;
	color: #eee;
}

#sidebar ul.components {
	padding: 0;
	height: calc(100% - 95px);
	overflow-y: auto;
}

#sidebar ul li {
	font-size: 16px;
}

#sidebar ul li > ul {
	margin-left: 10px;
}

#sidebar ul li > ul li {
	font-size: 14px;
}

#sidebar ul li a {
	padding: 0.75rem 1.5rem;
	display: block;
	color: #ccc;
}

#sidebar ul li a:hover {
	background: transparent;
	color: #fff;
	text-decoration: none;
	transition: 0.2s color;
}

#sidebar ul li.active > a {
	color: #ffb606;
	text-decoration: none;
}

#sidebar ul li.active > a:hover {
	color: #fff;
}

.wrapper.active #menuBtn {
	left: 10px;
}

.wrapper.active #sidebar {
	margin-left: -250px;
}

.wrapper.active #content {
	margin-left: 0;
}

a[data-toggle="collapse"] {
	position: relative;
}

/* .dropdown-toggle::after {
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
} */

#content {
	margin-left: 250px;
	width: 100%;
	padding: 0;
	height: 100vh;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#navbar {
	width: 100%;
    height: 55px;
    background: #212121;
	padding: 1rem;
}

#menuBtn {
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

#spacer {
	display: none;
}

#main-content-wrapper {
	height: calc(100% - 55px);
	overflow-y: auto;
}

#main-content {
	max-width: 1250px;
	margin: 0 auto;
}

@media (max-width: 991.98px) {
	#menuBtn {
		position: absolute;
		left: 10px;
		top: 10px;
	}

	#spacer {
		display: block;
	}

	#sidebarCollapse span {
		display: none;
	}

	#sidebar {
		margin-left: -250px;
	}

	#content {
		margin-left: 0;
	}

	.wrapper.active #menuBtn {
		left: 260px;
	}

	.wrapper.active #sidebar {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	#menuBtn {
		-webkit-transition: none;
		-o-transition: none;
		transition: none;
	}
}

/******************************
CUSTOM
*******************************/

.card {
	margin-bottom: 15px;
	border-radius: 0;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.card-title {
	font-size: 28px;
}

.btn,
.tappable {
	cursor: pointer;
}

.row {
	padding: 0;
}

.input-number {
	max-width: 80px;
}

label {
	display: block;
	color: #50575d;
	outline: 0 !important;
}

.title {
	color: #1c1c1c;
	font-size: 1.1rem;
}

label.required::after {
	content: "*";
	color: red;
	margin-left: 5px;
}

.table-title {
	color: #50575d;
	font-size: 1.5rem;
	font-weight: bold;
}

.file {
	opacity: 0;
	width: 0.1px;
	height: 0.1px;
	position: absolute;
}

.file-name {
	position: absolute;
	bottom: -35px;
	left: 10px;
	font-size: 0.85rem;
	color: #555;
}

input:hover + label,
input:focus + label {
	transform: scale(1.02);
}

/* Adding an outline to the label on focus */
input:focus + label {
	outline: 1px solid #000;
	outline: -webkit-focus-ring-color auto 2px;
}

.radio label {
	font-size: 1rem;
}

.checkbox {
	margin-left: 25px;
}

input[type="checkbox"][class*="filled-in"]:checked + label:after {
	border-color: #ffb606;
	background-color: #ffb606;
}

.checkboxLbl {
	cursor: pointer;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
	position: absolute;
	left: -9999px;
}

[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
	position: relative;
	padding-left: 28px;
	cursor: pointer;
	line-height: 20px;
	display: inline-block;
	color: #666;
	outline: 0;
}

[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	border: 1px solid #ced4da;
	border-radius: 100%;
	background: #fff;
}

[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
	content: "";
	width: 12px;
	height: 12px;
	background: #1c1c1c;
	position: absolute;
	top: 3px;
	left: 3px;
	border-radius: 100%;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

[type="radio"]:not(:checked) + label:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}

[type="radio"]:checked + label:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

input[type="checkbox"].toggle {
	position: relative;
	width: 40px;
	height: 20px;
	-webkit-appearance: none;
	appearance: none;
	background: #e2e2e2;
	outline: none;
	border-radius: 20px;
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	transition: 0.5s;
	cursor: pointer;
}

input:checked[type="checkbox"].toggle {
	background: #1c1c1c;
}

input[type="checkbox"].toggle:before {
	content: "";
	position: absolute;
	height: 20px;
	width: 20px;
	border-radius: 20px;
	top: 0;
	left: 0;
	background: #fff;
	transform: scale(1.1);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: 0.5s;
}

input:checked[type="checkbox"].toggle:before {
	left: 20px;
}

.page-header {
	color: #1c1c1c;
	font-size: 1.75rem;
	margin-bottom: 20px;
	text-transform: capitalize;
}

.form-group {
	margin: 0 auto 1rem auto;
}

.manage-game p {
	margin: 0;
	font-size: 20px;
}

.manage-game p:first-of-type {
	margin: 0;
	font-size: 16px;
	font-style: normal;
	color: gray;
}

.manage-game .code {
	font-weight: bold;
	font-style: normal;
	font-family: "Bahnschrift Light", serif;
}

.manage-game .link {
	font-size: 18px;
}

.manage-game .link:hover {
	text-decoration: underline;
	cursor: pointer;
}

.bg-dark,
.table .thead-dark th {
	background-color: #3b3b3b !important;
	border-color: #afafaf !important;
}

.table .thead-light th {
	background-color: #ffb606 !important;
	border-color: #afafaf !important;
	color: #1c1c1c;
}

.form-control:focus {
	border-color: #1c1c1c;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 0, 0, 0.1);
	outline: 0 none;
}

.card-link {
	color: white;
	font-size: 1.1rem;
}

.card-link:hover {
	color: #ffb606;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
	background: linear-gradient(#ffb200, #ff8e01) !important;
	border-color: #ff8e01 !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-primary:hover {
	background: linear-gradient(#ff8e01, #ffb200) !important;
	border-color: #ff8e01 !important;
}

.btn-secondary,
.btn-secondary:active,
.btn-secondary:focus {
	background: linear-gradient(#3b3b3b, #1c1c1c) !important;
	border-color: #1c1c1c !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-secondary:hover {
	background: linear-gradient(#1c1c1c, #3b3b3b) !important;
	border-color: #1c1c1c !important;
}

.bingo-header {
	width: 20%;
}

.bingoletter-sm {
	font-size: 10px;
}

.bingoletter-lg {
	font-size: 30px;
}

.link {
	color: #1c1c1c;
}

.link:hover {
	color: #3b3b3b;
}

.home a:hover {
	text-decoration: none;
}

.home-button {
	background: #fff;
	color: #3b3b3b;
	font-size: 20px;
	padding: 30px 20px;
	text-align: center;
	border-radius: 4px;
	cursor: pointer;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-button i {
	margin-bottom: 0.5rem;
}

.home-button:hover {
	color: #ffb606;
	scale: 1.02;
	transition: 0.2s color;
}

.alert-msg {
	position: absolute;
	text-align: center;
	z-index: 99;
	top: 35%;
	left: 50%;
	transform: translate(-50%, -35%);
}
