/*
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.   ***************/
input.wpcf7-form-control,
text-area {
  border: 1px solid #0000004d;
  border-radius: 8px;
  align-self: center;
  height: 55px;
  margin-bottom: 10px;
  font-size: 18px;
}
textarea {
  resize: none; /* Ngăn thay đổi kích thước */
}
.wpcf7 .wpcf7-not-valid-tip {
  box-shadow: 0 2px 2px 2px;
  margin-top: 5px;
  margin-bottom: 10px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
  margin: 0 auto;
  text-align: center;
  display: block;
}
span.wpcf7-spinner {
  display: none;
}
@keyframes runglac {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }
  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }
}
.runglac-btn i {
  animation: runglac 1s infinite ease-in-out;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
}
.runglac-btn:hover {
  background: #2e7a6e;
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}
.image-sale img {
  width: 100px;
  height: 43px;
  object-fit: cover;
}
.z99 .text {
  z-index: 999999999;
}
.image-sale {
  position: absolute !important;
  z-index: 99;
  left: 0;
  display: inline-block;
  margin: 0 auto;
  transform: translatex(calc(50% - 200px));
  right: 0;
  top: -32px;
}
.sp-nb {
  padding: 60px 5% 30px;
  border-radius: 12px;
  box-shadow: 0 2px 2px 4px rgba(0, 0, 0, 0.05);
  background: var(--primary-color);
  background-image: url("/wp-content/uploads/2024/10/section_about_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.sc-sale .sp-nb {
  background-color: darkred;
  background-image: unset;
}
.sp-nb .spnb-title {
  position: absolute;
  top: -30px;
  background: var(--primary-color);
  display: inline-block;
  width: auto;
  border-radius: 12px;
  height: auto;
  padding: 15px 30px !important;
}
.sp-nb .spnb-title h2 {
  padding: 0;
  margin: 0;
}
.sp-nb .spnb-title .col-inner {
  padding: 0 !important;
  margin: 0 !important;
}
.sp-nb .box {
  border-radius: 8px;
  box-shadow: 0 2px 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.form-groups p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
/* Home page - trang chủ */
.sc__wc .icon-box:not(:last-child) {
  margin-bottom: 30px;
}
.sc__wc .icon-box .icon-box-text h3 {
  padding-bottom: 0;
  margin-bottom: 0;
}
.sc__wc .icon-box .icon-box-img {
  border-radius: 100px;
  padding: 10px;
  background: linear-gradient(90deg, #fdc97d, #d0a73c);
  transition: 0.6s;
}
.sc__wc .icon-box:hover .icon-box-img {
  transform: rotateY(180deg);
}
.sc__wc .icon-box .icon-box-img img {
  padding-top: 0;
  margin-top: 0;
}
/* End home page */
/* Footer */
footer#footer .section-bg.fill {
  background-image: url("/wp-content/uploads/2024/10/footer_pattent.png");
}
.z-index {
  z-index: 9;
}
.absolute-footer {
  display: none;
}
/* End footer */
.contact_support {
  display: none;
  position: sticky;
  top: 200px;
  height: auto;
  width: auto;
  border-radius: 12px;
  max-width: 100% !important;
  background: #fff;
  z-index: 1000;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.is-divider {
  display: none;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

@media (max-width: 541px) {
  .sp-nb {
    padding-top: 45px;
    padding-left: 5px;
    padding-right: 5px;
    width: 95%;
  }
  li.html.custom.html_topbar_left {
    text-align: center;
  }
  .sc__wc .icb__mb--right .icon-box-img {
    order: -1;
  }
  .sc__wc .icb__mb--right .icon-box-text {
    text-align: left;
    padding-left: 1em;
    padding-right: 0;
  }
  .sc__wc .icon-box .icon-box-img {
    width: 60px !important;
  }
  .sc__wc .icon-box {
    margin-bottom: 10px !important;
  }
  .icb__mb--right {
    padding-bottom: 0;
  }
  .sc__wc .icon-box {
    display: block;
  }
  .sc__wc .icon-box .icon-box-img {
    text-align: center;
    margin: 0 auto;
    display: block;
  }
  .sc__wc .icon-box .icon-box-text {
    padding: 0;
    text-align: center;
  }
  .sc__wc .icon-box .icon-box-text p {
    font-size: 13px;
  }
  .sc__tieuchuan h5 {
    font-size: 12px;
  }
  .sc__tieuchuan p {
    font-size: 11px;
  }
  .contact_support {
    position: fixed;
    bottom: 5px;
    top: unset;
    right: 10px;
    left: 10px;
    width: 95%;
    margin: 0 auto;
    max-width: 100% !important;
  }
}
