h4{
  font-size: 1.25rem;
  font-weight: 500;
}
/* *{
  outline: .0625rem solid red;
} */
/* ----------------------------------- */
.wrapper {
  font-family: Helvetica,
  Arial,
  '微軟正黑體',
  "PingFang TC",
  "Noto Sans TC",
  sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px;
  color:#595757;
}
.primaryColor{
  color: #10BCA1;
}
.secondaryColor {
  color: #595757;
}

/* nav ---------------------------- */
.bg-navbar,
.nav-link.active {
  background-color: #10BCA1 !important;
}

.nav-item > a.nav-link.active {
  color: white !important;
}
.nav-item > a {
  color: #10BCA1 !important;
}

.navbar-brand{
color: white;
}
.coupon{
 cursor: pointer;
}
#datepicker{
  cursor: pointer;
}
/* -------------------------------- */
.bg-title{
  color: #10BCA1;
  font-size: 1.125rem;
}
#formContent {
  padding: 30px;
  width: 90%;
  /* max-width: 28.125rem; */
  max-width: 25rem;
  position: relative;
  padding: 0px;
  text-align: center;
}

/* input ------------------------------------- */
.form-control:focus{
  border-color: #ced4da !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.form-control[readonly] {
  background-color: #ffffff !important;
}

::-webkit-input-placeholder {
  /* Edge */
  color: #ced4da !important;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #ced4da !important;
}

::placeholder {
  color: #ced4da !important;
}
.custom-select.is-invalid,
.form-control.is-invalid,
.was-validated .custom-select:invalid,
.was-validated .form-control:invalid,
.custom-select.is-valid,
.form-control.is-valid,
.was-validated .custom-select:valid,
.was-validated .form-control:valid {
  border-color: #ced4da !important;
}
input{
  background-color: white !important;
}

/* button ------------------------------------- */
.primaryBtn{
  background-color: #10BCA1;
  border-radius:.5rem;
  color:#fff;
}
.primaryBtn:disabled {
  background-color:#dddddd;
  color:#a0a0a0;
}
.logoutBtn{
  cursor: pointer;
}
button:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* tab ------------------------------------- */
.login-tab{
  font-size: .875rem;
  font-weight: normal;
}
.tab-account,.tab-QRCode {
  border-bottom: .1875rem solid #dddddd;
}
.tab-account:hover,
.tab-QRCode:hover{
  /* border-bottom: .1875rem solid #10BCA1; */
  color:#10BCA1;
  cursor: pointer;
}
.tab-active{
  color: #10BCA1;
  border-bottom: .1875rem solid #10BCA1;
}
/* table --------------------------------------- */
.bg-table-thead{
  background-color: #10BCA1;
  color:white;
}
/* ANIMATIONS ----------------------------------- */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  opacity: 0;
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;

  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}
/* =================== */
.coupons {
  padding:1.5rem;
  width:60%;
  margin: auto;
}
@media (max-width: 768px) {
  .coupons {
      padding:0rem;
      padding-top:1rem;
      padding-bottom:.5rem;
      width:100%;
      margin: 0;
  }
}

.coupons .coupon {
  margin-bottom: 20px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.coupons .coupon>div {
  padding: 10px 20px;
  border-radius: 12px;
}

.coupons .coupon .coupon-intro {
  position: relative;
  background: #fff;
  flex: 3;
}

.coupons .coupon .coupon-intro ul {
  color: #aaa;
  padding-left: 20px;
}

.coupons .coupon .coupon-intro:after {
  content: ' ';
  border: 2px dashed #eee;
  height: 100%;
  position: absolute;
  top: 0;
  right: -2px;
  z-index: 2;
}

.coupons .coupon .coupon-value {
  display: flex;
  flex: 1;
  position: relative;
  background: #10BCA1;
  color: #fff;
  font-size: 38px;
  align-items: center;
  justify-content: center;
}

.coupons .coupon .coupon-value:before {
  content: ' ';
  width: 24px;
  height: 24px;
  position: absolute;
  top: -12px;
  left: -12px;
  border-radius: 100%;
  background: #eee;
}

.coupons .coupon .coupon-value:after {
  content: ' ';
  width: 24px;
  height: 24px;
  position: absolute;
  bottom: -12px;
  left: -12px;
  border-radius: 100%;
  background: #eee;
}
