﻿/* singha */
#barcode, #qrcode {
  margin-top: auto;
  margin-bottom: auto;
  margin: 0px auto;
  display: flex;
}

/*#alertModal .modal-dialog {
    -webkit-transform: translate(0,100%);
    -ms-transform: translate(0,100%);
    -o-transform: translate(0,100%);
    -moz-transform: translate(0,100%);
    transform: translate(0,100%);
}*/
/*#confirmRedeemModal .modal-dialog {
    -webkit-transform: translate(0,65%);
    -ms-transform: translate(0,65%);
    -o-transform: translate(0,65%);
    -moz-transform: translate(0,65%);
    transform: translate(0,65%);
}*/
#serialModal .modal-dialog {
  /*-webkit-transform: translate(0,10%);
  -ms-transform: translate(0,10%);
  -o-transform: translate(0,10%);
  -moz-transform: translate(0,10%);
  transform: translate(0,10%);*/
  max-width: 380px;
}

.modal-body {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.serial-code {
  height: 150px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  align-items: center;
}
.serial-code img {
  display: block;
  margin: auto auto;
}
.serial-code p {
  width: 100%;
  color: #333333;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

.code_wrapper {
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  width: 100%;
  background: #151e3d;
  margin-top: 16px;
  color: #fff;
  overflow: hidden;
}

#barcode {
  height: 70px;
  background: #fff;
}

.serialBlock {
  padding-top: 15px;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.serialType {
  display: inline-block;
  color: black;
}

.confirmredeem-header {
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  padding-top: 12px;
}

.confirmredeem-message {
  text-align: center;
}

.modal-content {
  border-radius: 12px;
}

.btn-redeem-close {
  color: white;
  width: 80%;
  padding: 10px 0;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #0074ba;
  border-radius: 4px;
  background-color: #0074ba;
  display: none;
}

.btn-cancel {
  color: #0074ba;
  text-align: center;
  padding: 10px 0;
  border: 1px solid #0074ba;
  border-radius: 4px;
  margin-bottom: 12px;
}

.btn-confirm {
  color: white;
  text-align: center;
  width: 100%;
  padding: 10px 0;
  margin-bottom: 12px;
  border: 1px solid #0074ba;
  border-radius: 4px;
  background-color: #0074ba;
}

.serial-tab {
  color: #151e3d;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  border-radius: 20px;
  background: #fff;
  padding: 0;
}

/*#BarCodeTab div
{
    border-left:1px solid #fff;
    border-right:1px solid #fff;  
}*/
.redeem_serial {
  margin: 0 auto;
  text-align: center;
  font-size: 2em;
  line-height: 150px;
  padding: 0 10px;
}

.a_tab {
  overflow: hidden;
  width: 33%;
  float: left;
  padding: 0 10px;
}

#BarCodeTab {
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

.serial-active {
  color: #171d3d;
  color: #fff;
  background: linear-gradient(#0082c5, #0068af);
}

.serial-use-in {
  color: #171d3d;
  text-align: center;
  font-size: 1em;
}

.privilege-message {
  width: 100%;
  text-align: center;
  padding: 12px 10px;
  background: #151e3d;
  /*border-bottom: 3px solid #fff;*/
  /*padding-bottom: 0;*/
  /*border-top: 3px solid #fff;*/
}
.privilege-message p {
  font-size: 1em;
  margin-bottom: 0;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  color: #fff;
  text-shadow: 1px 1px 1px #2f2f2f;
}

.privilege-message-outside {
  border-bottom: 3px solid #fff;
  border-top: 3px solid #fff;
}

.privilege-message.serialExpired {
  border-top: 0 solid #fff;
}

.text-alert {
  padding-left: 15px;
  padding-right: 15px;
}

#expireIn {
  width: 100%;
  text-align: center;
  font-weight: bold;
  padding-bottom: 12px;
  padding-top: 12px;
}
#expireIn .fa {
  color: #01acfe;
  margin-right: 5px;
}
#expireIn p {
  margin-bottom: 0;
}

.modal-footer {
  border-top: none !important;
  display: block;
}

s #alertModal .modal-footer {
  padding: 15px;
}

.serial-btn {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.serial-btn button {
  margin-left: auto;
  margin-right: auto;
}

.alert-btn {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.alert-btn button {
  margin-left: auto;
  margin-right: auto;
}

.power-by {
  bottom: 0;
  /*position: absolute;*/
}

.power-by img {
  display: block;
  margin: 0 auto 15px auto;
  max-height: 2em;
}

/*@media (max-width: 320px) {

    #alertModal .modal-dialog {
        -webkit-transform: translate(0, 80%);
        -ms-transform: translate(0, 80%);
        -o-transform: translate(0, 80%);
        -moz-transform: translate(0,50%);
        transform: translate(0, 80%);
    }

    #confirmRedeemModal .modal-dialog {
        -webkit-transform: translate(0,45%);
        -ms-transform: translate(0,45%);
        -o-transform: translate(0,45%);
        -moz-transform: translate(0,45%);
        transform: translate(0,45%);
    }

    #serialModal .modal-dialog {
        -webkit-transform: translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
        -moz-transform: translate(0,0);
        transform: translate(0,0);
    }
}*/
.serial_wrapper {
  width: 100%;
  text-align: center;
  padding: 12px;
  overflow: hidden;
  padding-top: 20px;
}
.serial_wrapper .redeem_code_label {
  color: #888888;
}
.serial_wrapper .redeem_serial {
  color: #0074ba;
}

.tab_wrapper {
  overflow: hidden;
}

.expireTime {
  color: #01acfe;
}

.time_left {
  color: #888888;
}

.serial-active .line_active {
  margin: 0 auto;
  width: 33px;
  height: 5px;
  display: block;
  padding-top: 6px;
  background: url("../../Images/History/ic_select_2x.png") no-repeat center center;
  background-size: 100%;
}

@media (min-device-pixel-ratio: 3) {
  .serial-active .line_active {
    background: url("../../Images/History/ic_select_2x.png") no-repeat center center;
    background-size: 100%;
  }
}
.btncloseWrapper {
  position: absolute;
  right: 0;
  top: 0;
}

.btn-close-modal-redeem {
  background: url("../../Images/Privilege_redeem/ic_close_2x.png") no-repeat center center;
  display: block;
  width: 44px;
  height: 44px;
  float: right;
  border: none;
  text-indent: -9999px;
}

@media (min-device-pixel-ratio: 3) {
  .btn-close-modal-redeems {
    background: url("../../Images/Privilege_redeem/ic_close_3x.png") no-repeat center center;
    background: 100%;
  }
}
.watch_other_reward_btn {
  padding-top: 25px;
  color: white;
  text-align: center;
  overflow: hidden;
  width: 85%;
  margin: 0 auto;
  background-color: #171d3d;
  border-radius: 40px;
  padding: 4px 14px;
  font-size: 1.2em;
  box-shadow: 0px 4px 0 #2e4370;
  margin-bottom: 30px;
}
.watch_other_reward_btn.use_coupon {
  margin-bottom: 16px;
}
.watch_other_reward_btn.disabled {
  opacity: 0.6;
}

.coupon_used {
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  width: 100%;
  background: #151e3d;
  margin-top: 16px;
  color: #fff;
  height: 150px;
  line-height: 150px;
  text-align: center;
  font-size: 1.6rem;
}

/* classy */
.ClassyCountdown-value div {
  font-size: 70px;
  padding-top: 1em;
  margin-top: 12px;
  margin-bottom: 26px;
  color: #fff;
}
.ClassyCountdown-value span {
  font-size: 1.4em !important;
  font-weight: bold;
  padding-top: 12px;
  color: #171d3d;
}

.ClassyCountdown-seconds, .ClassyCountdown-minutes {
  width: 120px !important;
  height: 120px !important;
}
.ClassyCountdown-seconds div, .ClassyCountdown-minutes div {
  width: 120px !important;
  height: 120px !important;
}
.ClassyCountdown-seconds div canvas, .ClassyCountdown-minutes div canvas {
  width: 120px !important;
  height: 120px !important;
}

.serialExpiredText {
  color: #111;
}

.serial_section .serialBlock, .serial_section #expireIn, .serial_section .serial-use-in {
  background-color: #7bc4e1 !important;
}

.redeem_serial.wide {
  font-size: 1.4em;
}
