@charset "utf-8";
/* CSS Document */
* {
box-sizing: border-box;
font-family: 'Mitr', sans-serif;
}
html {
  scroll-behavior: smooth;
}
a:focus,
button:focus {
  outline-width: 0px;
}
.yellow {
  color: #fff568;
}
.color-red {
  color: #e60707;
}
.color-yellow {
  color: #ecd361;
}
.color-orange {
  color: #fc3d11;
}
a:hover,
button:hover {
  filter: brightness(120%);
}
button:disabled {
  filter: grayscale(80%);
}
#particles-js {
  position: fixed;left: 0;top: 0;width: 100%;height: 100%;display: block;z-index: 0;pointer-events: none;
}
.float {
  animation: float_2462 2s ease-in-out infinite;transform-origin: 50% 50%;
}
@keyframes float_2462 {
  0% { transform: translateY(0) }
  50% { transform: translateY(-6px) }
  100% { transform: translateY(0) }
}
.hvr-float-shadow {
  display: block;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0,0,0,0);
  position: relative;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.redeem-btn .hvr-float-shadow {
  display: inline-block;max-width: 100%;margin-left: inherit;margin-right: inherit;
}
.hvr-float-shadow:active, 
.hvr-float-shadow:focus, 
.hvr-float-shadow:hover {
  -webkit-transform: translateY(-5px);transform: translateY(-5px);
}
.hvr-float-shadow:before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  content: '';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 0;
  background: -webkit-radial-gradient(center,ellipse,rgba(0,0,0,.35) 0,rgba(0,0,0,0) 80%);
  background: radial-gradient(ellipse at center,rgba(0,0,0,.35) 0,rgba(0,0,0,0) 80%);
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  -webkit-transition-property: transform,opacity;
  transition-property: transform,opacity;
}
.hvr-float-shadow:active:before, 
.hvr-float-shadow:focus:before, 
.hvr-float-shadow:hover:before {
  opacity: 1;-webkit-transform: translateY(5px);transform: translateY(5px);
}
body {
  font-family: 'Mitr', sans-serif;
}
body.main-bg {
  background: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/main-bg.jpg") top center no-repeat #061525;position: relative;min-height: 100vh;
}
body.index-bg {
  background: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/index-bg.jpg") top center no-repeat #061525;background-size: cover;position: relative;min-height: 100vh;display: flex;flex-direction: column;justify-content: space-between;
}
.wrapper {
  position: relative;
}
.firework-c1, .firework-c2, .firework-c3, .firework-c4, .firework-c5, .firework-c6,
.firework-t1, .firework-t2, .firework-t3, .firework-t4,
.cloud-c1, .cloud-c2, .cloud-c3, .cloud-c4 {
  display: none !important;
}
.main-logo-event {
  position: relative;margin-top: 60px;margin-left: auto;margin-right: auto;
}
body.index-bg .main-logo-event {
  margin-top: 40px;
}
body.index-bg .main-logo-event img{
  width: 900px;
}
body.index-bg .ch-center{
  margin-top: 80px;
}
.ch-center img {
  display: block;margin-left: auto;margin-right: auto;
}
body.index-bg  .hvr-float-shadow {
  margin-top: 20px;
}
.member {
  background: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/dash-board.png") center center no-repeat;position: relative;width: 100%;height: auto;margin-top: 60px;border: 2px solid #521605;padding-top: 8px;padding-bottom: 8px;
}
.exe-id-box {
  position: relative;
  z-index: 1;
  min-width: 300px;
  margin-left: 8px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 16px;
  line-height: 40px;
  color: #fff200;
  height: 40px;
  background-color: #4b200a;
  border: 1px solid #490b18;
}
.logout-btn {
  position: relative;
  z-index: 1;
  text-align: center;
  height: 40px;
  width: 83px;
  line-height: 37px;
  margin-left: 15px;
}
.angpao {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 14px;
  color: #fff200;
  line-height: 1em;
  padding-top: 8px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: 8px;
  height: 40px;
  background-color: #4b200a;
  border: 1px solid #490b18;
}
.howto-angpao {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 131px;
  height: 40px;
  line-height: 37px;
  margin-right: 8px;
  margin-left: 15px
}
.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);
}
.random-box {
  position: relative;margin-bottom: 60px;margin-top: 60px;
}
.belt-notice-wrap {
  position: relative;background-color:  transparent;padding: 19px 5px 0px 5px;max-width: 405px;height: 65px;margin-bottom: 15px;margin-top: 30px;
}
.belt-notice-wrap::after{
  content: '';
  position: absolute;
  z-index: 0;
  background: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/bg-redeem-btn.png") center center no-repeat;
  left: 0;
  top: 0px;
  background-size: 405px;
  width: 405px;
  height: 65px;
}
.belt-notice-wrap,
.belt-notice-wrap a {
  font-size: 16px;
  margin-bottom: 45px;
  text-align: center;
  color: #ffffff;
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
}
.belt-notice-wrap a.history-color,
.belt-notice-wrap a.history-color:visited {
  color: #fff000;
}
.belt-notice-wrap a:hover {
  color: #fff782;
}
.belt-notice-wrap a.history-color:hover {
  color: #fff782;
}
.reward-link {
  cursor: pointer;
}
.redeem-btn {
  position: relative;z-index: 2;
}
.rule-wrap {margin-bottom: 40px;}
.rule-content {
  padding: 40px 30px;background-color: rgba(255, 226, 210, 0.9);background-image: none;
}
.rule-fram-top {
  position: absolute;top: -25px;left: -30px;width: 924px;height: 55px;background: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/fram-top.png") center center no-repeat ;background-size: 924px;
  margin-left: auto;margin-right: auto;
}
.rule-fram-bottom {
  position: absolute;right: -30px;height: 55px;bottom: 15px;width: 924px;background: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/fram-bottom.png") center center no-repeat;background-size: 924px;
}
.rule-content ul {
  list-style-type: disc;padding-left: 20px;margin-bottom: 0;color: #171717;position: relative;z-index: 1;
}
.rule-content ul li {
  font-weight: 300;
}
.rule-content ul li::marker {
  color: #fc3d11;
}
.rule-content ul li:not(:last-child) {
  margin-bottom: 10px;
}
.rule-content ul a,
.rule-content ul a:visited {
  color: #fc3d11;text-decoration: none;
}
.rule-content ul a:hover {
  color: #990000;
}
.rule-content h3 {
  color: #0f4c5d;font-size: 32px;font-weight: 500;margin-bottom: 30px;
}
/* footer */
footer {
    padding-top: 30px;padding-bottom: 15px;background-color: transparent;
}
footer p {
    padding-top: 15px;margin-bottom: 0;font-weight: 400;color: #efefef;font-size: 12px;
}
/*swal alert*/
.swal2-popup {
  position: relative;
  background-color: #f9c5a1 !important;border: none !important;
  min-height: 520px !important;
}
.swal2-popup::after {
  content: '';
  position: absolute;
  background-image:  url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/fram-alert.png");
  background-size:620px ;
  background-repeat: no-repeat;
  background-position: center center;
  width: 620px;
  height: 615px;
  left: -55px;
  top: -40px;
  z-index: 0;
}
.swal2-popup .swal2-header {
  position: relative;z-index: 1;
}
.swal2-popup.confirmopen-popup .swal2-header {
  padding: 0 10px;
}
.swal2-popup.confirmopen-popup .swal2-image {
  position: relative;top: -180px;width: 280px;margin-top: 0;margin-bottom: -160px;z-index: 2;
}
.swal2-popup.not-angpao .swal2-image {
  width: 280px;
}
.swal2-content {
  color: #171717 !important;padding: 0px 10px !important;max-height: 320px !important;overflow-y: auto;
}
.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: 24px !important;color: #0f4c5d !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: #fc3d11 !important;font-weight: 500;
}
.modal-item {
  padding: 10px 10px;margin-bottom: 6px;background-color: rgba(255, 255, 255, 0.6);border-radius: 6px;
}
.getitem-single .modal-item {
  padding: 20px 20px;
}
.modal-item:first-child {
  margin-top: 15px;
}
.modal-item-name {
  font-size: 14px;
}
.modal-item-name2 {
  margin-top: 0px;font-size: 24px;
}
.modal-item-pic {
  flex-basis: 60px;
}
.modal-item-pic img {
  width: 60px;
}
.modal-item-qty {
  color: #6e0e10;font-size: 14px;
}
.modal-item-rarity {
  color: #6e0e10;font-size: 13px;margin-bottom: 0;
}
.modal-item-trade {
  font-size: 13px;color: #5da115;
}
.swal2-styled.swal2-confirm {
  background-color: #905b32 !important;color: #ffffff !important;font-size: 1.0625em;border: 2px solid #a75b22 !important;border-radius: 40px !important;padding-left: 20px;padding-right: 20px;width: 140px;
}
.swal2-styled.swal2-confirm:hover {
  background-color: #a75b22 !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%); /* Safari 6.0 - 9.0 */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: #f9c5a1;
  border:6px 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;
}
.modal-content {
  text-align: center;color: #121212;
}
.modal-header {
  color: #e5c23b;display: inline-block;font-size: 24px;border: none;padding-bottom: 15px;background-color: #350e17;
}
.history-box .items-name {
  text-align: left;font-size: 13px;color: #121212;font-weight: 500;
}
.history-box .date {
  text-align: right;width: 100px;font-size: 12px;color: #a59497;font-weight: 300;
}
.thead-dark {
  font-size: 14px;
}
.table {
  margin-bottom: 0;
}
.table td,
.table th {
  padding: 10px 5px;border-bottom: 1px solid #34383c;border-top: 0;
}

.btn-blue-modal {
  width: 120px;
  height: 45px;
  border-radius: 30px;
  color: #ffffff;
  background-color: #905b32;
  border: none;
  cursor: pointer;
  outline: none !important;
  font-size: 20px;
  margin-top: 15px;
}
.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: #000000;
  border: 1px solid #363636;
}
.page-item.active .page-link {
  z-index: 3;color: #fff;background-color: #fccc17;border-color: #fccc17;color: #000000;
}
.page-item.disabled .page-link {
  color: #6c757d;pointer-events: none;cursor: auto;background-color: #111111 !important;border-color: #363636 !important;
}

@media only screen and (min-width: 768px) and (max-width: 1440px)  {
  body.main-bg {
    background: url(https://cdn.exe.in.th/activities2/uploads/activities/3780/images/main-bg-md.jpg) top center;background-size: cover;
  }
}
@media only screen and (min-width: 768px) {
  .member {max-width: 900px;width: 100%;height: 60px;}
}
@media only screen and (max-width: 1199.98px) {
  body.main-bg {
    background: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/main-bg-md.jpg") top center no-repeat #061525;position: relative;min-height: 100vh;
  }
  body.index-bg {
    background-size: auto;
  }
  body.index-bg .main-logo-event img{
    width: 800px;
  }
  body.index-bg .ch-center{
    margin-top: 250px;
  }
  .random-box {margin-top: 20px;}
  .rule-fram-top {left: 15px;}
  .rule-fram-bottom {right: 15px;}
}
@media only screen and (max-width: 991.98px) {
  body.main-bg {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/main-bg-md.jpg");background-size: cover;
  }
  .main-logo-event {margin-top: 40px;}
  .member::after {left:-30px;}
  .member::before {right: -30px;}
  .exe-id-box {margin-left: 5px;min-width: 240px;padding-left: 5px;padding-right: 5px;}
  .howto-angpao {margin-right: 5px;}
  .angpao {margin-left: 5px;padding-top: 2px;}
  .btn-refresh i {font-size: 14px;}
  .random-box {margin-top: 200px;}
  .ch-center img {width: 400px;}
  .rule-content::after {left: -5px;right: -5px;top: 19px;bottom: 19px;}
  .rule-fram-top {width: 720px;height: 43px;background-size: 720px;left: 0;}
  .rule-fram-bottom {width: 720px;height: 43px;background-size: 720px;right: 0;}
}
@media only screen and (max-width: 767.98px) {
  body.main-bg {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/main-bg-sm.jpg");background-size: 768px;
  }
  body.index-bg {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/3780/images/index-bg-sm.jpg");background-size:cover;
  }
  body.index-bg .ch-center{
    margin-top: 100px;
  }
  .ch-center img{
    width: 100%;
  }
  body.main-bg {background-size: cover;background-position: center center;}
  .member {padding: 15px 15px;margin-top: 20px;border: 2px solid #521605;background-repeat: repeat;}
  .exe-id-box {
    margin-top: 0px;margin-left: 0px;min-width: 100%;padding-left: 15px;padding-right: 15px;line-height: 40px;margin-bottom: 15px;
  }
  .angpao {
    margin-top: 0px;margin-left: 0px;min-width: 100%;padding-left: 15px;padding-right: 15px;padding-top: 0;line-height: 40px;text-align: left;margin-bottom: 15px;
  }
  .logout-btn {
    height: 40px;width: 110px;background: none;display: block;margin-top: 0;margin-bottom: 15px;margin-left: auto;margin-right: auto;
  }
  .howto-angpao {
    height: 40px;width: 110px;margin-top: 0;margin-left: 0px;background: none;display: block;margin-top: 0;margin-left: auto;margin-right: auto;
  }
  .random-box {margin-top: 60px;}

  .belt-notice-wrap {
    margin-top: 5px;margin-bottom: 30px;padding: 15px 5px 0px 5px;max-width: 350px;height: 56px;
  }
  .belt-notice-wrap::after {background-size: 350px;width: 350px;height: 56px;}
  .rule-content h3 {font-size: 18px;margin-bottom: 15px;}
  .rule-content {padding: 15px 15px;margin: 0 0;}
  .rule-fram-top {display: none;}
  .rule-fram-bottom {display: none;}
  .rule-content ul li {font-size: 14px;}
  .swal2-title {font-size: 20px !important;}
  .swal2-styled.swal2-confirm {margin-bottom: 15px;}
  .getitem-single .swal2-actions {margin-top: 15px;}
  .modal-item {padding: 10px 15px;}
  .modal-item-pic {flex-basis: 40px;}
  .modal-item-pic img {width: 40px;}
  .swal2-popup {min-height: auto !important;border: 6px solid #c67739!important;padding-left: 15px!important;padding-right: 15px!important;}
  .swal2-popup::after {display: none;}
}