/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
div#contact-vr img {
    max-width: 100% !important;
    max-height: 100% !important;
}
.header-wrapper.stuck {
    padding-left: 250px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.header-wrapper.stuck {
		padding-left: 0px !important;
	}
	.tieude.center {
	    display: flex;
	    align-items: center;
	    position: relative;
	    gap: 8px;
	    margin-bottom: 10px;
	    justify-content: start !important;
	}
	.list-games.gamehot > .gallery-col {
        max-width: calc((100% - 8px) / 2) !important;
    }
    .list-games.daga > .gallery-col,
    .list-games.thethao > .gallery-col,
    .list-games.songbai > .gallery-col,
    .list-games.nohu > .gallery-col,
    .list-games.gamebai > .gallery-col,
    .list-games.banca > .gallery-col,
    .list-games.xoso > .gallery-col,
    .list-games.arcade > .gallery-col,
    .list-games.crash > .gallery-col
     {
        max-width: calc((100% - 16px) / 3) !important;
    }
    .header-button-1 .button, .header-button-2 .button {
	    padding-left: 0px;
	    padding-right: 0px;
	}

}
 #main, #main.dark {
    background-color: #eef2f6;
}
#wrapper {
  margin-left: auto;
  width: calc(100% - 250px);
}

.custom_nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 100%;
  background: #fff;
  transition: 0.5s;
  width: 250px;
}
.custom_nav .action {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -20px;
  top: 15px;
  border-radius: 100px;
  width: 40px;
  height: 28px;
  margin: 0;
  padding: 0;
  min-height: 28px;
}
.custom_nav .action svg {
  height: 16px;
  width: 16px;
  transform: rotate(180deg);
}
body.admin-bar .custom_nav {
  top: 32px;
}
.custom_nav.hide {
  width: 58px;
}
.custom_nav.hide .action {
  left: 8px;
}
.custom_nav.hide .action svg {
  transform: rotate(0);
}
.custom_nav.hide .custom_nav_toolbar .button {
  display: none;
}
.custom_nav.hide .custom_header_nav > .menu-item > a {
  padding-left: 16px;
}
body.hide_nav #wrapper {
  width: calc(100% - 58px);
}
.custom_nav.hide .custom_header_nav .ux-sidebar-menu-icon {
  margin-right: 20px;
}
.custom_header_nav {
  padding: 0;
  list-style-type: none;
}
.custom_nav_toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px 0 10px;
  background-color: #f7f8fa;
  min-height: 60px;
  gap: 6px;
}
.custom_nav_toolbar .button {
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 0;
  min-height: 40px;
  width: calc(50% - 3px);
  white-space: nowrap;
  margin: 0 !important;
}
.custom_header_nav .ux-sidebar-menu-icon,
.custom_nav_toolbar .button img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}
.custom_nav_inner {
  height: calc(100% - 60px);
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #02bbe6 transparent;
}
.custom_header_nav > .menu-item {
  position: relative;
  margin-bottom: 0;
}
.custom_header_nav > .menu-item > a {
  color: #222;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
  height: 44px;
  padding: 0 8px 0 20px;
}
.custom_header_nav .ux-sidebar-menu-icon {
  flex-shrink: 0;
}
.custom_nav .custom_logo img {
  height: 70px;
  max-width: 100%;
  object-fit: contain;
}
.custom_header_nav > .menu-item > .sub-menu {
  padding: 10px 0 10px 20px;
  position: absolute;
  top: 0;
  left: 100%;
  margin: 0;
  list-style-type: none;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.custom_header_nav > .menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}
.custom_header_nav > .menu-item > .sub-menu:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 20px;
  width: calc(100% - 20px);
  height: 100%;
  border-radius: 8px;
  background: #161f2c;
}
.custom_header_nav > .menu-item > .sub-menu > .menu-item {
  margin-bottom: 0;
}
.custom_header_nav > .menu-item > .sub-menu > .menu-item > a {
  color: #fff;
  font-weight: 500;
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  white-space: nowrap;
}
.custom_header_nav > .menu-item > .sub-menu > .menu-item > a:hover {
  background: #2c354c;
}
@media (max-width: 849px) {
  #wrapper {
    width: 100%;
  }
  .custom_nav {
    display: none;
  }
}

/* Custom CSS */
.header-button .button {
  border: 0;
  min-width: 100px;
}

.header-button-2 .button {
  background-color: #e3f7fc;
  color: #016980;
}

.header-button-1 .button, .hnh-bt {
  background-color: #00bbe6 !important;
  color: #ffffff !important;
}
.hnh-bt:hover {
    border: none;
    box-sizing: none;
    box-shadow: none;
    /* margin-bottom: 0px !important; */
    /* padding-bottom: 0px !important; */
}
.tieude.center {
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
    margin-bottom: 10px;
    justify-content: center;
}
.hnh-bt {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 5px !important;
}
.announcement-box {
  align-items: center;
}

.announcement-box .icon-box-img svg {
  padding-top: 0;
}

.announcement-box .icon-inner {
  line-height: 1;
}

.notif-text {
  color: #222;
  display: flex;
  font-size: 13px;
}

.list-games {
  flex-wrap: wrap;
  gap: 8px;
}

.list-games > .gallery-col {
  max-width: calc((100% - 56px) / 8);
}

.list-games .box-image img {
  border-radius: 10px;
}

.tab-games ul.nav {
  background: linear-gradient(180deg, #88e3fa 0%, #00bbe6 100%);
  border-radius: 5px;
  padding: 4px;
}

.tab-games ul.nav > .tab > a {
  color: #fff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 85px;
}

.tab-games ul.nav > .tab > a:before {
  content: "";
  display: inline-block;
  height: 24px;
  width: 24px;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.tab-games ul.nav > .tab.active > a {
  background-color: #fff;
  color: #00bbe6;
}

.tab-games ul.nav > .tab.active > a:before {
  filter: unset;
}

#tab-game-hot > a:before {
  background-image: url(/wp-content/uploads/2025/07/icon-exclusive.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-đá-gà > a:before {
  background-image: url(/wp-content/uploads/2025/07/icon-da-ga.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-thể-thao > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_7_icon-the-thao.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-sòng-bài > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_8_icon-casino.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-nổ-hũ > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_9_icon-no-hu.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-game-bài > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_10_icon-table.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-bắn-cá > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_11_icon-fish.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-xổ-số > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_12_icon-xo-so.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-arcade > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_13_icon-arcade.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

#tab-crash > a:before {
  background-image: url(/wp-content/uploads/2025/07/imgi_14_icon-crash.svg);
  display: inline-block;
  height: 24px;
  width: 24px;
}

.tieude {
  display: flex;
  align-items: center;
  position: relative;
  gap: 8px;
  margin-bottom: 10px;
}

.tieude:before {
  content: "";
  background-color: #00bbe6;
  border-radius: 4px;
  display: inline-block;
  height: 16px;
  width: 4px;
}

.tieude p {
  margin-bottom: 0;
}

.event-imgs img {
  border-radius: 5px;
}

body:not(.ux-builder-iframe) .home-content {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: relative;
}

.home-content.expanded {
  max-height: 100% !important;
  padding-bottom: 30px;
}

body:not(.ux-builder-iframe) .home-content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    #eef2f6 10%,
    color-mix(in srgb, #eef2f6, transparent 100%) 100%
  );
  pointer-events: none;
}

body:not(.ux-builder-iframe) .home-content.expanded:before {
  background: transparent;
}

.home-content .toggle-btn {
  background-color: #00bce7;
  border: 0;
  font-size: 14px;
  border-radius: 5px;
  color: #fff;
  padding: 0;
  margin: 0;
  position: absolute;
  height: 30px;
  width: 110px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.absolute-footer {
  display: none;
}

.text-mb-0 p {
  margin-bottom: 0;
}

div.footer-imgs {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0.535rem 0.535rem
    color-mix(in srgb, rgba(0, 0, 0, 0.2), transparent 95%);
  padding: 8px;
  min-height: 55px;
  align-items: center;
  gap: 8px;
}

.footer-imgs img {
  height: 28px;
  width: auto;
}

.footer-imgs > .col {
  max-width: max-content;
}

.footer-socials {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0.535rem 0.535rem
    color-mix(in srgb, rgba(0, 0, 0, 0.2), transparent 95%);
  padding: 8px;
  min-height: 55px;
  align-items: center;
  display: flex;
  gap: 8px;
}

.footer-socials > a.icon {
  margin: 0;
}

.payment-imgs img {
  height: 18px;
}

.footer-row > .col {
  padding-bottom: 4px;
}

/* Custom CSS Tablet */
@media (max-width: 849px) {
  .tab-games ul.nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tab-games ul.nav > .tab > a {
    min-width: 80px;
    padding: 4px 0 0;
  }

  .list-games > .gallery-col {
    max-width: calc((100% - 32px) / 5);
  }
}

