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


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.absolute-footer{
	display: none;
}
span.widget-title {
    font-weight: bold;
    color: black;
}
.textwidget {
    color: black;
}
ul#header-contact span {
    color: black;
    font-size: large;
}

/* Overlay */
.mbi-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 999;
}
.mbi-overlay.active {
  display: block;
}

/* Popup full màn hình */
.mbi-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1002;
  display: flex;
  flex-direction: column;
}
.mbi-popup.active {
  transform: translateY(0);
}

/* Header popup */
.mbi-popup-header {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: bold;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}
.mbi-popup-header button {
    background: #d2d2d7;
    color: #000;
    border: none;
    font-size: 10px;
    cursor: pointer;
    padding: 0px 10px;
    border-radius: 6px;
}
/* Body popup */
.mbi-popup-body {
  flex: 1;
  display: flex;
  overflow: hidden;
    padding-bottom: 50px; /* chừa 50px cách chân trang */

}

/* Menu cha */
.mbi-parent {
  width: 40%;
  background: #fafafa;
  border-right: 1px solid #eee;
  overflow-y: auto;
}
.mbi-parent ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mbi-parent li {
  padding: 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}
.mbi-parent li.active {
  background: #000;
  color: #fff;
  font-weight: bold;
}

/* Menu con */
.mbi-child {
  width: 60%;
  padding: 12px;
  overflow-y: auto;
}
.mbi-child h3 {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: bold;
}
.mbi-child a {
  color: #333;
  text-decoration: none;
}
.mbi-child ul {
  list-style: none;
  padding: 0;
}
.mbi-child li {
  margin-bottom: 8px;
}
.mbi-child li a {
  display: block;
  padding: 6px 0;
}

/* Menu dưới */
.mbi-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  z-index: 1100;
}
.mbi-menu a {
  flex: 1;
  text-align: center;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  flex-direction: column;   /* icon ở trên, text ở dưới */
  align-items: center;      /* căn giữa icon + text */
}
.mbi-menu a .mbi-icon {
  width: 25px;    /* icon đúng 25px */
  height: 25px;   /* giữ tỷ lệ vuông */
  margin-bottom: 4px; /* khoảng cách icon và text */
}
.mbi-menu a span {
  font-size: 12px;
}

.mbi-menu a:hover {
  color: #000;
}