/*
Theme Name: Flatsome Viviwipi Child
Description: Child theme for the Viviwipi/HI88 clone. Content, menus, images, and footer are managed in WordPress admin.
Author: Codex
Template: flatsome
Version: 1.1.0
*/

:root {
  --primary-color: #0471d1;
  --fs-color-primary: #0471d1;
  --fs-color-secondary: #1e73be;
  --fs-color-success: #81d742;
  --fs-color-alert: #fa0f0f;
  --fs-experimental-link-color: #0465db;
  --fs-experimental-link-color-hover: #111;
}

body {
  color: #000;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
  color: #0465db;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.container-width,
.full-width .ubermenu-nav,
.container,
.row {
  max-width: 1290px;
}

.row.row-collapse {
  max-width: 1260px;
}

.row.row-small {
  max-width: 1282.5px;
}

.row.row-large {
  max-width: 1320px;
}

.header-main {
  height: 90px;
}

#logo {
  width: 233px;
}

#logo img {
  max-height: 90px;
}

.header-bottom {
  min-height: 36px;
  background-color: rgba(2, 155, 221, 0.96);
}

.header-main .nav > li > a {
  line-height: 16px;
}

.header-bottom-nav > li > a {
  line-height: 36px;
}

.header:not(.transparent) .header-bottom-nav.nav > li > a {
  color: #fff;
}

.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.nav > li.current-menu-item > a,
.nav > li.current-menu-ancestor > a,
.header-bottom-nav.nav > li > a:hover {
  color: #fff;
}

.nav-box > li > a {
  border-radius: 0;
}

.header-button-1,
.header-button-2 {
  position: relative;
}

.header-button-1 a,
.header-button-2 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  border: 1px solid rgba(0, 115, 255, 0.45);
  color: #fff !important;
  background: linear-gradient(90deg, #1a8cff, #4db8ff, #1a8cff);
  background-size: 250% 100%;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.30);
  transition: all 0.25s ease-in-out;
}

.header-button-1 a:hover,
.header-button-2 a:hover {
  background-size: 300% 100%;
  transform: translateY(-3px);
  box-shadow: 0 7px 18px rgba(13, 110, 253, 0.40);
}

.header-button-1 a {
  animation: hi88Gradient 2.6s linear infinite, floatUp 1s ease-in-out infinite;
}

.header-button-2 a {
  animation: hi88Gradient 2.6s linear infinite, floatDown 1s ease-in-out infinite;
}

@keyframes hi88Gradient {
  0% { background-position: 0% 0; }
  100% { background-position: -250% 0; }
}

@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes floatDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

.header-button-1::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 45px;
  width: 0 !important;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid red;
  z-index: 12;
}

.header-button-1::before {
  content: 'Nhận lượt quay PG';
  background: red;
  color: #fff;
  position: absolute;
  white-space: nowrap;
  font-size: 10px;
  border-radius: 50px;
  padding: 3px 8px;
  top: -21px;
  left: 20px;
  z-index: 13;
  animation: zoomInOut 1.5s infinite ease-in-out;
}

.header-button-2::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 58px;
  width: 0 !important;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid red;
  z-index: 12;
}

.header-button-2::before {
  content: '+199k';
  background: red;
  color: #fff !important;
  position: absolute;
  white-space: nowrap;
  font-size: 10px;
  border-radius: 50px;
  padding: 3px 8px;
  top: -21px;
  left: 45px;
  z-index: 13;
  animation: zoomInOut 1.5s infinite ease-in-out;
}

@keyframes zoomInOut {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

main h2 {
  width: 100%;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 10px;
  background: linear-gradient(90deg, #0d6efd, #1aa3ff);
  box-shadow: 0 3px 10px rgba(0, 115, 255, 0.25);
}

.scroll-box,
.vivi-content-section .col-inner {
  max-height: 650px;
  overflow-y: auto;
  padding: 28px 32px;
  background: #fff;
  border: 2px solid #0d6efd;
  border-radius: 18px;
  box-shadow:
    0 8px 25px rgba(0, 115, 255, 0.12),
    0 0 12px rgba(0, 135, 255, 0.18);
  margin-top: 25px;
}

.scroll-box::-webkit-scrollbar,
.vivi-content-section .col-inner::-webkit-scrollbar {
  width: 10px;
}

.scroll-box::-webkit-scrollbar-thumb,
.vivi-content-section .col-inner::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0d6efd, #1aa3ff);
  border-radius: 10px;
}

.scroll-box::-webkit-scrollbar-track,
.vivi-content-section .col-inner::-webkit-scrollbar-track {
  background: #eaf4ff;
  border-radius: 10px;
}

.scroll-box p,
.scroll-box li,
.vivi-content-section p,
.vivi-content-section li {
  line-height: 1.65;
  font-size: 16px;
}

.footer-wrapper a {
  display: inline-block;
  transition: all 0.2s ease-in-out;
}

.footer-wrapper a:hover {
  transform: translateX(5px);
}

.footer-wrapper .row-small .col-inner[style*="0, 135, 220"],
.vivi-source-footer .col-inner {
  background-color: rgb(0, 135, 220);
}

.vivi-footer-main {
  background: #0471d1;
  padding: 14px 0 12px;
}

.vivi-footer-main .section-content {
  padding: 0 12px;
}

.vivi-footer-bank-row,
.vivi-footer-cards {
  max-width: 1290px;
}

.vivi-footer-bank-card > .col-inner,
.vivi-footer-card > .col-inner {
  background: #0087dc;
  border-radius: 15px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 4px 12px rgba(0, 38, 91, .12);
}

.vivi-footer-bank-card > .col-inner {
  margin: 0 5px 5px;
}

.vivi-footer-card > .col-inner {
  min-height: 100%;
}

.vivi-footer-main .img {
  margin-bottom: 0;
}

.vivi-footer-about .img {
  margin-bottom: 8px;
}

.vivi-footer-main .text,
.vivi-footer-main p,
.vivi-footer-main li,
.vivi-footer-main strong {
  color: #000;
}

.vivi-footer-main p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.vivi-footer-main h3 {
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  margin: 2px 0 12px;
  text-transform: lowercase;
}

.vivi-footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vivi-footer-main li {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  margin: 0;
  padding: 7px 0;
}

.vivi-footer-main li:last-child {
  border-bottom: 0;
}

.vivi-footer-main a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.vivi-footer-main a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.absolute-footer {
  padding: 10px 0 14px;
}

.absolute-footer .footer-primary {
  float: none;
  width: 100%;
  text-align: center;
}

.absolute-footer .footer-nav {
  border: 0;
  margin: 0 0 4px;
  padding: 0;
}

.absolute-footer .footer-nav li {
  margin: 0 8px 4px;
}

.absolute-footer .footer-nav a,
.absolute-footer .copyright-footer {
  color: #fff;
}

.footer-wrapper .vivi-footer-source-row {
  max-width: 1282.5px;
}

.footer-wrapper .vivi-footer-source-row > .col {
  padding-bottom: 5px;
}

.vivi-footer-source-bank > .col-inner,
.vivi-footer-source-menu > .col-inner,
.vivi-footer-source-keywords > .col-inner {
  background-color: rgb(0, 135, 220);
  border-radius: 15px;
  padding: 10px;
}

.vivi-footer-source-bank > .col-inner,
.vivi-footer-source-keywords > .col-inner {
  margin: 0 5px 5px;
}

.vivi-footer-source-bank .img,
.vivi-footer-source-keywords .text {
  margin-bottom: 0;
}

.vivi-footer-source-about > .col-inner {
  border: 5px solid rgb(0, 135, 220);
  border-radius: 18px;
  padding: 10px;
}

.vivi-footer-source-about .vivi-footer-centered-logo {
  margin-left: auto;
  margin-right: auto;
}

.vivi-footer-source-about .vivi-footer-centered-logo .img-inner {
  margin: 10px 0 -10px;
}

.vivi-footer-about-text,
.vivi-footer-about-text p,
.vivi-footer-about-text li,
.vivi-footer-about-text strong,
.vivi-footer-about-text a {
  color: #000;
}

.vivi-footer-about-text p {
  margin-bottom: 10px;
}

.vivi-footer-about-text ul {
  margin-bottom: 0;
}

.vivi-footer-about-text li {
  margin-bottom: 4px;
}

.vivi-footer-source-menu .section-title-container {
  margin-bottom: 12px;
}

.vivi-footer-source-menu .section-title {
  border-bottom: 2px solid rgba(255, 255, 255, .35);
  color: #fff;
  margin-bottom: 0;
}

.vivi-footer-source-menu .section-title-main {
  border-bottom-color: rgba(255, 255, 255, .5);
  color: #fff;
  font-size: 20px;
  text-transform: lowercase;
}

.vivi-footer-source-menu .section-title i {
  margin-left: 0;
  margin-right: 6px;
  opacity: 1;
}

.vivi-footer-source-menu .vivi-footer-menu-list a {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  display: flex;
  font-weight: 600;
  gap: 7px;
  padding: 8px 0;
}

.vivi-footer-source-menu .vivi-footer-menu-list a:last-child {
  border-bottom: 0;
}

.vivi-footer-source-menu .vivi-footer-menu-list i {
  color: #fff;
  min-width: 14px;
  text-align: center;
}

.vivi-footer-source-menu .ux-menu-link {
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.vivi-footer-source-menu .ux-menu-link:last-child {
  border-bottom: 0;
}

.vivi-footer-source-menu .ux-menu-link__link {
  align-items: center;
  color: #fff;
  display: flex;
  font-weight: 600;
  gap: 7px;
  padding: 8px 0;
}

.vivi-footer-source-menu .ux-menu-link__icon {
  color: #fff;
  min-width: 14px;
}

.vivi-footer-source-keywords,
.vivi-footer-source-keywords p,
.vivi-footer-source-keywords span {
  color: #fff;
}

.vivi-footer-source-keywords p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.absolute-footer .footer-nav {
  display: none;
}

.absolute-footer,
html {
  background-color: #00489b;
}

.absolute-footer.dark {
  color: #fff;
}

td {
  color: #000;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #5d5d5d91;
}

::-webkit-scrollbar-thumb:hover {
  background: #0f78c9;
}

.archive-page-header > .row {
  border: 1px dashed #02a9dd;
  border-radius: 7px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: inset 0 0 11px -1px #02a9dd;
  max-height: 650px;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  main h2 {
    padding: 10px 16px;
    font-size: 22px;
    margin: 20px 0 12px;
  }
}

@media (max-width: 549px) {
  .header-main {
    height: 70px;
  }

  #logo img {
    max-height: 70px;
  }
}
