html, body, h1 {
  font-family: 'ThaiSansNeue-Regular';
}
form {
  margin: 0;
}
.mdl-grid {
  padding: 0px;
}

/*-- Main Page --*/

.mdl-layout__content {
  overflow-y: visible;
  overflow-x: visible;
  min-height: 100%;
}
.main-page {
  background: url('https://warriortalesfantasy.gameindy.com/assets/images/1/bg-3.jpg') no-repeat center center;
  background-size: cover;
  width: 100%;
  min-height: calc(100vh);
}
.space-top {
  padding-top: 56px;
}
.logout-btn {
  display: none;
  color: white;
  font-family: 'ThaiSansNeue-Regular';
  font-size: 1.5em;
}

/*-- Login Zone --*/

.desktop {
  display: none;
}
.character {
  max-height: calc(100vh - 56px);
}
.loginzone {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 0;
}
.box-login {
  padding: 33vh 0;
}
.button-facefook {
  padding-top: 10px;
  background: #4768AD;
  width: 10em;
  max-width: 100%;
  height: 2em;
  font-family: 'ThaiSansNeue-Regular';
  font-size: 2em;
  color: #fff;
}
.button-facefook:hover {
  background: #537BC7;
}

/*-- Confirm Zone--*/

.confirmzone {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.75);
  min-height: calc(100vh - 55px);
  padding: 10vh 0;
}
.confirm-text {
  padding: 30px 0;
  font-size: 1.5em;
  color: black;
}
.button-confirm {
  background: #F1772E;
  width: 15em;
  max-width: 100%;
  height: 2em;
  font-family: 'ThaiSansNeue-Regular';
  font-size: 2em;
  color: #FFF;
}
.button-confirm:hover {
  background: #FF7A2A;
}
.denied {
  color: #B8B8B8;
  text-decoration: none;
  font-size: 1.5em;
}
.denied:hover {
  color: #23527C;
  text-decoration: underline;
}

/*-- Select Partner --*/

.partnerlist {
  position: relative;
  width: 100vw;
  text-align: center;
}
.white-box {
  font-family: 'ThaiSansNeue-Regular';
  background-color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  margin-bottom: 0px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12);
  border-radius: 2px;
  transition: 0.1s ease-in;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.partner-style {
  font-size: 1em;
  height: 100px;
}
.partner-text {
  display: none;
}
.ripple {
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 100%;
  height: 100px;
  width: 100px;
  margin-top: -90px;
  position: relative;
  -webkit-transform: scale(0);
  transform: scale(0);
}
.animate {
  -webkit-animation: ripple 0.4s linear;
  animation: ripple 0.4s linear;
}
@-webkit-keyframes ripple {
  100% {
    -webkit-transform: scale(12);
    transform: scale(12);
    background-color: transparent;
  }
}
@keyframes ripple {
  100% {
    -webkit-transform: scale(12);
    transform: scale(12);
    background-color: transparent;
  }
}
.freecode-refill {
  text-align: center;
  color: #FFFFFF;
  font-size: 1.5em;
  padding: 10px 0;
}

/*-- Refill Zone --*/

.alert-padding {
  padding: 10px 0;
}
.mdl-spinner {
  width: 5em;
  height: 5em;
}
.alert-completed {
  background-color: #00C851;
  height: 125px;
}
.alert-incomplete {
  background-color: #ff4444;
  height: 125px;
}
.alert-waiting {
  background-color: #ffbb33;
  height: 125px;
}
.alert-completed, .alert-incomplete, .alert-waiting, .alert-confirm {
  margin: 2em auto;
  text-align: center;
  color: white;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12);
  border-radius: 2px;
  transition: 0.1s ease-in;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /*display: none;*/
}
.alert-completed img, .alert-incomplete img, .alert-waiting img {
  width: 5em;
}
#refill-completed, #refill-incomplete, #refill-waiting, #refill-confirm {
  display: none;
}
.msg {
  font-size: 1.5em;
  padding-top: 10px;
}
.box-center {
  margin: 2em auto 0;
}
.refill-content {
  font-size: 1.2em;
  text-align: center;
  padding: 30px 20px;
}
.btn-refill {
  width: 200px;
}
.mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric_rtb {
  text-align: left;
}
.mdl-data-table td {
  text-align: left;
}
.mdl-data-table td:first-of-type, .mdl-data-table th:first-of-type {
  display: none;
}
.mdl-data-table__cell--non-numeric.mdl-data-table__cell--non-numeric {
  text-align: center;
}
.mdl-data-table thead {
  background-color: #CDD7FF;
}
.mdl-data-table th:last-of-type {
  font-size: 17px;
}
.mdl-data-table {
  font-size: 17px;
  white-space: normal;
}
.mdl-data-table {
  width: 100%;
}
.user-img {
  border-radius: 50%;
  border: 4px solid #fff;
  transition: all 250ms;
}
.user-refill-box, .user-confirm-box {
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12);
}
.user-refill-box-top-padding-gi, .user-confirm-box-top-padding-gi {
  font-size: 3em;
  padding-top: 185px;
}
.user-refill-box-top-padding-fb, .user-confirm-box-top-padding-fb {
  font-size: 1.3em;
  padding-top: 105px;
  line-height: 1.3em;
}
.user-refill-box-top, .user-confirm-box-top {
  min-height: 400px;
  background-color: #89CFE6;
  color: #fff;
}
.user-refill-box-bottom, .user-confirm-box-bottom {
  min-height: 200px;
  background-color: #fff;
  padding: 20px 0;
}
.user-refill-box-top, .user-confirm-box-top {
  min-height: 250px;
}
.user-refill-box-top-padding-fb, .user-confirm-box-top-padding-fb {
  padding-top: 35px;
}
.user-refill-box-top-padding-gi, .user-confirm-box-top-padding-gi {
  padding-top: 112px;
}

/*-- Rtb Zone --*/

.txt-rtb {
  text-align: center;
  padding-top: 43px;
  padding-right: 20px;
}
.refill-cs711 {
  text-align: center;
  padding: 30px;
  margin-bottom: 15px;
}
.box-barcode {
  padding: 30px 0;
}
.barcode {
  padding: 15px 0 !important;
  text-align: center;
}
.barcode img {
  width: calc(100vw - 15px);
}
.barcode-text {
  font-size: 1.2em;
}
@media (min-width: 480px) {
  .partner-style {
    padding-left: 20px;
    text-align: left;
  }
  .partner-text {
    text-align: right;
    float: right;
    padding-top: 43px;
    padding-right: 20px;
    display: block;
    font-size: 25px;
  }
  .barcode-text {
    font-size: 1.7em;
  }
}
@media (min-width: 768px) {
  .barcode-text {
    font-size: 2em;
  }
}
@media (min-width: 840px)  and (max-width: 1023px) {
  .space-top {
    height: 100vh;
  }
  .desktop {
    display: block;
    margin: 0;
  }
  .box-login {
    padding: 40vh 0;
  }
  .button-facefook {
    padding-top: 35px;
    width: 15em;
    height: 3em;
    font-size: 2.5em;
    color: #fff;
  }
  .partnerlist {
    position: absolute;
    top: calc(35vh);
    width: 100%;
  }
  .barcode img {
    width: 100%;
  }
  .freecode-refill {
    font-size: 2em;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
  }
}
@media (width: 1024px) and (height: 1366px) {
  .space-top {
    height: 100vh;
  }
  .desktop {
    display: block;
    margin: 0;
  }
  .box-login {
    padding: 40vh 0;
  }
  .button-facefook {
    padding-top: 35px;
    width: 15em;
    height: 3em;
    font-size: 2.5em;
    color: #fff;
  }
  .partnerlist {
    position: absolute;
    top: calc(35vh);
    width: 100%;
  }
  .barcode img {
    width: 100%;
  }
  .freecode-refill {
    font-size: 2em;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
  }
}
@media (min-width: 1025px) {
  .space-top {
    padding-top: 64px;
  }
  .confirmzone {
    min-height: calc(100vh - 63px);
  }
  .character {
    min-height: calc(100vh - 56px);
  }
  .desktop {
    display: block;
    margin: 0;
  }
  .box-login {
    padding: 40vh 0;
  }
  .button-facefook {
    padding-top: 35px;
    width: 15em;
    height: 3em;
    font-size: 2.5em;
    color: #fff;
  }
  .partnerlist {
    position: absolute;
    top: calc(35vh);
    width: 100%;
  }
  .barcode img {
    width: 100%;
  }
  .freecode-refill {
    font-size: 2em;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
  }
}
