/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.20.0
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/

/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

/* DEFAULT NO BORDER AND LINE-THROUGH */
.section-title-center b {
  opacity: 0;
}
.section-title-normal {
  border-bottom: none;
}

.section-title-normal span {
  border-bottom: none;
}
.text-cap span {
  text-transform: capitalize;
}
a:where(:not(.wp-element-button)) {
  text-decoration: none !important;
}
/* END */
.custom-title-banner h1 {
  line-height: 1.4;
}
.custom-menu-ft .ux-menu-link__link.flex {
  justify-content: center;
  color: #fff;
}
.absolute-footer {
  display: none !important;
}
.animation-text {
  padding: 20px 0;
}
.wpcf7-spinner {
	display:none;
}
.custom-box-icon:hover {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.custom-box-icon {
  background: #333;
  border-radius: 4px;
  padding: 50px 20px;
  height: 300px;
}
.custom-box-icon h3 {
  color: #fff;
  font-size: 20px;
}
.custom-box-icon p {
  font-size: 15px;
  color: #fff;
}
/* Khung form */
.cfx-booking {
  background: #f5f7fb;
  border-radius: 16px;
  border: 1px solid #e6e8ee;
  padding: 18px;
/*   max-width: 520px; */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.wpcf7-response-output {
	text-align:center;
}
.cfx-booking .cfx-title {
  text-align: center;
  color: #0d5aa7;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0 0 12px;
}

/* Field chung */
.cfx-field {
  position: relative;
  margin-bottom: 12px;
}
.cfx-field input,
.cfx-field select,
.cfx-field textarea {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d7dde6;
  background: #fff;
  padding: 0 14px 0 46px; /* chừa chỗ icon trái */
  font-size: 15px;
  font-weight: 500;
}
.cfx-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #778 50%),
    linear-gradient(135deg, #778 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.cfx-field input::placeholder {
  color: #98a0ab;
}

/* Icon trái (dùng emoji đơn giản, không cần font icon) */
.cfx-field::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 35%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(0.1);
  opacity: 0.9;
}

/* Mỗi icon một emoji */
.cfx-field.icon-pickup::before {
  content: "📍";
  z-index: 1;
}
.cfx-field.icon-dropoff::before {
  content: "📍";
  z-index: 1;
}
.cfx-field.icon-user::before {
  content: "👤";
  z-index: 1;
}
.cfx-field.icon-phone::before {
  content: "📞";
  z-index: 1;
}
.cfx-field.icon-car::before {
  content: "🚕";
  z-index: 1;
}
.cfx-field.icon-date::before {
  content: "📅";
  z-index: 1;
}

/* Khối checkbox 1 chiều/2 chiều với icon vòng lặp */
.cfx-trip-options .wpcf7-form-control-wrap {
  padding-left: 40px;
}
.cfx-trip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d7dde6;
  border-radius: 10px;
  background: #fff;
}
.cfx-trip input[type="checkbox"] {
  height: 20px !important;
  width: 20px !important;
  margin-bottom: 0;
}
.cfx-trip .wpcf7-list-item {
  display: flex;
  width: 100%;
}
.cfx-trip .wpcf7-list-item label {
  display: flex;
}
.cfx-trip p {
  width: 100%;
}
.cfx-trip p {
  position: relative;
}
.cfx-trip .cfx-icon::before {
  content: "🔁";
  font-size: 20px;
  display: inline-block;
  position: absolute;
  top: 24%;
}
.cfx-trip .cfx-trip-options label {
  margin-right: 16px;
}

/* Nút submit Flatsome */
.cfx-booking .button.warning {
  background: #ffa500 !important;
  border-color: #ffa500 !important;
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
  height: 50px;
  letter-spacing: 0.5px;
}
.cfx-booking .button.wide {
  width: 100%;
}
.cfx-booking .button.radius {
  border-radius: 10px;
}

/* Focus */
.cfx-field input:focus,
.cfx-field select:focus {
  border-color: #0bb2ff;
  box-shadow: 0 0 0 3px rgba(11, 178, 255, 0.15);
  outline: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .cfx-booking {
    padding: 16px;
  }
  #logo {
    width: 120px!important;
  }
  #masthead .medium-logo-center .flex-left {
    display: none!important;
  }
}

.header-button a {
  animation-name: scale;
  animation-delay: 1s;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  font-weight: 600;
}
.animation-text h3 a {
  text-decoration: none;
}
.animation-text h3 a:hover {
  color: var(--fs-color-success);
}
.custom-content-service {
  padding-top: 20px;
}
.custom-gallery-text .gallery-col .box-text p {
  color: var(--fs-color-alert);
  font-weight: bold;
}
@keyframes scale {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}
