/*
Theme Name: Flatsome Child Theme
Theme URI: https://lml.vn
Description: Thiet ke boi LML
Author: Le Phong
Author URI: https://zalo.me/0333361760
Template: flatsome
Version: 3.15
*/

@import url("../flatsome/style.css");

input[type=email], input[type=number], input[type=search], input[type=tel], input[type=text], input[type=url], textarea {
    color: #fff !important;
	font-weight: 600;
}
#wpcf7-f331-p32-o1 input,
#wpcf7-f331-p32-o1 textarea {
  color: #000 !important;
  font-weight: 600;
}

/*-- chia cột Form --*/
#info-left {
    width: 49%;
    float: left;
    margin-right: 2%;
}
#info-right {
    width: 49%;
    float: right;
}
.form-contact-twocol:after {
    content:"020";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
    overflow:hidden;
    margin-bottom:10px;
}
.form-contact-twocol {
    display:block;
}
/*-- Màu Background Row --*/
.tuy-bien-form{
background-image: linear-gradient(to right top, #051937, #004d7a, #008793, #00bf72, #a8eb12);}
/*-- Chèn icons lên Form --*/
.wpcf7 p{ position: relative; }
#icon-form{
    position: absolute;
    color: #ffffff;
    z-index: 100;
    font-size: 18px;
    top: 8px;
    left: 10px;
}
.wpcf7 p>span>input {
    border: 0 solid;
    border-bottom: 1px solid #ffffff;
    -webkit-box-shadow:unset;
    box-shadow: unset;
    background: transparent!important;
}
.wpcf7 p>span>textarea {
    border: 0 solid;
    border-bottom: 1px solid #ffffff;
    -webkit-box-shadow:unset;
    box-shadow: unset;
    background: transparent;
}
.wpcf7 input::placeholder{
    color: #ffffff;
}
.wpcf7 textarea::placeholder{
    color: #ffffff;
}
.contact-input {
    padding-left: 40px!important;
}
.mywebsite-custom-button{
    border: 1px solid white!important;
}
.wpcf7-spinner{
    display:none
}

#cf7-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#cf7-popup {
  background: #C5937A;
  padding: 30px;
  border-radius: 8px;
  max-width: 1200px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#cf7-popup-close {
  position: absolute;
  top: -10px; right: -30px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Footer Hotline Button */
#hotline-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background-color: #e60000; /* Nền đỏ */
  padding: 10px 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

#hotline-button a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #fff; /* Chữ trắng */
}

#hotline-button img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

#hotline-button span {
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  color: #fff;
}

@media (max-width: 768px) {
  #hotline-button {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  /* Khi có class .visible thì show */
  #hotline-button.visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Animation shake */
@keyframes shake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(15deg); }
  40% { transform: rotate(-15deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.shake-icon {
  animation: shake 1s infinite;
}