/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  font-family: "Noto Sans CJK TC", "Microsoft JhengHei", "PingFang", "STHeiti", "sans-serif", "serif";
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}



@font-face {
  font-family: SHS_L;
  src: url("/image/img/new_index_layout/font/SourceHanSansTWHK-Light.otf");
}

@font-face {
  font-family: SHS_R;
  src: url("/image/img/new_index_layout/font/SourceHanSansTWHK-Regular.otf");
}

@font-face {
  font-family: SHS_B;
  src: url("/image/img/new_index_layout/font/SourceHanSansTWHK-Bold.otf");
}

@font-face {
  font-family: NOW_B;
  src: url("/image/img/FONt/NOWBOLD.OTF");
}

@font-face {
  font-family: NOW_M;
  src: url("/image/img/FONt/NOWMEDIUM.OTF");
}

@font-face {
  font-family: NOW_R;
  src: url("/image/img/FONt/NOWREGULAR.OTF");
}

@font-face {
  font-family: NOW_L;
  src: url("/image/img/FONt/NOWLIGHT.OTF");
}


/* ------------------------------- */
.close{
  position: absolute;
  right: 0;
}
button:focus{
  outline: 0px auto -webkit-focus-ring-color;

}

.filter-wrap{
  position: relative;
  max-width: 375px;
  margin: 0 auto;

}

.filter-section{
    padding: 0px;
    background-color: #fff;
    text-align: left;
    border-bottom: 3px solid #eee;
    margin-left: 2rem;
    margin-right: 2rem;
}
.btn-outline-dark:hover {
  color: #fff;
  background-color: #000000;
  border-color: #000000;
}

.select-btn, .order-btn{
  width: 49%;
}
.btn-outline-dark{
  width: 100%;
}
.btn-outline-dark.focus, .btn-outline-dark:focus {
  box-shadow: 0 0 0 0rem rgba(255, 255, 255, 0);
}

.btn-link{
  color: #000000;
}
.btn-link:hover{
  color: #676767;
  text-decoration: none;
}
.btn-link:focus {
  text-decoration: none;
}
.card-header{
    padding-right: 0;
    padding-left: 0;
    background-color: transparent;
    border-bottom: 0px;
}
.filter-title-btn{
  padding: 0.375rem 0rem;
  background-color: #fff;
  -webkit-appearance: button;
}
.filter-title{
  color: #000000;
  font-weight: 900;
  margin: auto 0;
  font-size: 1rem;
}
.card{
  border: 0px solid rgba(0, 0, 0, .0);
  border-bottom: 7px solid #eee;
  border-radius: 0rem;
}
.filter-title-btn .icon-arrow-up{
  display: none;
}
[aria-expanded="false"] .icon-arrow-down {
  display: inline;
}

[aria-expanded="false"] .icon-arrow-up {
  display: none;
}

[aria-expanded="true"] .icon-arrow-down {
  display: none;
}

[aria-expanded="true"] .icon-arrow-up {
  display: inline;
}

.card-body{
    padding: 0 1.5rem 1rem 1.5rem;
}

.card-body-level2{
    padding: 0 0.5rem 1rem 0.5rem !important;
}

.filter-selectbtn-wrap{
  gap: 5px;
}
.filter-selectbtn-wrap .btn{
  width: 24%;
  font-size: 0.8rem;
}
.filter-selectbtn-wrap.shap-filter .btn{
  width: auto;
  font-size: 0.8rem;
}

/* .btn-check:focus+.btn-outline-dark, .btn-outline-dark:focus{
    background-color: black;
    color: white;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
} */

.oftenused-title{

  font-weight: bolder;
  font-size: 18px
}

.color-btn{
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 1px solid #6c757d;
  cursor: pointer;
}
.btn-outline-secondary{
  color:#000000;
  border-color: #e6e6e6;
}
.btn-outline-secondary:hover{
  color:#000000;
  background-color: #ffffff;
  border-color: #000000;
}

.accordion-item{
  border-bottom: 7px solid #eee;
}

.color-text{
  font-size: 0.8rem;
  text-align: center;

}

.filter-selectbtn-wrap .size-btn{
  width: 19%;
}
.filter-footer .btn{
  width: 100%;
  border-radius: 0px;
  font-weight: 900;
}
.clear-btn, .apply-btn{
  width: 50%;
}
.apply-btn .btn{
  background-color: #000000;
  color: #fff;

}

.clear-btn .btn{
  background-color: #dadada;
  color: #949494;
}

.primary {
  color: white;
  background-color: #222222;
}

#filter-popup.popup.show > .popup-box {
  transform: translate(-50%, -50%);
}

#filter-popup.popup > .popup-box {
  position: absolute;
  width: 520px;
  max-width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  z-index: 50;
  overflow: hidden;
  margin-top: 0;
  margin-left: 0;
}

.filter-selectbtn-wrap .btn {
  width: auto;
  font-size: 0.8rem;
}

.filter-section .select-btn {
    padding-left: 0px;
    padding-top: 2rem;
    padding-bottom: 0.75rem;
}

.filter-section .select-btn .btn {
    text-align: left;
    font-size: 1.5rem;
    color: black;
    background-color: #fff;
    font-weight: bolder;
    padding: 0px;
    letter-spacing: 0.5rem;
}

.popup-content .filter-content-wrapper .card {
    border-bottom: 3px solid #eee;
    margin-left: 2rem;
    margin-right: 2rem;
}

.filter-footer {
    margin: 5px;
}

.card-body .filter-selectbtn-wrap .btn {
    width: 32.38%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 960px) {
    .card-body .filter-selectbtn-wrap .btn {
        width: 48%;
    }

    .filter-section .select-btn {
        padding-top: 1rem;
    }
}

.text-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    font-size: 1rem;
    font-weight: 900;
    width: 100%;
    padding: 0 0 15px 0;
}

.text-with-lines::before,
.text-with-lines::after {
    content: "";
    flex: 1;
    border-top: 1px solid #000;
    margin: 0 10px;
}
.text-with-lines.mt-custom-4{
    margin-top: 1.5rem !important;
}
