/* default scrollbar style */
::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.15);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

html {
  font-family: "San Francisco", "Helvetica Neue", Helvetica, Arial, Tahoma, sans-serif !important;
  overflow-x: hidden;
}

body {
  font-family: "San Francisco", "Helvetica Neue", Helvetica, Arial, Tahoma, sans-serif !important;
  margin-right: calc(100% - 100vw) !important;
  letter-spacing: 0.025em;
  color: #333;
}

@media (max-width: 768px) {
  html {
    font-size: 14px !important;
  }
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 641px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 769px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 897px) {
  .container {
    max-width: 896px !important;
  }
}

@media (min-width: 1025px) {
  .container {
    max-width: 1024px !important;
  }
}

@media (min-width: 1281px) {
  .container {
    max-width: 1280px !important;
  }
}

@media (min-width: 1537px) {
  .container {
    max-width: 1536px !important;
  }
}

@media (min-width: 1921px) {
  .container {
    max-width: 1920px !important;
  }
}

/* main menu */
.collapse-btn > span {
  background: #333;
  display: block;
  height: 2px;
  margin-top: -1px;
  position: absolute;
  text-indent: -9999em;
  top: 50%;
  width: 100%;
}

.collapse-btn > span::before,
.collapse-btn > span::after {
  background: #333;
  content: "";
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  text-indent: -9999px;
  transform-origin: 11%;
  transition: transform 0.2s linear 0s;
  width: 25px;
}

.collapse-btn > span::before {
  top: -7px;
}

.collapse-btn > span::after {
  bottom: -7px;
  top: auto;
}

.colsed > span {
  background: transparent;
}

.colsed > span::before {
  transform: rotate(45deg);
}

.colsed > span::after {
  transform: rotate(-45deg);
}

.drop-menu > li > ul > li > a > span {
  width: max-content;
  transform: translateY(-2px);
  transition: transform 0.3s;
}

.drop-menu > li > ul {
  transition-property: height;
  transition-duration: 0.2s;
}

.drop-menu > li:hover > ul span {
  transform: translateY(0px);
}

.mini-collapse-menu {
  transition: all 0.3s;
}

/* default icon style from backend */
.icon {
  width: 20px;
  height: 20px;
}

/* some html style in utext */
.utext-icon > svg {
  width: 16px;
  height: 16px;
  fill: black;
}

.utext-em em {
  color: #eb9402;
  font-style: normal;
}

.utext-a a {
  color: #eb9402;
  transition: all 0.2s;
}

.utext-a a:hover {
  color: #ed145b;
}

.utext-a p {
  line-height: 30px;
  padding: 10px 0;
}

/* common title */
.title {
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #333;
}

.subTitle {
  color: #555;
  font-size: 1.125rem;
  line-height: 30px;
  margin: 0 auto;
  width: 70%;
}

.title-padding {
  padding-bottom: 80px;
}

.section-padding {
  padding-top: 130px;
  padding-bottom: 120px;
}

@media (max-width: 1536px) {
  .subTitle {
    width: 80%;
  }
}

@media (max-width: 1024px) {
  .subTitle {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section-padding {
    padding-top: 70px;
    padding-bottom: 60px;
  }

  .title-padding {
    padding-bottom: 50px;
  }
}

/* item's hover style */
.transform-underline span {
  transition: background-size 1s;
  background: linear-gradient(to right, black, black) no-repeat right bottom;
  background-size: 0 1.2px;
}

.transform-underline:hover span {
  background-position: left bottom;
  background-size: 100% 1.2px;
}

.pagination a:hover svg path {
  fill: white;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.content-scroll-none::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
}

/* category tab active state */
.category-tab.active {
  background: #eb9402;
  color: white;
  border-color: transparent;
}

.category-tab:hover {
  background: #eb9402;
  color: white;
  border-color: transparent;
}

.category-tab.active:hover {
  background: #eb9402;
  color: white;
}
