body {
	min-height: 100vh;
}

.NanumGothic {
	font-family: 'Nanum Gothic';
}

.NanumGothicBold {
	font-family: 'Nanum Gothic';
	font-weight: 700;
}

#head1 {
	height: 150px;
	flex-direction: column;
	z-index: 2;
}

#head1 #logo img {
	max-height: 80px;
}

#head1 > .flex-fill {
	flex: 1 1 100px!important;
}

#head-user {
	justify-content: flex-start;
	padding-left: 1em;
	line-height: 1em;
	overflow: hidden;
}

#head-user .head-user-item {
	font-size: 9pt;
	font-weight: bold;
}

@keyframes memo-blink { 50% { color: #4eec49; } }

#head-user .head-user-item + .head-user-item { margin-left: .5rem!important; }
#head-user .head-user-item.memo a { color: #fff; text-decoration: none; }
#head-user .head-user-item.username { color: #eccf49; }
#head-user .head-user-item.logout { color: #717277; cursor: pointer; }
#head-user .head-user-item.logout:hover { color: #aaa; }
#head-user .head-user-item.label { color: #fff; }
#head-user .head-user-item.money { color: #eccf49; }
#head-user .head-user-item.label { color: #fff; }
#head-user .head-user-item.point { color: #eccf49; }

#head-nav {
	line-height: 1em;
	overflow: hidden;
}

#head-nav .head-nav-item {
	font-size: 10pt;
	font-weight: bold;
	text-decoration: none;
	color: white;
}

#head-nav .head-nav-item + .head-nav-item { margin-left: 1rem!important; }

#head2 {
	z-index: 1;
}

#head3, #head4 {
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	top: 0;
	height: 50px;
	z-index: 1;
}

#head3 {
	border-bottom: 1px solid #949494;
}

#head4 {
	border-bottom: 2px solid #eba505;
}

#head3 .active,
#head4 .active {
	color: #ecad08;
}

@media (min-width: 992px) {
	#head1 {
		position: -webkit-sticky;
		position: sticky;
		left: 0;
		top: 0;
		height: 90px;
		flex-direction: row;
	}

	#head1 #logo img {
		max-height: 100%;
	}

	#head-nav {
		padding-right: 1em;
	}

	#head2 {
		height: 340px;
	}

	#head3 {
		height: 60px;
		top: 90px;
	}

	#head4 {
		height: 60px;
		top: 150px;
	}
}

#game-carousel {
	overflow: hidden;
	display: flex;
	align-items: center;
}

#game-carousel #game-carousel-cell {
	display: inline-block;
	padding: 1rem;
}

#game-carousel .flickity-viewport {
	width: 100%;
}

#game-carousel .flickity-slider {
	display: flex!important;
}

#game-carousel .flickity-slider #game-carousel-cell {
	display: flex;
	height: 100%;
	align-items: center;
	padding: 1rem;

	position: static!important;
	transform: translateX(0%)!important;
	left: 0px!important;
	cursor: pointer;
}

#game-carousel.carousel-category .flickity-slider #game-carousel-cell {
	padding: 1rem 2rem;
	font-size: 1.2em;
}

#game-carousel .flickity-slider #game-carousel-cell.active,
#game-carousel .flickity-slider #game-carousel-cell:hover {
	color: #ecad08;
}

#game-carousel .flickity-button {
	background: transparent!important;
	color: #fff!important;
}

#game-carousel .flickity-button:disabled {
	opacity: .3!important;
}

#game-carousel .flickity-prev-next-button.previous {
	left: 0;
}

#game-carousel .flickity-prev-next-button.next {
	right: 0;
}

#sidebar { top: 400px; }
#sidebar #link img { max-height: 230px; width: auto; height: auto; }
#sidebar #btnBetMoney .btn { background-color: #214e6d; border-color: #274565; }
#sidebar #btnBetMoney .btn:hover { background-color: #2965fe; border-color: #2965fe; }
#sidebar #btnBetClear .btn { background-color: #36466b; border-color: #2d3e63; }
#sidebar #btnBetClear .btn:hover { background-color: #175af5; border-color: #175af5; }
#sidebar .betting-cart {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	border: 2px solid #dee2e6;
	border-bottom: none;
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
	width: calc(100% - 1.5rem);
	left: 50%;
	transform: translateX(-50%);
	flex-direction: column;
	padding: 0.5rem;
	background-color: #000;
}

@media (min-width: 768px) {
	#sidebar .betting-cart {
		width: 60%;
	}
}

@media (min-width: 992px) {
	#sidebar { top: calc(210px + 1rem); }
	#sidebar .betting-cart {
		display: block!important;
		position: static;
		width: 100%;
		left: 0;
		transform: none;
		border: 2px solid #dee2e6;
		margin-bottom: 0.5rem;
		border-radius: 0.25rem;
	}
}

.bg-gradient-title {
	--bs-gradient: linear-gradient(to right, rgba(0, 0, 0, .8), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .8));
}

.bg-success-custom-1 { --bs-success-rgb: 32,39,107; }
.bg-success-custom-2 { --bs-success-rgb: 33,131,95; }
.bg-success-custom-3 { --bs-success-rgb: 159,88,26; }
.bg-success-custom-4 { --bs-success-rgb: 141,32,187; }
.bg-success-custom-5 { --bs-success-rgb: 187,32,75; }
.bg-success-custom-6 { --bs-success-rgb: 252,160,29; }

.bg-gradient-betting {
	--bs-gradient: linear-gradient(to bottom, rgba(31, 31, 31, .3), rgba(31, 31, 31, .15) 26%, rgba(31, 31, 31, 0));
}

.text-shadow {
	text-shadow: rgba(0, 0, 0, .8) 2px 2px 2px;
}

.betting-btn-group {
	display: flex;
    justify-content: space-between;
	gap: 0.5rem;
}

.betting-btn-none {
	flex: 1 1 100px;
}

.betting-btn {
	position: relative;
	flex: 1 1 100px;
	cursor: pointer;

	background-color: #404040;
	color: #fff;
	vertical-align: middle;
	text-decoration: none;
	text-shadow: rgb(0 0 0 / 80%) 2px 2px 2px;

	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;

	padding: 0.5rem;
	border-radius: 0.25rem;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.betting-btn.active,
.betting-btn:hover {
	background-color: #d99d36;
}

.betting-btn-blue span[name] {
	color: #19b7d4;
}

.betting-btn-red span[name] {
	color: #e63022;
}

.betting-btn-left {
	text-align: left;
}

.betting-btn-left span[rate] {
	float: right;
}

.betting-btn-right {
	text-align: right;
}

.betting-btn-right span[rate] {
	float: left;
}

*[data-pages] > *[data-page].disabled {
	display: none;
}

input[follow-placeholder] {
	padding: .4rem;
	background: rgba(31, 31, 31, .8);
	color: #fff;
}

input[follow-placeholder]::placeholder {
	color: #5cadff;
	font-weight: bold;
}

.betting-panel .betting-btn-group + .betting-btn-group {
	margin-top: .5rem!important;
}

.pagenation[data-pages] [data-page] + [data-page] {
	margin-left: .25rem!important;
}

.buttons-set .btn + .btn {
	margin-left: .25rem!important;
}

.buttons-set-both .btn {
	margin-bottom: .25rem!important;
}

.buttons-set-both .btn + .btn {
	margin-left: .25rem!important;
}

.global-horizontal-gap-1 > * + * {
	margin-left: .25rem!important;
}

.global-horizontal-gap-2 > * + * {
	margin-left: .5rem!important;
}

.global-horizontal-gap-3 > * + * {
	margin-left: 1rem!important;
}

.global-vertical-gap-1 > * + * {
	margin-top: .25rem!important;
}

.global-vertical-gap-2 > * + * {
	margin-top: .5rem!important;
}

.global-vertical-gap-3 > * + * {
	margin-top: 1rem!important;
}

.hover:hover img {
	box-shadow: 0px 0px 10px #551e80;
}

.hover-1:hover img {
	box-shadow: 0px 0px 10px #872dcc;
}

.hover-2:hover img {
	box-shadow: 0px 0px 10px #1cc533;
}

.hover-3:hover img {
	box-shadow: 0px 0px 10px #b66803;
}

.hover-4:hover img {
	box-shadow: 0px 0px 10px #f53e75;
}