main {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 5rem;
  border-radius: 0;
}



/* banner圖片 */
.banner {
  max-width: 1200px;
  margin: 0 auto;
}
.banner > div {
  display: none;
}

.banner img {
  width: 100%;
}

/* 大于768px时显示 desktop */
@media screen and (min-width: 769px) {
  .banner .desktop { display: block; }
  .banner .ipad, .banner .mobile { display: none; }
}

/* 小于768px且大于390px时显示 ipad */
@media screen and (max-width: 768px) and (min-width: 391px) {
  .banner .ipad { display: block; }
  .banner .desktop, .banner .mobile { display: none; }
}

/* 小于390px时显示 mobile */
@media screen and (max-width: 390px) {
  .banner .mobile { display: block; }
  .banner .desktop, .banner .ipad { display: none; }
}



/* 表單 */
.my-index-form {
  max-width: 800px;
  margin: 0 auto;
}

.field-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.field-header h3 {
  /* color: #D3F77C; */
  color: #f16f35;
  font-size: 1.25rem;
  font-weight: bold;
}

.field-header hr {
  flex: 1;
  color: #666;
}

.field-header-tip,
.column-tip {
  color: #999;
  font-size: .875rem;
  font-weight: bold;
  margin-top: 1rem;
}

.field-header-tip.invalid,
.column-tip.invalid {
  color: var(--bs-form-invalid-color);
}


#btn-phone-areacode {
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

#memberCode {
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

#btn-get-sms {
  min-width: 110px;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

input[role="switch"] {
  width: 2.8em !important;
  height: 1.5em;
  margin-right: 1rem;
}

label[for="hasPet"] {
  font-size: 1rem;
  margin-top: .25rem;
}

.ux-chk-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.ux-chk-group .form-check {
  display: inline-block;
}

@media (max-width: 768px) {
  .ux-chk-group .form-check {
    display: flex;
    width: 100%;
  }
}

.ux-chk-group .form-check-input[type=checkbox],
.ux-chk-group .form-check-input[type=radio] {
  width: 1.25em;
  height: 1.25em;
  margin-right: 1em;
}

.ux-chk-group .form-check-label {
  font-size: 1.125rem;
}

label[for="registrationSource"] {
  color: var(--bs-primary);
}

#registrationSource {
  color: rgb(33, 37, 41);
  font-size: 1rem;
  padding: 6px 16px;
  background-color: rgb(233, 236, 239);
  border-radius: 32px;
}

#btn-submit {
  min-width: 160px;
}

#campaign-expired img {
  width: 180px;
}

#campaign-expired .words {
  margin-top: 36px;
}


.shake {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}