/*
Theme Name: LePhuc Flatsome
Description: This is a child theme for Flatsome Theme
Author: LePhuc Themes 
Template: flatsome
Version: 3.17.7
*/
:root {
  /* Color */
  /* --primary-color: #2ca88e; */
  /* --secondary-color: #56ba7c;
	--success-color: #60C4AA;
	--alert-color: #FFE67C; */
  /* 
    Use With Value
    var(--primary-color); 
    var(--secondary-color); 
    var(--success-color); 
    var(--alert-color); 
    */
}

.absolute-footer {
  display: none;
}

.back-to-top {
  border-color: var(--secondary-color) !important;
  background-color: var(--primary-color) !important;
  color: white !important;
}

.bgr-fixed .bg {
  background-attachment: fixed;
}

.mr-b0 p,
.mr-b0 h2,
.mr-b0 h3,
.mr-b0 h4,
.mr-b0.button {
  margin-bottom: 0;
}

.mr-t0 p,
.mr-t0 h2,
.mr-t0 h3,
.mr-t0 h4 {
  margin-top: 0;
}

footer ul li {
  list-style-type: none;
  margin-left: 0 !important;
}

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

.radius-20px .img-inner {
  border-radius: 20px;
}

.home-duan .tab {
  & > a {
    padding: 0.5em 2em;
  }
  &.active > a {
    color: var(--fs-color-success);
  }
}

.home-duan .tab > a {
  background-size: 5em;
  padding-top: 4.5em;
  position: relative;
  z-index: 2;
}
.home-duan .tab > a:after {
  content: "";
  background: var(--bg-img) no-repeat scroll center center / contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  z-index: 1;
  bottom: 40px;
}

.home-dichvu .tab-panels {
  border: 1px solid #ddd;
  padding: 1em;
}
.home-dichvu .nav-outline > li.active > a {
  color: #daa520;
  border-radius: 0.7em 0.7em 0 0;
  padding: 0.5em 2em;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: none;
}
.home-dichvu .tab > a {
  padding: 0.5em 2em;
  border: 1px solid transparent;
  border-radius: 0.7em 0.7em 0 0;
  border-bottom: none;
}
.home-dichvu .panel,
.home-dichvu.row {
  .col-inner {
    border: 1px solid;
  }
  .box-image {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  .col-inner,
  .box-text a {
    transition: all 0.3s ease;
    &:hover {
      color: #ffffff;
    }
  }
  .col-inner:hover {
    background-color: var(--primary-color) !important;
    box-shadow: 0 1px 10px rgba(255, 255, 255, 0.5);
    border-color: var(--primary-color) !important;
  }
}

.lienhe-thongtin p {
  background: white;
  padding: 0.5em;
  border-radius: 0.5em;
  img {
    margin-bottom: 0 !important;
  }
}

.home-doitac .has-hover {
  max-width: 250px !important;
  width: 100% !important;
  height: 150px !important;
}

.home-doitac .img-inner.dark {
  margin: 0 0.5em;
  border-radius: 0.5em;
  border: 1px solid #cccccc8a;
  padding: 0 2em;
}

.readmore-danhmuc {
  overflow: hidden;
  position: relative;
  padding-bottom: 25px;
  max-height: 500px;
}
.readmore_danhmuc {
  padding: 1em 0;
  text-align: center;
}
.readmore-danhmuc.active {
  max-height: 100%;
}
.readmore_danhmuc_less a:after {
  border-top: 0 !important;
  border-bottom: 6px solid var(--fs-experimental-link-color);
}
.readmore_danhmuc a:after {
  content: "";
  width: 0;
  right: 0;
  border-top: 6px solid var(--fs-experimental-link-color);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  display: inline-block;
  vertical-align: middle;
  margin: -2px 0 0 5px;
}

.portfolio-inner img {
  width: revert-layer;
}

.post-related {
  .col-inner {
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    height: 100%;
    &:hover {
      border-color: var(--primary-color);
      background-color: var(--primary-color);
      box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
      h4 {
        a {
          color: #fff;
        }
      }
    }
  }
  .large-10.col {
    padding-bottom: 0;
  }
  .section-title-container {
    padding-bottom: 10px;
  }
  .post-item {
    img {
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }
    h4 {
      padding: 20px 15px;
      margin-bottom: 0;
      a {
        color: var(--primary-color);
        display: inline-block;
        line-height: normal;
      }
    }
  }
}
.readmore_danhmuc a:hover::after {
  border-top-color: var(--fs-experimental-link-color-hover);
}
.readmore_danhmuc_less a:hover::after {
  border-bottom-color: var(--fs-experimental-link-color-hover);
}
.wp-caption {
  max-width: max-content;
}
.wpcf7-form {
  margin-bottom: 0;
  .wpcf7-spinner {
    position: absolute;
  }
}
.wpcf7 .col-2 p {
  display: flex;
  justify-content: space-between;
  .wpcf7-form-control-wrap {
    width: calc(100% / 2 - 10px);
  }
}

.pricing-table .items {
  padding: 10px 10%;
}
.price-advanced:before {
  content: "GÓI \A PHỔ BIẾN";
  font-weight: 700;
  font-size: 12px;
  transform: rotate(45deg);
  text-align: center;
  position: absolute;
  z-index: 9;
  right: -7px;
  top: 0;
  color: #fff;
  white-space: pre-wrap;
}

.price-advanced:after {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  width: 94px;
  height: 94px;
  top: -5px;
  right: -6px;
}

.featured-table .title,
.pricing-table .title {
  background-color: white;
  border-color: white;
  padding: 1em;
  color: inherit;
  font-size: 22px;
}

.pricing-table .price {
  color: #fff;
  font-weight: 300;
  padding: 0.3em 0.6em;
  background: linear-gradient(90deg, rgba(231, 190, 135, 1) 0%, rgba(194, 136, 85, 1) 3%, rgba(14, 21, 39, 1) 18%);
}

.pricing-table {
  border: 1px solid #000000;
}

.btn-gradient-gold {
  background-image: linear-gradient(
    90deg,
    rgba(252, 246, 184, 1) 0%,
    rgba(253, 225, 143, 1) 20%,
    rgba(211, 175, 97, 1) 40%,
    rgba(255, 210, 106, 1) 60%,
    rgba(255, 240, 176, 1) 80%,
    rgba(213, 186, 126, 1) 100%
  );
  border: none;
  color: #000;
  &:hover {
    opacity: 1;
    box-shadow: none;
    color: #000;
  }

  &::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0px;
    border-radius: 99px;
    padding: 2px;
    background: linear-gradient(44deg, rgb(243 202 2) 14.64%, rgb(235 195 90) 51.1%, rgb(249 216 55) 85.36%);
    mask: linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px) content-box exclude,
      linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px);
  }
}
.carousel-main:not(.slick-initialized) {
  .carousel-cell:not(:first-child) {
    display: none;
  }
}

.carousel-nav:not(.slick-initialized) {
  display: flex;
}

.slick-dots {
  left: 0;
  bottom: 0;
}
.portfolio-summary p {
  margin: 0.5em 0;
}
.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.carousel .carousel-cell {
  outline: none;
}

.carousel-main .img-inner,
.carousel-nav .img-inner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-main .img-inner img,
.carousel-nav .img-inner img {
  width: 100%;
  display: block;
}

.carousel-nav {
  margin-top: 5px;
  text-align: center;
}

.carousel-nav .slick-slide {
  margin: 0 2px;
}

.carousel-nav .slick-slide.slick-current {
  opacity: 1;
}

.carousel-nav .slick-slide img {
  border-radius: 4px;
  box-shadow: none;
}

.single .carousel .image-cover {
  padding-top: 50%;
  cursor: pointer;
}

.slick-dots li button:before {
  font-size: 10px;
}

.slick-dots li {
  margin: 0 4px !important;
}

@media (max-width: 762px) {
  .carousel-cell {
    height: 100% !important;
  }
}

/* Dịch vụ thiết kế */
.dichvu-thietke .page-col,
.dichvu-thicong .page-col {
  padding: 0 1em !important;
}

/* End Dịch vụ thiết kế */
.project-gallery {
  margin-bottom: 1em;
}

.project-gallery-thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  /* Khoảng cách giữa các thumbnail */
}

.project-gallery-thumbnails .thumbnail {
  cursor: pointer;
  transition: transform 0.3s ease;
  height: auto;
  margin-bottom: 1em;
}

.project-gallery-thumbnails .thumbnail:hover {
  transform: scale(1.1);
  /* Hiệu ứng phóng to khi di chuột qua */
}

.duan-single {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 1em 0;
}

.duan-single .thongtin-duan h1 {
  padding: 0;
}

.duan-single .thongtin-duan {
  padding: 0 2em;
}

.thongtin-box-duan .large-12 p {
  font-size: 0.7em;
}

.thongtin-box-duan .large-12 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.portfolio-single-page .thongtin-box-duan .large-12 {
  display: none;
}

div#toc_container {
  width: 80% !important;
  border-radius: 0.5em;
  background: rgba(243, 243, 243, 0.95);
  margin: 0 auto 2em;
}

#toc_container p.toc_title {
  text-align: left;
}

.portfolio-related {
  padding-bottom: 15px;
  .large-12.flex.thongtin-duan {
    display: none;
  }
  .image-cover {
    border-radius: 5px;
  }
}
.row-grid .col-inner:not(:hover) .portfolio-box .box-text,
.row.large-columns-3 .col-inner:not(:hover) .portfolio-box .box-text {
  transform: translateY(20px);
}
.row.large-columns-3 {
  .col-inner .portfolio-box .box-text {
    /* height: 120px; */
    * {
      color: #000000;
      text-shadow: 0 0 black;
    }
  }

  .col-inner {
    overflow: hidden;
  }
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-2px) rotate(-5deg);
  }

  75% {
    transform: translateX(2px) rotate(5deg);
  }

  100% {
    transform: translateX(0);
  }
}

@media (min-width: 1201px) {
}

@media (min-width: 1600px) {
}

/* Từ ipad lớn trở lên */
@media (min-width: 850px) {
}

/*  Từ ipad trở lên */
@media (min-width: 550px) {
  .col.grid-col.grid-col-1-2.large-3.medium-6 {
    .thongtin-duan .large-6 p {
      font-size: 0.6em;
    }
  }
}

/*  Từ ipad pro đến 1200px */
@media (min-width: 1000px) and (max-width: 1200px) {
}

/*  Từ ipad đến ipad lơn */
@media (min-width: 850px) and (max-width: 1024px) {
}

/*  Từ mobile đến ipad */
@media (min-width: 550px) and (max-width: 850px) {
}

/*  Từ ipad trở xuống */
@media (max-width: 999px) {
}

@media (max-width: 849px) {
}

/*  Từ mobile trở xuống */
@media (max-width: 549px) {
  .wpcf7 .col-2 p {
    flex-direction: column;
    .wpcf7-form-control-wrap {
      width: 100%;
    }
  }
  .home-duan .tab {
    & > a {
      padding: 0.5em 1.2em;
    }
  }
  h2.section-title {
    font-size: 1.4em;
  }
  .home-dichvu .tab > a {
    padding: 0.5em 1em !important;
  }
}
.large-12.flex.thongtin-duan {
  gap: 20px;
}
.thongtin-duan .large-6 p {
  font-size: 0.7em;
}
#portfolio-content,
.portfolio-top .row.page-wrapper {
  padding-bottom: 0;
}
/* Custom CSS Mobile */
@media (max-width: 549px) {
  .duan-single {
    flex-wrap: wrap;
    padding: 0;
    margin: 0 -15px;
  }

  .portfolio-top .row.page-wrapper {
    padding-top: 0;
  }

  .duan-single .thongtin-duan {
    padding: 1.5em 1em 0;
  }

  .thongtin-box-duan .large-12 {
    justify-content: space-between;
    flex-direction: row;
  }

  .carousel-cell {
    height: 250px;
  }

  .carousel.carousel-nav,
  .carousel-nav .carousel-cell {
    height: 90px;
    margin-bottom: 0;
  }

  .product-slides-modal {
    max-width: 100%;
  }

  .large-7.slider-thumnail {
    width: 100%;
  }

  .carousel-main .slick-track img,
  .carousel-main .img-inner {
    border-radius: 0;
  }
}
