@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/4731/images/main-bg.jpg") top center no-repeat #001e3c;
  position: relative;
  min-height: 100vh;
}

body.index-bg {
  background: url("https://cdn.exe.in.th/activities2/uploads/activities/4731/images/index-bg.jpg") top center no-repeat #001e3c;
  background-size: auto;
  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: 40px;
}

.ch-center img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body.index-bg .hvr-float-shadow {
  margin-top: 20px;
}

.text-black {
  color: #000000;
}

.member {
  background-color: #fff;
  position: relative;
  width: 100%;
  max-height: 60px;
  margin-top: 60px;
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-left: 35px solid #03369c;
  border-right: 35px solid #03369c;
}

.exe-id-box {
  position: relative;
  z-index: 1;
  /* min-width: 300px; */
  max-width: 300px;
  margin-left: 20px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 16px;
  line-height: 40px;
  color: #ff0000;
  height: 40px;
  background-color: rgb(226 226 226);
  border-radius: 10px;
}

.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: #ff0101;
  line-height: 1em;
  padding-top: 2px;
  padding-left: 40px;
  padding-right: 40px;
  margin-left: 0px;
  margin-right: 8px;
  height: 40px;
  background-color: rgb(226 226 226);
  border-radius: 10px;
}
.angpao-2 {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 14px;
  color: #ff0101;
  line-height: 1em;
  padding-top: 2px;
  padding-left: 25px;
  padding-right: 25px;
  margin-left: 15px;
  margin-right: 15px;
  height: 40px;
  background-color: rgb(226 226 226);
  border-radius: 10px;
}
.howto-angpao {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 131px;
  height: 40px;
  line-height: 37px;
  margin-right: 15px;
  margin-left: 8px
}

.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;
}
.btn-other{
  margin-bottom: 60px;
  margin-top: -30px;
}
.belt-notice-2 {
  margin-top: -65px;
}
.belt-notice-wrap {
  position: relative;
  background-color: transparent;
  padding: 0px 0px 0px 0px;
  margin-bottom: 0px;
  margin-top: 0px;
}

.belt-notice-wrap::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 10px;
  left: 0;
  top: 0px;
  background-size: 405px;
  width: 405px;
  height: 65px;
}

.belt-notice-wrap,
.belt-notice-wrap a {
  font-size: 16px;
  margin-bottom: 0px;
  text-align: center;
  color: #ffffff;
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  margin-top: 63px;
}

.belt-notice-wrap a.history-color,
.belt-notice-wrap a.history-color:visited {
  color: #ff7f03;
}
.belt-notice-wrap a.history-color-2,
.belt-notice-wrap a.history-color-2:visited {
  color: #ffffff;
}

.belt-notice-wrap a:hover {
  color: #c80707;
}

.belt-notice-wrap a.history-color:hover {
  color: #f9cb22;
}
.belt-notice-wrap a.history-color-2:hover {
  color: #c80707;
}
.reward-link {
  cursor: pointer;
}

.redeem-btn {
  position: relative;
  z-index: 2;
}

.rule-wrap {
  margin-bottom: 40px;
}

.rule-content {
  padding: 18px 30px;
  background-color: #fff;
  background-image: none;
  border-radius: 10px;
  border-top: 35px solid #b52025;
  border-bottom: 35px solid #b52025;
}
.rule-content-2 {
  border-top: 35px solid #b52025;
  border-bottom: 35px solid #b52025;
}
.rule-fram-top {
  position: absolute;
  top: -25px;
  left: -30px;
  width: 924px;
  height: 55px;
  background: url("https://cdn.exe.in.th/activities2/uploads/activities/4731/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/4731/images/fram-bottom.png") center center no-repeat;
  background-size: 924px;
}

.rule-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #171717;
  position: relative;
  z-index: 1;
}

.rule-content ul li {
  font-weight: 300;
}

.rule-content ul li::marker {
  color: #8e0b10;
}

.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: #8e0b10;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  margin-top: 20px;
}

.item-premium {
  background-color: rgb(0 0 0 / 10%);
  border-radius: 10px;
  padding: 15px 10px 10px 10px;
  margin-bottom: 20px;
  max-height: 136px;
  height: 100%;
}
.item-premium-2 {
  margin-left: 35px;
  
}
.item-premium-3 {
  margin-right: 35px;
}
.item-count {
  background-color: #ff00ae;
  border-radius: 5px;
  max-width: 100px;
  padding-left: 11px;
  padding-right: auto;
  padding-bottom: 0px;
  color: #fff;
  line-height: 36px;

}

.item-box {
  display: block;
}

.item-1 {
  margin-top: 40px;
}

.item-3 {
  margin-top: 40px;
}

.item-box {
  right: 0px;
  bottom: 35px;
}

/* 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: #fff !important;
  border: none !important;
  border-radius: 45px !important;
  padding: 40px 30px !important;

}

.swal2-popup::after {
  content: '';
  position: absolute;
  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;
  top: 30px
}

.swal2-popup.confirmopen-popup .swal2-image {
  position: relative;
  top: -168px;
  width: 280px;
  margin-top: 73px;
  margin-bottom: -159px;
  z-index: 2;
}

.swal2-popup.not-angpao .swal2-image {
  width: 280px;
}

.swal2-image {
  max-width: 100%;
  margin: -1.75em auto;
  padding-top: 50px;
}

.swal2-content {
  color: #171717 !important;
  padding: 0px 10px 0px 10px !important;
  max-height: 320px !important;
  overflow-y: auto;
  top: 20px;
}

.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;
  margin-top: 0px;
}

.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(0, 0, 0, 0.1);
  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;
}

.title-ms {
  margin-top: 30px;
}

.title-ms-2 {
  margin-top: 65px;
}

.top-box {
  margin-top: 75px;
}

.swal2-styled.swal2-confirm {
  background-color: #c80707 !important;
  color: #ffffff !important;
  font-size: 1.0625em;
  border: 2px solid #c80707 !important;
  border-radius: 40px !important;
  padding-left: 20px;
  padding-right: 20px;
  width: 140px;
}

.swal2-styled.swal2-confirm:hover {
  background-color: #ff2f2f !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: #fff;
  border: 20px solid #fff !important;
  padding: 20px 20px 30px 20px;
  margin-top: 30px;
  border-radius: 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: #fff;
  display: inline-block;
  font-size: 24px;
  border: none;
  padding-bottom: 15px;
  background-color: #b52025;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.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: 10px;
  color: #272727;
  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: #b52025;
  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: #c7c7c7;
  border: 1px solid #ffffff;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #c8241f;
  border-color: #c8241f;
  color: #ffffff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #c7c7c7 !important;
  border-color: #ffffff !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/4731/images/main-bg.jpg") top center #001e3c;
    background-size: 140%;
    background-repeat: no-repeat;
  }
}

@media only screen and (max-width: 1199.98px) {
  body.main-bg {
    background: url("https://cdn.exe.in.th/activities2/uploads/activities/4731/images/main-bg.jpg") top center no-repeat #001e3c;
    position: relative;
    min-height: 100vh;
    background-size: 160%;
    background-repeat: no-repeat;
  }
  body.index-bg {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/4731/images/index-bg-sm.jpg");
    background-size: 100%;
  }


  body.index-bg .main-logo-event img {
    width: 800px;
  }

  body.index-bg .ch-center {
    margin-top: 40px;
  }

  .random-box {
    margin-top: 20px;
  }

  .rule-fram-top {
    left: 15px;
  }

  .rule-fram-bottom {
    right: 15px;
  }
  .item-2 {
    margin-top: 0px;
  }
  .member {
    width: 100%;
    max-height: 120px;
    padding-top: 16px;
  }
  .angpao {
    margin-top: 10px;
  }
  .howto-angpao {
    margin-top: 10px;
  }
}



@media only screen and (max-width: 991.98px) {
  body.main-bg {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/4731/images/main-bg-sm.jpg");
    background-size: 120%;
  }


  .main-logo-event {
    margin-top: 40px;
  }


  .member::after {
    left: -30px;
  }

  .member::before {
    right: -30px;
  }
  .belt-notice-2 {
    margin-top: -40px;
  }
  .exe-id-box {
    margin-left: 8px;
    min-width: 240px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .howto-angpao {
    margin-right: 5px;
  }

  .angpao {
    margin-left: 10px;
    margin-right: 0px;
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
  }
  .angpao-2 {
    margin-left: 10px;
    margin-right: 0px;
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .howto-angpao {
    margin-top: 10px;
  }
  .btn-refresh i {
    font-size: 14px;
  }

  .random-box {
    margin-top: 70px;
  }

  .ch-center img {
    width: auto;
  }

  .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;
  }

  .logout-btn {
    margin-right: 8px;
    margin-left: 12px;
  }

  .item-box {
    display: none;
  }

  .item-1 {
    margin-top: 0px;
  }

  .item-img {
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
  }

  .item-premium {
    padding: 20px 10px 10px 10px;
    margin-bottom: 25px;
  }
  .item-premium-2 {
    margin-left: 0px;
    
  }
  .item-premium-3 {
    margin-right: 0px;
  }
}

@media only screen and (max-width: 767.98px) {
  body.main-bg {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/4731/images/main-bg-sm.jpg");
    background-size: 200%;
  }

  body.index-bg {
    background-image: url("https://cdn.exe.in.th/activities2/uploads/activities/4731/images/index-bg-sm.jpg");
    background-size: cover;
  }

  body.index-bg .ch-center {
    margin-top: 100px;
  }

  .ch-center img {
    width: 100%;
  }

  .member {
    padding: 15px 15px;
    margin-top: 20px;
    border: 2px solid #03369c;
    background-repeat: repeat;
    width: 100%;
    max-height: 100%;
    padding-top: 16px;
  }
  .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;
  }
  .angpao-2 {
    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: 35px;
    margin-bottom: -10px;
    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: 0px solid #c67739 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .swal2-popup::after {
    display: none;
  }

  .swal2-image {
    padding-top: 65px;
  }
}

@media only screen and (max-width: 468.98px) {
  .item-premium {
    padding: 15px 10px 10px 10px;
    margin-bottom: 25px;
  }

  .item-img-2 {
    margin-top: 0px;
  }
}