/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*TỔNG QUAN*/
.elementor-post__title, .entry-title /*Giới hạn text cho tiêu đề*/
{-webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; display: -webkit-box;}

ul, ol /*Chỉnh padding cho danh sách*/
{padding-left:10px; list-style: none;}

/*Cố định thành phần khi cuộn chuột*/
.box-sticky 
{height: max-content; position: sticky!important;  position: -webkit-sticky!important; top: 5%!important;}
@media (max-width:1024px) {
    .box-sticky {position: static!important;}
}
@media (max-width:767px) {
    .box-sticky {position: static!important;}
}

.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure  /*Fix lỗi hình ảnh mặc định cứ bị căn lề trái*/
{margin:0 auto!important;}
figure .wp-caption-text{text-align:center;}

@media (max-width:1024px) { /*Fix nav menu có background màu đen khi ở mobile*/
    .elementor-nav-menu--dropdown .elementor-item.elementor-item-active, .elementor-nav-menu--dropdown .elementor-item.highlighted, .elementor-nav-menu--dropdown .elementor-item:focus, .elementor-nav-menu--dropdown .elementor-item:hover, .elementor-sub-item.elementor-item-active, .elementor-sub-item.highlighted, .elementor-sub-item:focus, .elementor-sub-item:hover 
	{background:rgba(0,0,0,0.0);}
}

/*Chỉnh scrollbar*/
::-webkit-scrollbar
{width: 0.5vw; height: 0.5vw; background:#ddd; overflow-x: hidden;}
::-webkit-scrollbar-thumb
{background: var(--e-global-color-primary); border-radius: 2px;}
html /*Hỗ trọ với trình duyệt Firefox*/	
{scrollbar-width: thin; scrollbar-height: thin; scrollbar-color: var(--e-global-color-primary) #ddd;}

/*_____Nav Sub Menu cho từng danh mục*/
@media (max-width:767px) {
   .box-cate-sub ul /*Chỉnh danh mục con cuộn ngang khi ở chế độ di động*/
   {flex-wrap: nowrap!important; justify-content: flex-start!important; white-space: nowrap; overflow-x: scroll; cursor: pointer; padding-bottom:0.8rem!important;}
}

/*ĐẦU TRANG*/
/*_____Logo*/
.elementor-widget-image a img[src$=".svg"]
{width:350px!important;}/*Chỉnh ảnh svg bị nhỏ đi*/

/*_____Menu*/
.box-nav-home ul > li:first-child a
{margin-left: 25px;}
.box-nav-home ul li ul li a /*Chỉnh cho chỉ thẻ li đầu tiên thụt vào*/
{margin-left: unset!important;}
.box-nav-home nav ul li ul /*thêm padding right cho sub menu*/
{padding-right:1rem!important;}
 
/*TRANG CHỦ*/
/*_____Box Quy Trình*/
.box-qtrinh .elementor-icon-box-icon{
    
}
/*_____Box Đội Ngũ*/
.box-ndoingu .eael-testimonial-image
{padding:0px!important;}
.box-ndoingu .eael-testimonial-content
{padding:3rem;}
@media (max-width:1024px) {
    .box-ndoingu .eael-testimonial-content
	{padding:1rem;}
}
@media (max-width:767px) {
    .box-ndoingu .eael-testimonial-image
	{width:100%!important; }
	.box-ndoingu .eael-testimonial-content
	{width:100%!important; padding:1rem;}
}

/*TRANG TIN - DANH MỤC*/
/*_____Box_Global*/
.box-news-global .elementor-post__title a:hover  /*Đổi màu tiêu đề khi di chuột*/
{color:var(--e-global-color-primary)!important;}
/*_____Box_News_Archive*/
/*_____Tùy chỉnh phân trang box*/
.box-news-archive .elementor-pagination .page-numbers
{background-color: #fff;display:inline-block;line-height:10px;padding:8px;border:1px solid var(--e-global-color-primary);}
.box-news-archive .elementor-pagination .page-numbers:hover
{background-color: var(--e-global-color-accent)!important;color:#fff;}
.box-news-archive .elementor-pagination .current
{color:#fff;background-color: var(--e-global-color-primary)!important;}
.box-news-archive .elementor-pagination .page-numbers
{font-size:0.9rem!important;}

/*TRANG SẢN PHẨM - DANH MỤC */
/*_____Mô tả ngắn sản phẩm*/
.box-des-archive /*Tạo nền và padding cho box*/
{padding:1rem;border-style:solid;border-width:1px;border-color: #FFFFFF30;}
@media (max-width:1024px){ /*chỉnh chiều cao tối đa box ở trên mobile*/
	.box-des-archive
	{padding:0.6rem;}
	.box-des-archive 
	{max-height: 96px;overflow-y:auto;}
}
/*_____Menu danh mục sản phẩm con*/
.box-nav-sub-products ul /*xóa padding left box*/
{padding-left:0px;}
.box-nav-sub-products ul li  /*chuyển box thành dạng nằm ngang*/
{display:inline-block;padding-right: 1.5rem;}
.box-nav-sub-products ul li a /*đổi màu tiêu đề thành màu trắng*/
{display:block;color:#fff!important;}
.box-nav-sub-products ul li a:hover /*đổi màu tiêu đề khi hover chuột*/
{color:var(--e-global-color-accent)!important;}
@media (max-width:1024px) { /*Chỉnh box cuộn ngang khi ở chế độ di động*/
	.box-nav-sub-products
	{padding-bottom:0.5rem;z-index: 0;white-space: nowrap;overflow-x: scroll;cursor: pointer;}
 }
/*_____Box Sản phẩm*/
.box-products .ecs-posts /*Tạo viền cho box*/
{border-color: #ddd;border-style: solid;border-width: 1px 0px 0px 1px; }

.box-products article /*Tạo viền cho box*/
{border-color: #ddd;border-style: solid;border-width: 0px 1px 1px 0px;}
.box-products article:hover /*Đổi màu background box khi hover chuột*/
{background: var(--e-global-color-352093b);}
/*__________Phân trang box*/
.box-products .elementor-pagination .page-numbers
{background-color: #fff;display:inline-block;line-height:10px;padding:10px;border:1px solid #DDD;font-weight: bold;font-size: 0.9rem;}
.box-products .elementor-pagination .page-numbers:hover
{background-color: #ddd;color:#fff;}
/*__________Ảnh sản phẩm*/
.box-products .box-products-img img
{min-height:366px;max-height:366px;object-fit: cover;}
@media (max-width:1024px) {
     .box-products .box-products-img img
	 {min-height:248px;max-height:248px;object-fit: cover;}
}
@media (max-width:767px) {
    .box-products .box-products-img img
	{min-height:155px;max-height:155px;object-fit: cover;}
}
/*__________Tiêu đề sản phẩm*/
.box-products .box-products-title:hover .elementor-heading-title
{color:var(--e-global-color-accent);}
/*__________Mô tả ngắn sản phẩm*/
.box-products .box-products-des .elementor-text-editor
{-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;}
.box-products .box-products-des ul
{padding-left: 0px;}
.box-products .box-products-des ul li
{list-style: none;margin-left: 0px;line-height: 25px;padding-left: 20px;background-size: auto;
background: url('data:image/svg+xml;charset=utf-8,<svg height="12px" viewBox="0 0 512 512" width="12px" fill="rgb(255 82 64)" xmlns="http://www.w3.org/2000/svg"><path d="m256 0c-141.164062 0-256 114.835938-256 256s114.835938 256 256 256 256-114.835938 256-256-114.835938-256-256-256zm129.75 201.75-138.667969 138.664062c-4.160156 4.160157-9.621093 6.253907-15.082031 6.253907s-10.921875-2.09375-15.082031-6.253907l-69.332031-69.332031c-8.34375-8.339843-8.34375-21.824219 0-30.164062 8.339843-8.34375 21.820312-8.34375 30.164062 0l54.25 54.25 123.585938-123.582031c8.339843-8.34375 21.820312-8.34375 30.164062 0 8.339844 8.339843 8.339844 21.820312 0 30.164062zm0 0"/></svg>')  0 5px no-repeat;  
}

/*TRANG SẢN PHẨM - CHI TIẾT */
/*_____Ảnh SP*/
.box-products-detail .box-products-img img
{min-height:360px;max-height:360px;object-fit: cover;}
@media (max-width:1024px) {
     .box-products-detail .box-products-img img
	 {min-height:398px;max-height:398px;object-fit: cover;}
}
@media (max-width:767px) {
    .box-products-detail .box-products-img img
	{min-height:345px;max-height:345px;object-fit: cover;}
}
/*_____Mô tả ngắn*/
.box-products-detail .box-products-des ul
{padding-left:0px!important;border:1px solid #FFFFFF30;border-radius:5px;padding:0.5rem!important;}
.box-products-detail .box-products-des	ul /*giới hạn chiều cao box*/
{max-height: 112px;overflow-y:auto;}
.box-products-detail .box-products-des ul li
{list-style: none;margin-left: 0px;line-height: 25px;padding-left: 20px; background-size: auto;
	background: url('data:image/svg+xml;charset=utf-8,<svg height="12px" viewBox="0 0 512 512" width="12px" fill="rgb(255 82 64)" xmlns="http://www.w3.org/2000/svg"><path d="m256 0c-141.164062 0-256 114.835938-256 256s114.835938 256 256 256 256-114.835938 256-256-114.835938-256-256-256zm129.75 201.75-138.667969 138.664062c-4.160156 4.160157-9.621093 6.253907-15.082031 6.253907s-10.921875-2.09375-15.082031-6.253907l-69.332031-69.332031c-8.34375-8.339843-8.34375-21.824219 0-30.164062 8.339843-8.34375 21.820312-8.34375 30.164062 0l54.25 54.25 123.585938-123.582031c8.339843-8.34375 21.820312-8.34375 30.164062 0 8.339844 8.339843 8.339844 21.820312 0 30.164062zm0 0"/></svg>')  0 5px no-repeat;
}
/*_____Bài viết liên quan*/
.box-post-related p 
{font-size:1.2rem;font-weight:bold;margin-bottom: 0.5rem;}
.box-post-related ul
{padding-left:0px;}
.box-post-related ul li
{line-height:25px;}