html, body {
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  font-size: 16px;
}

body:before {
  content: "";

  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: url(../image/bg-desktop.jpg);
  background-size: 100% 100%;
  background-position: center top;
}

@media screen and (max-width: 991px) {
  body:before {
    background: url(../image/bg-mobile.jpg);
    background-size: 100% auto;
    background-position: center bottom;
  }
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, a, li, span, strong, b, u, label, th, td, button {
  font-family: sukhumvitmedium, sans-serif;
  color: white;
  padding: 0;
  margin: 0;
}

.datepicker-panel li {
  font-family: sukhumvitmedium, sans-serif;
  font-size: 14px;
}

h1, .h1 { font-size: 32px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 24px; }
h5, .h5 { font-size: 22px; }
h6, .h6 { font-size: 20px; }
p, a, li { font-size: 16px; }
a { text-decoration: none; }

main {
  z-index: 200;
}

main[data-role="dashboard"] {
  padding-top: 83px;
}

main[page='index'] {
  padding-top: 100px;
}

@media screen and (max-width: 991px) {
  main[page='index'] {
    padding-top: 156px;
  }
}

@media screen and (max-width: 767px) {
  main {
    z-index: 200;
  }

  main[data-role="dashboard"] {
    padding-top: 90px;
  }

  h1, .h1 { font-size: 26px; }
  h2, .h2 { font-size: 24px; }
  h3, .h3 { font-size: 22px; }
  h4, .h4 { font-size: 20px; }
  h5, .h5 { font-size: 18px; }
  h6, .h6 { font-size: 18px; }
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.c-white { color: white !important; }
.c-black { color: black !important; }
.c-transparent { color: transparent !important; }

.c-theme { color: #E7D08C !important; }
.c-theme-2 { color: #610811 !important; }
.c-theme-3 { color: #00312F !important; }
.c-theme-4 { color: #F1AAA1 !important; }

.c-light-yellow { color: #F2D76D !important; }
.c-yellow { color: #966A22 !important; }
.c-dark-red { color: #4D0513 !important; }
.c-red { color: #DA212C !important; }
.c-blue { color: #0367B5 !important; }
.c-navy { color: #1B5369 !important; }
.c-dark-blue { color: #381463 !important; }
.c-pink { color: #C532A9 !important; }
.c-green {color: #00312F !important }

.text-bold { font-weight: bold !important; }

.font-s { font-family: sukhumvitmedium, sans-serif; }
.font-capitalis { font-family: Capitalis; }

.a-left { text-align: left !important; }
.a-right { text-align: right !important; }
.a-center { text-align: center !important; }

.link {
  text-decoration: underline;
}

.link.next:after {
  content: "\e905";
  font-family: icon;

  display: inline-block;
  font-size: 0.6em;
  margin-left: 3px;
}

.link.prev:before {
  content: "\e904";
  font-family: icon;

  display: inline-block;
  font-size: 0.6em;
  margin-right: 3px;
}

.btn {
  display: inline-block;
  font-weight: bold;
  font-size: 14px;

  margin-left: auto;
  margin-right: auto;
  padding: 5px 15px;
  min-width: 110px;
  max-width: 120px;
  text-align: center;

  border: solid 2px white;
  border-radius: 5px;
  background: white;
  
  color: white;

  outline: none;
  cursor: pointer;
}

.btn.reverse-gradient {
  background: #C18D20;
  background: -moz-linear-gradient(top, #C18D20 0%, #D3B474 100%);
  background: -webkit-linear-gradient(top, #C18D20 0%, #D3B474 100%);
  background: linear-gradient(to bottom, #C18D20 0%, #D3B474 100%);
}

.btn.rounded {
  border-radius: 20px;
}

.btn.wide {
  min-width: 200px;
}

.btn.outline {
  background: transparent;
  color: white;
}

.btn.pink-grad {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #F75EEA;
  background: -moz-linear-gradient(180deg, #F75EEA 0%, #C122F1 100%);
  background: -webkit-linear-gradient(180deg, #F75EEA 0%, #C122F1 100%);
  background: linear-gradient(180deg, #F75EEA 0%, #C122F1 100%);
}

.btn.orange-grad {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #CD4550;
  background: -moz-linear-gradient(45deg, #CD4550 0%, #FFA214 100%);
  background: -webkit-linear-gradient(45deg, #CD4550 0%, #FFA214 100%);
  background: linear-gradient(45deg, #CD4550 0%, #FFA214 100%);
}

.btn.yellow-grad {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #C18F44;
  background: -moz-linear-gradient(45deg, #C18F44 0%, #FCDB28 100%);
  background: -webkit-linear-gradient(45deg, #C18F44 0%, #FCDB28 100%);
  background: linear-gradient(45deg, #C18F44 0%, #FCDB28 100%);
}

.btn.blue-grad {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #0B5595;
  background: -moz-linear-gradient(45deg, #0B5595 0%, #2F94E3 100%);
  background: -webkit-linear-gradient(45deg, #0B5595 0%, #2F94E3 100%);
  background: linear-gradient(45deg, #0B5595 0%, #2F94E3 100%);
}

.btn.red-grad {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #FF3636;
  background: -moz-linear-gradient(45deg, #FF3636 0%, #9F1212 100%);
  background: -webkit-linear-gradient(45deg, #FF3636 0%, #9F1212 100%);
  background: linear-gradient(45deg, #FF3636 0%, #9F1212 100%);
}

.btn.gold-grad {
  padding: 6px 16px;
  border: solid 2px #D3B474;
  color: white;
  background: #966A22;
  background: -moz-linear-gradient(180deg, #966A22 0%, #5A400B 100%);
  background: -webkit-linear-gradient(180deg, #966A22 0%, #5A400B 100%);
  background: linear-gradient(180deg, #966A22 0%, #5A400B 100%);
}

.btn.purple-grad {
  padding: 6px 16px;
  border: solid 2px #6A1BC6;
  color: white;
  background: #5D03C6;
  background: -moz-linear-gradient(180deg, #5D03C6 0%, #2D0957 100%);
  background: -webkit-linear-gradient(180deg, #5D03C6 0%, #2D0957 100%);
  background: linear-gradient(180deg, #5D03C6 0%, #2D0957 100%);
}

.btn.green-grad {
  padding: 6px 16px;
  border: solid 2px #966A22;
  color: white;
  background: #0A483D;
  background: -moz-linear-gradient(180deg, #0A483D 0%, #01140E 100%);
  background: -webkit-linear-gradient(180deg, #0A483D 0%, #01140E 100%);
  background: linear-gradient(180deg, #0A483D 0%, #01140E 100%);
}

.btn.black {
  border-color: black;
  background: black;
  color: white;
}

.btn.navy {
  border-color: #1B5369;
  background: #1B5369;
  color: white;
}

.btn.blue {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #107879;
  background: -moz-linear-gradient(45deg, #107879 0%, #1E9495 50%, #68E6E7 100%);
  background: -webkit-linear-gradient(45deg, #107879 0%, #1E9495 50%, #68E6E7 100%);
  background: linear-gradient(45deg, #107879 0%, #1E9495 50%, #68E6E7 100%);
}

.btn.purple {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #C736FF;
  background: -moz-linear-gradient(top, #C736FF 0%, #7F20E7 100%);
  background: -webkit-linear-gradient(top, #C736FF 0%, #7F20E7 100%);
  background: linear-gradient(to bottom, #C736FF 0%, #7F20E7 100%);
}

.btn.orange {
  padding: 6px 16px;
  border: none;
  color: white;
  background: #CD4550;
  background: -moz-linear-gradient(45deg, #CD4550 0%, #FC8A13 50%, #FFA214 100%);
  background: -webkit-linear-gradient(45deg, #CD4550 0%, #FC8A13 50%, #FFA214 100%);
  background: linear-gradient(45deg, #CD4550 0%, #FC8A13 50%, #FFA214 100%);
}

.btn.yellow {
  border-color: #FFD700;
  background: #FFD700;
  color: black;
}

.btn.light-yellow {
  border-color: #F2D76D;
  background: #F2D76D;
  color: white;
}

.btn.red {
  border-color: #9D1B1F;
  background: #9D1B1F;
  color: white;
}

.btn.green {
  padding: 6px 16px;
  border: none;
  background: #057773;
  background: -moz-linear-gradient(top, #057773 0%, #00312F 100%);
  background: -webkit-linear-gradient(top, #057773 0%, #00312F 100%);
  background: linear-gradient(to bottom, #057773 0%, #00312F 100%);
}

.btn.pink {
  padding: 6px 16px;
  border: none;
  color: white;

  background: #FEC09B;
}

.btn.play-game {
  color: #001C58;
  border-width: 0;
  border-radius: 30px;
  padding: 10px 50px;

  font-size: 20px;
  max-width: unset;

  background: #33D0E1;
  background: -moz-linear-gradient(top, #33D0E1 0%, #178691 100%);
  background: -webkit-linear-gradient(top, #33D0E1 0%, #178691 100%);
  background: linear-gradient(to bottom, #33D0E1 0%, #178691 100%);
}

.btn.play-game span {
  color: #001C58;
  margin-left: 5px;
}

.btn.sm {
  padding: 3px 15px;
  min-width: 90px;
}

.btn.download {
  line-height: 1.1;
  
  width: 100%;
  max-width: 100%;
  padding-top: 8px;
  border-radius: 25px;
  border: none;
}

@media screen and (max-width: 767px) {
  .btn.download {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.btn.download.ios {
  background: #6e93f2;
}

.btn.download.ios + .download-popup {
  color: #6e93f2;
}

.btn.download.android {
  background: #4ca199;
}

.btn.download.android + .download-popup {
  color: #4ca199;
}

.download-popup {
  font-size: 14px;
  text-decoration: underline;

  display: block;
  margin-top: 10px;
}

.download-popup-wrapper .mfp-container {
  height: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.download-popup-wrapper .mfp-content img {
  padding: 0;
}

.download-popup-wrapper .mfp-content {
  margin: 0;
}

.download-popup-wrapper .mfp-close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 5px;
  right: 5px;
  line-height: 100%;
}

.inner {
  width: 100%;
  
  padding-top: 45px;
  padding-bottom: 45px;
}

.input {
  width: 100%;
  max-width: 350px;

  margin-left: auto;
  margin-right: auto;
}

.input label,
.input label + input {
  display: block;
}

.input label {
  font-size: 14px;
}

.input input {
  font-family: sukhumvitmedium, sans-serif;

  width: 100%;
  padding: 7px 10px;

  box-sizing: border-box;
  border-radius: 3px;
  border: none;
  outline: none;
}

.input input.error {
  border: solid 1px #DA212C;
}

.input input.error + .error {
  font-size: 12px;
  color: #DA212C;
}

.input input::placeholder {
  font-family: sukhumvitmedium, sans-serif;
}

.input input:-ms-input-placeholder {
  font-family: sukhumvitmedium, sans-serif;
}

.input input::-ms-input-placeholder {
  font-family: sukhumvitmedium, sans-serif;
}

.input .select2-selection {
  padding: 3px 2px;
  height: auto;
  border-radius: 3px;
  border-color: white;

  outline: none;
}

.input .select2-selection .select2-selection__rendered > span {
  font-size: 14px;
}

.input .select2-container--open .select2-selection {
  border: solid 1px #AAAAAA;
  border-bottom: none;
}

.input .select2-container--open .select2-selection .select2-selection__arrow b,
.input .select2-selection .select2-selection__arrow b {
  width: 15px;
  height: 15px;

  left: 5px;
  margin: 0;
  border-width: 0px;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.input .select2-container--open .select2-selection .select2-selection__arrow b:before {
  content: "\e90d";
  font-family: icon;
  font-size: 10px;

  display: inline-block;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input .select2-selection .select2-selection__arrow b:before {
  content: "\e90d";
  font-family: icon;
  font-size: 10px;
  color: black;
}

.input .select2-selection span,
.select2-dropdown li span {
  color: black;
}

.input .select2-selection span img,
.select2-dropdown li span img {
  width: 20px;
  margin-right: 10px;
}

.input.transparent input {
  background: transparent;
  border-radius: 0;
  border-bottom: solid 1px white;

  color: white;
}

.input.transparent input::placeholder {
  color: white;
}

.input.transparent input:-ms-input-placeholder {
  color: white;
}

.input.transparent input::-ms-input-placeholder {
  color: white;
}

.input.transparent .select2-selection {
  border: none;
  border-bottom: solid 1px white;
  border-radius: 0;
  background: transparent;
}

.input.transparent .select2-selection .select2-selection__arrow b:before {
  color: white;
}

.input.transparent .select2-selection span  {
  color: white;
}

.slick-dots li {
  margin: 0;
}

.slick-dots li button:before {
  font-size: 10px;
  color: white;
  opacity: 0.2;
}

.slick-dots li.slick-active button:before {
  color: #C48827;
  opacity: 1;
}

.mfp-content {
  max-width: 450px;
  border-radius: 0;
  margin: 40px 0;

  background: #4515AA;
}

.popup-content {
  padding: 20px;
}

.popup-content h3 + p {
  font-size: 18px;
}

.popup-content .action {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .popup-content {
    padding: 20px 0;
  }
}

.error_msg{
  font-family: sukhumvitmedium, sans-serif;
  text-align:center;
  font-size:14px;
  color:white;
  margin-top:7px;
}

.alert_msg{
  font-family: sukhumvitmedium, sans-serif;
  text-align:center;
  font-size:14px;
  color:white;
  margin-top:7px;
}

.success_msg{
  font-family: sukhumvitmedium, sans-serif;
  text-align:center;
  font-size:14px;
  color:white;
  margin-top:7px;
}

.floating-line {
  position: fixed;
  z-index: 2000;

  bottom: 5%;
  right: 5%;

  display: flex;
  align-items: center;
}

.floating-line img {
  width: 80px;
  height: 80px;

  border-radius: 50%;
  -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1); 
  box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1);
}

.floating-line p {
  background: #D3B474;
  background: -moz-linear-gradient(top, #D3B474 0%, #C18D20 100%);
  background: -webkit-linear-gradient(top, #D3B474 0%, #C18D20 100%);
  background: linear-gradient(to bottom, #D3B474 0%, #C18D20 100%);

  color: white;

  padding: 2px 20px;
  border-radius: 5px;

  margin-right: 15px;

  -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1); 
  box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1);
}

@media screen and (max-width: 767px) {
  .floating-line img {
    width: 55px;
    height: 55px;
  }

  .floating-line p {
    padding: 0 20px;
  }
}