/*!
	Theme Name: ECOMCX Theme
	Theme URI: https://ecomcx.com/
	Description: Giao diện được thiết kế và lập trình bởi ECOMCX
	Author: ECOMCX Team
	Author URI: https://ecomcx.com/
	Version: 2.1
	Stable tag: 2.1
	Text Domain: https://ecomweb.net
	Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

/*Global CSS*/

* {
  font-family: 'Exo 2', sans-serif;
}

section {
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: inherit !important;
}

p {
  color: var(--text-color);
}

a {
  color: inherit !important;
  text-decoration: none !important;
  transition: opacity 150ms linear, color 150ms linear, background 150ms linear;
}

a:focus,
a:hover {
  text-decoration: none !important;
  outline: none !important;
}

img {
  width: 100%;
  height: auto;
}

@media only screen and (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1140px !important;
  }
}

.animated {
  -webkit-animation-duration: 1.25s;
  animation-duration: 1.25s;
  visibility: visible !important;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

/* End of Global CSS */

/*Swiper Slide CSS*/
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*End of Swiper Slide CSS*/

/* Footer */
.footer-m2v {
  background: #e10600;
  color: #fff;
  padding: 48px 0 0;
}

.footer-m2v p,
.footer-m2v a,
.footer-m2v h2 {
  color: #fff !important;
}

.footer-m2v__top {
  padding-bottom: 34px;
}

.footer-m2v__title {
  font-size: 1.3rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-m2v__info p {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-m2v__badge {
  max-width: 155px;
  margin-top: 22px;
}

.footer-menu-1 {
  margin-bottom: 0 !important;
}

.footer-menu-1 .accordion-item,
.footer-menu-1 .accordion-body {
  background: transparent;
  border: 0;
  padding: 0;
}

.footer-menu-1 .navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
}

.footer-menu-1 .menu-item {
  width: 100%;
}

.footer-menu-1 .nav-link,
.footer-menu-1 .navbar-nav>li>a,
.footer-menu-1 .navbar-nav .menu-item>a {
  display: inline-block;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fff !important;
  background: transparent;
}

.footer-menu-1 .nav-link:hover,
.footer-menu-1 .navbar-nav>li>a:hover,
.footer-menu-1 .navbar-nav .menu-item>a:hover {
  opacity: 0.85;
  text-decoration: underline !important;
}

.footer-menu-1 .sub-menu {
  margin: 10px 0 0;
  padding: 0 0 0 14px;
  list-style: none;
}

.footer-menu-1 .sub-menu li+li {
  margin-top: 8px;
}

.footer-m2v__facebook {
  max-width: 360px;
  margin-left: auto;
}

.footer-m2v__facebook .fb-page,
.footer-m2v__facebook span,
.footer-m2v__facebook iframe {
  width: 100% !important;
}

.footer-m2v__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  padding: 14px 0 10px;
}

.footer-m2v__copyright {
  margin: 0;
  font-size: 1rem;
}

.footer-m2v__social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.footer-m2v__social a {
  display: inline-flex;
}

.footer-m2v__social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .footer-m2v {
    padding-top: 36px;
  }

  .footer-m2v__facebook {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .footer-m2v__title {
    font-size: 1.2rem;
  }

  .footer-m2v__info p,
  .footer-menu-1 .nav-link,
  .footer-menu-1 .navbar-nav>li>a,
  .footer-menu-1 .navbar-nav .menu-item>a,
  .footer-m2v__copyright {
    font-size: 1rem;
  }

  .footer-m2v__social {
    justify-content: flex-start;
  }
}

/* Header */
.main-header {
  background: #e5e5e5;
  position: relative;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 0 8px;
}

.header-top__working-time {
  font-size: 14px;
  line-height: 1.5;
  color: #222;
}

.header-top__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.header-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 300px;
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 14px;
  border: 0;
  background: #f0eded;
  color: #222;
  font-size: 14px;
  font-style: italic;
}

.header-search input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(223, 32, 38, 0.25);
}

.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 36px;
  padding: 0;
  border: 0;
  background: #df2026;
  color: #fff;
  font-size: 18px;
}

.header-search button:hover {
  background: #c0171d;
}

.header-translate {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-left: 4px;
  overflow: visible;
}

.header-translate #google_translate_element {
  line-height: 1;
}

.header-translate img {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
}

.header-translate .goog-te-gadget {
  display: inline-flex !important;
  align-items: center;
  line-height: 1 !important;
}

.header-translate .skiptranslate.goog-te-gadget {
  color: transparent !important;
  font-family: 'Exo 2', sans-serif !important;
  font-size: 0 !important;
}

.header-translate .goog-te-gadget-simple {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 156px;
  padding: 0 10px !important;
  border: 1px solid #d8d8d8 !important;
  background: #fff !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.header-translate .goog-te-gadget-simple span,
.header-translate .goog-te-gadget-simple a,
.header-translate .goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed {
  display: inline-flex;
  align-items: center;
  font-family: 'Exo 2', sans-serif !important;
  font-size: 14px !important;
  color: #111 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.header-translate .goog-te-gadget-simple>span {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.header-translate .goog-te-gadget-icon {
  width: 18px !important;
  height: 18px !important;
  margin-right: 6px;
  flex-shrink: 0;
}

.header-translate .goog-te-gadget-simple img[width="1"] {
  width: 1px !important;
  height: 1px !important;
}

.header-translate .goog-te-gadget-simple span[aria-hidden="true"] {
  display: inline-flex !important;
  align-items: center;
  font-size: 12px !important;
  color: #666 !important;
  margin-left: 2px;
}

.header-middle {
  min-height: 92px;
}

.header-left,
.header-main-menu,
.header-right {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 100%;
  max-width: 110px;
}

.site-logo a,
.site-logo img {
  display: block;
}

.main-header .open-menu {
  z-index: 3;
  font-size: 1.5em;
  color: var(--text-color);
  cursor: pointer;
}

.header-main-menu {
  justify-content: center;
}

.main-header-menu .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-header-menu .menu>li {
  position: relative;
}

.main-header-menu .menu>li>a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 34px 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-color) !important;
}

.main-header-menu .menu>li>a:hover,
.main-header-menu .menu>li.current-menu-item>a,
.main-header-menu .menu>li.current_page_item>a {
  color: #df2026 !important;
}

.icon-nav--down {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
}

.icon-nav--down svg {
  width: 12px;
  height: 12px;
}

.main-header-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 270px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ec0000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.main-header-menu .menu-item-has-children:hover>.sub-menu,
.main-header-menu .menu-item-has-children:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-header-menu .sub-menu li+li {
  border-top: 1px solid rgba(255, 255, 255, 0.85);
}

.main-header-menu .sub-menu li a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff !important;
  white-space: nowrap;
}

.main-header-menu .sub-menu li a:hover {
  background: #d80000;
  color: #fff !important;
}

.header-right {
  gap: 12px;
}

.header-hotline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color) !important;
  white-space: nowrap;
}

.header-hotline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #df2026;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.header-hotline:hover .header-hotline__icon {
  background: #b8171d;
}



body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-close {
  display: none;
}

@media (max-width: 1199.98px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 14px;
  }

  .header-top__tools {
    width: 100%;
    justify-content: space-between;
  }

  .header-search {
    max-width: none;
    flex: 1 1 auto;
  }

  .header-main-menu {
    display: none !important;
  }

  .header-main-menu.active {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: block !important;
    width: 100%;
    height: 100vh;
    padding: 92px 30px 40px;
    overflow-y: auto;
    background: #c7171f;
  }

  .admin-bar .header-main-menu.active {
    top: 32px;
    height: calc(100vh - 32px);
  }

  .mobile-menu-close {
    position: absolute;
    top: 28px;
    right: 26px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
  }

  .header-main-menu .main-header-menu {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .header-main-menu .main-header-menu .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .header-main-menu .main-header-menu .menu>li {
    width: 100%;
  }

  .header-main-menu .main-header-menu .menu>li+li {
    margin-top: 22px;
  }

  .header-main-menu .main-header-menu .menu>li>a {
    width: 100%;
    padding: 0;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    color: #fff !important;
  }

  .header-main-menu .main-header-menu .menu>li.current-menu-item>a,
  .header-main-menu .main-header-menu .menu>li.current_page_item>a,
  .header-main-menu .main-header-menu .menu>li>a:hover {
    color: #fff !important;
    opacity: 0.92;
  }

  .header-main-menu .main-header-menu .menu-item-has-children>a {
    justify-content: flex-start;
  }

  .header-main-menu .icon-nav--down {
    margin-left: 6px;
    font-size: 12px;
    transition: transform 180ms ease;
  }

  .header-main-menu .menu-item-has-children.is-expanded>a .icon-nav--down {
    transform: rotate(180deg);
  }

  .header-main-menu .sub-menu {
    position: static;
    min-width: 100%;
    margin: 0;
    padding: 0 0 0 18px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
  }

  .header-main-menu .menu-item-has-children.is-expanded>.sub-menu {
    max-height: 1000px;
    margin-top: 16px;
  }

  .header-main-menu .sub-menu li+li {
    border-top: 0;
    margin-top: 14px;
  }

  .header-main-menu .sub-menu li a {
    padding: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    color: rgba(255, 255, 255, 0.92) !important;
    white-space: normal;
  }

  .header-main-menu .sub-menu li a:hover {
    background: transparent;
    color: #fff !important;
  }

  .header-hotline {
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .header-top__tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-translate {
    padding-left: 0;
  }

  .header-middle {
    min-height: 76px;
  }

  .site-logo {
    max-width: 96px;
  }

  .open-menu {
    font-size: 28px;
    color: #111;
  }
}

@media (max-width: 767.98px) {
  .header-top {
    gap: 12px;
    padding-top: 8px;
  }

  .header-top__working-time {
    font-size: 13px;
  }

  .header-search input,
  .header-search button {
    height: 34px;
  }

  .header-main-menu.active {
    padding: 86px 22px 36px;
  }

  .mobile-menu-close {
    top: 22px;
    right: 18px;
  }

  .header-main-menu .main-header-menu .menu>li>a {
    font-size: 18px;
  }

  .header-main-menu .sub-menu li a {
    font-size: 16px;
  }
}
