/*
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.   ***************/


.amlab_warning {
  text-align: center;
  font-size: 40px;
  color: red;
  font-weight: 600;
}
.amlab_warning a {
  font-size: 60px;
  color: black;
  text-transform: uppercase;
  text-decoration: underline;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Màu nền bán trong suốt */
  z-index: 9999; /* Đảm bảo hoạt ảnh nằm trên tất cả các phần tử khác */
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.amlab_listnone li a.amlab_active svg path, .amlab_listnone li a.amlab_active svg circle {
  stroke: #09BCE9;
}
.amlab_listnone li a.amlab_active {
  color: #09BCE9;
}
.amlab_listnone li:hover {
  color: #09BCE9;
}
.amlab_listnone li:hover svg path, .amlab_listnone li:hover svg circle {
  stroke: #09BCE9;
}

.amlab_listnone {
  background: white;
  border-radius: 20px;
}
#amlab_wrapper {
  margin-left: 20px;
  margin-top: -20px;
}
.amlab_split {
  padding-bottom: 30px;
}
.amlab_colleft {
  padding-right: 10px;
}
.amlab_colright {
  padding-left: 10px;
}
.amlab_50w {
  width: 50%;
}
.amlab_100w {
  width: 100% !important;
}

.mobile-sidebar .sidebar-menu .header-newsletter-item   {
  display: none;
}

.single-product .related .flickity-prev-next-button.previous {
  left: -3%;
}
.single-product .related .flickity-prev-next-button.next {
  right: -3%;
}
.amlab_text {
  margin-bottom: 1rem;
}

body {
  font-family: "Quicksand", sans-serif;
  background-color: #f4f4f4 !important;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f7f7f7 !important;
  border-radius: 10px;
}

body::-webkit-scrollbar {
  width: 3px;
  background-color: #f7f7f7;
}

body {
  color: #4c4c4c;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.title {
  font-size: 20px;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.m-0 {
  margin: 0 !important;
}

.position-relative {
  position: relative !important;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.title a,
.title span {
  color: #212529;
  letter-spacing: 0;
}

a,
a:hover {
  text-decoration: none;
  transition: 0.3s all ease;
}

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.ring-container {
  width: 1em;
  height: 8px;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.d-inline-block {
  display: inline-block !important;
}

.ring-container {
  width: 1em;
  height: 8px;
}

.ring-container .ringring {
  border: 3px solid red;
  border-radius: 50%;
  height: 1pc;
  width: 1pc;
  left: -4px;
  top: -4px;
  animation: pulsate 1s ease-out;
  animation-iteration-count: infinite;
  opacity: 0;
}

.ring-container .circle {
  width: 8px;
  height: 8px;
  background-color: red;
  background-color: red;
  border-radius: 50%;
  top: 0;
  left: 0;
}

.position-absolute {
  position: absolute !important;
}

.position-relative p {
  font-size: 15px;
}

@keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1.2);
    opacity: 0;
  }
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.copyright-footer p {
  color: black !important;
}

.header-main {
  position: relative !important;
  height: calc(100% - 58px);
  transition: all 0.3s ease;
  z-index: 10;
  top: 0 !important;
  /* background: linear-gradient(-180deg, #1977f3, #003d8d); */
}

.header-nav,
.header-nav-main {
  padding-top: 40px;
  padding-bottom: 80px;
}

.icon-search:before {
  color: black;
}

.searchform-wrapper:not(.form-flat) .submit-button,
.widget_search .submit-button {
  border-radius: 5px;
  margin-bottom: 0px !important;
  background-color: white;
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

li.html .row,
li.html form,
li.html input,
li.html select {
  border-radius: 5px;
  margin: 0;
}

.searchform .button.icon {
  margin: 0;
  margin-left: -10px;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .single-product .related .flickity-prev-next-button.previous {
    left: 0%;
  }
  .single-product .related .flickity-prev-next-button.next {
    right: 0%;
  }
  .amlab_ffs .text {
    font-size: 16px;
  }
  .amlab_ffs .ux-menu {
    font-size: 14px;
  }
  .amlab_zalo {
    display: none;
  }
  .amlab_hethongshop {
    display: none;
  }
  .mobile-sidebar .sidebar-menu .html_topbar_right {
    display: none;
  }
  .mobile-sidebar .sidebar-menu .icon-facebook {
    color: #30a5a3;
  }
  .mobile-sidebar .sidebar-menu .icon-instagram {
    color: #30a5a3;
  }
  .mobile-sidebar .sidebar-menu .icon-twitter {
    color: #30a5a3;
  }
  .mobile-sidebar .sidebar-menu .icon-envelop {
    color: #30a5a3;
  }
  .mobile-sidebar .sidebar-menu .menu-item a {
    color: #30a5a3;
  }
  .mobile-sidebar .sidebar-menu .html_top_right_text p {
    color: #30a5a3;
  }
}
