@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  font-family: "Kanit", sans-serif;
}
body {
  background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/5022/images/main-page-bg.jpg");
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
  font-size: 1em;
  overflow-x: hidden;
}
body.page-history {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: auto;
  background-attachment: fixed;
}
.error-btn {
  display: inline-block;
  margin-top: -32px;
  transition: 0.2s;
}
.error-btn img {
  transition: 0.2s;
}
.error-btn img:hover {
  filter: brightness(120%);
  transform: scale(0.97);
}
.error-title {
  text-align: center;
}
.main-navbar {
  width: 100%;
    position: fixed;
    top: 0;
    color: #efefef;
    background-color: rgba(33, 4, 86, 0.9);
    z-index: 4;
}

.navbar-brand img {
  width: 100px;
}
.main-navbar .navbar {
  padding-left: 0;
  padding-right: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}
.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: #ea5454 !important;
  color: #fff;
}
.navbar-social-border {
  margin-left: 10px;
  margin-right: 10px;
  width: 2px;
  height: 26px;
  background-color: #efefef66;
  position: relative;
  top: 6px;
}
.navbar-social a {
  margin-left: 5px;
  margin-right: 5px;
  background-color: #efefef;
  transition: 0.1s;
}
.navbar-social a:hover {
	color: #fff;
  background-color: #ea5454;
}
.navbar-login {
  font-size: 18px;
  font-weight: 700;
  color: #efefef;
  background-color: transparent !important;
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
  line-height: 36px;
  border: 0px solid #efefef;
}
.navbar-login:hover {
  color: #ffffff;
  background-color: #ea5454 !important;
  border: 0px solid #c2a255;
}
.id-name {
  border: 2px solid #d610ed9c;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 13px;
  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);
}
.point-reward {
  font-size: 14px;
	background: #00000059;
	border: 2px solid #d610ed9c;
	color: #ffffff;
	border-radius: 40px;
}
.icon-small {
  vertical-align: bottom;
  width: 24px;
  margin-right: 8px;
}
.bonus-point {
  width: 100%;
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 8px 14px 8px 20px;
}
.bonus-point img {
  display: none;
}
.refresh-btn {
  background-color: #ffffff;
  width: auto !important;
  font-size: 12px;
  padding: 5px 10px;
  margin: 0 0 0 0px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  border-width: 0px;
  border-radius: 30px;
}
.bonus-point .total-point {
  color: #fff401;
}
.history-btn {
  font-size: 14px;
  margin-left: 10px;
	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: 8px;
	padding-bottom: 8px;
	padding-left: 20px;
	padding-right: 20px;
}
.refresh-btn:hover,
.history-btn:hover {
  filter: brightness(120%);
  background-color: #ea5454 !important;
  color: #ffffff !important;
}

.shop-point-btn {
  font-size: 14px;
	margin-left: 10px;
	font-weight: 500;
	color: #ffffff !important;
	background: rgb(164,92,230);
	background: -moz-linear-gradient(54deg, rgba(164,92,230,1) 0%, rgba(70, 1, 131,1) 100%);
	background: -webkit-linear-gradient(54deg, rgba(164,92,230,1) 0%, rgba(70, 1, 131,1) 100%);
	background: linear-gradient(54deg, rgba(164,92,230,1) 0%, rgb(70, 1, 131) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a45ce6",endColorstr="#460189",GradientType=1);
	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 #aa5dee;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 20px;
	padding-right: 20px;
} 
.shop-point-btn:hover {
	color: #ffffff !important;
	background-position: 99% 0;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.sec-header {
  background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/5022/images/header-bg.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 700px;
}
.event-title {
  margin-bottom: 20%;
}
.sec-reward {
  padding: 14px 14px;
  background-color: rgb(0 0 0 / 30%);
  border: 0px solid #000;
  margin-top: 20px;
  color: #fff;
  border-radius: 6px;
}
.reward-box {
  padding: 10px 10px;
  position: relative;
  border-radius: 6px;
  border-left: 0px solid rgb(255, 200, 0);
  border-bottom: 0px solid #181818;
  background-color: #ffffff;
  height: 100%;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.14);
}
.reward-image {
  position: relative;
  width: 32%;
  font-size: 12px;
  color: #fff;
  text-align: center;
  padding: 5px 10px 10px 10px;
  border-radius: 6px;
  border: 0px solid rgba(197, 197, 197, 0.5);
  /* border-bottom: 1px solid #181818; */
  /* background-image: linear-gradient(to top, #181818, rgb(255 255 255 / 50%)),
    linear-gradient(to top, #181818, rgb(255 255 255 / 50%));
  background-size: 1px 100%;
  background-position: 100% 0, 0;
  background-repeat: no-repeat; */
  background-color: #210456;
}
.reward-image img {
  width: 60px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 0px solid #fff;
  background-color: #fff;
}
.reward-points {
  font-size: 14px;
  font-weight: 500;
  color: #ffae20;
}
.reward-detial {
  width: 68%;
  padding-left: 10px;
  height: 100%;
}
.reward-detial .items-name {
  font-size: 14px;
  line-height: 1.2em;
  color: #000000;
  font-weight: 500;
}
.reward-detial .items-name span {
  font-size: 12px;
  color: #edda8b;
}
.reward-detial .items-detial,
.reward-detial .items-remark {
  font-size: 12px;
  color: #1c1c1c;
  margin: 0;
  text-align: right;
  /* width: 100%; */
}
.items-redeem_num {
  color: #ffffff;
  margin-bottom: 0;
  font-size: 10px;
}
.items-redeem_num  span{
	color: #ffae20;
  display: block;
}
.btn-get-reward {
  background-color: #f6287d;
  border-radius: 6px;
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  border: none;
  margin-top: 2px;
}
.btn-get-reward:hover {
	color: #fff;
  background-color: #ea5454;
}
.reward-box.out-of-stock .btn-get-reward,
.reward-box.out-of-stock .btn-get-reward:hover {
  pointer-events: none !important;
  opacity: 0.5;
  transform: scale(1);
  filter: grayscale(1);
  cursor: not-allowed;
}
.reward-box.out-of-stock .reward-image img {
  opacity: 0.5;
  transform: scale(1);
  filter: grayscale(1);
}
.btn-get-reward.btn-disable,
.btn-get-reward.disable:hover {
  pointer-events: none !important;
  opacity: 0.5;
  transform: scale(1);
  filter: grayscale(1);
  cursor: not-allowed;
}

.main-footer {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  background-color: #101010;
}
.main-footer p {
  padding-top: 15px;
  margin-bottom: 0px;
  font-weight: 400;
  color: #efefef;
  font-size: 12px;
}
.remark-btn {
  padding: 20px;
  color: #ffffff;
}
.swal2-modal {
  padding: 30px 30px !important;
  border: solid 0px #000000 !important;
  border-radius: 4px !important;
  background: #000000 !important;
  box-shadow: none !important;
  color: #ffffff !important;
}
.swal2-icon.swal2-warning {
  border-color: rgb(143 143 143) !important;
  color: rgb(143 143 143) !important;
}
.swal2-content {
  color: #ffffff !important;
}
.confirm-btn {
  margin-left: 20px;
  margin-right: 20px;
  padding-left: 40px;
  padding-right: 40px;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 16px;
  height: 40px;
  background-color: #cfac5a;
  color: #202020;
}
.cancel-btn {
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 0;
  padding-left: 40px;
  padding-right: 40px;
  font-weight: 700;
  font-size: 16px;
  height: 40px;
  background-color: rgb(197, 197, 197);
  color: #202020;
}
.confirm-btn:hover {
  background-color: #edda8b;
  color: #202020;
}
.cancel-btn:hover {
  background-color: rgb(117, 117, 117);
  color: #202020;
}
.hide-close-btn .btn-close {
  display: none;
}
.action-title {
  color: #ffffff !important;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}
.example-items {
  width: 40px;
  margin-right: 10px;
}
.history-container .table {
  color: #222222;
  background-color: #eeeee4 !important;
  border: 4px solid #ffff !important;
}
.history-container .table tbody th {
  background-color: rgb(255, 255, 255);
  border-right: 1px solid rgb(221, 221, 221);
}
.history-container .table thead th {
  font-size: 16px;
  padding: 18px 15px;
  vertical-align: middle;
  text-align: center;
  background: #edda8b;
  color: #212529 !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.8) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.2) !important;
}
.history-container .table thead th:first-child,
.history-container .table thead th:nth-of-type(2) {
  text-align: left;
}
.history-container .table td,
.history-container .table th {
  padding: 15px 15px;
  vertical-align: middle;
  border-top: none;
}
.history-container .table td {
  font-size: 13px;
  font-weight: normal;
  vertical-align: middle;
}
.history-box {
  background: none;
  background-color: #212424;
  border: 0px solid #c67739 !important;
  padding: 20px 20px 30px 20px;
  margin-top: 30px;
}
.modal-header {
  color: #ffffff;
  display: inline-block;
  font-size: 24px;
  border: none;
  padding-bottom: 15px;
  background-color: #212424;
  text-align: center;
}
.table td, .table th {
  padding: 10px 5px;
  border-bottom: 1px solid #212424;
  border-top: 0;
  color: #ffffff;
}
.page-select {
  display: inline-block;
  margin: 0 auto;
}
.history-box .items-name {
  text-align: left;
  font-size: 13px;
  color: #151515;
  font-weight: 500;
}
.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #ffffff;
  background-color: #000000;
  border: 1px solid #363636;
}
.btn-close-modal {
  width: 120px;
  height: 45px;
  border-radius: 30px;
  color: #292929;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  outline: none !important;
  font-size: 20px;
  margin-top: 15px;
}
.table>:not(caption)>*>* {
  background-color: #1a1b1b;
  color: #fff !important;
}
.modal-footer-btn {
  text-align: center;
}
.table {
  margin-bottom: 0px;
}
.modal-body-history {
  font-size: 16px;
  margin-bottom: 15px;
  overflow-y: scroll;
  height: 320px;
  border: 2px solid #c9c9c945;
  padding: 0px 10px;
  background-color: #1a1b1b;
}
.sweet-event-error .swal2-content .swal2-error {
  margin-top: 40px;
  display: block !important;
}
.swal2-content .swal2-success {
  display: block !important;
}
.swal2-icon.swal2-success::before,
.swal2-icon.swal2-success::after {
  background-color: transparent;
}
.swal2-modal {
  padding: 30px 30px !important;
  border: solid 0px #ffffff !important;
  border-radius: 4px !important;
  background: #000000 !important;
  box-shadow: none !important;
  color: #ffffff !important;
}
.btn-confirm {
	background-color: #ffffff !important;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #212529 !important;
    border: none;
    margin-top: 10px;
}
.btn-confirm:hover {
	background-color: #ea5454 !important;
    color: #ffffff !important;
}
.modal-item {
  padding: 15px 20px;
  margin-bottom: 6px;
  background-color: rgb(0, 0, 0);
  border-radius: 6px;
}
.modal-item-detail {
  color: #cfac5a;
  font-size: 18px;
  font-weight: bold;
}
.items-set .modal-item-detail {
  font-size: 16px;
}
.items-set .modal-item-pic img {
  width: 60px;
}
.image-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}
.remark-items p {
  font-size: 14px;
  color: #fff;
}
.remark-items p strong {
  color: #f5f257;
}
.sec-history {
  padding-top: 50px;
}
.shop-title {
  font-size: 32px;
  color: #ffae20;
  font-weight: 600;
}
.shop-suptitle {
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 6px;
}
/* Leaderboard */
.leaderboard-container {
  padding: 14px 14px;
  background-color: rgb(0 0 0 / 30%);
  /* box-shadow: 0px 0px 10px rgba(255, 200, 0,.8); */
  border: 0px solid #000;
  margin-top: 20px;
  color: #fff;
  border-radius: 6px;
}
.leaderboard-title {
  font-size: 32px;
  color: #ffd304;
  font-weight: 600;
}
.leaderboard-suptitle {
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 6px;
}
.spen-point {
  text-align: right;
}
.rank-row {
  color: #000000;
}
.rank-number {
  background-color: #ffe9f2;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    color: #000;
}
.rank-username {
  background-color: #ffe9f2;
  font-size: 14px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5px;
  text-align: left;
  color: #000;
}
.spen-point {
  background-color: #ffe9f2;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    color: #000;
}
.rank-title {
  font-size: 12px;
  color: #fff;
}
.rank-title {
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 6px;
}
.rank-row .row {
  margin-bottom:4px;
}
.gold {
  background-color: #ffd304;
}
.silver {
  background-color: #e7e7e7;
}
.bronze {
  background-color: #f4bc7a;
}
@media screen and (min-width: 768px) {
  .navbar-brand {
    margin-right: auto !important;
  }
  .sec-history {
    padding-top: 200px;
  }
}
@media screen and (min-width: 992px) {
  .sec-history {
    padding-top: 280px;
  }
}
@media screen and (min-width: 120px) {
  .char-bottomleft {
    position: absolute;
    left: -70px;
    bottom: 0;
    z-index: -1;
  }
  .char-topright {
    position: absolute;
    right: -170px;
    top: 0;
    z-index: -1;
  }
  .reward-detial .items-remark.v-2 {
    left: -165px;
  }
  .char-topright.v-2 {
    right: -165px;
  }
}
@media screen and (max-width: 991.98px) {
  .main-navbar {
    padding-top: 5px;
    padding-bottom: 10px;
  }
  .main-navbar {
    position: relative;
    background-color: #000;
  }
  .navbar-brand {
	margin-right: 0 !important;
  }
  .sec-header {
    background-position: top center;
    height: 470px;
  }
  .event-title {
    margin-bottom: 94px;
  }
  .reward-image,
  .reward-detial {
    position: relative;
    width: 100%;
  }
  .reward-image {
    margin-bottom: 15px;
  }
  .reward-image img {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .btn-get-reward {
    margin-top: 5px;
  }
  .reward-detial {
	padding-left: 0px;
  }
  .history-btn {
    margin-left: 10px;
  }
  .id-name {
    width: 100%;
  }
  .reward-detial .items-name {
    text-align: center;
  }
  .items-remark {
    width: 100%;
    text-align: center !important;
  }
  .items-redeem_num span {
    display: inline;
 }
 .shop-title,
 .shop-suptitle,
 .leaderboard-title {
  text-align: center;
 }

}
@media screen and (max-width: 767.98px) {
  .main-navbar {
    position: relative;
    background-color: rgba(0, 0, 0, 1);
  }
  .sec-header {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/5022/images/header-bg-sm.png");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 220px;
  }
  .event-title {
	margin-bottom: auto;
	margin-top: auto;
  }
  .sec-reward {
    padding: 15px 15px;
    margin-top: 30px;
  }
  .point-reward  {
	margin-bottom: 8px;
  }
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > td,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > thead > tr > th {
    white-space: nowrap;
  }
  .id-name {
    font-size: 13px;
    padding-top: 11px;
  }
  .bonus-point {
    font-size: 13px;
    padding: 6px 12px 8px 12px;
  }
  .history {
    position: absolute;
    right: -5px;
    font-size: 12px;
    top: 0;
  }
  .history-btn {
    font-size: 10px;
    padding: 2px 8px 2px 8px;
    border-radius: 3px;
  }
  .history {
    position: absolute;
    right: -5px;
    font-size: 12px;
    top: 0;
  }

  .shop-point {
		position: fixed;
    top: 45px;
		right: 0px;
		z-index: 10;
	}
	.shop-point-btn {
		border-top-right-radius: 0px;
		border-bottom-right-radius: 0px;
		font-size: 10px;
		font-weight: 400;
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 4px;
		padding-bottom: 4px;
	} 
  .shop-title,
  .leaderboard-title {
    font-size: 24px;
  }
  .reward-detial .items-remark {
    font-size: 11px;
  }
}
