.ticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(8, 0, 0,.8);
}

/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap'); */
@import url("https://use.typekit.net/edw8rsn.css");

* {
  /* font-family: "Noto Sans Thai", serif; */
  font-family: "preuksa", sans-serif;
  font-optical-sizing: auto;
}
/* Footer */
footer {
	width: 100%;
	padding-top: 10px;
	padding-bottom: 8px;
	background-color: #1C1C1C;
	/* position: absolute; */
	/* bottom: 0; */
	text-align: center;
	color: #fcfcfc;
}
footer p {
	padding-left: 15px;
	padding-right: 15px;
	margin-top: 5px;
	font-size: 10px;
	text-align: center;
	margin-bottom: 0;
}
.sub-footer a{
	font-size: 12px;
	text-decoration: none;
	color: #fff;
	transition: 0.1s;
	margin-bottom: 5px;
}
.sub-footer a:hover {
	color: #fec644;
}
footer img {
	margin-top: 5px;
}

/* body */
body {
    background-image: url(../images/main-bg-2.webp);
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #f6e7cc;
	/* background-size: cover; */
	/* background-attachment: fixed; */
}
.text-title {
	margin-top: 124px;
    margin-bottom: 110px;
}
/* Check-in Progress */
.check-in-total-box {
	margin: 0 auto;
	position: relative;
	width: 215px;
	height: 93px;
	background-image: url(../images/checkin-progress-frame.png);
}
/* Daily Login Body */
.daily-login-container {
	position: relative;
    /* top: -122px; */
    margin-top: 0px;
}
.check-in-total-box {
	position: absolute;
	top: -113px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}
.check-in-total {
	width: 50px;
	color: #fec644;
	font-size: 24px;
	font-weight: 600;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding-top: 16px;
}
.check-in-label {
	border-top: 1px solid #127157;
	width: 30px;
	font-size: 12px;
	font-weight: 500;
	color: #fffefe;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: -6px;
    padding-top: 2px;
}

.btn-check:checked+.btn, 
.btn.active, .btn.show, 
.btn:first-child:active, 
:not(.btn-check)+.btn:active {
	padding: 0;
	border: 0px solid transparent;
    /* color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color); */
}
.claim-reward {
	position: absolute;
	top: 0px;
    right: -232px;
}
.claim-reward-btn {
	padding: 0;
	border: 0px solid transparent;
}
.claim-reward-btn:hover {
	filter: brightness(120%);
}
.claim-reward-disable {
	/* filter: grayscale(100%); */
	/* opacity: .8; */
}
.claim-reward-disable:hover {
	filter: brightness(100%);
	/* filter: grayscale(100%); */
	cursor: not-allowed;
	pointer-events: none;

}
.daily-login-frame {
	margin-bottom: 80px;
}
.frame-top {
	margin-bottom: 0px;
}
.frame-body {
	/* background-image: url(../images/frame-body.webp); */
	background-position: top center;
	background-repeat: repeat-y;
	width: 750px;
	/* height: 600px; */
	margin: 0 auto;
	position: relative;
	padding-bottom: 5px;
	padding-top: 20px;
	/* background-size: contain; */
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 24px;
	background-color: rgba(25, 143, 110, 0.4);
}
/* .frame-body::before {
	content: "";
	position: absolute;
	top: -50px;
	left: 0;
	width: 100%;
	height: 50px;
	background-image: url(../images/frame-top.png);
}
.frame-body::after {
	content: "";
	position: absolute;
	bottom: -67px;
	left: 0;
	width: 100%;
	height: 67px;
	background-image: url(../images/frame-bottom.png);
} */

/* Daily Items Box */
.daily-wrap {
	position: relative;
}
.daily-wrap .daily-box::before {
	content: "";
	width: 12px;
	height: 43px;
	background-image: url(../images/leave-left-white.png);
	position: absolute;
	top: 0;
    left: -12px;
}
.daily-wrap .daily-box::after {
	content: "";
	width: 11px;
	height: 36px;
	background-image: url(../images/leave-right-white.png);
	position: absolute;
	bottom: 12px;
    right: -11px;
}
.daily-row {
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 0px;
	margin-bottom: 16px;
}
.daily-row .row .col-4:nth-of-type(2) .daily-item {
	background-color: #e4f6ff;
    border: 1px solid #77ccfa;
}
.daily-row .row .col-4:nth-of-type(4) .daily-item{
	background-color: #f8f0ff;
	border: 1px solid #c37eff;
}
.frame-body div:nth-of-type(6) .row .col-4:nth-of-type(4) .daily-item{
	background-color: #fff;
    border: 1px solid #c5c5c5;
}
.frame-body div:nth-of-type(6) .row .col-4:nth-of-type(5) .daily-item{
	background-color: #f8f0ff;
	border: 1px solid #c37eff;
}
.daily-box {
	margin-top: 0px;
    background-color: rgb(255 255 255);
    padding: 10px;
    transition: 0.1s;
    position: relative;
    z-index: 0;
    border-top-left-radius: 23px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 23px;
    border-bottom-left-radius: 3px;
	box-shadow: 0px 3px 0px 2px rgba(0, 0, 0, 0.10);
}
.daily-wrap.active .daily-box {
	/* border: 1px solid rgb(255 17 0); */
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 12px 3px #52eec3;
	animation: boxfade 2s infinite;
	box-shadow: 0px 2px 0px 2px rgba(0, 0, 0, .14);
} 
@keyframes boxfade {
	0%   {
		transform: scale(100%);
		box-shadow: 0px 0px 10px 3px #52eec3;
	}
	45% {
		transform: scale(105%);
		box-shadow: 0px 0px 10px 0px #52eec3;	
	}
	90% {
		box-shadow: 0px 0px 10px 3px #52eec3;	
	}
}
.daily-wrap.active {
	transform: scale(110%);
	z-index: 2;
}
.gold-box {
	border-radius: 23px;
	/* background-image: -moz-linear-gradient( -135deg, rgb(255,232,182) 4%, rgb(254,212,84) 100%); */
	/* background-image: -webkit-linear-gradient( -135deg, rgb(255,232,182) 4%, rgb(254,212,84) 100%); */
	/* background-image: -ms-linear-gradient( -135deg, rgb(255,232,182) 4%, rgb(254,212,84) 100%); */
	padding: 15px;
	border: 2px solid #ffde7c;
	background-image: url(../images/gold-bg.jpg);
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: cover;
}
.purple-box {
	/* background-image: -moz-linear-gradient( -135deg, rgb(229,108,252) 4%, rgb(91,250,233) 100%); */
	/* background-image: -webkit-linear-gradient( -135deg, rgb(229,108,252) 4%, rgb(91,250,233) 100%); */
	/* background-image: -ms-linear-gradient( -135deg, rgb(229,108,252) 4%, rgb(91,250,233) 100%); */
	border: 2px solid #3be8e6;
	background-image: url(../images/gold-bg-2.jpg);
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: cover;
}
.daily-wrap .daily-box.gold-box::before {
	content: "";
	width: 12px;
	height: 43px;
	background-image: url(../images/leave-left-yellow.png);
	position: absolute;
	top: 0;
    left: -12px;
}
.daily-wrap .daily-box.gold-box::after {
	content: "";
	width: 11px;
	height: 36px;
	background-image: url(../images/leave-right-yellow.png);
	position: absolute;
	bottom: 12px;
    right: -11px;
}
.daily-wrap .daily-box.purple-box::before {
	content: "";
	width: 12px;
	height: 43px;
	background-image: url(../images/leave-left-purple.png);
	position: absolute;
	top: 0;
    left: -12px;
}
.daily-wrap .daily-box.purple-box::after {
	content: "";
	width: 11px;
	height: 36px;
	background-image: url(../images/leave-right-purple.png);
	position: absolute;
	bottom: 12px;
    right: -13px;
}
.gold-box .daily-item {
	width: 84px;
	height: 84px;
	border-radius: 50px;
	border: 0px solid #ffb939;
	background-color: #fff5df;
	position: relative;
	margin-top: -17px;
	/* z-index: 1; */
}
.gold-box .daily-item::before {
	position: absolute;
	content: "";
	top: -9px;
	left: -9px;
	width: 102px;
	height: 102px;
	background-image: linear-gradient(#c8a028,#eccb69);
	z-index: -1;
	border-radius: 50px;
	border: 2px solid #fff2d4;
	box-shadow: 0px 0px 20px rgba(255, 240, 186, .8);
}
  
.purple-box .daily-item {
	/* border: 2px solid #0baa7e; */
	background-color: #f6ebff;
}
.gold-box.purple-box .daily-item::before {
	position: absolute;
	content: "";
	top: -9px;
	left: -9px;
	width: 102px;
	height: 102px;
	background-image: linear-gradient(#ff3eef,#29ffc4);
	z-index: -1;
	border-radius: 50px;
	border: 2px solid #defff6;
	box-shadow: 0px 0px 20px rgba(74, 246, 198, .8);
}
.gold-box .daily-item-name {
	font-size: 14px;
	font-weight: 700;
	color: #242424;
}
.gold-box .daily-item-name .daily-item-amount {
	font-size: 12px;
	font-weight: 700;
	top: 0;
}
.gold-box .daily-item-img {
	position: relative;
	width: 100px;
	height: 100px;
}
.gold-box .daily-checkin-btn-group .daily-checkin-btn{
	font-size: 16px;
	font-weight: 700;
	padding-top: 10px;
    padding-bottom: 6px;
    width: 130px;
    height: auto;
	background-image: linear-gradient(#ff8213, #ffbd44);
	border: 1px solid #fff09d;
	box-shadow: inset 0 0 9px rgba(255, 255, 255, 0.1), 0px 0px 30px rgba(254, 72, 0, .6);
}
.purple-box .daily-checkin-btn-group .daily-checkin-btn{
	font-size: 16px;
	font-weight: 700;
	padding-top: 10px;
    padding-bottom: 6px;
    width: 130px;
    height: auto;
	border: 1px solid #f8de77;
	background-color: #91BDFF;
	background-image: linear-gradient(171deg,rgba(201, 46, 237, 1) 0%, rgba(145, 189, 255, 1) 70%, rgba(255, 252, 82, 0.77) 100%);
	box-shadow: 0px 0px 30px rgba(255, 64, 221, .6);
}
.daily-wrap.active .gold-box {
	/* border: 1px solid rgb(254, 198, 69); */
	/* background-color: rgb(254, 198, 69); */
	box-shadow: 0px 0px 10px 3px  rgba(255, 208, 0, 0.8);
	animation: goldboxfade 2s infinite;
}
@keyframes goldboxfade {
	0%   {
		transform: scale(100%);
		box-shadow: 0px 0px 10px 3px  rgba(255, 208, 0, 0.8);
	}
	45% {
		transform: scale(105%);
		box-shadow: 0px 0px 10px 0px  rgba(255, 208, 0, 0.8);
	}
	90% {
		box-shadow: 0px 0px 10px 3px  rgba(255, 208, 0, 0.8);
	}
}
.daily-wrap.active .purple-box {
	/* border: 1px solid rgb(254, 198, 69); */
	/* background-color: rgb(254, 198, 69); */
	box-shadow: 0px 0px 10px 3px  rgba(106,233,235, 0.8);
	animation: purpleboxfade 2s infinite;
}
@keyframes purpleboxfade{
	0%   {
		transform: scale(100%);
		box-shadow: 0px 0px 10px 3px   rgba(106 233 235, 0.8);
	}
	45% {
		transform: scale(105%);
		box-shadow: 0px 0px 10px 0px   rgba(106 233 235, 0.8);
	}
	90% {
		box-shadow: 0px 0px 10px 3px   rgba(106 233 235, 0.8);
	}
}
.daily-box-inner { 
	text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
	position: relative;
}
.daily-box .tag-left {
	position: absolute;
	top: -10px;
    left: -6px;
}
.daily-box-inner .items-level {
	position: absolute;
	top: -10px;
    right: -10px;
}
.daily-wrap.active .daily-box-inner {
	/* border: solid 2px rgb(255, 255, 255);
	background-color: rgb(255, 255, 255);
	border-radius: 8px;
	position: relative;
	padding: 4px; */
}
.gold-box .daily-box-inner {
	/* border: solid 2px rgb(255, 192, 21);
	background-image: -moz-linear-gradient( 90deg, rgb(254,198,69) 67%, rgb(254,218,134) 100%);
	background-image: -webkit-linear-gradient( 90deg, rgb(254,198,69) 67%, rgb(254,218,134) 100%);
	background-image: -ms-linear-gradient( 90deg, rgb(254,198,69) 67%, rgb(254,218,134) 100%);
	border-radius: 8px;
	position: relative;
	padding: 4px; */
}
.daily-box-inner::after {
	/* content: "";
	width: 6px;
	height: 3px;
	background-image: url(../images/bullet-bottom.png);
	position: absolute;
	bottom: 0;
	margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0; */
}
.daily-wrap.active .daily-box-inner::after {
	/* display: none; */
}
.gold-box .daily-box-inner::after {
	/* content: "";
	width: 6px;
	height: 3px;
	background-image: url(../images/bullet-gold-bottom.png);
	position: absolute;
	bottom: 0;
	margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0; */
}
.daily-item {
	width: 70px;
	height: 70px;
	background-color: #fff;
	border-radius: 36px;
	border: 1px solid #c5c5c5;
	display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
	margin: 0 auto;
	position: relative;
}
.daily-wrap.active .daily-item {
	background-color: #ffffff;
}
.daily-wrap.active  .gold-box .daily-item {
	background-color: #ffffff;
}
.daily-wrap.active {
	/* background-color: #fde3e1; */
}
.daily-item-amount {
	margin-left: 5px;
	font-size: 8px;
	font-weight: 500;
	color: #ffffff;
	background-color: #b07542;
	text-align: center;
	border-radius: 10px;
	padding-left: 7px;
    padding-right: 7px;
    padding-top: 0px;
    position: relative;
    top: -2px;
    margin-top: 2px;
}
.daily-item-name {
	font-size: 10px;
	line-height: 14px;
	font-weight: 500;
	color: #111111;
	height: 60px;
	width: 100%;
	text-align: center;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	align-content: center;
}
.daily-checkin-btn {
	border-radius: 30px;
	height: 25px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	width: 100%;
	background-color: #0baa7e;
	padding: 0px 10px;
	cursor: not-allowed;
	pointer-events: none;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 13px;
	border-bottom-left-radius: 3px;
	
}	
.daily-checkin-btn:hover {
	color: #fff;
	background-color: #12d9a2;
	cursor: not-allowed;
	pointer-events: none;
}
.daily-wrap.active .daily-checkin-btn {
	background-color: #12d9a2;
	cursor: pointer;
	pointer-events: auto;
}
.daily-wrap.active .daily-checkin-btn:hover {
	background-color: #12d9a2;
}
.gold-box .daily-checkin-btn {
	border-radius: 30px;
	height: 24px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	width: 100%;
	background-color: #d19200;
	padding: 0px 10px;
}
.daily-wrap.active .gold-box .daily-checkin-btn {
    border-radius: 30px;
    color: #fff;
    background-color: #ffb405;
}
.daily-wrap.active .purple-box .daily-checkin-btn {
    border-radius: 30px;
    color: #fff;
    background-color: #cf00ff;
}
.daily-wrap.active .gold-box .daily-checkin-btn:hover {
	background-color: #f1b62a;
}
.daily-wrap.active .purple-box .daily-checkin-btn:hover {
    background-color: #de4cff;
}
.daily-wrap.check-in .daily-item,
.daily-wrap.check-in .daily-item-name,
.daily-wrap.check-in .daily-checkin-btn-group {
	opacity: 1;
}
.daily-wrap.check-in .daily-box {
	border: 0px solid #3f3f3f;
	position: relative;
}
.daily-wrap.check-in .daily-box::before {
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	border-top-left-radius: 23px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 23px;
	border-bottom-left-radius: 3px;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	background-image: url(../images/check.png);
	background-position: center center;
	background-repeat: no-repeat;
}
.daily-wrap.check-in .daily-box::after {
	background-image: none;
}
.frame-body-bottom {
	position: absolute;
    bottom: 0;
}
.frame-bottom {
	margin-bottom: 60px;
}
/* Modal */
.modal-mileage-item .modal-header {
	border-bottom: 0px;
	padding-bottom: 0;
}
.modal-mileage-item .modal-footer {
	border-top: 0px;
	justify-content: center;
}
.modal-mileage-item .modal-content {
	padding: 10px;
	background-color: #ffffff60;
	border: 0;
	border-radius: 24px;
	box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.2);
}
.modal-mileage-item .modal-body {
	padding: 30px 30px 20px 30px;
	text-align: center;
	background-color: #ffffff;
	/* background-image: url(../images/bg-pattern.jpg); */
	/* background-repeat: repeat; */
	/* border: 7px solid rgba(0, 0, 0, 0.2); */
	border-radius: 20px;
}
.modal-mileage-item .modal-body img {
	background-color: #ffffff;
	border: 4px solid #d5d5d5;
	margin-bottom: 15px;
	padding: 10px;
	border-radius: 120px;
}
.modal-body h5 {
	font-weight: 600;
}
.modal-mileage-item .modal-body h4 {
	font-weight: 700;
	color: #198754;
	margin-bottom: 5px;
	margin-top: 10px;
}
.modal-mileage-item .modal-body p {
	font-weight: 400;
	font-size: 14px;
}
.modal-mileage-item .modal-body p:last-child {
	margin-bottom: 0;
}
/* .modal-mileage-item .modal-footer {
	padding-top: 0px;
	padding-bottom: 20px;
} */

.modal-mileage-item .modal-body .btn {
	/* text-align: right; */
	padding-left: 30px;
	padding-right: 30px;
	border-radius: 40px;
	background-color: #fec644;
	color: #ffffff;
	text-transform: uppercase;
	margin-bottom: 10px;
	padding-top: 10px;
}
.view-details {
	position: absolute;
	top: -11px;
    right: -5px;
	cursor: pointer;
}
/* ================================= */
/*          Media queries           */
/* =============================== */

@media (max-width: 1399.98px) { 
	.claim-reward-btn img {
		width: 200px;
	}
	.claim-reward {
		position: absolute;
		top: 0px;
		right: -194px;
	}
}
@media (max-width: 1199.98px) { 
	body {
		/* background-image: url(../images/main-bg-2.jpg);
		background-position: top center;
		background-repeat: no-repeat; */
		background-color: #f6e7cc;
		background-size: cover;
		background-attachment: fixed;
	}
	.claim-reward {
        position: absolute;
        top: -130px;
        right: -10px;
    }
}
@media (max-width: 991.98px) {
	footer {
		opacity: 0;
	}
	body {
		background-size: cover;
	}
	/* Body */
	.daily-login-frame {
		margin-bottom: 60px;
	}
	.frame-body {
		width: 100%;
		height: auto;
		background-size: contain;
		padding-top: 10px;
		padding-bottom: 0px;
	}
	.claim-reward-btn img {
		display: block;
		/* width: 160px; */
	}
	.claim-reward {
		position: absolute;
		/* top: -122px; */
		/* right: 37px; */
	}
	.daily-wrap {
		margin-bottom: 16px;
	}
	.daily-row .row {
		/* border: 1px solid #f1c47b; */
		padding: 20px 12px 4px 12px;
        background-color: rgb(1 77 75 / 80%);
        border-radius: 16px;
	}
	.check-in-total-box {
		top: -114px;
	}
	.frame-bottom {
		margin-bottom: 130px;
	}
}
@media (max-width: 767.98px) {
	/* Body */
	.daily-row {
		/* padding-left: 52px; */
		/* padding-right: 52px; */
		padding-top: 0px;
	}
	.daily-login-container {
		position: relative;
		top: 11px;
		margin-top: 0px;
	}
	.claim-reward {
        /* position: absolute; */
        /* top: -104px; */
        /* right: 22px; */
    }
	.frame-bottom {
		margin-bottom: 130px;
	}
	.check-in-total-box {
		right: auto;
	}
	.modal-mileage-item .modal-body {
		padding: 20px 20px 10px 20px;
	}
	.modal-body h5 {
		font-weight: 600;
		font-size: 16px;
	}
}
@media (max-width: 575.98px) {
	body {
        background-size: auto;
		overflow-x: hidden;
    }

	/* Body */
	.check-in-total-box {
		position: relative;
		top: 0;
		z-index: 1;
	}
	.text-title {
		margin-top: 90px;
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
	}
	.frame-body {
        width: 100%;
        height: auto;
        background-size: contain;
		border-radius: 6px;
    }
	.claim-reward {
        position: relative;
        top: 0px;
        right: 0;
        left: 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-top: -37px;
        margin-bottom: 10px;
		z-index: 2;
    }
	.daily-row {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 0px;
		margin-bottom: 10px;
    }	
	.daily-wrap .daily-box::after {
		display: none;
	}
	.daily-wrap .daily-box::before {
		/* display: none; */
	}
	.daily-row .row {
		padding-top: 0.4rem;
		padding-bottom: 0.4rem;
        padding-left: 0.4rem;
		padding-right: 0.4rem;
		--bs-gutter-x: 0.4rem;
        /* padding: 0px; */
        /* background-color: rgb(1 77 75 / .8%); */
        border-radius: 6px;
        /* border-bottom: 1px solid rgb(168 193 192 / 80%); */
    }
	    .daily-wrap {
        margin-bottom: 6px;
    }
	.gold-box .daily-item-name,
	.purple-box .daily-item-name {
		height: auto;
        margin-top: 25px;
        margin-bottom: 20px;
	}
	.daily-login-frame {
        margin-bottom: 10px;
    }
	.gold-box .daily-item {
		margin-top: 10px;
	}
	.col-nav-right {
        justify-content: end !important;
    }
}