/*
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.   ***************/
.row-form {
  padding: 20px !important;
  background-color: #ffffff47;
  margin-left: 0px !important;
  margin-right: 0px !important;
}
.row-form .wpcf7-submit {
  background: white !important;
  color: black;
  padding: 0px 50px;
}
.absolute-footer {
  display: none !important;
}
.amlab_col_icon_product .col-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  gap: 30px 20px;
}
.amlab_icon-single_product {
  width: 25% !important;
}
.amlab_icon-single_product img {
  width: 80px !important;
  height: 60px !important;
  object-fit: contain !important;
  margin-bottom: 10px;
}
.amlab_icon-single_product h3 {
  font-size: 16px !important;
  color: black;
  margin: 0 !important;
}
.amlab_icon-single_product p {
  margin: 0 !important;
  font-size: 13px !important;
}
.amlab_thin_title {
  color: #4f4f4f;
  font-size: 40px;
  font-weight: 200;
  text-transform: uppercase;
  line-height: 43px;
  letter-spacing: 1px;
}
.amlab_title_section {
  color: #4f4f4f;
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 42px;
  letter-spacing: 3.5px;
}
.amlab_download_btn {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 6px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  background-color: #6f7e8f;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #6f7e8f;
  padding: 8px 24px;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
}
.align-center {
  align-items: center !important;
}
.amlab_mg_auto {
  margin: 0 auto !important;
}
.amlab_mgt_80 {
  margin-top: -80px;
}
.single-product h1.product-title {
  color: #4f4f4f;
  font-size: 55px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 55px;
  text-align: center;
  margin: 30px 0 35px;
}
.single-product .woocommerce-tabs {
  max-width: 100% !important;
}
.single-product .wc-tabs.product-tabs {
  display: none !important;
}
.amlab_product_img_main .product-images {
  height: 500px !important;
  max-height: 500px !important;
}
.amlab_product_img_main .product-images img {
  max-height: 500px !important;
  object-fit: contain !important;
}
#amlab_related_product_wrapper .row.slider {
  max-width: 100% !important;
  border: none !important;
}
#amlab_related_product_wrapper .product-section-title {
  margin-left: 0 !important;
  font-size: 25px;
}
#amlab_related_product_wrapper {
  border: none !important;
}
.amlab_meta_category_container .amlab_meta_category img.amlab_cate_thumbnail {
  width: 100px;
  height: 100px;
}
.amlab_meta_category_container .amlab_meta_category .amlab_cate_title {
  color: #000000;
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 13px;
  letter-spacing: 3.2px;
}
.blog-wrapper#content .row {
  max-width: 100% !important;
}
.amlab_meta_category_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.amlab_flex_center .col-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.header-main .nav > li > a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  color: #222;
}
.amlab_input {
  box-shadow: none !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 2px solid #ddd !important;
  margin-bottom: 0;
}
.amlab_field_100 {
  width: 100%;
}
#amlab_email_footer {
  margin: 0;
  border-radius: 0px;
  padding-right: 110px;
  border: initial;
  min-height: 45px;
  background-color: rgba(0, 0, 0, 0.11);
  border-color: #1e2e3a;
  color: #f1c0b5;
}
#amlab_btn_submit {
  width: 200px;
  height: 45px;
  border: initial;
  background: #6f7e8f !important;
  color: #fff;
  text-transform: uppercase;
  position: absolute;
  right: 0;
  top: 0;
  line-height: 45px;
  border-radius: initial;
  transition: 0.4s all;
  margin: 0;
  font-size: 14px;
  font-weight: normal;
}
.product .amlab_meta_category_container {
  display: none;
}
.product .amlab_product_information .button {
  border-top: 1px solid #a6a6a6;
  border-bottom: 1px solid #a6a6a6;
  border-left: none;
  border-right: none;
  padding: 3px 30px !important;
}
.product .amlab_product_information .button:first-child:before {
  font-family: FontAwesome;
  content: "\f150";
  margin-right: 5px;
}
.product .amlab_product_information .button:before {
  font-family: FontAwesome;
  content: "\f0e0";
  margin-right: 5px;
  font-weight: 500;
}
.product .amlab_product_information .button span {
  font-weight: 500;
}
.amlab_slider .flickity-prev-next-button {
  color: #7a7a7a;
}
.amlab_slider .flickity-prev-next-button svg {
  fill: #7a7a7a !important;
}
.amlab_slider .flickity-prev-next-button .arrow {
  fill: #7a7a7a !important;
}
.amlab_slider .flickity-prev-next-button.previous {
  right: 98%;
}
.amlab_slider .flickity-prev-next-button.next {
  left: 98%;
}
.amlab_slider {
  max-width: 70%;
  margin: 0 auto;
}
.flickity-slider .slider-text {
  text-align: center;
  margin-bottom: 0;
}
.row.r_cover {
  margin: 0 auto !important;
  justify-content: center;
  align-items: center;
}
.flickity-slider .slider-text {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.5s ease;
}

.flickity-slider .slider-item.in-view .slider-text {
  opacity: 1;
  transform: translateY(40px);
}
.product-attributes-list .text_strong {
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
}
.product-attributes-list p {
  margin-bottom: 0;
  text-transform: uppercase;
}
.product-attributes-list .attribute-values {
  margin-bottom: 20px;
}
.header-language-dropdown a {
  display: inline-block;
}
.w_ft_amlab .col-inner,
.w_ft_amlab2 .col-inner {
  max-width: 808px;
  margin: 0 auto !important;
}
.w_ft_amlab2 .wpcf7 .wpcf7-form > p {
  display: flex !important;
}

.w_ft_amlab2 .wpcf7 input[type="email"] {
  flex: 1;
  padding: 20px 20px;
  border: none;
  background: #cccccc;
  font-size: 13px;
  margin-bottom: 0;
}

.w_ft_amlab2 .wpcf7 button {
  background: #6f7e8f;
  color: #fff;
  border: none;
  padding: 0 30px;
  font-weight: 600;
  letter-spacing: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 0;
}

.w_ft_amlab2 .wpcf7 input[type="email"]::placeholder {
  color: #555;
}
.s1_ft_amlab {
  padding-bottom: 30px;
  border-bottom: 1px solid #fff;
}
.w_ft_amlab h2 {
  font-size: 28px;
  font-weight: 400;
  color: #4f4f4f;
  margin-bottom: 0;
  letter-spacing: 5px;
}
.w_ft_amlab > .col-inner > p {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 300;
  color: #000;
}
.elementor-heading-title p {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-weight: 400;
}
.elementor-heading-title p a {
  color: #000;
}
.s2_ft_amlab .ux-menu-link__text {
  color: #3a3a3a;
  font-size: 12px;
}

.custom-lang-dropdown {
  position: relative;
  width: 40px;
  cursor: pointer;
  user-select: none;
  z-index: 999;
}

.custom-lang-dropdown .selected img {
  width: 24px;
  display: block;
}

.custom-lang-dropdown ul {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  margin: 0;
  padding: 5px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-lang-dropdown ul li {
  padding: 5px 10px;
}

.custom-lang-dropdown ul li img {
  width: 24px;
  display: block;
}

.custom-lang-dropdown.active ul {
  display: block;
}
.blog_sl_home {
  margin: 0 auto !important;
}
.div_none .is-divider {
  display: none;
}
.amlab_slider_colection .flickity-prev-next-button svg {
  fill: #000000;
}
.amlab_slider_colection .flickity-prev-next-button svg .arrow {
  fill: #000000;
}

/* */
.amlab_card{
	flex-basis: 25% !important;
    max-width: 35% !important;
}
.amlab_cards .amlab_card:hover {
    flex-basis: 60% !important;
    transition: .7s linear;
}
.amlab_cards{
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
}
.amlab_cards .amlab_card .box-image a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(12, 67, 103, 0) 0%, #0C4367 100%);
  visibility: hidden;
}
.amlab_cards .amlab_card:hover .box-image a::before {
  visibility: visible;
}
.amlab_cards .amlab_card .box-text {
  z-index: 3;
}
.amlab_cards .amlab_card .box-text h4 {
  opacity: 0; /* Thay visibility: hidden bằng opacity: 0 */
}
.amlab_cards .amlab_card:hover .box-text h4 {
  animation: appear .7s linear forwards; 
  z-index: 3;
  white-space: nowrap;
  color: #fff;
}
.amlab_cards .amlab_card h4 {
  font-size: 28px;
  text-transform: uppercase;
}
.amlab_cards .box-text{
	position: absolute;
	bottom: 0;
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


  .col_home_che_tac .posts-grid {
				display: grid;
				grid-template-columns: repeat(3, 1fr);
				gap: 20px;
				padding: 20px;
			}

			  .col_home_che_tac .post-item img {
				width: 100%;
				height: auto;
				aspect-ratio: 16/9;
				object-fit: cover;
				cursor: pointer;
			}

			.youtube-popup-overlay {
				display: none;
				position: fixed;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background: rgba(0, 0, 0, 0.8);
				z-index: 1000;
				justify-content: center;
				align-items: center;
			}

			.youtube-popup-content {
				position: relative;
				width: 80%;
				max-width: 800px;
				background: #fff;
				overflow: hidden;
			}

			.youtube-popup-video {
				position: relative;
				padding-bottom: 56.25%;
				/* 16:9 ratio */
				height: 0;
			}

			.youtube-popup-video iframe {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
			}

			.youtube-popup-close {
				position: absolute;
				top: 10px;
				right: 15px;
				font-size: 30px;
				color: #fff;
				cursor: pointer;
				z-index: 1001;
			}

			  .col_home_che_tac .post-item .youtube-popup {
				position: relative;
				display: block;
				overflow: hidden;
			}

			.youtube-popup::before {
				content: "";
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background-color: rgba(0, 0, 0, 0.4);
				z-index: 1;
			}

			.youtube-popup::after {
				content: "";
				background-image: url(/wp-content/uploads/2025/07/play.png);
				background-size: contain;
				background-repeat: no-repeat;
				width: 50px;
				height: 50px;
				display: block;
				position: absolute;
				left: 40%;
				top: 35%;

				opacity: 0.7;
				transform: scale(1);
				transition: transform 1s ease, opacity 0.3s ease;
				z-index: 10;
			}

			.youtube-popup img {
				display: block;
				width: 100%;
				height: auto;
			}




			.col_home_che_tac .post-item:hover .youtube-popup::after {
				opacity: 1;
				scale: 1.1;
			}

.col_home_che_tac .post-item .post-title{
  font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
    padding: 10px;
    color: #333;
}
.single_blog_video .col1{
      position: sticky;
    top: 100px;
        height: fit-content;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  min-width: 700px; /* bắt buộc đủ rộng để scroll */
}
.pricing-table th,
.pricing-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.pricing-table th {
  background: #333;
  color: #fff;
  font-weight: bold;
}
.pricing-table td[colspan] {
  background: #f5f5f5;
  font-weight: bold;
  text-align: left;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* mượt trên iOS */
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.archive-page-header h1.page-title{
  font-size: 32px;
}


@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
.single_blog_video .col1{
  position: unset;
}
  .single_blog_video{
  margin: 0 auto !important;
}
  .blog-single  >.row>.col{
  padding: 0;
 } 
 .col_home_che_tac .post-item .post-title {
    font-size: 14px;
    line-height: 18px;
}
.youtube-popup::after {
    width: 40px;
    height: 40px;
    left: 40%;
    top: 30%;
}

  .col_home_che_tac .posts-grid {
		grid-template-columns: repeat(2, 1fr);
    padding: 0;
	}

  .amlab_slider_colection{
	margin: 0 !important;
}
  .amlab_slider_colection .img .img-inner{
	padding-top: 365px !important;
 } 
  .w_ft_amlab .col-inner {
    max-width: 340px;
  }
  .w_ft_amlab h2 {
    font-size: 16px;
    max-width: 220px;
    margin: 0 auto;
  }
  .w_ft_amlab2 .wpcf7 .wpcf7-form > p {
    display: unset !important;
  }
  .w_ft_amlab2 .wpcf7 input[type="email"] {
    margin-bottom: 0;
  }
  .w_ft_amlab2 .wpcf7 button {
    width: 100%;
    font-size: 10px;
    padding: 9px;
  }
  .amlab_icon-single_product {
    width: 20% !important;
  }
  .amlab_icon-single_product h3 {
    font-size: 12px !important;
  }
  #amlab_related_product_wrapper .product-section-title {
    font-size: 20px;
  }
  .single-product h1.product-title {
    font-size: 35px;
  }
  .amlab_product_img_main .product-images {
    height: 400px !important;
    max-height: 400px !important;
    min-height: 400px !important;
  }
  .amlab_product_img_main .product-images img {
    max-height: 400px !important;
    min-height: 400px !important;
    object-fit: contain !important;
  }
  .amlab_meta_category_container .amlab_meta_category img.amlab_cate_thumbnail {
    width: 50px;
    height: 50px;
  }
  .amlab_meta_category_container .amlab_meta_category .amlab_cate_title {
    font-size: 8px;
  }
  .amlab_reverse_pos .amlab_product_img_main {
    order: 1;
  }
  .amlab_reverse_pos .amlab_product_information {
    order: 2;
  }
  .amlab_mgt_80 {
    margin-top: 0px;
  }
}
