html {
  font-size: inherit;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.header {
  padding: 0;
  margin: 0;
}

.switch {
  display:table-cell;
}
@media screen and (max-width: 767.98px) {
  .header {
      padding: 0 !important;
  }
}

.header .container {
  height: auto;
}

#form1 {
  flex: 1;
}

.data_loading {
  height: unset;
  background-color: unset;
}

h1.title {
  margin: 1rem 0 0;
  padding: 0 0.75rem 0.5rem 0.75rem;

  border-bottom: 2px solid #512800;
  font-size: 1.5rem;
  font-weight: bold;
}

@media screen and (max-width: 567px) {
  .title-container {
      padding: 0;
  }
}

.Username-box {
  margin: 1rem 0;
}

@media (max-width: 767.98px){
  .Username-box {
    margin: 0 0 1rem;
  }
}

.Username-A1,
.userCenter {
  height: 100%;
}

.userCenter {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 567px) {
  .userCenter {
    flex-direction: row;
  }
}

.Username-btn {
  margin: 1rem auto;
}

@media screen and (max-width: 567px) {
  .Username-btn {
    margin: 0.5rem auto;
  }
}

.container-nav {
  background: none;
  filter: none;
}

.useBleft {
  padding: 2rem;
}

.useBleft .title {
  display: flex;
  margin-top: 0;
  padding-left: 0;

  color: black;
}

.useBleft .title i {
  margin-left: 0.5rem;
}

@media screen and (max-width: 567px) {
  .useBleft {
    padding: 1rem;
  }
}

.useBleft .user-info {
  margin-top: 1rem;
}

.useBleft .user-info :last-child {
  margin-bottom: 0;
}

.useBleft .user-info .row {
  margin: 0.5rem 0;
}

.useBleft .user-info .label {
  padding: 0.25rem 0;
  width: 5rem;

  background: #CACACA;
  border-radius: 5px;
  text-align: center;
}

.useBleft .user-info .value {
  margin: 0 1rem;
  padding: 0.25rem 0;
}

.useBleft .user-info .pageBtn {
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  background: #FF7600;
  color: white;
}

/* #region 點數儲值 */
.payment-method.hide {
  display: none;
}
.payment-method {
  flex: 1;
  margin: 0 0.25rem;
}

.payment-method:first-child,
.payment-method.hide + .payment-method:nth-child(2) {
  margin-left: 0;
}

.payment-method:last-child {
  margin-right: 0;
}

.payment-notice .faq {
  display: block;
  margin-top: 0.25rem;
  padding-top: 0.25rem;

  border-top: 1px solid #DDDDDD;
}

.payment-notice .faq .questions,
.payment-notice .faq .answer {
  display: flex;
}

.payment-notice .faq .questions::before,
.payment-notice .faq .answer::before {
  padding-right: 0.5rem;
  min-width: 1.5rem;

  text-align: right;
}

.payment-notice .faq .questions::before {
  content: 'Q.';
}
.payment-notice .faq .answer::before {
  content: 'A.';
}

.payment-notice .faq .text {
  display: inline-block;
}
/* #endregion */

/* #region 點數紀錄查詢 */
.history-point-query .selector-wrapper {
  margin-top: 1rem;
}

.history-point-query .label {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

.history-point-query .pointBtn {
  background-color: #FF7600;
}
/* 不顯示日期選擇功能 */
.history-point-query .query-date.label,
.history-point-query .purchaseDivDate .inputGroup,
.history-point-query .purchaseDivDate .btn-query {
  display: none;
}

.history-point-query .purchaseDivDate .btn-query-day90 {
  display: block;
  margin: 0.5rem 0;
  padding: 0.5rem;
}

.result-table .date{
  width: 40%;
}
.result-table .denomination,
.result-table .status,
.result-table .details {
  width: 25%;
}
.result-table .item-name {
  width: -moz-available;          /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
  width: fill-available;
}

@media screen and (max-width: 567px) {
  .history-point-query .purchaseDivDate .buttonGroup {
    margin: 0;
  }
}

.history-point-query .purchaseDivResult {
  margin-top: 1rem;
}

.history-point-query .result-total .message {
  display: block;
  margin: 0.25rem 0;
}

.history-point-query .result-table {
  margin-top: 1rem;
}

.history-point-query .result-table .purchaseDivTitle,
.history-point-query .result-table .purchaseDivData {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.history-point-query .result-table .purchaseDivTitle {
  background: none;
}

.history-point-query .result-table .purchaseDivData {
  margin: 0;
  padding: 0.25rem 0;
}

.history-point-query .result-table .purchaseDivData:not(:last-child) {
  border-bottom: 1px solid silver;
}

.history-point-query .result-table .column {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem 0;

  text-align: center !important;
}

.history-point-query .result-table .purchaseDivTitle .column {
  border: 1px solid #D8D8D8;
  background: rgba(23,134,254,0.8);
}


@media screen and (max-width: 567px) {

  .history-point-query .result-table .denomination {
    display: none !important;
  }
}

/* #endregion */

/* #region 活動 */
.gogame_point {
  background-color: #FF7600;
  white-space: nowrap;
}

.shop__content .get_gift {
  justify-content: center;
}

.goto-pocket-from-mobile {
  display: flex;
  justify-content: center;
}

.shop__content .get_gift a,
.shop__content .goto-pocket-from-mobile a {
  background: #51a2a2;
  color: white;
  padding: 1rem 4rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1.5rem;
}

.goto-pocket-from-pc {
  text-align: center;
}

/* #region 活動 紀錄查詢 */
.serial__box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
/* #endregion */

/* #endregion */

/* #region popup fullscreen */
.btn-trigger-popup {
  color: #3b97f4;
  cursor: pointer;
}

.popup.fullscreen-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.8);
}
.popup.fullscreen-wrapper.hidden {
  display: none;
}

.popup .fullscreen-content {
  position: relative;
  border-radius: 5px;
}

.popup .btn-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;

  position: absolute;
  top: -1rem;
  right: -0.5rem;

  background-color: white;
  border: 1px solid silver;
  border-radius: 1rem;

  font-size: 1rem;
  font-weight: bold;
}

.popup .content {
  overflow-y: auto;
  max-height: 80vh;
  background-color: white;
}

.popup .panel-body {
  box-shadow: none;
}
/* #endregion */

/* #region 會員轉點 check popup */
.select-fami-points-check .fullscreen-content{
  flex-direction: column;
  width: 20rem;

  background-color: white;
}

.select-fami-points-check .content {
  flex: 1;
  margin: 1rem;

  font-size: 1.25rem;
  line-height: 1.25;
}

.select-fami-points-check .point-value {
  margin: 0 0.5rem;

  color: red;
  font-weight: bold;
}

.select-fami-points-check .fullscreen-footer {
  margin: 1rem;
  width: 100%;
}

.select-fami-points-check .btn-group {
  width: 100%;
}

.select-fami-points-check .btn-group .btn {
  margin: 0 1rem;
  border: 1px solid;
  border-radius: 5px !important;
}

.select-fami-points-check .btn-confirm {
  background-color: #FF7600;
  color: white;
}
/* #endregion */
