/*
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.   ***************/
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}
.btn_lienhe_head {
  background: #ed081e !important;
  display: inline-block !important;
  color: #fff !important;
  padding: 9px !important;
  border-radius: 7px !important;
  font-size: 17px !important;
  animation: shake 3s infinite linear;
}
.btn_datlich_head {
  background: #b68236 !important;
  display: inline-block !important;
  color: #fff !important;
  padding: 9px !important;
  border-radius: 7px !important;
  font-size: 17px !important;
  animation: shake 3s infinite linear;
}
.btn_datlich_head i {
  font-size: 15px !important;
  margin-right: 5px !important;
}
.pd-0 {
  padding-bottom: 0;
}

.amlab_form input[type="submit"] {
  border-radius: 5px;
  padding-left: 80px;
  padding-right: 80px;
  /*margin-left: 80px;*/
}

.amlab_form {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
}

.amlab_form input[type="email"],
.amlab_form input[type="number"],
.amlab_form input[type="search"],
.amlab_form input[type="tel"],
.amlab_form input[type="text"],
.amlab_form input[type="url"],
.amlab_form textarea {
  background-color: rgb(252, 248, 237);
  border-width: 01px 01px 01px 01px;
  border-radius: 5px;
}

.amlab_footer .amlab_text a {
  color: rgb(60, 61, 47) !important;
}

/* .amlab_form .row_form .cl_form .amlab_button {
    margin-left: 45% !important;
} */
.slider_home_thietbi .banner .text-box .text-box-content .text-inner {
  padding: 15px !important;
}
.slider_home_thietbi .banner .text-box .text-box-content h3 {
  font-size: 20px;
}
a.danhmuc-hot::before {
  background: url(/wp-content/uploads/2024/05/vector-hotfn.webp);
  background-size: contain;
  background-position: top center;
  z-index: -1;
  background-repeat: no-repeat;
  content: "";
  width: 57px;
  height: 26px;
  transform: translateY(5px);
  display: inline-block;
  position: absolute;
  left: -55px;
}

.email_subscription .section-content .row {
  background: #f9f2dd;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 40px 100px 40px;
  border-radius: 4px;
}

.sec2 .row1 .cl2 .btn {
  color: #fff;
  text-align: center;
  padding: 12px 50px 10px 22px;
  border-radius: 25px;
  background: #de9602 url(/wp-content/uploads/2024/04/ic_arrow-right-white.png)
    right 18px center no-repeat;
  background-size: 16px;
  font-family: GoogleSans Bold, Arial, sans-serif;
  box-shadow: 10px 10px 16px rgb(63 106 240/19%);
}

.sec3 .row2 .cl1 img {
  border-radius: 0 70px !important;
  transition-duration: 0.3s;
  border-right: solid 4px #1c52c3;
  border-bottom: 4px solid;
  height: auto;
  max-width: 100%;
  border: none;
  box-shadow: none;
}

.absolute-footer {
  display: none;
}

.amlab-section .amlab-row .amlab-col .amlab-button {
  padding: 10px 40px;
  color: #1f2f98;
  border: 2px solid #1f2f98;
  background: #fff;
  text-transform: uppercase;
  border-radius: 100px;
  font-size: 15px;
  font-weight: bold;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.amlab-section .amlab-row .amlab-col .amlab-button:hover {
  color: #fff;
  background: #1f2f98;
}

.two-fields-on-same-line {
  display: flex;
  justify-content: space-between;
}

.two-fields-on-same-line .half-width-field {
  width: calc(50% - 5px);
  margin-right: 10px;
}

.two-fields-on-same-line .half-width-field:last-child {
  margin-right: 0;
}
.new-archive-category-box01-img {
  position: relative;
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
}

.new-archive-posts-img:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  left: 0;
  background: -webkit-linear-gradient(to top, #fdb813, rgba(152, 125, 64, 0.1));
  background: -o-linear-gradient(to top, #fdb813, rgba(152, 125, 64, 0.1));
  background: -moz-linear-gradient(to top, #fdb813, rgba(152, 125, 64, 0.1));
  background: linear-gradient(to top, #fdb813, rgba(152, 125, 64, 0.1));
  opacity: 0;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.new-archive-category-box01-img img {
  object-fit: cover;
  width: 100%;
}
.new-archive-category-box01-right .new-archive-category-box01-img img {
  height: 200px;
}
.new-archive-category-box01-left .new-archive-category-box01-img img {
  height: 405px;
}
.new-archive-content .item-date-cate {
  margin: 10px 0;
  align-items: center;
}
.new-archive-content .item-date {
  font-size: 12px;
  padding: 0 30px 0px 5px;
}
.row-small > .col.new-archive-category-box01-right {
  padding-left: 0px;
}
.new-archive-category-box01-right .col {
  padding-bottom: 0;
}
.row-small > .col.new-archive-category-box01-right > .row > .col:nth-child(1),
.row-small > .col.new-archive-category-box01-right > .row > .col:nth-child(3) {
  padding-right: 0px;
}
.new-archive-category-box01 .item {
  position: relative;
}
.new-archive-category-box01 .item .item-tt {
  position: absolute;
  left: 0px;
  padding-left: 5px;
  padding-right: 5px;
  bottom: 0px;
  margin-bottom: 0px;
  background: rgba(0, 0, 0, 0.6);
}
.new-archive-category-box01 .item .item-tt a {
  color: #fff;
  font-size: 14px;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .amlab_form {
    padding: 0;
  }
  .amlab_form input[type="submit"] {
    width: 100%;
  }
  .new-archive-category-box01-left .new-archive-category-box01-img img {
    height: auto;
  }

  .row-small > .col.new-archive-category-box01-right {
    padding: 0 9.8px 19.6px;
  }
  .row-small > .col.new-archive-category-box01-right > .row {
    overflow-x: auto;
    display: block;
    overflow-y: scroll;
    white-space: nowrap;
  }
  .row-small > .col.new-archive-category-box01-right > .row > .col {
    width: 80%;
    display: inline-block;
    padding-left: 0px;
    padding-right: 10px;
  }
}
