@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("./assets//fonts/Alibaba-PuHuiTi-Regular.otf");
}

body {
  font-family: 'Alibaba PuHuiTi';
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-size: 46px;
  line-height: 63px;
}

a {
  color: var(--e-global-color-accent);
}

.current-page-ancestor a {
  color: var(--e-global-color-accent) !important;
}

.elementor-counter {
  display: flex;
  align-items: center;
}

.elementor-counter .elementor-counter-number-wrapper {
  margin-right: 15px;
}

#breadcrumb * {
  color: white;
}

.button-primary {
  background-color: var(--e-global-color-accent) !important;
  border-radius: 4px !important;
  color: white !important;
}

.button-primary a {
  color: white !important;
}

.wpforms-submit.button-primary {
  width: 100% !important;
}

#top-bar .trp-ls-shortcode-current-language {
  display: none
}

#top-bar .trp-language-switcher {
  height: 100%;
  max-height: 23px;
  text-align: right;
}

#top-bar .trp-language-switcher .trp-ls-shortcode-language {
  position: relative !important;
  display: block !important;
  width: auto !important;
  height: 100%;
  max-height: 19px;
  padding: 0;
  overflow: initial;
  visibility: visible;
  background: transparent;
  border: none
}

#top-bar .trp-language-switcher a {
  display: inline-block;
  background: transparent !important;
  padding: 0;
  font-size: 14px;
  line-height: 19px;
  text-decoration: none !important;
  color: black
}

#top-bar .trp-ls-shortcode-disabled-language:after {
  display: inline-block;
  visibility: visible;
  content: ' | '
}

#top-bar .trp-ls-shortcode-disabled-language[title="English"]:before {
  margin-right: 15px;
}

#top-bar .trp-language-switcher>div>a.trp-ls-shortcode-disabled-language {
  position: relative;
  margin-right: 6px;
}

#top-bar .trp-ls-shortcode-disabled-language[title="Chinese"]:after {
  position: absolute;
  top: -2px;
  right: -6px;
}

#top-bar .trp-ls-shortcode-disabled-language[title="Chinese"]+a:before {
  display: inline-block;
  visibility: visible;
  content: 'ENG';
}

a[title="English"] {
  width: 32px;
  visibility: hidden
}

a[title="English"]:before {
  visibility: visible;
  position: absolute;
  right: 0;
  display: block;
  content: 'ENG';
  font-size: 13px
}

a[title="Chinese"] {
  width: 32px;
  visibility: hidden
}

a[title="Chinese"]:before {
  visibility: visible;
  position: absolute;
  display: block;
  content: '中文';
  font-size: 13px
}

.blog .page-content,
.archive .page-content {
  padding-top: 83px;
  padding-bottom: 107px;
}

.category-wrapper {
  padding: 28px 32px;
  background: #F8F8F8;
}

.category-wrapper h2 {
  font-weight: normal;
  font-size: 20px;
  line-height: 24px;
}

.category-wrapper h2:after {
  display: block;
  content: '';
  width: 54px;
  height: 1px;
  margin-top: 14px;
  background-color: #335BAE;
}

.post-categories {
  list-style: none;
  padding: 0;
}

.post-categories li {
  position: relative;
  display: flex;
  padding-left: 13px;
  justify-content: space-between;
}

.post-categories li:before {
  display: inline-block;
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  background: var(--e-global-color-accent);
}

.post-categories a {
  color: #333 !important;
}

.post-list .post {
  margin-bottom: 40px;
  padding: 24px 30px;
  font-size: 14px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
}

.post-list h2 {
  font-size: 13px;
  line-height: 20px;
  color: var(--e-global-color-accent);
}

#fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
}

@media (min-width: 768px) {
  .section-before-primary:before {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background-color: var(--e-global-color-accent);
    ;
  }
}

@media (max-width: 767px) {
  .mobile-primary-background {
    background-color: var(--e-global-color-accent);
    ;
  }
}