@import url('https://fonts.googleapis.com/css2?family=Maitree:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&family=Syne:wght@400..800&display=swap');
* {
    font-family: 'Kanit', 'Mitr', sans-serif;
}
html,
body {
    height: 100vh;
}
body {
    height: 100%;
    background-image: url("../images/bg.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #fca5c5;
    background-attachment: fixed;
}
.main-container {
    flex: 1 0 auto;
}

#sticky-footer {
    flex-shrink: none;
}

/* NAVBAR */
.main-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    color: #efefef;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3;
}
.navbar-brand {
    position: relative;
}
.navbar-brand img {
    width: 120px;
}
.navbar-nav {
    margin: 0 auto;
}
.navbar-nav a.nav-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-weight: 600;
    text-align: center;
    color: #efefef;
    font-size: 18px;
    transition: 0.1s;
}
.navbar-nav a.nav-item span {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #aaaaaa;
}
.navbar-nav a.nav-item.active,
.navbar-nav a.nav-item:hover,
.navbar-nav a.nav-item.active span,
.navbar-nav a.nav-item:hover span {
    color: #cfac5a !important;
}
.navbar-social a {
    margin-left: 5px;
    margin-right: 5px;
    background-color: #efefef;
    transition: 0.1s;
}
.navbar-social a:hover {
    background-color: #cfac5a;
}
.navbar {
    padding-left: 0;
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}
.id-name {
    border: 2px solid #d610ed9c;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    font-size: 14px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    color: #fff;
    background-color: #00000059;
}
.id-name span {
    padding-right: 10px;
    color: #ffffff;
    font-weight: 600;
}
.logout-btn {
    background: rgb(97, 21, 211);
    background: -moz-linear-gradient(45deg, #6115d3, #dd10ee, #dd10ee, #dd10ee);
    background: -webkit-linear-gradient(45deg, #6115d3, #dd10ee, #dd10ee, #dd10ee);
    background: linear-gradient(45deg, #6115d3, #dd10ee, #6115d3, #dd10ee);
    background-size: 300% auto;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.45s linear;
    color: #fff;
    border-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: 14px;
    font-weight: 600;
    padding-top: 12px;
    padding-bottom: 9px;
    border-left: 1px;
}
.logout-btn:hover {
    color: #ffffff !important;
    background-position: 100% 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
    box-shadow: 0px 0px 2px 0px rgba(214, 67, 227, 0.6);
}
.topup-btn {
	margin-right: 24px;
	font-weight: 500;
	color: #ffffff !important;

	background: rgb(248, 169, 107);
    background: -moz-linear-gradient(45deg, #ffaf20, #fa7725, #fa7725, #fa7725);
    background: -webkit-linear-gradient(45deg, #ffaf20, #fa7725, #fa7725, #fa7725);
    background: linear-gradient(45deg, #ffaf20, #fa7725, #fa7725, #fa7725);
    background-size: 300% auto;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.45s linear;

	border-radius: 40px;
	border: 2px solid #f8a96b;
	padding-top: 10px;
	padding-left: 20px;
	padding-right: 20px;
	
  } 
.topup-btn:hover {
	color: #ffffff !important;
	background-position: 100% 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
    box-shadow: 0px 0px 2px 0px rgba(214, 67, 227, 0.6);
}
.point-reward {
	font-size: 14px;
	background: #00000059;
	border: 2px solid #fa7725;
	color: #ffffff;
	border-radius: 40px;
	margin-right: 10px;
}
.icon-small {
	vertical-align: bottom;
	width: 35px;
	margin-right: 8px;
}
.bonus-point {
	width: 100%;
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 9px 14px 0px 20px;
}
.refresh-btn {
	background-color: #ffffff;
	width: auto !important;
	font-size: 12px;
	padding: 5px 10px;
	margin: 0 0 0 10px;
	border-radius: 4px;
	text-transform: uppercase;
	font-weight: 600;
	border-width: 0px;
}
.bonus-point .total-point {
	color: #fff401;
}
.btn-refresh {
	padding: 0px 2px;
	color: #ffffff;
}
.btn-refresh i {
	transform: rotate(0deg);
	transition: 1s;
	font-size: 16px;
	line-height: 1em;
}
.btn-refresh:hover,
.btn-refresh:active {
	color: rgb(251, 255, 0);
}
.btn-refresh:hover i,
.btn-refresh:active i {
	transform: rotate(360deg);
}
.topbar-btn {
	margin-left: 10px;
	font-weight: 500;
	color: #ffffff !important;
	background: rgb(202, 13, 120);
    background: -moz-linear-gradient(45deg, #ca0d78, #e86998, #e86998, #e86998);
    background: -webkit-linear-gradient(45deg, #ca0d78, #e86998, #e86998, #e86998);
    background: linear-gradient(45deg, #ca0d78, #e86998, #ca0d78, #e86998);
	background-size: 300% auto;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	transition: all 0.45s linear;
	border-radius: 40px;
	padding-top: 10px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	font-size: 14px;
} 
.topbar-btn:hover {
	color: #ffffff !important;
	background-position: 100% 0;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	transition: all 0.3s linear;
	box-shadow: 0px 0px 2px 0px rgba(214, 67, 227, 0.6);
}
.main-logo-event {
	position: relative;
	margin-top: 140px;
	margin-bottom: 60px;
	margin-left: auto;
	margin-right: auto;
}
body.index-bg .main-logo-event {
	margin-top: 20px;
}

body.index-bg .ch-center {
	margin-top: 65px;
	margin-bottom: 65px;
}
.play-bingo-button {
    margin-top: 36px;
    text-align: center;
	margin-bottom: 36px;
}




/* Body */
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    border: 2px solid rgb(85 45 45);
    background: rgb(85 45 45);
}
.event-title-h1 {
    margin-top: 80px;
}
.all-event-container {
    margin-top: 40px;
    border-radius: 6px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .4);
    background-color: rgb(0, 0, 0);
    margin-bottom: 100px;
}

.items-box {
    width: 16.666%;
    padding: 10px;
}

.items-box p {
    font-size: 10px;
    text-align: center;
    margin-bottom: 0;
    margin-top: 8px;
    color: #000;
}

.items-box p span {
    color: #ab0000;
}
.event-title {
    font-size: 14px;
    padding-top: 15px;
    padding-left: 20px;
    padding-bottom: 5px;
    padding-right: 20px;
    margin-bottom: -10px;
    color: #000;
}
.event-btn-group {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 2px solid #64646475;
}
.get-items-btn {
    background-color: #d11472;
    color: #fff !important;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 9px;
    cursor: pointer;
}
.get-items-btn:hover {
    filter: brightness(120%);
    background-color: #eb0a7a !important;
    color: #fff !important;
}
.event-remark {
    text-align: center;
    font-size: 10px;
    margin-top: 10px;
    color: #000;
}
.event-row {
    background-color: rgb(255, 255, 255);
}
.event-row:hover {
    background-color: rgb(243 255 249);;
}
.event-row:nth-of-type(2n+0) {
    background-color: rgb(255, 255, 255);
}
.event-day-group .event-row:nth-of-type(2n+0) {
    background-color: rgb(255, 255, 255);
}
.event-row:nth-of-type(2n+0):hover {
    background-color: rgb(243 255 249);;
}
.items-flex {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
}
/* footer */
footer {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 25px;
    padding-bottom: 15px;
    text-align: center;
    background-color: #202020;
}
footer p {
    padding-top: 15px;
    margin-bottom: 10px;
    font-weight: 400;
    color: #efefef;
    font-size: 12px;
}

.footer-nav {
    padding-bottom: 10px;
}

.footer-nav a {
    color: #bcbcbc;
    font-size: 14px;
    text-decoration: none;
    font-weight: 700;
    padding-left: 15px;
    padding-right: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.253);
}

.footer-nav a:hover {
    color: #ab0000;
}
.footer-nav a:nth-of-type(1) {
    border-left: 0px solid #fff;
}

/*swal alert*/
.swal2-popup {
	width: auto !important;
	min-width: 20em !important;
	background-color: #ffefe1 !important;
	border: none !important;
	padding-bottom: 30px !important;
	padding-top: 30px !important;
	border-radius: 20px !important;
}
.getitem-ten {
	width: 32em !important;
}
.getitem-ten .modal-item:first-child {
    margin-top: 0px;
}
.getitem-ten .modal-item {
	margin-left: 5px;
	margin-right: 5px;
}
.getitem-ten .swal2-title {
	margin-bottom: 20px;
}
.modal-item-detail {
	padding-left: 10px;
}
.swal2-popup .swal2-header {
	position: relative;
	z-index: 1;
}
.swal2-popup.confirmopen-popup .swal2-header {
	padding: 0 10px;
}
.swal2-header .swal2-image {
	margin: 0 0 10px 0;
}
.swal2-popup.confirmopen-popup .swal2-image {
	position: relative;
	top: 0px;
	width: 280px;
	margin-top: 0;
	margin-bottom: 0px;
	z-index: 2;
}
.swal2-popup.not-angpao .swal2-image {
	width: 280px;
}
.swal2-content {
	color: #6a250a !important;
	padding: 0px 10px !important;
	max-height: 320px !important;
	font-size: 14px !important;
	overflow-y: auto;
}
.swal2-content .popup-p span img{
	position: relative !important;
	top: 0 !important;
	margin-right: 0px;
}
.swal2-content .popup-p {
	margin-bottom: 0px !important;
}
.img-point2 {
	position: relative !important;
	top: -4px !important;
	margin-right: 5px;
	margin-left: 5px;
}
.swal2-icon.swal2-error {
	border-color: #ff0101 !important;
	color: #ff0101 !important;
}
.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
	background-color: #ff0101 !important;
}
.swal2-title {
	font-size: 22px !important;
	color: #e43a95 !important;
	font-weight: 500 !important;
}
.swal2-icon.swal2-info {
	border-color: #ff0101 !important;
	color: #ff0101 !important;
}
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
	background: rgba(0, 0, 0, 0.7) !important;
}
.swal2-styled:focus {
	outline: 0;
	box-shadow: 0 0 0 3px rgba(100, 150, 200, 0) !important;
}
.swal2-content a {
	color: #ff8a34 !important;
	font-weight: 500;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border: .25em solid rgba(165, 220, 134, 1) !important;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #69c734 !important;
}
.swal2-icon.swal2-warning {
    border-color: #f35e11 !important;
    color: #f35e11 !important;
}

.modal-item {
	padding: 10px 10px;
	margin-bottom: 6px;
	background-color: #d74ba1;
	border-radius: 10px;
}
.modal-item:nth-of-type(2n+0) {
	background-color: #762eb9;
}
.getitem-single .modal-item {
	padding: 15px 15px;
}
.modal-item:first-child {
	margin-top: 15px;
}
.modal-item-name {
	font-size: 14px;
	color: #fff;
}
.modal-item-name2 {
	margin-top: 0px;
	font-size: 24px;
}
.modal-item-pic {
	flex-basis: 60px;
    background: #f8bde8;
    padding: 8px;
    border-radius: 6px;
}
.modal-item-qty {
	color: #d74ba1;
    font-size: 12px;
    background: #ffcdf2;
    display: block;
    width: 80px;
    margin: 0 auto;
    border-radius: 5px;
}
.modal-item-rarity {
	color: #fea41c;
	font-size: 13px;
	margin-bottom: 0;
}
.modal-item-trade {
	font-size: 13px;
	color: #fea41c;
}
.swal2-styled.swal2-confirm {
	background-color: #b10f74 !important;
	color: #ffffff !important;
	font-size: 1.0625em;
	border: 0px solid #bd2f86 !important;
	border-radius: 40px !important;
	padding-left: 20px;
	padding-right: 20px;
	width: 140px;
	cursor: pointer;
}
.swal2-styled.swal2-confirm:hover {
	filter: brightness(120%) !important;
    background-color: #bd2f86 !important;
	color: #ffffff !important;
}
.swal2-cancel.swal2-styled {
	background-color: transparent !important;
	color: #5a5a5a !important;
	font-size: 1.0625em;
	border: 2px solid #5a5a5a !important;
	border-radius: 40px !important;
	padding-left: 20px;
	padding-right: 20px;
	width: 140px;
}
.swal2-cancel.swal2-styled:hover {
	background-color: #5a5a5a !important;
	color: rgb(194, 194, 194) !important;
}
.close-btn {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	pointer-events: none;
}
.history-btn {
	background-color: transparent;
	color: #fff;
	width: 180px;
	border: 2px solid #b54c47;
	border-radius: 20px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
.history-btn:hover {
	color: rgb(255, 73, 73);
}
.history-box {
	background: none;
	background-color: #ffffff;
	border: 0px solid #c67739 !important;
	padding: 20px 20px 30px 20px;
	margin-top: 30px;
}
.modal-body-history {
	padding: 0;
	font-size: 16px;
	margin-bottom: 15px;
	overflow-y: scroll;
	height: 320px;
	border: 2px solid #c9c9c945;
    padding: 0px 10px;
	background-color: #ffffff;
}
.modal-content {
	text-align: center;
	color: #121212;
}
.modal-header {
	color: #ffffff;
	display: inline-block;
	font-size: 24px;
	border: none;
	padding-bottom: 15px;
	background-color: #e60088;
}
.history-box .items-name {
	text-align: left;
	font-size: 13px;
	color: #80004a;
	font-weight: 500;
}
.history-box .date {
	text-align: right;
	width: 100px;
	font-size: 12px;
	color: #a82576;
	font-weight: 500;
}

.btn-blue-modal {
	width: 120px;
	height: 45px;
	border-radius: 30px;
	color: #ffffff;
	background-color: #cb2e69 ;
	border: none;
	cursor: pointer;
	outline: none !important;
	font-size: 20px;
	margin-top: 15px;
}
.btn-blue-modal:hover {
	background-color: #e63c7d ;
}
.page-select {
	display: inline-block;
	margin: 0 auto;
}
.page-link {
	position: relative;
	display: block;
	padding: 0.5rem 0.75rem;
	margin-left: -1px;
	line-height: 1.25;
	color: #ffffff;
	background-color: #929292;
	border: 1px solid #929292;
}
.page-item.active .page-link {
	z-index: 3;
	color: #ffffff;
	background-color: #d43772;
	border-color: #d43772;
}
.page-link:hover {
	color: #ffffff;
	background-color: #d43772;
	border-color:#d43772;
}
.page-item.disabled .page-link {
	color: #ffffff;
	pointer-events: none;
	cursor: auto;
	background-color: #d43772 !important;
	border-color: #d43772 !important;
}


/* Bonus Event */
.bonus-event {
    border-bottom: 3px solid #edda8b;
}
.bonus-event .event-title {
    color: #edda8b;
}
.date-title {
    background-color: #f75781;
    padding-top: 13px;
    padding-bottom: 10px;
    color: #f9f9f9;
    font-weight: 700;
    font-size: 18px;
}
.bonus-title {
    background-color: #f75781;
    padding-top: 13px;
    padding-bottom: 10px;
    color: #edda8b;
    font-weight: 700;
    font-size: 22px;
}
.event-title span {
    background-color: #f75781;
    padding-right: 13px;
    padding-left: 13px;
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    font-style: italic;
    margin-left: 5px;
}
/* Media Query */
@media (max-width: 1199.98px) {
    .items-box {
        width: 25%;
        padding: 10px;
    }
}
@media (max-width: 991.98px) {
    .main-navbar {
		position: static;
	}
	.navbar {
		justify-content: center !important;
		flex-direction: column !important;
		padding-bottom: 10px;
	}

	.logout-btn {
		border-top-right-radius: 30px;
    	border-bottom-right-radius: 30px;
	}
    .event-title {
        text-align: center;
        padding-top: 20px;
        padding-bottom: 15px;
    }
    .event-btn-group {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
        background-color: rgba(255, 255, 255, 0.0);
        padding-bottom: 20px;
        /* padding-top: 20px; */
        border: 0px solid transparent;
    }    
    .event-row {
        border-bottom: 2px solid #383737;
    }
    .bonus-event {
        border-bottom: 4px solid #edda8b;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        margin-left: auto;
        margin-right: auto;
    }
    .topbar-btn {
		margin-left: 0px;
		margin-bottom: 5px;
		width: 100%;
	}
    .point-reward{
		margin-right: 0;
		width: 100%;
	}
	.bonus-point {
		padding-bottom: 8px;
	}
	.exe-profile {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.id-name {
		width: 100%;
	}
    .items-box {
        width: 33.3333%;
    }
    .event-title-h1 {
        margin-top: 15px;
    }
    .event-btn-group {
        padding-left: 20px;
        padding-right: 20px;
    }
    .event-title span {
        margin: 0 auto;
    }
    .all-event-container {
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {

}