:root {
  --color-main: #000;
  --color-v1: #0a0a0a;
  --color-v2: #c3ae89;
  --color-v3: #ba9d75;
  --color-v4: #000;
  --color-scrollbar: #000;
  --font-main: "Roboto", sans-serif;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 1080px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  font-family: var(--font-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

input,
button,
select,
textarea {
  font-family: var(--font-main);
  outline: none;
}

body::-webkit-scrollbar-track {
  background-color: #fff;
}

body::-webkit-scrollbar {
  width: 0.5rem;
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar);
}

a,
i,
input[type="submit"],
button {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.s-content ol {
  list-style: decimal;
  margin-left: 15px;
  margin-bottom: 10px;
}

.s-content ul {
  list-style: initial;
  margin-left: 15px;
  margin-bottom: 10px;
}

.s-content li {
  list-style: inherit;
  margin-bottom: 5px;
}

.s-content p {
  margin-bottom: 10px;
}

.s-content img {
  display: block;
  max-width: 100%;
  margin: 10px auto;
  width: auto !important;
  -o-object-fit: contain;
  object-fit: contain;
  height: auto !important;
}

.s-content table,
.s-content iframe {
  max-width: 100%;
  width: 100%;
}

.s-content table {
  border-collapse: collapse;
  width: 100%;
  border: solid 1px rgba(0, 0, 0, 0.431372549);
}

.s-content table td {
  border-collapse: collapse;
  border: solid 1px rgba(0, 0, 0, 0.431372549);
  padding: 3px;
}

.s-content h1,
.s-content h2,
.s-content h3,
.s-content h4,
.s-content h5,
.s-content h6 {
  display: block;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.s-content h1 {
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
}

.s-content h2 {
  font-size: 1.5em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.s-content h3 {
  font-size: 1.17em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.s-content h4 {
  font-size: 1em;
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}

.s-content h5 {
  font-size: 0.83em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.s-content h6 {
  font-size: 0.67em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.s-content-table-checked table {
  border: none;
}

.s-content-table-checked table td {
  border: none;
  border-bottom: 1px solid #ececec;
  padding: 8px 3px;
}

.s-content-table-checked table tr td:first-child::before {
  content: "\f00c";
  color: #ba9d75;
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  margin-right: 0.5rem;
}

.s-content .caption-img {
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.9em;
  font-style: italic;
  padding: 0.4em;
  margin-top: -10px;
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.c-img {
  position: relative;
  display: block;
}

.c-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.scale-img {
  transition: all 0.5s;
  overflow: hidden;
}

.scale-img img {
  scale: 1.1;
  transition: all 0.5s;
}

.img__ {
  position: relative;
  overflow: hidden;
}

.img__:hover::after {
  -webkit-animation: shine 0.75s;
  animation: shine 0.75s;
}

.img__::after {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.hv_img {
  display: block;
  position: relative;
  overflow: hidden;
}

.hv_img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  content: "";
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.hv_img:hover::before {
  -webkit-animation: circle 0.75s;
  animation: circle 0.75s;
}

@keyframes circle {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img__contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
  -o-object-fit: contain;
}

.img__h-full img {
  height: 100%;
}

.img__w-full img {
  width: 100%;
}

.img__center img {
  display: block;
  margin: 0 auto;
}

.zoom__img {
  overflow: hidden;
}

.zoom__img img {
  transition: all 5s;
}

.zoom__img:hover img {
  scale: 1.3;
  transition: all 5s;
}

#map iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

body.no-scroll {
  overflow: hidden;
}

.module-modal {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.module-modal.active {
  visibility: visible;
  opacity: 1;
}

.module-modal .modal-content {
  transform: translateY(-5rem);
  transition: all 0.3s;
}

.module-modal.active .modal-content {
  transform: translateY(0);
}

.swiper-home-banner .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  background: transparent;
  border-radius: 50%;
}

.swiper-home-banner .swiper-pagination-bullet-active {
  background: #fff;
  border-color: #fff;
}

.module-tabs .tab-content {
  display: none;
}

.module-tabs .tab-content.active {
  display: block;
}

.module-tabs[module-animation] .tab-content {
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
  -webkit-transform: translateY(3rem);
  transform: translateY(3rem);
}

.module-tabs[module-animation] .tab-content.active {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  opacity: 1;
  pointer-events: auto;
  position: relative;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.swiper-gallery-image .swiper-slide img {
  scale: 0.91;
  opacity: 0.5;
  transition: all 0.5s;
}

.swiper-gallery-image .swiper-slide p {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s;
}
.swiper-gallery-image .swiper-slide-active p {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s;
}

.swiper-gallery-image .swiper-slide-active img {
  scale: 1;
  opacity: 1;
  transition: all 0.5s;
}

@keyframes sparkle {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: -500px -1000px, -400px -400px, 300px 300px;
  }
}

.effect-sparkle {
  pointer-events: none;
  height: 100%;
  left: 0;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  right: 0;
  top: 0;
  animation: sparkle 60s linear infinite;
  background-image: url(../images/sparkle1.png), url(../images/sparkle2.png);
}

.menu__footer-item ul a {
  display: block;
  margin-bottom: 0.25rem;

  &:hover {
    color: var(--color-v2);
  }
}

.list-icon {
  position: fixed;
  right: 1.25rem;
  bottom: 4.375rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
}

.btn-icon[title="Message"] span {
  background: url(../images/mess.png) no-repeat center center;
  background-size: 100% 100%;
}

.btn-icon[title="Hotline"] span {
  background: url(../images/call.png) no-repeat center center;
  background-size: 100% 100%;
}

.btn-icon[title="Zalo"] span {
  background: url(../images/zalo.png) no-repeat center center;
  background-size: 100% 100%;
}

.btn-icon[title="Youtube"] span {
  background: url(../images/youtube.png) no-repeat center center;
  background-size: 100% 100%;
}

.btn-icon[title="Tiktok"] span {
  background: url(../images/tiktok.png) no-repeat center center;
  background-size: 100% 100%;
}

.btn-icon[title="Facebook"] span {
  background: url(../images/fb.png) no-repeat center center;
  background-size: 100% 100%;
  border: 1px solid #fff;
  border-radius: 50%;
}

.btn-icon {
  position: relative;
}

.btn-icon span {
  transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 1;
  position: relative;
  display: block;
  margin-bottom: 1.5rem;
}

.btn-icon::before {
  content: "";
  width: 3.125rem;
  height: 3.125rem;
  top: -0.3125rem;
  right: -0.3125rem;
  position: absolute;
  z-index: -1;
  background-color: transparent;
  border-radius: 100%;
  border-width: 2px;
  border-style: solid;
  opacity: 0.5;
  animation-iteration-count: infinite;
  animation-name: zoomIn;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.btn-icon::after {
  content: "";
  width: 3.75rem;
  height: 3.75rem;
  top: -0.625rem;
  right: -0.625rem;
  position: absolute;
  z-index: -1;
  transition: all 0.2s ease-in-out;
  border-radius: 100%;
  border: 2px solid transparent;
  opacity: 0.75;
  animation-iteration-count: infinite;
  animation-name: pulse;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.btn-icon[title="Tiktok"]::before {
  border-color: #000;
}

.btn-icon[title="Tiktok"]::after {
  background-color: #00000070;
}

.btn-icon[title="Youtube"]::before {
  border-color: red;
}

.btn-icon[title="Youtube"]::after {
  background-color: rgba(255, 0, 0, 0.452);
}

.btn-icon[title="Message"]::before,
.btn-icon[title="Facebook"]::before,
.btn-icon[title="Zalo"]::before {
  border-color: #1182fc;
}

.btn-icon[title="Message"]::after,
.btn-icon[title="Facebook"]::after,
.btn-icon[title="Zalo"]::after {
  background-color: rgba(17, 130, 252, 0.45);
}

.btn-icon[title="Hotline"]::before {
  border-color: #158e45;
}

.btn-icon[title="Hotline"]::after {
  background-color: rgba(94, 255, 0, 0.452);
}

#module-tinh-tien-vay-von-ngan-hang table {
  border-collapse: collapse;
  text-align: center;
  border-right: 1px solid #ebebeb;
  width: 100%;
}

#module-tinh-tien-vay-von-ngan-hang table thead {
  background: #ba9d75;
  color: #fff;
}

#module-tinh-tien-vay-von-ngan-hang table thead th {
  color: #fff;
  padding: 0.625rem 0.25rem;
  font-size: 0.9375rem;
  text-transform: none;
  font-weight: 700;
  text-align: center;
}

#module-tinh-tien-vay-von-ngan-hang table tbody tr {
  background: #fff;
}

#module-tinh-tien-vay-von-ngan-hang table tbody tr:nth-child(even) {
  background: #f5f5f5;
}

#module-tinh-tien-vay-von-ngan-hang table tbody tr td {
  border-right: 1px solid #ebebeb;
  padding: 0.625rem 0.25rem;
  word-break: break-all;
  font-size: 0.875rem;
  color: #666;
}

#module-tinh-tien-vay-von-ngan-hang table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

#module-tinh-tien-vay-von-ngan-hang table tfoot {
  position: sticky;
  bottom: 0;
  z-index: 1;
}

#module-tinh-tien-vay-von-ngan-hang table tfoot {
  background: #d4e3f3;
}

#module-tinh-tien-vay-von-ngan-hang table tfoot td {
  padding: 0.625rem 0.25rem;
}

#module-tinh-tien-vay-von-ngan-hang[data-loai-hinh-vay="1"]
  #module-tinh-tien-vay-von-ngan-hang-so-tien-vay-thang {
  display: none;
}

.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
}

.pagination {
  text-align: center;
  margin-top: 1rem;
}

.pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-v3);
  color: white;
  min-width: 2.1875rem;
  height: 2.1875rem;
  border-radius: 2.1875rem;
  margin-right: 0.9375rem;
  padding: 0 0.5rem;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ebebeb;
  min-width: 2.1875rem;
  height: 2.1875rem;
  border-radius: 2.1875rem;
  margin-right: 0.9375rem;
  transition: 0.3s;
  padding: 0 0.5rem;
}

.pagination a:hover {
  background: var(--color-v3);
  color: white;
}

@media not all and (min-width: 1080px) {
  .fixed__menu-header {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(80%, 320px);
    height: 100dvh;
    background: hsla(0, 0%, 100%, 0.95);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: all 0.3s;
  }

  .fixed__menu-header.active {
    left: 0;
  }

  .menu-header a {
    display: block;
    color: #4a4a4ad9;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e0e0e0;
  }

  .menu-header a:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}

@media (min-width: 1080px) {
  .menu-header ul {
    display: flex;
  }

  .menu-header > ul > li > a {
    display: block;
    padding: 0 0.75rem;
    position: relative;
    text-transform: uppercase;
  }

  .menu-header > ul > li:not(:last-child) > a::after {
    content: "";
    position: absolute;
    right: 0;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    background-color: #ccc;
  }
}

.container {
  max-width: 1080px;
}
