/*讓網頁 載入google font語法*/

html {
  height: 100%;
}

body {
  /* font-family: 'Noto Sans TC', sans-serif; */
  color: #525b75 !important;
  padding-top: 3.5rem;
  height: 100%;
}

a {
  color: inherit !important;
  font-weight: normal;
  text-decoration: none !important;
}

table td {
  white-space: nowrap;
}

a,
div,
span,
input,
select,
textarea {
  font-size: 14px !important;
}

a:link {
  color: inherit;
  font-weight: normal;
  text-decoration: none;
}

.alert {
  padding: 0.4rem !important;
}

.btn-close {
  padding: 0.3rem !important;

}

.container {
  max-width: 1280px !important;
}

.text-primary {
  color: #65667a !important;
}

.text-dark {
  color: #3c3c3c !important;
}

.text-light {
  color: #a1a1a1 !important;
}

.bg-light {
  background-color: #f5f5f5 !important;
}

.bg-dark {
  background-color: #3c3c3c !important;
}

.text-s {
  font-size: 14px;
}

.text-tip {
  font-size: 12px;
  color: #5c5d60 !important;
}

/* 讓btn被點擊時不會變成有外框 */
.btn:focus,
.btn:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* 讓摺疊的清單按鈕的>能夠轉動 */
.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
  border: 0;
}

.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-outline-primary {
  border-color: #000000 !important;
}

.btn-outline-primary:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

.border {
  border: 1px solid #dbdbdb !important;
  border-radius: 5px;
  box-shadow: 0 0.2rem 0.5rem rgb(0 0 0 / 5%) !important;
}

.border-bottom {
  box-shadow: 0 0.2rem 0.5rem rgb(0 0 0 / 5%) !important;
}

.img-s {
  height: 80px;
  width: auto;
}

.dropdown-menu {
  z-index: 1024;
}

#fixed-bottom-div {
  z-index: 1024;
}

#officialProducts_table tr {
  vertical-align: middle;
}

.div-hide {
  display: none !important;
}

.table-wrapper {
  margin-top: 0.3rem;
  max-height: 80vh;
  overflow: auto;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .img-d {
    display: none !important;
  }

  .img-m {
    display: !important;
  }

  .desktop-show {
    display: none !important;
  }

  .mobile-show {
    display: !important;
  }
}

@media (min-width: 992px) {
  .img-d {
    display: !important;
  }

  .img-m {
    display: none !important;
  }

  .desktop-show {
    display: !important;
  }

  .mobile-show {
    display: none !important;
  }
}