/*
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.   ***************/
.menu-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}

.menu-icons .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.menu-icons .item i {
  font-size: 18px;
  margin-bottom: 6px;
}

.menu-icons .item span {
  font-weight: 400;
  font-size: 14px;
}

.menu-icons .item:hover {
  transform: translateY(-3px);
  color: #f0f0f0;
}
.header-search-form {
    width: calc(100% - 60px);
}

#footer .section-bg-overlay {
    background-color: var(--primary-color) !important;
    mix-blend-mode: multiply;
}

#footer  .section-bg img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-filter: blur(2px);
    filter: blur(2px);
}
.absolute-footer {
    display: none;
}
#footer .social-icons a {
    border-color: #fff !important;
}
.cnv-about {
    background-image: url(/wp-content/uploads/2025/10/bg-dot1.png);
    background-position: right 115px bottom 100px;
    background-repeat: no-repeat;
    padding-bottom: 50px;
}
.cnv-about .caption {
    width: 170px;
    height: 170px;
    background-image: url(/wp-content/uploads/2025/10/ab-img-bg.png);
    background-size: cover;
    position: absolute;
    right: -34px;
    max-width: 40%;
    border-radius: 5px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    bottom: 73px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
    .cnv-about  .caption .num {
			font-size: 36px;}
/* Số cột theo breakpoint */
.timeline-plain.timeline-carousel .timeline-item { width:100%; }              /* mobile: 1 cột */
@media (min-width:768px){  .timeline-plain.timeline-carousel .timeline-item { width:50%; } }        /* tablet nhỏ: 2 cột */
@media (min-width:992px){  .timeline-plain.timeline-carousel .timeline-item { width:33.3333%; } }   /* tablet lớn/laptop nhỏ: 3 cột */
@media (min-width:1200px){ .timeline-plain.timeline-carousel .timeline-item { width:25%; } }        /* laptop/desktop: 4 cột */

/* Hiệu ứng hover làm “ô số” sáng lên */
.timeline-plain .timeline-item .circle{
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.timeline-plain .timeline-item:hover .circle{
  transform: scale(1.05);
  box-shadow: 0 0 0 10px rgba(241,90,36,.20), 0 6px 20px rgba(0,0,0,.12);
  background: #fff7f2; /* nhẹ để thấy sáng */
}

    /* Vô hiệu hoá toàn bộ layout .col của Flatsome bên trong timeline */
    .timeline-plain .timeline-cell.col{
      flex: 0 0 auto !important;
      max-width: none !important;
      width: auto !important; /* width thực tế sẽ set bằng JS (px) */
    }
    /* Ghi đè rule Flatsome: .flickity-slider > div:not(.col){width:100%!important} */
    .timeline-plain .flickity-slider > .timeline-cell{
      width: auto !important;
    }

    .timeline-plain{ overflow:hidden; }
    .timeline-plain.flickity-enabled{ overflow:visible; }
    .timeline-plain .flickity-page-dots{ display:none; }





    .timeline-card .year{ margin-top:10px; font-weight:700; font-size:18px; }
    .timeline-card .content{ margin-top:8px; font-size:15px; line-height:1.6; }
        .timeline-plain{
      --line-color: #e85d1f; /* cam chủ đạo */
      --dot-size: 48px;
      --gap: 32px;           /* khoảng cách giữa các card */
      position: relative;
      padding: 40px 0 10px;  /* chừa chỗ cho đường timeline và vòng tròn */
      overflow: hidden;      /* khi chưa init */
    }
    /* ĐƯỜNG TIMELINE chạy ngang, mờ dần ở 2 đầu */
    .timeline-plain::before{
      content:"";
      position:absolute; left:0; right:0;
      top: 75px; 
      height: 3px;
      background:
        linear-gradient(to right, rgba(232,93,31,0), var(--line-color) 12%, var(--line-color) 88%, rgba(232,93,31,0));
      opacity:.95;
      pointer-events:none;
    }
    .timeline-plain.flickity-enabled{ overflow: visible; } /* sau khi init */

    /* CELL ngoài – né Flatsome grid */
    .timeline-plain .timeline-cell.col{
      flex: 0 0 auto !important;
      max-width: none !important;
      width: auto !important; /* JS sẽ set px + !important */
    }
    /* Ghi đè rule flatsome: .flickity-slider>div:not(.col){width:100%!important} */
    .timeline-plain .flickity-slider > .timeline-cell{ width:auto !important; }

    /* CARD bên trong (nội dung) */
    .timeline-card{
      box-sizing:border-box;
      padding: 69px 18px 20px;     /* chừa phía trên cho vòng tròn */
      text-align: center;
      color: #e85d1f;              /* nội dung cam như ảnh */
      transition: transform .2s, box-shadow .2s;
      position: relative;
      min-height: 160px;
    }


    /* Vòng tròn số nằm giữa đường */
    .timeline-card .circle{
      position: absolute;
      top: 10px; left: 50%;
      width: var(--dot-size); height: var(--dot-size);
      margin-left: calc(var(--dot-size)/-2);
      border-radius: 999px;
      background: #fff;
      border: 3px solid var(--line-color);
      color: var(--line-color);
      font-weight: 700;
      display: flex; align-items:center; justify-content:center;
      line-height: 1;
      box-shadow: 0 0 0 3px #fff; /* tạo viền trắng tách khỏi đường cam */
      z-index: 2;
      transition: filter .2s, box-shadow .2s, transform .2s;
			font-size:22px;
			padding-top:6px
    }
    .timeline-card:hover .circle{
      filter: brightness(1.1);
      box-shadow: 0 0 0 3px #f159216e;
      transform: translateY(-1px);
    }

    /* Năm (ghi nghiêng màu xám) */
    .timeline-card .year{
      margin-top: 6px;
      color: #7a7a7a;
      font-style: italic;
      font-weight: 600;
      font-size: 16px;
    }
    /* Nội dung chính màu cam, đậm hơn */
    .timeline-card .content{
      margin-top: 10px;
      font-size: 16px;
      line-height: 1.6;
      font-weight: 700;
      color: #e85d1f;
    }

    /* Ẩn dots, ẩn nút prev/next để giống ảnh */
    .timeline-plain .flickity-page-dots{ display:none; }
    .timeline-plain .flickity-prev-next-button{ display:none; }

.timeline-card:hover .circle{
	background:#f15921;
	color:#fff
		
}
.product_cate_home .box-image {
    border: solid 1px;
    padding: 6px;
}
.product_cate_home .box-image .image-cover {
    border-radius: 100%;
}
.product_cate_home button {
    background: unset !important;
    box-shadow: unset !important;
}
.hv_divider_title .is-divider {
    background-color: #e2a63d;
}
.box-text-products {
    padding: 12px 15px 6px 15px;
    font-size: 1em;
}

.product-small.col>*:hover {
    border-color: var(--primary-color);
    box-shadow: 2px 2px 2px #ccc;
}
.product-small.col>* {
    border: solid 1px #ddd;
    border-radius: 15px;
    overflow: hidden;
	    height: 100%;
}
.badge-container {
    display: none;
}
.chung_chi .icon-box {
    border: solid 1px var(--primary-color);
    border-radius: 99px;
}
.chung_chi .icon-box-img {
    padding: 10px;
    border: solid 1px var(--primary-color);
    border-radius: 99px;
}
.chung_chi .icon-box-text strong {
    font-size: 16px;
}
.chung_chi .icon-box-text {
    padding-top: 8px;
}
.chung_chi .icon-box-text * {
    margin: 0 !important;
}
.row-slider-image-box:hover .flickity-prev-next-button {
    bottom: 0;
    height: 100%;
    margin: 0 !important;
    top: -2px;
    width: 30px;
    opacity: 1 !important;
}
.row-slider-image-box .testimonial-text {
    min-height: 180px;
}
.row-slider-image-box .flickity-page-dots {
    display: none;
}
.row-slider-image-box:hover .flickity-prev-next-button>svg {
    border-radius: 33px;
    background: #fff;
    border: solid 1px var(--primary-color);
    color: var(--primary-color);
}

.post-item .is-divider{
	display:none
}
.archive .post-item>div {
    border: solid 1px #eee;
    border-radius: 15px;
    height: 100%;
	overflow:hidden
}
.archive  .box-text {
    padding: 15px;
}
.archive .post-item>div:hover {
	border-color:var(--primary-color)
}

.blog_pd10 .post-item {
    padding-bottom: 10px;
}
.form-wrap {
  background-color: #f2f9fc;
  padding: 20px 20px 0 20px;
  border-radius: 10px;
  font-family: inherit;
}

.wpcf7-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.lien_he .wpcf7-form .form-row {
  margin-bottom: 0px;
}
.wpcf7-form .form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wpcf7-form .form-row.full {
  flex-direction: column;
}
.form-wrap label {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.form-wrap input,
.form-wrap textarea {
  border: 1px solid #cdd6e0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-wrap input:focus,
.form-wrap textarea:focus {
  border-color: #009ee0;
}

.form-submit {
  text-align: center;
}

.form-submit input[type="submit"] {
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
	    margin-bottom: unset;
}

.form-submit input[type="submit"]:hover {
  background-color: #0d6efd;
  color: #fff;
}
div#inet-webkit-contact {
    top: unset !important;
    bottom: 88px !important;
}
.inet-webkit-call {
    top: unset !important;
    bottom: 11px !important;
}
.tp-cta {
    display: inline-flex
;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3B54D8, #2F43B7);
    color: #fff !important;
    text-decoration: none;
    user-select: none;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(31,42,68,.08);
    transition: transform .2s 
ease, box-shadow .2s 
ease, background .3s 
ease;
    border: 1px solid rgba(255, 255, 255, .15);
}
.tp-cta-sub {
    opacity: .9;
    font-size: 13px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, .35);
}
.tp-cta-ic {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}
.tp-cta:active {
    transform: translateY(0);
}

.tp-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(59, 84, 216, .25);
}

.lien_he {
    border-radius: 20px !important;
    background: #f2f9fc;
    overflow: hidden;
    padding: 39px !important;
}
#lien-he {
    background: unset !important;
}
.close-inside.mfp-close {
    background: unset;
    opacity: 1;
    font-size: 30px;
}

.bnt_lien_he .zalo:before {
    content: "";
    width: 39px;
    height: 23px;
    background: url(/wp-content/uploads/2022/12/zalo-wp.png) no-repeat;
    position: absolute;
    z-index: 1;
    margin: 10px 0 0 0;
    background-size: contain;
}
.bnt_lien_he .zalo span {
    margin-left: 46px;
}
.bnt_lien_he span {
    font-family: "League Spartan", sans-serif;
}
#footer .menu-item::before {
    margin: -23px 11px 0 0;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.accordion-inner {
    padding: 20px 0 !important;
}
.lien_he .form-row {
    display: block !important;
}
.lien_he .form-wrap label {
    display: none;
}	
.mfp-container {
    padding: 15px;
}
.lien_he .form-wrap {
    padding: 0;
}
.lien_he svg.tp-cta-ic {
    rotate: 90deg;
}


}