@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-Light.woff2") format("woff2"),
    url("../fonts/Inter_18pt-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-LightItalic.woff2") format("woff2"),
    url("../fonts/Inter_18pt-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-Regular.woff2") format("woff2"),
    url("../fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-Italic.woff2") format("woff2"),
    url("../fonts/Inter_18pt-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-Medium.woff2") format("woff2"),
    url("../fonts/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-SemiBold.woff2") format("woff2"),
    url("../fonts/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-Bold.woff2") format("woff2"),
    url("../fonts/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-Black.woff2") format("woff2"),
    url("../fonts/Inter_18pt-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-Light.woff2") format("woff2"),
    url("../fonts/NotoSansTC-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-Regular.woff2") format("woff2"),
    url("../fonts/NotoSansTC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-Medium.woff2") format("woff2"),
    url("../fonts/NotoSansTC-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-SemiBold.woff2") format("woff2"),
    url("../fonts/NotoSansTC-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-Bold.woff2") format("woff2"),
    url("../fonts/NotoSansTC-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("../fonts/NotoSansTC-Black.woff2") format("woff2"),
    url("../fonts/NotoSansTC-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* CSS value  ***********************************************/
*:focus {
  /* outline: -webkit-focus-ring-color auto 5px !important;
    outline: 3px solid #00f !important; */
  text-decoration: none;
}

/* .row {
    margin-left: -20px;
    margin-right: -20px;
} */
.row.g-0 {
  margin-left: 0;
  margin-right: 0;
}

/* .row>* {
    padding-left: 20px;
    padding-right: 20px;
} */
.row.g-0>* {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1200px) {
  /* .row {
        margin-left: -25px;
        margin-right: -25px;
    } */
  /* .row>* {
        padding-left: 25px;
        padding-right: 25px;
    } */
}

:root {
  /* font size */
  --font-size-xxl: clamp(38px, 3.68vw, 64px);
  /* h1 */
  --font-size-xl: 48px;
  /* h2 */
  --font-size-lg: 40px;
  /* h3 */
  --font-size-md: 38px;
  /* h4 */
  --font-size-sm: 30px;

  --body-font-size: 18px;
  --body-line-height: 1.375;

  /* img aspect ratio */
  --img-aspect-ratio: 38 / 25;
}

.fs-xl {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.fs-lg {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.fs-22px {
  font-size: 22px;
}

.fs-20px {
  font-size: 20px;
}

.fs-18px {
  font-size: 18px;
}

.fs-14px {
  font-size: 14px;
}

@media all and (max-width: 1199.98px) {
  :root {
    --font-size-md: 32px;
    --font-size-sm: 24px;
  }
}

@media all and (max-width: 991.98px) {
  :root {
    --font-size-xxl: 44px;
    /* h1 */
    --font-size-xl: 40px;
    /* h2 */
    --font-size-lg: 36px;
    /* h3 */
    --font-size-md: 34px;
    --font-size-sm: 24px;
  }
}

@media all and (max-width: 767.98px) {
  :root {
    --font-size-xxl: 40px;
    /* h1 */
    --font-size-xl: 32px;
    /* h2 */
    --font-size-lg: 34px;
    /* h3 */
    --font-size-md: 30px;
    --font-size-sm: 20px;
  }
}

@media all and (max-width: 575.98px) {
  /* :root { */
  /* --font-size-xxl: 26px; */
  /* h1 */
  /* --font-size-xl: 24px; */
  /* h2 */
  /* --font-size-lg: 22px; */
  /* h3 */
  /* --font-size-md: 20px; */
  /* --font-size-sm: 16px; */
  /* } */
}

/* view value ***************************************************/
.viewsreference--view-title {
  display: none;
}

/* CSS color  ***************************************************/
:root {
  --alink-color: #3D3A39;
  --alink-hover-color: var(--custom-theme-color);
  --alink-hover-color-2: #C7C7C7;
  --black-color: color: #3F3B3A;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #BF1860;
  --bs-btn-border-color: #BF1860;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #BF1860;
  --bs-btn-hover-border-color: #BF1860;
  --bs-btn-focus-shadow-rgb: 38, 89, 206;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #BF1860;
  --bs-btn-active-border-color: #BF1860;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #BF1860;
  --bs-btn-disabled-border-color: #BF1860;
}

.text-white,
.text-white a {
  color: #fff;
}

.text-red,
.text-red a {
  color: #BF1961 !important;
}

.text-red a:hover,
.text-red a:active,
.text-red a:focus,
.text-white a:hover,
.text-white a:active,
.text-white a:focus {
  color: #192347 !important;
}

.alink {
  color: #BF1961;
  text-decoration: underline;
}

.alink:hover,
.alink:active,
.alink:focus {
  color: #14833E;
  text-decoration: underline;
}

/* CSS Document  ***************************************************/
body {
  color: #000;
  /* font-size: var(--body-font-size);     */
  font-family: "Inter", "Noto Sans TC", Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  -webkit-overflow-scrolling: touch;
  line-height: var(--body-line-height);
}

header ul,
header ol,
footer ul,
footer ol {
  margin-bottom: 0;
  padding-left: 0;
}

header ul li,
header ol li,
footer ul li,
footer ol li {
  list-style-type: none;
}

a,
p {
  color: #000;
  transition: color .35s;
  text-decoration: none;
  word-wrap: break-word;
}

a {
  transition: all 0.2s ease;
}

p {
  margin-bottom: 20px;
}

a:hover,
a:active,
a:focus {
  color: #0A66C2;
  text-decoration: none;
}

input[type=checkbox]:checked {
  background-color: #98272D !important;
  color: #ffffff !important;
  border: 1px solid #898989;
}

input[type='checkbox']:after {
  box-shadow: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: #161616;
  font-family: "Inter", "Noto Sans TC", Arial, sans-serif;
  font-weight: 500;
  line-height: calc(100% + 10px);
  margin-bottom: 20px;
}

h1,
.h1,
.block-banner .carousel-caption .contact-h1 {
  font-size: var(--font-size-xl);
}

h2,
.h2 {
  font-size: var(--font-size-lg);
}

h3,
.h3 {
  font-size: var(--font-size-md);
}

h4,
.h4 {
  font-size: var(--font-size-sm);
  /* font-size: var(--font-size-sm); */
}

h5,
.h5 {
  font-size: 20px;
}

h6,
.h6 {
  font-size: 20px;
}

.btn,
.field--name-bp-text .btn {
  background-color: #FFC72E;
  border: none;
  border-radius: 50px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  margin: 0;
  padding: 11px 25px;
}

table {
  max-width: 100%;
}

/* tasks tabs ***************************************************/
#block-i2-theme-local-tasks nav.tabs-wrapper {
  position: fixed;
  bottom: 0;
  z-index: 9999;
  background-color: #fff;
  margin: 15px;
  padding: 15px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  border-radius: 15px;
  left: 0;
}

#block-i2-theme-local-tasks nav.tabs-wrapper>ul.nav {
  border-bottom: none;
}

#block-i2-theme-local-tasks nav.tabs-wrapper>ul.nav>li {
  margin-left: 10px;
}

#block-i2-theme-local-tasks nav.tabs-wrapper>ul.nav>li>.nav-link.active {
  border-color: #fff;
  color: #fff;
  background-color: #BF165E;
}

#block-i2-theme-local-tasks nav.tabs-wrapper>ul.nav>li>a {
  background: #f5f5f5;
  border-radius: 5px;
  color: #000;
}

#block-i2-theme-local-tasks nav.tabs-wrapper>ul.nav>li>a:hover {
  color: #fff;
  background-color: #BF165E;
}

#block-i2-theme-local-tasks nav.tabs-wrapper>ul.nav>li>a[data-drupal-link-system-path="user/password"] {
  display: none;
}

@media all and (max-width: 1399.98px) {
  .btn {
    padding: 10px 20px;
  }
}

.btn:hover {
  background-color: #FFC700;
  color: #000;
  box-shadow: none;
}

@media all and (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: none;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    left: 0;
  }

  .navbar .nav-item .dropdown-menu {
    margin-top: 0;
  }
}
