/**** Game Keno ****/
.keno_gameboard {
	display: flex;
	flex-direction: column;
	padding: 4px;
	border-radius: 8px;
	margin-bottom: 4px;
	flex: 1 1 0%;
	z-index: 0;
	margin: 10px;
	margin-bottom: 0px;
}
.keno_table{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	gap: 4px;
	flex: 1 1 0%;
	margin-bottom: 4px;
}
.keno_gamecell {
	background: #EFEFEF;
	border: 1px solid #DDD;
	border-radius: 5px;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	opacity: 1;
	cursor: pointer;
	/*transition: background-color 0.3s ease 0s, border-color 0.3s ease 0s;*/
	opacity: 0.9;
	/*padding: 10px 0px;*/
	height: 50px;
}
.keno_gamecell.selected {
	background-color: #c1eb8e !important;
	border: 1px solid #c1eb8e !important;
	opacity: 1;
}
.keno_gamecell.matched {
	background-color: #FFF !important;
	opacity: 1;
}
.keno_gamecell.matched .keno_gem {
	height: 35px;
	width: 35px;
	background-position: 0rem 0rem;
	background-image: url('../img/games/keno_diamond.svg') !important;
	font-size: 14px;
	color: #314641;
	background-size: 100%;
	line-height: 35px;
	text-align: center;
	font-weight: bold;
}
.keno_gamecell.opened {
	background-color: #FFF !important;
	border: 1px solid #7e978e75 !important;
	opacity: 1;
}
.keno_gamecell.opened .keno_gamecell_index {
	color: #FFF;
}
.keno_gamecell.opened .keno_gamecell_index::after {
	background: #ec4f5b !important;
}
.keno_gamecell_coverimg {
	background-repeat: repeat;
	display: inline-flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	flex-shrink: 0;
	font-style: normal;
	background-position: center center;
	background-image: url("../img/games/keno_bg2.svg") !important;
	transition: background-size 0.3s ease 0s;
	opacity: 0.5;
	background-size: 150px;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 1;
	width: 100%;
	height: 100%;
}
.keno_gamecell_index {
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	width: 25px;
	height: 25px;
	color: #555;
	font-family: Primary, DefaultFont, -apple-system, BlinkMacSystemFont, "SF Pro", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif, Secondary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	font-size: 14px;
	font-weight: 700;
	/*transition: color 0.3s ease 0s;*/
}
.keno_gamecell_index::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	background: #DDD;
	/*box-shadow: rgb(81 93 85 / 76%) 0px 0px 0px 2px;*/
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	transition: box-shadow 0.3s ease 0s;
}
.keno_gamecell.selected .keno_gamecell_index {
	color: #314641;
}
.keno_gamecell.selected .keno_gamecell_index::after {
	background: #a5db66;
	box-shadow: none;
	border: 2px solid #a5db66;
}
.keno_gamecell:hover {
	/*transition: background-color 0.3s ease 0s, border-color 0.3s ease 0s, opacity 0.3s ease 0s;*/
	opacity: 1;
}
.keno_gamecell:hover .keno_gamecell_coverimg {
	background-size: 180px;
}
.keno_cell_selections {
	height: auto;
	padding: 5px;
	background: #EFEFEF;
	border-radius: 5px;
	border: 1px solid #DDD;
	margin: 0px 15px;
}
.keno_cell_selections span {
	color: #555;
	text-align: center;
	width: 100%;
	font-size: 12px;
	padding: 2px;
	display: contents;
}
.keno_cell_selections>div {
	display: grid!important;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 4px;
	width: 100%!important;
	min-height: 35px;
}
.keno_cell_selections .selected_item{
	border: 1px solid #DDD;
	border-radius: 5px;
	height: 18px;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	opacity: 1;
	font-size: 10px;
	font-weight: 700;
	font-family: Secondary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	color: rgb(183, 199, 208);
	transition: opacity 0.1s ease 0s;
	background: #FFF;
}
.keno_cell_selections .selected_item.highlighted {
	border: 2px solid #FF5722;
}
.keno_cell_selections .selected_item .empty {
	border: 1px solid #4b665e;
	background: #4b665e47;
	border-radius: 5px;
	height: 5px;
	width: calc(100% - 10px);
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	opacity: 1;
	font-size: 10px;
	font-weight: 700;
	font-family: Secondary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	color: rgb(183, 199, 208);
	transition: opacity 0.1s ease 0s;
}
.keno_cell_selections .selected_item .info {
	border-radius: 5px;
	height: 20px;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	opacity: 1;
	font-size: 12px;
	font-weight: 700;
	font-family: Secondary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	color: #555;
	transition: opacity 0.1s ease 0s;
}
.keno_cell_selections .selected_item .info i {
	background-size: 100% 100%;
	background-repeat: repeat;
	display: inline-flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	flex-shrink: 0;
	font-style: normal;
	height: 12px;
	width: 12px;
	background-position: 0rem 0rem;
	background-image: url('../img/games/keno_diamond.svg') !important;
	margin-left: 2px;
}
.game_main .difficulty {
	margin: 10px auto;
	width: calc(100% - 30px);
	text-align: center;
}
.dark_mode .keno_gamecell_coverimg {
	opacity: 0.05;
}
.dark_mode .keno_gameboard {
	background: #0f212e;
}
.dark_mode .keno_gamecell {
	background: #213743;
	border: 1px solid #050606;
}
.dark_mode .keno_gamecell_index::after {
	background: #213743;
}
.dark_mode .keno_gamecell_index {
	color: #FFF;
}
.dark_mode .keno_gamecell.selected .keno_gamecell_coverimg{
	opacity: 0.5;
}
.dark_mode .keno_gamecell.selected .keno_gamecell_index {
	color: #121a18;
}
.dark_mode .keno_gamecell.opened {
	background-color: #112732 !important;
	border: 1px solid #2341594f !important;
}
.dark_mode .keno_gamecell.matched {
	border: 1px solid #2341594f !important;
	background: #112732 !important;
}
.dark_mode .keno_cell_selections {
	background: #0f212e;
	border: 1px solid #0f212e;
	border: 1px solid #0f212e;
	margin: 5px 10px;
}
.dark_mode .keno_cell_selections span {
	color: #FFF;
}
.dark_mode .keno_cell_selections .selected_item {
	background: #031422;
	border: 1px solid #2341594f;
}
.dark_mode .keno_cell_selections .selected_item .info {
	color: #FFF;
}
.dark_mode .keno_cell_selections .selected_item.highlighted {
	border: 2px solid #4CAF50;
}