/*
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. ***************/
html,
body {
  scroll-behavior: smooth;
  font-family: "SFU-Futura", sans-serif;
}
@font-face {
  font-family: "SFU-Futura";
  src: url("fonts/SFUFuturaRegular.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFU-Futura";
  src: url("fonts/SFUFuturaHeavy.TTF") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SFU-Futura";
  src: url("fonts/SFUFuturaBold.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SFU-Futura";
  src: url("fonts/SFUFuturaExtraBold.TTF") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
.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;
}
.title_footer h2,
.title_h2 {
  text-shadow: 2px 2px 0px #e93d5f;
}
.img_banner {
  padding-bottom: 0;
}
.section_banner {
  padding-top: 30px !important;
}
.slide_about .flickity-slider .img-inner img {
  border-radius: 8px;
}
.list_news .post-item .col-inner {
  background-color: #f2faff;
  border-radius: 8px;
}
.list_news .post-item .col-inner .box-text {
  padding: 1rem;
}
.list_news .post-item .col-inner .box-text .post-title {
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bg_about {
  background-color: #f9f0fc;
  box-shadow: 0px 3px 12px 0px #0000001a;
  border-radius: 1rem;
  padding: 5% 0;
}
.box_time_content {
  border-bottom: 1px solid #cac3c3;
  margin-bottom: 0.5rem;
}
.mbp-0 p {
  margin-bottom: 0;
}
.contestant-number-value {
  font-weight: 700;
}
.auth-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.auth-popup.show {
  opacity: 1;
  visibility: visible;
}
.auth-popup-content {
  background: #f9f0fc;
  padding: 5%;
  border-radius: 10px;
  width: 70%;
  height: 80%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.auth-popup.show .auth-popup-content {
  transform: scale(1);
  opacity: 1;
}
.auth-popup-content form input {
  outline: none;
  border-radius: 3.125rem;
  border: none;
  background: #ffffff;
  box-shadow: none;
}
.auth-popup-content h3,
.auth-popup-content h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 1.5rem;
}
.auth-popup-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: #fff;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eb1c2e;
  transition: background 0.3s ease;
  padding: 0.5rem;
}
.img_rounded {
  border-radius: 0.5rem;
  overflow: hidden;
}
.btn_form_submit {
  padding: 0 1.2em;
  border-radius: 3.125rem;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  position: relative;
}

.btn_form_submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn_form_submit::after {
  content: "";
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.btn_form_submit:disabled::after {
  display: inline-block;
}
@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}
.switch-to-reset {
  color: #eb1c2e;
  font-weight: 700;
  font-size: 1.125rem;
}
.h-full {
  height: 100%;
}
.overflow-y-auto {
  overflow-y: auto;
}
.auth-popup-close:hover {
  background: var(--primary-color);
}
.auth-form p {
  margin-bottom: 15px;
}
.auth-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.auth-form input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}
.auth-form button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}
.auth-form button:hover {
  background: #0056b3;
}
.auth-form a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  text-align: center;
}
.auth-form a:hover {
  text-decoration: underline;
}
.auth-error {
  font-size: 0.875rem;
  text-align: center;
}
.section .box-contestants {
  background: #ffffff;
  border: 2px solid #7b1d95;
  border-radius: 0px 50px 0px 50px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
}
.section .box-contestants:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.section .box-contestants-inner-img {
  padding-top: 137%;
}
.section .box-contestants-inner-img img {
  border-radius: 8px;
  transition: opacity 0.3s ease;
}
.section .box-contestants-inner-img img:hover {
  opacity: 0.9;
}
.section .contestant-number {
  margin-bottom: 1rem;
}
.section .contestant-title {
  font-size: 1.125rem;
  margin: 15px 0 10px;
}
.section .contestant-votes {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.section .contestant-vote-button .vote-button,
.section .contestant-vote-button .login-popup-trigger,
.section .contestant-vote-button .vote-disabled,
.contestant-popup-vote-button .vote-button,
.contestant-popup-vote-button .login-popup-trigger,
.contestant-popup-vote-button .vote-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2em;
  border-radius: 3.125rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
  line-height: normal;
  text-transform: center;
  font-weight: 700;
  margin: 0;
}
.section .contestant-vote-button .vote-button,
.contestant-popup-vote-button .vote-button {
  width: fit-content;
  text-transform: none !important;
  font-weight: 400 !important;
}
.section .contestant-vote-button .vote-button:hover,
.section .contestant-vote-button .login-popup-trigger:hover,
.contestant-popup-vote-button .vote-button:hover,
.contestant-popup-vote-button .login-popup-trigger:hover {
  background: #0056b3;
}
.section .contestant-vote-button .vote-disabled,
.contestant-popup-vote-button .vote-disabled {
  background: #0056b3;
  cursor: not-allowed;
}
.contestant-popup-image {
  max-width: 100%;
  height: 50%;
  margin-bottom: 1rem;
}
.contestant-popup-number,
.contestant-popup-height,
.contestant-popup-birth-year,
.contestant-popup-votes {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.nav.nav-right {
  flex-flow: nowrap;
}
.contestant-popup-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.contestant-popup-content .contestant-popup-image-wrapper {
  width: 33%;
}
.contestant-popup-content .contestant-popup-content-wrapper {
  width: 67%;
  padding: 0 1rem;
}
.contestant-popup-image.c-img {
  padding-top: 137%;
}
.w-full {
  width: 100%;
}
.w-fit {
  width: fit-content;
}
.font-bold {
  font-weight: 700;
}
.w-6 {
  width: 1.5rem;
}
.h-6 {
  height: 1.5rem;
}
.header-search > a {
  color: #0691d8 !important;
}
.mb-4 {
  margin-bottom: 1rem;
}
.m-0 {
  margin: 0;
}
.gap-x-1 {
  column-gap: 0.25rem /* 12px */;
}
.gap-x-2 {
  column-gap: 0.5rem /* 12px */;
}
.gap-x-3 {
  column-gap: 0.75rem /* 12px */;
}
.flex-wrap {
  flex-wrap: wrap;
}
.mx-auto {
  margin: 0 auto;
}
.form_search_contestants {
  border: 1px solid var(--primary-color);
  border-radius: 3.125rem;
  padding: 5px;
  width: 50%;
  overflow: hidden;
}
.form_search_contestants input.search-input {
  border: none;
  outline: none;
  margin: 0;
  box-shadow: none;
}
.btn_search_contestants {
  white-space: nowrap;
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 3.125rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 0;
  padding: 0 1.2rem;
}
.MuiDialog-container button:active,
button:active {
  padding: 0 1.2em !important;
}
.btn_search_contestants:hover {
  background-color: #fff;
  color: var(--primary-color);
}
.section_ranking {
  background-color: #f9f0fc;
}
.line_ranking {
  width: 100%;
  height: 10px;
  background-color: #fff;
  margin: 20px auto;
  border-radius: 20px;
}

.contestants-list .icon_rank_1 {
  position: absolute;
  top: -5%;
  right: -8%;
  width: 80px;
  height: 80px;
  z-index: 1;
}
.contestants-list .icon_rank {
  position: absolute;
  top: -5%;
  right: -8%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: none;
  z-index: 1;
}

.contestants-list .icon_rank::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: #7b1d95;
  transform: rotate(45deg);
  z-index: 0;
}

.box_time_contest {
  background-color: #f9f0fc;
  box-shadow: 0px 3px 12px 0px #0000001a;
  border-radius: 0.5rem;
  padding: 1rem;
}
.css_txt_time {
  color: #7b1d95;
  font-weight: 700;
}
.justify-around {
  justify-content: space-around;
}
.btn_binh_chon {
  background-color: #0691d8;
  padding: 10px 20px;
  border-radius: 3.125rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  line-height: normal;
  color: #fff;
  font-weight: 700;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn_binh_chon:hover {
  background-color: var(--primary-color);
}
.btn_binh_chon .icon-box-img .icon-inner img {
  padding-top: 0;
}
.icon-box-img img,
.icon-box-img svg {
  padding-top: 0;
  padding-bottom: 4px;
}

.btn_login{
  padding-left: 2rem;
  position: relative;
}
.btn_login i{
  opacity: 0;
}
.btn_login::before {
  content: ''; 
  background-image: url('images/user.png'); 
  background-size: contain; 
  background-repeat: no-repeat;
  background-position: center;
  width: 1.5rem; 
  height: 1.5rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%); 
}
.btn_login.logout-button::before{
  content:none;
}
.btn_login.logout-button{
  padding-left: 1.2em;
}
.ux-search-submit{
  padding: 0 1.2em!important;
  border: none!important;
}
.searchform input.search-field{
  border: none!important;
}
.custom_btn {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  width: fit-content;
  padding: 10px 15px;
  border-radius: 3.125rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  line-height: normal;
  text-transform: uppercase;
  transition: all 0.3s;
}
.line-clamp-2{
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mb-3{
  margin-bottom: 0.75rem;
}

.slider-style-focus .flickity-slider>:not(.is-selected){
  position: relative; 
  opacity: 1;
  /* transform: scale(0.8); */
}
.slider-style-focus .flickity-slider>:not(.is-selected)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 0.5rem;
}
.custom_btn:hover {
  background-color: #dd3333;
}
.txt_terms {
  color: #dd3333;
  font-weight: 700;
  transition: all 0.3s;
}
.link_hover {
  transition: all 0.3s;
}
.link_hover:hover {
  color: #dd3333 !important;
}
.header-nav-main.nav-left {
  justify-content: center !important;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.fanpage_fb {
  border-radius: 0.5rem;
  overflow: hidden;
}
.metaslider  img {
  border-radius: 0.5rem;
  overflow: hidden;
}
.metaslider .flexslider {
  margin-bottom: 1.25rem !important;
}
.box_info_contestant {
  overflow-y: auto;
}
.menu_footer .ux-menu-link .ux-menu-link__text {
  padding-left: 2rem; /* Giữ khoảng cách giữa ảnh và văn bản */
  position: relative;
}

.menu_footer .ux-menu-link .ux-menu-link__text::before {
  content: ''; /* Xóa content: url() */
  background-image: url('images/chevrons-right.png'); /* Sử dụng background-image */
  background-size: contain; /* Đảm bảo ảnh không bị méo */
  background-repeat: no-repeat;
  background-position: center;
  width: 1.5rem; /* Kích thước ảnh */
  height: 1.5rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Căn giữa theo chiều dọc */
}
.nav.nav-vertical li .header-block-block-1{
  padding-left: 20px;
}
@media (max-width: 549px) {
  #logo img {
      max-height: 50px!important;
  }
}
@media only screen and (max-width: 768px) {
  .img_banner {
    padding-bottom: 30px;
  }
  .auth-popup-content {
    max-width: 100%;
  }
  .auth-popup-content {
    width: 90%;
  }
  .contestant-popup-content .contestant-popup-image-wrapper {
    width: 100%;
  }
  .contestant-popup-content .contestant-popup-content-wrapper {
    width: 100%;
  }
  .box_info_contestant {
    overflow-y: auto;
  }
  .form_search_contestants {
    width: 100%;
  }
  .section .contestant-vote-button .vote-button,
  .section .contestant-vote-button .login-popup-trigger,
  .section .contestant-vote-button .vote-disabled,
  .contestant-popup-vote-button .vote-button,
  .contestant-popup-vote-button .login-popup-trigger,
  .contestant-popup-vote-button .vote-disabled {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .section .contestant-votes {
    font-size: 0.875rem;
  }
  .section .contestant-title {
    font-size: 0.875rem;
  }
  .box_time_content p {
    margin-bottom: 0.5rem;
  }
  .box_time_content {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
@media (min-width: 768px) {
  .auth-popup-content .auth-popup-content-inner {
    width: 50%;
    margin: auto;
  }
}
@media (min-width: 1024px) {
  .title_contestants {
    font-size: 1.75rem;
  }
  .title_h2 {
    font-size: 3rem !important;
  }
  .contestants-list.top_3 {
    margin-top: 7rem;
  }
  .contestants-list .col.rank_1 {
    margin-bottom: 2rem;
    order: 2;
    transform: translateY(-5rem);
  }
  .contestants-list .col.rank_2 {
    order: 1;
  }
  .contestants-list .col.rank_3 {
    order: 3;
  }
  .line_ranking {
    width: 50%;
  }
  .list_other {
    margin-top: 4rem;
  }
  .box_time_contest {
    width: 80%;
    margin: auto;
  }
  .lg\:w-1\/4 {
    width: 25%;
  }
  .lg\:w-1\/2 {
    width: 50%;
  }
  .box_time_contest {
    font-size: 1.125rem;
  }
  .box_time_content {
    border-bottom: none;
    margin-bottom: 0;
    border-right: 1px solid #cac3c3;
  }
}