/*
 Theme Name:   Flatsome Child
 Theme URI:    https://4aufa.vn
 Description:  Child theme for Flatsome
 Author:       4aufa
 Author URI:   https://4aufa.vn
 Template:     flatsome
 Version:      1.0.0
*/

/* Custom fonts Open Sans */
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Áp dụng font mặc định */
body {
  font-family: 'Open Sans', sans-serif;
}

/* Hiển thị menu cấp 3 với Flatsome */
.header-wrapper .nav ul ul ul {
  left: 100%;
  top: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background: #fff;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 200px;
  transition: all 0.3s ease;
}

.header-wrapper .nav ul ul li:hover > ul {
  opacity: 1;
  visibility: visible;
}

.header-wrapper .nav ul ul ul li a {
  padding: 10px 15px;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.header-wrapper .nav ul ul ul li a:hover {
  background-color: #f2f2f2;
}


/* Bỏ in đậm cho menu cấp 2 trở xuống */
.header-wrapper .nav ul ul li > a {
  font-weight: normal !important;
  color: #777 !important; /* Đặt lại màu chữ cho đồng nhất */
}





.footer-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 180px; 
  margin-top: 20px;
  margin-bottom: 20px;
  height: auto;
}

@media (max-width: 767px) {
  .img-inner {
    padding-left: 16px;
    padding-right: 16px;
  }


	

/* Giới hạn chiều rộng ảnh logo footer trên mobile */
@media (max-width: 767px) {
.img-inner img {
  max-width: 200px;
  width: 100%;
  height: auto;
}




	
/* ===== CĂN GIỮA NÚT TRONG BANNER CHO MOBILE ===== */
@media (max-width: 767px) {
    .btn-banner-4aufa {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
    }
}

	
	
/* ===== THU NHỎ FONT MOBILE 4 Ô BẢNG DỊCH VỤ ===== */
@media screen and (max-width: 768px) {
  .banner .text-box.res-text .button span {
    font-size: 14px !important;
    line-height: 1.3em !important;
    white-space: normal !important; /* Cho chữ xuống dòng nếu cần */
  }
}
