@charset "utf-8";@media all{/* Begin CSS Topbar */
.top-bar {
  background-color: unset !important;
  color: var(--text-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.top-bar h4 {
  font-size: 0.85rem;
  /* 13.6px */
  color: var(--primary-color);
  margin: 0;
}

.top-bar span {
  color: var(--accent-color);
}
.dark-mode-toggle {
  background-color: #ffffff00 !important;
}
.top-user {
  position: relative;
  background-color: #02050a;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.top-user img,
.icon img {
  width: 1.3rem;
}

.top-bar-col {
  text-align: right;
}

.top-user .count {
  background: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 0.8rem;
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  /* Tối ưu thay vì inline-flex */
  justify-content: center;
  align-items: center;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(205, 75, 91, 0.7);
  animation: pulse 2s infinite;
}

form.search-form {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  height: 36px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
}

form.search-form label {
  width: 100%;
  height: 100%;
}

form.search-form input[type="search"]:focus {
  outline: none !important;
}

form.search-form input.search-field {
  width: 100%;
  height: 36px;
  line-height: 36px;
  font-size: 14px;
  padding: 0 12px;
}

button.search-submit {
  height: 36px;
  width: 36px;
  background: #222;
}

form.search-form .gp-icon svg {
  height: 1em;
  width: 1em;
  top: -4px !important;
  position: relative;
  left: -10px;
  fill: currentColor;
  color: #fff;
}

/* End CSS Topbar */

/* Begin CSS Header */
.header-navigation-mb {
  display: none;
}

.custom-header {
  max-width: 1320px;
  margin: 0 auto;
}

/* Thanh navigation chính */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* Logo */
.header-logo a img {
  height: 35px;
  width: auto;
  display: block;
}

/* Begin CSS menu chính */
/* Navigation Menu */
.header-navigation {
  display: flex;
  align-items: center;
  justify-content: end;
}

/* Menu chính - ul */
.header-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* Link menu */
.header-navigation ul li a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  font-size: 14px;
  /* 14.4px */
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* Hover link menu */
.header-navigation ul li a:hover {
  color: var(--link-hover-color);
  transform: scale(1.05);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.header-navigation ul.sub-menu {
  display: none;
}

.header-navigation ul li {
  position: relative;
  padding: 15px;
}

.header-navigation ul li:hover .sub-menu {
  display: block;
  position: absolute;
  z-index: 10;
  margin-top: 15px;
  background-color: #fff;
  border: 1px solid transparent;
  border-bottom: 4px solid #f15a24;
  border-radius: 0 0 10px 10px;
  min-width: 340px;
  padding: 8px 0;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.2);
}

.header-navigation ul.sub-menu li {
  display: block;
  padding: 2px 20px;
  font-size: 0.875rem;
  /* 14px */
}

/* End CSS menu chính */

/* Begin Scroll CSS Header */
.content-scoll-user {
  box-shadow: 0 2px 2px -2px rgba(1, 12, 37, 0.2);
  font-size: 0.9rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.scoll-icon {
  display: inline;
  padding: 0 10px;
  color: rgba(241, 90, 36);
  font-size: 12px;
  float: left;
  line-height: 1.5em;
}

.scoll-content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  overflow: hidden;
}

.scoll-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.marquee-content {
  white-space: nowrap;
  padding-left: 50vw;
  width: fit-content;
}

.marquee-content.scroll {
  animation: scroll 40s linear infinite;
}

.marquee-content p {
  margin: 0 50px 0 0;
  padding: 0;
  display: inline-block;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 1rem));
  }
}

/* End Scroll CSS Header */

/* Animation Shake */
.fa-shake {
  display: inline-block;
  animation: fa-shake 1.5s ease infinite;
  will-change: transform;
}

@keyframes fa-shake {
  0% {
    transform: rotate(-15deg);
  }

  4% {
    transform: rotate(15deg);
  }

  8%,
  24% {
    transform: rotate(-18deg);
  }

  12%,
  28% {
    transform: rotate(18deg);
  }

  16% {
    transform: rotate(-22deg);
  }

  20% {
    transform: rotate(22deg);
  }

  32% {
    transform: rotate(-12deg);
  }

  36% {
    transform: rotate(12deg);
  }

  40%,
  to {
    transform: rotate(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(205, 75, 91, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(205, 75, 91, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(205, 75, 91, 0);
  }
}

/* Begin CSS HOME */

/* Nút mở và đóng menu */
.menu-toggle-btn {
  background-color: #00000000;
  color: #000000;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 30px;
  border-radius: 5px;
  display: block;
}

.close-btn {
  margin-top: 0;
  /* Nút đóng sẽ nằm ở trên cùng */
}

/* Menu ẩn mặc định */
.custom-nav-class-mb {
  display: none;
  /* Ẩn menu khi chưa mở */
  position: absolute;
  top: 60px;
  /* Điều chỉnh vị trí menu nếu cần */
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.mdsco-close-setion {
  display: flex;
  justify-content: flex-end;
  background: #dd163b;
  padding: 10px 20px;
}

.close-btn svg.bi.bi-x-lg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Hiển thị menu khi có class 'active' */
.custom-nav-class-mb.active {
  display: block;
  position: fixed;
  /* Vị trí cố định */
  top: 0;
  /* Đặt menu lên đầu trang */
  bottom: 0;
  /* Đặt menu kéo dài đến cuối trang */
  left: 0;
  /* Menu sẽ chiếm toàn bộ chiều ngang */
  width: 100%;
  z-index: 9999999999;
  /* Đảm bảo menu ở trên cùng */
  overflow: hidden;
  /* Ẩn thanh cuộn ngoài */
  overflow-y: auto;
  /* Cho phép cuộn dọc */
  -webkit-overflow-scrolling: touch;
  /* Cuộn mượt mà trên thiết bị cảm ứng */
  background-color: #fff;
  /* Màu nền của menu */
  -webkit-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  /* Hiệu ứng chuyển động khi menu mở */
}

/* Menu cấp 2 */
.custom-menu-class .menu-item-has-children > a::after,
.secondary .custom-secondary-nav-class .menu-item-has-children > a::after {
  content: " +";
  float: right;
  margin-left: 10px;
}

.custom-menu-class .sub-menu {
  display: none;
  padding-left: 20px;
  background-color: #f9f9f9;
  border-left: 2px solid #007bff;
}

.header-navigation-mb
  .custom-menu-class
  .menu-item-has-children.active
  > .sub-menu {
  display: block;
}

nav.menu-menu-1-container li {
  list-style: none;
  padding: 15px 0px;
}

nav.menu-menu-1-container a {
  text-decoration: none;
}

ul#menu-menu-2 {
  padding: 15px;
  margin: 0;
}

.sub-toggle {
  display: none;
}

/* Media Queries for ipad */
}@media all and (min-width: 740px) and (max-width: 1024px){
  .header-navigation {
    display: none;
  }

  .header-navigation-mb {
    display: block;
  }
}

@media all{/* Media Queries for Mobile */
}@media all and (max-width: 739px){
  .custom-menu-class .menu-item-has-children > a::after,
  .secondary .custom-secondary-nav-class .menu-item-has-children > a::after {
    display: none !important;
  }

  /*Begin modify menu mobile toggle*/

  .sub-toggle {
    position: absolute;
    right: 0;
    top: 0;
    color: black;
    width: 50px;
    height: 55.5px;
    border-left: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu-item.menu-item-has-children {
    position: relative;
  }

  .menu-item.menu-item-has-children .menu_link {
    padding-right: 50px;
  }

  /* End modify menu mobile toggle*/
  .header-navigation {
    display: none;
  }

  .header-navigation-mb {
    display: block;
  }

  .top-bar,
  .top-bar-col {
    text-align: center;
  }

  form.search-form {
    margin: 10px 15px 0 15px;
  }
}
