@charset "UTF-8";
@font-face {
  font-family: Oswald;
  src: url("../fonts/Oswald-Regular.TTF") format("truetype");
}
@font-face {
  font-family: kozminpr6n-regular-90ms-rksj-h;
  src: url("../Fonts/KozMinPr6N-Regular.otf") format("opentype");
}
body {
  font-family: "Microsoft JhengHei", "sans-serif";
  padding-bottom: 4rem;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  width: 2.5rem;
  font-size: 1rem;
}

.navbar-brand-block {
  flex-grow: 1;
}

.navbar-collapse {
  flex-grow: 0;
}

.nav-action {
  display: inline-flex;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  padding: 0 4px;
}
.nav-icon img {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 992px) {
  .home-nav-menu {
    display: none;
  }
}
@media (min-width: 992px) {
  .home-nav-menu .nav-item {
    display: flex;
    font-weight: 500;
    font-size: 1.1vw;
    padding: 0 2rem;
  }
}

.footer {
  font-size: 0.5rem;
}
@media (max-width: 992px) {
  .footer {
    display: none;
  }
}

@media (max-width: 992px) {
  .home-nav-menu,
  .navbar-expand-sm .navbar-collapse {
    display: none !important;
  }
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  will-change: transform;
  transform: translateZ(0);
  display: flex;
  height: 4rem;
  box-shadow: 0 -2px 5px -2px #333;
  background-color: #fff;
}
@media (min-width: 992px) {
  .mobile-bottom-nav .mobile-bottom-nav__item {
    display: none;
  }
}

.mobile-bottom-nav__item {
  flex-grow: 1;
  text-align: center;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-bottom-nav__item--active {
  color: red;
}

.mobile-bottom-nav__item-content {
  display: flex;
  flex-direction: column;
}

.badminton-loading {
  display: flex;
  justify-content: center;
  align-items: center;
}
.badminton-loading img {
  width: 4rem;
}

.modal-cross {
  position: absolute;
  bottom: -60px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-cross button {
  border: 1.5px solid black;
  border-radius: 50%;
  font-size: 1.5rem;
  background-color: white;
}

@media (min-width: 992px) {
  .nav-select-quarter {
    display: flex;
    align-items: center;
    font-size: 1rem;
  }
}
@media (max-width: 992px) {
  .nav-select-quarter {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
  }
  .nav-select-quarter #quarter-selection,
  .nav-select-quarter .dropdown-toggle {
    width: 8rem;
    padding: 0 1rem;
    background-color: #fff;
  }
  .nav-select-quarter .bootstrap-select > .dropdown-toggle {
    width: 8rem;
    padding: 0 1rem;
  }
  .nav-select-quarter .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 8rem;
  }
}

.schedule-finance-table {
  margin-top: 1rem;
  width: 100%;
  white-space: nowrap;
}
.schedule-finance-table thead th {
  font-size: 0.9rem;
  padding: 0.5rem;
  vertical-align: middle;
  background-color: white;
  outline: 1px solid #dee2e6;
}
.schedule-finance-table thead th:first-child {
  position: sticky;
  top: 0;
  left: 0;
}
.schedule-finance-table tbody td {
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.5rem;
  vertical-align: middle;
}
.schedule-finance-table tbody th {
  position: sticky;
  left: 0;
  background-color: white;
  outline: 1px solid #dee2e6;
  font-weight: 500;
  vertical-align: middle;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.5rem;
}

/* 多選會員介面 */
[id$=-member-list-panel] {
  cursor: pointer;
  position: relative;
  z-index: 99;
}

[id$=-member-list-options] {
  position: absolute;
  top: 105%;
  left: 0;
  background-color: white;
  border: solid 1px black;
  border-radius: 5px;
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  width: 100%;
}

.option-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 50vh;
  overflow: scroll;
}
.option-wrapper label {
  display: block;
  color: black;
  padding: 0.25rem 0.5rem;
  margin: 0;
  min-width: 140px;
  max-width: 150px;
}
.option-wrapper label input {
  padding-left: 7.5px;
}
.option-wrapper label:hover {
  background-color: rgba(138, 190, 241, 0.8862745098);
}

.badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 35px;
}
.badge-wrapper .badge {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  transition: 0.3s;
  margin: 5px 0;
}
.badge-wrapper .badge .badge-name {
  flex-grow: 1;
  margin: 0 0.5rem;
}
.badge-wrapper .badge:hover {
  background-color: #70afed !important;
}

/* 換行 textarea */
.textarea-wrap {
  white-space: pre-wrap;
}

.table-align-top {
  vertical-align: top;
}

.filter-panel .col-6 {
  display: flex;
  flex-wrap: wrap;
}
.filter-panel input {
  max-width: 75%;
  margin-left: 5px;
  min-width: 60px;
}

.join-history-table {
  margin-top: 1rem;
  width: 100%;
  white-space: nowrap;
}
.join-history-table thead th {
  font-size: 0.9rem;
  padding: 0.5rem;
  vertical-align: middle;
  background-color: white;
  outline: 1px solid #dee2e6;
}
.join-history-table tbody td {
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.5rem;
  vertical-align: middle;
}
.join-history-table tbody th {
  background-color: white;
  outline: 1px solid #dee2e6;
  font-weight: 500;
  vertical-align: middle;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.5rem;
}

.form-control[readonly] {
  background-color: rgba(236, 245, 255, 0.8941176471);
}