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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-grey: #cccccc;
  --FontAwesome: "Font Awesome 5 Free";
}
#header_main .row {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 34px;
}
div#top_header {
  display: flex;
  gap: 26px;
  align-items: center;
}

div#top_header a {
  border-radius: 3px;
  background-color: #fff;
  line-height: 30px;
  display: flex;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  padding: 15px 20px;
}
div#top_header a span {
  background: linear-gradient(to right, #650b0d 0%, #c3182c 100%);
  -webkit-background-clip: text;
  color: transparent;
}
div#top_header a:hover span {
  background: linear-gradient(to right, #c3182c 0%, #650b0d 100%);
  -webkit-background-clip: text;
  color: transparent;
}
.ss-nha-tai-tro {
  padding-top: 0 !important;
}

.home-binh-chon::before,
.footer1::after {
  content: "";
  width: 30%;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 4px;
  background: linear-gradient(
    to right,
    rgba(255, 0, 0, 0.5) 0%,
    /* Đỏ nhạt ở bên trái */ rgba(255, 0, 0, 1) 50%,
    /* Đỏ đậm ở giữa */ rgba(255, 0, 0, 0.5) 100% /* Đỏ nhạt ở bên phải */
  );
  position: absolute;
  bottom: 0;
  border-radius: 100%;
}
.home-binh-chon::before {
  top: 0;
}
.ss-nha-tai-tro h2,
.home-auction .ss-title {
  text-align: center;
}
.ss-title h2 {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 50px;
  position: relative;
}
.home-binh-chon {
  padding-top: 20px;
  position: relative;
}
.home-binh-chon h2 {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  margin-bottom: 40px;
}
ul.tabs_category {
  display: flex;
  flex-wrap: wrap; /* Tự xuống hàng nếu không đủ chỗ */
  justify-content: center; /* Căn giữa theo trục ngang */
  gap: 30px;
  margin-bottom: 30px;
  padding: 0;
}

ul.tabs_category li {
  aspect-ratio: 9 / 5;
  flex: 0 0 calc(25% - 30px); /* Mỗi cột chiếm 25% trừ khoảng cách */
  border-radius: 16px;
  margin: 0;
}
ul.tabs_category li a {
  position: relative;
  padding: 15px;
  display: block;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  background-size: 100%;
  background-repeat: no-repeat;
}

ul.tabs_category li a:hover::before {
  -webkit-animation: shine 0.75s;
  animation: shine 0.75s;
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
ul.tabs_category li a::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.3) 100%
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
ul.tabs_category li a span {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-transform: capitalize;
  color: #fff;
  position: relative;
  height: 60px;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

ul.tabs_category li a span:after {
  position: absolute;
  content: "";
  width: 74px;
  height: 2px;
  background: #fff;
  left: 0;
  bottom: -10px;
}
.panelContainer {
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  padding: 40px;
  height: 810px;
}
.panelContainer .panel {
  display: flex;
  gap: 50px;
  height: 100%;
}

.panelContainer .panel .banner_category {
  min-width: 300px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  width: 300px;
}
.title-img {
  text-align: center;
}
.minigame_content {
  position: relative;
  margin-bottom: 20px;
  border-radius: 10px;
}
.minigame_content .thumbnail img,
.banner_category img {
  border-radius: 5px;
}
.minigame_content .text {
  position: absolute;
  top: 120px;
  text-align: center;
  left: 80px;
  color: #fff;
  font-size: 18px;
}
.minigame_content .text h2 {
  font-size: 40px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0;
}
.button-mnigame {
  position: absolute;
  bottom: 80px;
  left: 210px;
  display: flex;
  gap: 20px;
}
.button-mnigame a {
  color: #fff !important;
}
.iframe {
  height: 800px;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}
.iframe iframe {
  height: 760px;
}

.home-auction {
  padding-bottom: 60px !important;
}

.home-auction .auction_content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}
.auction_content .auction_link,
.auction_content .auction_date {
  width: 45%;
}
.home-auction .banner-pc {
  margin-bottom: 30px;
}
.home-auction .auction_content .auction_date,
.auction_link a {
  padding: 20px 25px;
  border-radius: 5px;
  background: linear-gradient(90deg, #c3182c 0%, #650b0d 100%);
  min-width: 490px;
  min-height: 105px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  font-size: 30px;
  font-weight: 700;
  line-height: 32px;
  color: #fff;
}
.auction_link a {
  justify-content: center;
}
.auction_counter .text-time {
  font-size: 20px;
}
.auction_counter .ux-timer strong {
  display: none;
}

.auction_counter .ux-timer span {
  background: none;
  padding: 0 !important;
  font-size: 30px;
  line-height: 1;
  margin: 0;
}

.auction_counter .ux-timer {
  width: auto;
  display: inline-flex;
  margin: 0;
}

.auction_counter .ux-timer span:not(:last-child):after {
  content: ":";
}

.home-news .title h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 60px;
	padding:0;
	display:block;
  position: relative;
}
.row_new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 30px;
  column-gap: 30px;
  row-gap: 30px;
}
.home-news .box .box-image {
  border-radius: 24px;
}
.home-news .box .box-text {
  padding: 20px 0;
}
.home-news .box .box-text h3 {
  margin: 0;
}
.home-news .box .box-text h3 a {
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: #fff;
  margin: 0;
}

section.ss_rules {
  padding-bottom: 40px;
}
a.link.btn_home {
  min-width: 486px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff001f 0%, #790a10 100%);
  padding: 20px;
  line-height: 2.5;
  display: flex;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.rules_wrap a.link.btn_home {
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 60px;
  height: 105px;
}

.ss_rules .accordion-item a.accordion-title {
  border: none;
  padding: 35px;
  border-radius: 15px;
  background: linear-gradient(180deg, #ff001f 0%, #790a10 100%);
  margin-bottom: 15px;
}
.ss_rules .accordion-item a.accordion-title span {
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  color: #fff;
}
.ss_rules .accordion-item a.accordion-title button.toggle {
  left: auto;
  right: 35px;
  margin: 0;
  border: none;
  border-radius: 0;
  top: calc((100% - 36px) / 2);
  opacity: 1;
  color: #fff;
}
.ss_rules .active > .toggle {
  transform: rotate(90deg) !important;
}
.ss_rules .accordion-item .accordion-inner {
  border-radius: 20px;
  background: #fff;
  padding: 50px 80px;
  position: relative;
  color: #9c0714;
  margin-bottom: 15px;
}
.result_item .result_title h2 {
  border-radius: 8px;
  background: linear-gradient(90deg, #c3182c 0%, #650b0d 100%);
  padding: 26px;
  display: flex;
  margin-bottom: 32px;
  margin-top: 0px !important;
  font-size: 24px;
  font-weight: 700;
  justify-content: center;
  color: #fff;
  text-transform: uppercase;
}
.result_item:last-child .resultPanels ul.result_nav {
  display: none;
}
.resultPanels ul.result_nav {
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.resultPanels ul.result_nav li {
  flex: 1;
  margin: 0;
}

.resultPanels ul.result_nav li a {
  border-radius: 5px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #650b0d;
  font-size: 24px;
  font-weight: 700;
  padding: 16px;
  line-height: 1;
}
.resultPanels ul.result_nav li.active a,
.resultPanels ul.result_nav li a:hover {
  background: linear-gradient(180deg, #b60010 0%, #ee5663 100%);
  color: #fff;
}
.result_item .tab-panels {
  border-radius: 28px;
  background: #ca3346;
  padding: 0 55px;
  position: relative;
}
.result_item .tab-panels:before,
.result_item .tab-panels:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 28px;
  left: 0;
  right: 0;
}
.result_item .tab-panels:before {
  background: #db7783;
  z-index: 0;
  width: calc(100% - 36px);
  margin: 0 auto;
}
.result_item .tab-panels:after {
  width: calc(100% - 72px);
  margin: 0 auto;
  background: #edbbc1;
  z-index: 0;
}
.result_item .tab-panels .entry-content {
  border-radius: 40px;
  background: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.result_item {
  padding-bottom: 60px;
}
/* footer */
.nha-tai-tro .col-inner > span {
  background-color: #ca3346;
  border-radius: 40px;
  width: 95%;
  display: inline-table;
}
.nha-tai-tro .col-inner > span > span {
  background-color: #db7783;
  border-radius: 40px;
  width: 95%;
  display: inline-table;
}
.nha-tai-tro .col-inner > span > span > span {
  background-color: #edbbc1;
  border-radius: 40px;
  width: 95%;
  display: inline-table;
}
.nha-tai-tro .col-inner > span > span > span > span {
  background-color: #fff;
  border-radius: 40px;
  width: 95%;
  display: inline-table;
  padding: 60px;
}
.footer1::after {
  top: 0;
}
.footer1 .footer-logo {
  background-size: 40%;
  background-position: 10% 50%;
}

.footer1 h2 {
  font-size: 40px;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 5px;
  position: relative;
  display: inline;
  padding-right: 60px;
}
.footer1 .title-saodoi h2::before {
  content: "";
  background-image: url(../flatsome-child/assets/images/saodoi-ok.png);
  background-repeat: no-repeat;
  background-size: 50px;
  position: absolute;
  top: -10px;
  background-position: 100%;
  width: 100%;
  height: 100%;
}
.footer1 .icon-box-text p {
  font-size: 18px;
}
.footer1 .title-tv h3 {
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.footer1 .title-tb h3 {
  font-size: 25px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.footer1 .title-dh h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.footer2 h3 {
  font-size: 25px;
  text-transform: uppercase;
}
.footer2 p {
  font-size: 14px;
}
.absolute-footer {
  display: none;
}
.contact_bar {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-flow: column;
  gap: 16px;
  z-index: 99999;
}

.contact_bar .contacy_item a {
  display: flex;
  width: 55px;
  height: 55px;
  justify-content: center;
  align-items: center;
  background: #c3182c;
  border-radius: 50%;
  position: relative;
}

.contact_bar .contacy_item a span {
  position: absolute;
  right: calc(100% + 4px);
  width: max-content;
  border-radius: 10px;
  background: #c3182c;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  color: #fff;
}

.contact_bar .contacy_item a span {
  transform: translateX(-15px);
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
}

.contact_bar .contacy_item a:hover span {
  transform: translateX(0);
  transition: 0.5s;
  opacity: 1;
  visibility: visible;
}
.contact_bar_mb {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 9999999999;
  background: linear-gradient(180deg, #ee5663 0%, #b60010 100%);
}

.contact_bar_mb {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  gap: 10px;
  justify-content: space-between;
}

.contact_bar_mb a {
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
}
@media (min-width: 740px) {
  .contact_bar_mb {
    display: none;
  }
}
@media (max-width: 1024px) {
  .panelContainer {
    padding: 20px;
    height: 800px;
  }
  .panelContainer .panel {
    flex-flow: column-reverse;
    gap: 30px;
  }
  .panelContainer .panel .banner_category {
    padding: 0;
    background: none;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
  }
  .panelContainer iframe {
    height: 720px !important;
  }
  .minigame_content .text {
    left: 25px;
  }
  .button-mnigame {
    left: 130px;
    gap: 55px;
  }
  .iframe {
    height: 600px;
  }
  .iframe iframe {
    height: 560px;
  }
  .ss-title h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .home-auction .auction_content .auction_date,
  .auction_link a {
    min-width: initial;
    font-size: 20px;
  }
  .home-news .title h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .home-news .box .box-text h3 a {
    font-size: 14px;
  }
  .result_item .result_title h2 {
    padding: 15px;
    font-size: 20px;
    margin-bottom: 20px;
  }
  .resultPanels ul.result_nav {
    margin-bottom: 20px;
    gap: 20px;
  }

  .resultPanels ul.result_nav li a {
    padding: 10px;
    font-size: 20px;
    line-height: 1.2;
  }
  .contact_bar {
    gap: 10px;
    right: 10px;
  }
  .contact_bar .contacy_item a {
    width: 40px;
    height: 40px;
    padding: 11px;
  }
}

@media only screen and (max-width: 849px) {
  div#top_header a {
    font-size: 16px;
    padding: 10px 15px;
  }
  #header_main .row {
    top: 15px;
  }
  div#top_header {
    gap: 0;
  }

  ul.tabs_category {
    justify-content: flex-start;
  }
  ul.tabs_category li {
    flex: 0 0 calc(33.33% - 30px);
  }
  .title-img img {
    max-width: 90%;
    margin: 15px 0;
  }
  .minigame_content .text {
    font-size: 16px;
  }
  .minigame_content .text h2 {
    font-size: 25px;
  }
  .minigame_content .text {
    top: 70px;
    left: auto;
    right: 28px;
  }
  .button-mnigame {
    left: auto;
    bottom: 10px;
    right: 30px;
    gap: 60px;
  }
  .auction_counter .text-time {
    font-size: 16px;
  }
}
@media only screen and (max-width: 549px) {
  div#top_header a {
    font-size: 14px;
  }
  .ss-title h2 {
    font-size: 24px;
  }
  .ss-nha-tai-tro {
    padding-bottom: 0 !important;
  }
  .ss-nha-tai-tro .ss-title h2 {
    font-size: 20px;
  }
  .ss-nha-tai-tro::after,
  .footer1::after {
    width: 50%;
    height: 3px;
  }

  ul.tabs_category {
    gap: 5px;
  }
  ul.tabs_category li {
    flex: 0 0 calc(33.33% - 5px);
  }
  ul.tabs_category li a {
    padding: 5px;
  }
  ul.tabs_category li a span {
    font-size: 8px;
    line-height: 1.2;
    height: 30px;
  }
  ul.tabs_category li a span:after {
    bottom: -5px;
    width: 20px;
  }
  .title-img img {
    max-width: 100%;
  }
  .minigame_content .text {
    top: 30px;
    left: auto;
    right: 10px;
  }
  .minigame_content .text {
    font-size: 10px;
  }
  .minigame_content .text h2 {
    font-size: 15px;
  }
  .button-mnigame a {
    font-size: 10px;
  }
  .button-mnigame {
    bottom: 2.2px;
    right: 15px;
    gap: 20px;
  }
  .iframe {
    height: 760px;
    padding: 15px;
  }
  .iframe iframe {
    height: 730px;
  }
  .home-auction .auction_content {
    gap: 25px;
  }
  .auction_counter .text-time {
    font-size: 7px;
    text-align: center;
  }
  .home-auction .auction_content .auction_date,
  .auction_link a {
    padding: 10px 15px;
    font-size: 12px;
    line-height: 1.5;
    min-height: 60px;
  }
  .auction_counter .ux-timer span {
    font-size: 18px;
  }

  .home-news .title h2 {
    font-size: 16px;
  }
  .home-news .title h2:after {
    content: "";
    position: absolute;
    bottom: -9px;
    width: 50%;
    margin: 0 auto;
    left: 0;
    right: 0;
    background: linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.5) 0%,
      rgba(255, 0, 0, 1) 50%,
      rgba(255, 0, 0, 0.5) 100%
    );
    height: 2px;
  }
  .row_new {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 8px;
    row-gap: 0px;
  }
  .home-news .box .box-image {
    border-radius: 10px;
  }
  .home-news .box .box-text h3 a {
    font-size: 12px;
  }
  .result_item .result_title h2 {
    padding: 12px;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
    text-align: center;
  }
  .resultPanels ul.result_nav {
    gap: 9px;
    margin-bottom: 15px;
  }
  .resultPanels ul.result_nav li a {
    padding: 6px;
    font-size: 14px;
    font-weight: 400;
  }
  .result_item {
    padding-bottom: 30px;
  }
  .footer1 h2 {
    line-height: 1.5;
    font-size: 20px;
  }
  .footer1 .icon-box-left {
    align-items: center;
  }
  .footer1 .title-tv h3 {
    font-size: 20px;
  }
  .footer1 .title-tb h3 {
    font-size: 15px;
  }
  .footer1 .title-dh h3 {
    font-size: 10px;
  }
  .footer2 h3 {
    font-size: 16px;
  }
  .footer2 p {
    font-size: 10px;
  }
  .contact_bar {
    display: none;
  }
  section.ss_rules {
    margin-top: 0;
  }
  .nha-tai-tro .col-inner > span > span > span > span {
    padding: 15px;
  }
  .rules_wrap a.link.btn_home {
    max-width: initial;
    min-width: initial;
    height: 64px;
    line-height: 1.2;
    margin-bottom: 30px;
    font-size: 18px;
  }
  .ss_rules .accordion-item .accordion-inner {
    padding: 15px;
  }
  .ss_rules .accordion-item a.accordion-title {
    padding: 15px;
  }
  .ss_rules .accordion-item a.accordion-title span {
    font-size: 13px;
  }
  .ss_rules .accordion-item a.accordion-title button.toggle {
    right: 0;
    top: calc((100% - 45px) / 2);
  }
  .ss_rules .accordion-item a.accordion-title button.toggle i {
    font-size: 20px;
  }
}

@media only screen and (max-width: 549px) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
.entry-content {
  color: #212529;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.entry-content figure {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 5px 3px 10px;
  text-align: center;
}

.entry-content h6 {
  font-size: 15px;
}

.entry-content h5 {
  font-size: 17px;
}

.entry-content h4 {
  font-size: 17px;
}

.entry-content h3 {
  font-size: 18px;
}

.entry-content h2 {
  font-size: 20px;
  line-height: 1.5;
}

.entry-content h1 {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.entry-content p {
  color: #333;
  margin-bottom: 15px;
  font-size: 16.5px;
  line-height: 1.6;
}

ul {
  list-style: disc;
  padding-left: 15px;
  padding-bottom: 5px;
}

ul li {
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

ul li a {
  color: #007bff;
}

ol {
  list-style: decimal;
  padding-left: 18px;
  padding-bottom: 5px;
  font-size: 16.5px;
}

ol li {
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

ol li a {
  color: #ff5912;
}

.entry-content a {
  font-weight: 700;
}

.entry-content blockquote {
  background: #f3f3f3;
  color: #868686;
  display: block;
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 20px;
  padding: 15px 20px 15px 45px;
  position: relative;
  text-align: justify;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
  content: "";
}

.entry-content code {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  font-size: 0.85rem;
  color: #e83e8c;
  font-size: 15px;
}

.entry-content table > tbody > tr > td,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > td,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > thead > tr > th {
  border: 1px solid #ddd;
  padding: 7px 10px;
  font-size: 16.5px !important;
}

.entry-content iframe {
  margin: auto;
}

.entry-content .syntaxhighlighter {
  padding: 10px 0;
}
