
/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Athiti:wght@400;500&display=swap');

/* HTML */
* {
	font-family: 'Athiti', sans-serif;
}

a {
	color: #000;
	text-decoration: none;
    background-color: transparent;
}

a:hover {
	color: #4e0b67;
}

/* NAVBAR */
.bg-navbar {
	/*background: rgb(2,0,36);
	background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(0, 120, 255,1) 50%, rgba(2,0,36,1) 100%);*/
	background-color: #cc00ff;
	background-image: radial-gradient(circle farthest-side at center bottom,#6200ff,#4c0d5f 125%);
}

.btn-register {
    color: #fff !important;
    background: #8c00ff;
	/*background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(0, 120, 255,1) 55%);*/
	border-color: #6600ff;
}

.sub-navbar {
	/*background-position:center;*/
	background-size:cover;
	background-image:url('bg-sub.webp')
}

.pb-5 {
    padding-bottom: 5rem !important;
}
.pt-5 {
    padding-top: 5rem !important;
}

.navbar-dark .navbar-nav .nav-link {
	color: #fff;
}

.navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .nav-link:hover {
    color: #6f00ff !important;
	/*border-bottom: 2px solid #fff;*/
}

.money-block {
	background-color:#fff; 
	color:#000 !important;
	border-radius: .25rem;
}

/* SILDE */
.carousel-font {
	text-shadow: rgba(0,0,0,.9) 0 1px 2px;
}

@media screen and (min-width: 769px) {
    .carousel-text-body {
		position: absolute; 
		z-index: 99; 
		
		padding-top: 10.5%;
		padding-left: 15%;
		padding-right: 10%;
		padding-bottom: 10%;
	}
}



/* HOME */
.game-box {
	box-shadow:0 5px 10px -5px rgba(99, 9, 115, 0.8);
}

/* CONTENT */
.small-text {
	color: #4c5256;
	font-size:14px;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.img-details {
	border-radius: 10px;
	-webkit-border-radius: 10px;
}

.product-image {
    display: block;
    border-radius: 15px;
    margin: auto;
    max-width: 100%;
}

.product-title {
    font-size: 13px;
    padding-top: 7px;
    margin: auto;
	max-width: 100%;
}

.text-gray {
	color: #929292 !important;
}

.text-red, .required {
	color: #f23838 !important;
}

.bg-menu-list {
	background: rgba(78,84,200,.03);
}

/* BUTTON */
.btn-facebook {
    color: #fff;
    background-color: #3b5998;
}

.btn-facebook:hover {
    color: #fff;
    background-color: #3b5998;
}

.btn-google {
    color: #fff;
    background-color: #EA4335;
}

.btn-google:hover {
    color: #fff;
    background-color: #EA4335;
}

.btn-line {
    color: #fff;
    background-color: #00B900;
}

.btn-line:hover {
    color: #fff;
    background-color: #00B900;
}

.btn:hover {
	box-shadow:0 5px 10px -5px rgba(0,0,0,0.4);	
}

.list-group-item.active {
    z-index: 2;
    color: rgb(132, 0, 255);
	background: rgb(255,255,255);
    border-color: rgba(0,0,0,.125);
}

.list-group-item {
	padding: 1rem 1.5rem;
}

/* PAGE PAYMENT */
.payment-form {
    padding:8px;
    display:block;
    text-align:center;
    border:0;
    cursor:pointer;
    color:#666;
    position:relative;
    box-shadow:0 2px 6px 0 rgba(0,0,0,.07);
    width:100%;
    -o-transition:all .3s ease-in;
    -webkit-transition:all .3s ease-in;
    transition:all .3s ease-in;
    border: 2px solid transparent;
	border-color: rgba(33, 37, 41, 0.1);
	border-radius: 5px;
}
.payment-select:hover > .payment-form,.payment-select:focus > .payment-form {
	border-color: rgb(111, 7, 125);
    color:#fff;
    cursor:pointer;
}

.payment-select-active > .payment-form {
    border-color: rgb(140, 0, 255);
    color:#fff;
    cursor:pointer;
}

.qrcode .title {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #fff;
    padding: 15px;
    font-size: 19px;
    background-color: #003d6b;
}
.qrcode .body {
    padding: 25px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    border: 1px solid #ebebeb;
}
.qrcode .body h2,
.qrcode .body p {
    color: #4c5256;
}
.qrcode .body h2 {
    margin-top: 15px;
    font-weight: 700;
    font-size: 28px;
}
.qrcode .body p {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
}
.tranfer-amount {
    font-size: 18px;
    margin-bottom: 0;
}
.bank-space {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.time-out {
    font-size: 17px;
    color: #dc143c;
}
#water {
    position: absolute;
    top: 300px;
    left: 0;
    right: 0;
    opacity: 0.8;
    color: red;
    font-weight: 600;
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

@media screen and (min-device-width: 481px) and (max-device-width: 768px) { 
    #water {
		top: 350px;
	}
}

@media only screen and (max-device-width: 480px) {
	#water {
		top: 350px;
	}
}

/* BUY CARD PAGE */
.card {
	box-shadow:0 5px 10px -5px rgba(0,0,0,0.4);	
	border-bottom: 3px solid rgb(144, 0, 255);
}

.box-buy .number {
	background-color: rgb(140, 0, 255);
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	position: absolute;
	left: 1em; 
	padding-top: 2px; 
	padding-left: 12px; 
	color: #fff; 
	margin-left: -5px; 
	margin-top: -4px;
}

.box-buy .title {
	margin-left:45px;
}

.card-form {
    padding:8px;
    display:block;
    text-align:center;
    border:0;
    cursor:pointer;
    color:#666;
    box-shadow:0 2px 6px 0 rgba(0,0,0,.07);
    width:100%;
    -o-transition:all .3s ease-in;
    -webkit-transition:all .3s ease-in;
    transition:all .3s ease-in;
    border: 2px solid transparent;
	border-color: rgba(33, 37, 41, 0.1);
	border-radius: 5px;
	
	position: relative;
	overflow: hidden;
}

.card-select:hover > .card-form,.card-select:focus > .card-form {
	border-color: rgb(208, 0, 255);
    cursor:pointer;
}

.card-select-active > .card-form {
    border-color: rgb(133, 25, 192);
    cursor:pointer;
}

.card-form .selected {
	position: absolute;
	left: -3%;
	top: -37%;
	background-color: rgb(153, 0, 255);
	color: #fff;
	transform: rotate(40deg);
	height: 80px;
	width: 35px;
}

.card-form .selected .text {
	margin-top: 10%;
	margin-left: -30%;
	transform: rotate(-40deg);
}

@media only screen and (max-width: 600px) {
	.card-form .selected .text {
		margin-top: 40%;
		margin-left: -15%;
	}
}

@media only screen and (max-width: 768px) {
	.card-form .selected .text {
		margin-top: 30%;
		margin-left: -20%;
	}
}

.card-online div {
    margin-top: 15px;
}

.card-online img {
	border-radius: 5px;
}

.card-online a {
	color: #000;
	text-decoration: none;
    background-color: transparent;
}

.card-online a:hover {
	color: rgba(0, 120, 255,1);
}

.card-online img {
	box-shadow:0 5px 10px -5px rgba(102, 0, 255, 0.6);	
	border-bottom: 3px solid rgb(183, 0, 255);
}

.menu-card {
	border-radius: 5px;
	box-shadow:0 5px 10px -5px rgba(217, 0, 255, 0.6);	
	border: 1px solid rgba(149, 0, 255, 0.5);
}

/* BUY */
.product-title {
	font-size:16px;
	margin-bottom:10px;
}

.badge-label  {
	width: 50px;
	height: 57px;
	font-size: 12px;
	font-weight: 700;
	background: url(badge.webp) no-repeat;
	margin-top: -10%;
	margin-left: 30%;
	color: #FFF;
	padding-top: 5%;
}

@media only screen and (max-device-width: 480px) {
	.badge-label  {
		margin-left: 10%;
	}
}
/* FOOTER */
footer a {
    color: #666;
	text-decoration: none;
    background-color: transparent;
}

footer a:hover {
	color: rgb(212, 0, 255);
}

footer .description {
	background: #fff;
	color: #666;
	box-shadow: 0 0 15px rgba(0,0,0,.07059);
}

footer .text-desc {
	text-align:justify;
}

footer .text-header {
	padding-bottom: 8px;
	border-bottom: 2px solid #8c00ff;
}

/* KHANTHEP */
.header-top {
    height: 44px;
    background-color: #8c00ff;
    background-image: radial-gradient(circle farthest-side at center bottom,#480e77,#690172 125%);
    padding: 12px;
    color: #fff;
}

.header-badge > a, .header-badge > a:hover {
	color:#fff !important;
}

.header-badge-left {
    text-align: left;
}

.header-badge-right {
    text-align: right;
}

.header-badge-left div {
    font-size: 13px;
}

.header-top .auth-link {
    color: #fff;
    transition: all .5s ease;
}

.autorefill {
    margin-top: -5px;
    margin-bottom: -25px;
    background-image: url('foot-auto-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #8c00ff;
   /*position: relative;*/
}

.autorefill .autorefill-inner {
    /*position: relative;*/
    overflow: hidden;
}

.autorefill .autorefill-inner img {
    width: 100%;
    transition: all .55s ease;
    /*position: absolute;*/
}	

.autorefill .re-text {
    padding: 75px;
}

.autorefill .re-text .re-title-en {
    font-size: 15px;
    color: #fff;
    margin-bottom: 15px;
}

.autorefill .re-text .re-title-th {
    color: #fff;
    font-size: 60px;
    line-height: 60px;
    font-weight: 700;
}

.autorefill .re-text .re-title-small {
    margin-top: 5px;
    color: #fff;
    font-size: 15px;
    line-height: 28px;
}

.autorefill .re-text .re-space {
    margin-top: 5px;
    height: 3px;
    width: 54px;
    background-color: #a200ff;
}

.autorefill .re-text .re-btn {
    margin-top: 25px;
}

.btn-img img {
    transition: all .5s ease;
    border-radius: 5px;
}

/*.d-xs-block .mb-grid {
    display: block;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,.125);
    background: #fff;
    text-align: center;
}*/

.d-xs-block .mb-grid {
	display: block;
    border-radius: 10px;
    background-color: #ae00ff;
	color:#FFF !important;
    text-align: center;
}

.box-m {
    display: block;
    border-radius: 10px;
    background-color: #9900ff;
	color:#FFF !important;
    text-align: center;
	margin: 10px;
}

.box-m:hover {
	box-shadow: 0 0 6px #008aff;
}

.box-m > a {
	color: #FFF;
}

.box-m > a:hover {
	color: #FFF;
}

.foot-guarantee {
    margin-top: 25px;
    color: #292929;
    background-color: #fff;
    border-bottom: 2px solid #f3f3f3;
    background-image: url(/assets/guarantee-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.foot-guarantee h4 {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
}

.foot-guarantee small {
    font-size: 12px;
    color: #929292;
}

.foot-guarantee img {
    margin-top: 25px;
}

.foot-guarantee .body-guarantee {
    padding: 25px;
}

.foot-guarantee-title {
    color: #8c00ff;
    font-size: 26px;
    border-bottom: 1px dotted #e1e1e1;
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.bg-dark {
    background-color: #343a40 !important;
}

/* Accept Cookies */
.acceptCookie.hide {
  display: none;
}

.acceptCookie {
	position: fixed;
	bottom: 0;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	z-index: 9999;
}

.acceptCookie .container {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
	max-width: calc(1040px - 48px);
	background-color: #FFFFFF;
	margin-bottom: 1.5rem;
	margin-left: 1.5rem;
	margin-right: 1.5rem;
	padding: 1.5rem;
	border-radius: .5rem;
	font-size: .875rem;
	display: flex;
	align-items: center;
	box-shadow: 0 5px 10px -5px rgba(0,0,0,0.4);
	border-bottom: 3px solid rgb(125, 52, 193);
}

.acceptCookie .container .msg {
	padding-left: 2rem;
	padding-right: 2rem;
}


@media only screen and (max-width: 767px) {
    .border-main {
        border-radius: 4px;
        padding: 5px;
        padding-top: 15px;
        padding-bottom: 15px;
        background-color: #343a40;
    }
    .border-main img {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    .border-main a:hover {
        color: #7a58bf;
    }
}
@media only screen and (min-width: 767px) {
    .border-main {
        border-radius: 6px;
        padding: 5px;
        padding-top: 20px;
        padding-bottom: 20px;
        background-color: #343a40;
    }
    .border-main img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    .border-main a:hover {
        color: #7a58bf;
    }
}