/*
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.   ***************/
body {
    font-weight: 400;
    font-style: normal;
    font-size: 100%;
    line-height: 1.6
}

h1,h2,h3,h4,h5,h6 {
    width: 100%;
    margin-top: .5em;
    margin-bottom: .5em;
    text-transform: uppercase;
    text-wrap: inherit
}

.h2,h2 {
    font-size: 23px;
    line-height: 1.3;
	color: #cd0118!important;
}

.h3,h3 {
    font-size: 20px
}

.h4,h4 {
    font-size: 17px
}

ol ol,ol ul,ul ol,ul ul {
    margin: 5px
}

ol,ul {
    list-style: none;
    padding: 0
}
p {
    margin-top: 0;
    font-size: 16px;
    color: #333;
}
blockquote,dl,figure,form,ol,p,pre,ul {
    margin-bottom: 10px
}
.tab-panels li:before, .single-page li:before, .term-description li:before, .shop-container li:before {
    content: "\f2f8";
    color: #b11c27;
    font-size: 13px;
    padding-right: 5px;
    font-family: 'Font Awesome 5 Pro';
}
.col-inner ol li, .col-inner ul li, .entry-content ol li, .entry-content ul li, .entry-summary ol li, .entry-summary ul li, .term-description ol li, .term-description ul li, .shop-container ul li {
    margin-left: 1em;
	color: #333333;
}
td, th {
    border-bottom: 1px solid #ececec;
    font-size: 16px;
    line-height: 1.3;
    padding: .5em;
    text-align: left;
}
.custom-product-page, .blog-single {
    background: #f1f1f1;
}
/* Xóa Icon của thẻ id trên header bottom */
.header-bottom i.icon-angle-down {
    display: none;
}
/* hết*/
.header-bottom ul.header-bottom-nav>li>a {
    color: #fff !important;
}
.header-main .header-nav {
    margin-top: unset !important;
	justify-content: space-around;
}
.bn-main-header {
    background: url(img/icon-header.webp) no-repeat center top;
    width: 800px;
    height: 95px;
}
.hotline-phone {
    background: url(img/phone.webp) left center no-repeat;
    padding-left: 44px;
    position: relative;
    margin-right: 40px;
}
.hotline-phone p {
    font-weight: 600;
    font-size: 25px;
}
.hotline-phone label {
    font-size: 20px;
    display: block;
    margin-bottom: 0px;
}
.flex-center-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
	line-height: 1.3;
}
.header-bottom .flex-right {
    max-width: 30%;
}
.header-bottom .header-bottom-nav > li.menu-item-has-children > a:after {
    content: "\f078";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    font-size: 13px;
    display: inline-block;
    margin: 0 0 0 7px;
}
.header-bottom .header-bottom-nav > li .sub-menu{
    width: 250px;
    position: absolute;
    top: calc(100% + 20px);
    visibility: hidden;
    opacity: 0;
    left: -1px;
    z-index: -1;
    text-align: left;
    transition: .3s;
    pointer-events: none;
    box-shadow: 0 15px 25px 0 rgb(0, 0, 0, 0.1);
    border: 1px solid #555;
    background: #fff;
    padding: 10px 0;
}
.header-bottom .header-bottom-nav > li .sub-menu:before {
    content: "";
    width: 100%;
    height: 10px;
    position: absolute;
    bottom: 100%;
    left: 0;
}
.header-bottom .header-bottom-nav > li:hover > .sub-menu{
    top: calc(100% + 0px);
    visibility: visible;
    opacity: 1;
    z-index: 99;
    overflow: visible;
    pointer-events: auto;
}
.header-bottom .header-bottom-nav > li .sub-menu li{
    width: 100%;
    float: left;
    padding: 0;
    position: relative;
}
.header-bottom .header-bottom-nav > li .sub-menu li.menu-item-has-children > a:after{
    content: "\f054";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    font-size: 13px;
    position: absolute;
    right: 10px;
    top:50%;
    margin-top: -8px;
}
.header-bottom .header-bottom-nav > li .sub-menu li a{
    padding: 7px 35px 7px 15px;
    font-size: 16px;
    display: block;
    text-transform: none;
    -webkit-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    font-weight: normal;
	color: black;
}
.header-bottom .header-bottom-nav > li .sub-menu li a:hover {
    background: #0a54c3;
    color: #fff;
}
.header-bottom .header-bottom-nav > li .sub-menu li .sub-menu{
    left: 100% !important;
    top: -1px;
    opacity: 0;
    visibility: hidden;
}
.header-bottom .header-bottom-nav > li .sub-menu li:hover > .sub-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.header-bottom .header-bottom-nav > li:last-child .sub-menu {
    right: 0 !important;
    left: auto !important;
}
.header-bottom .header-bottom-nav > li .sub-menu li:hover > a:before {
    opacity: 1;
}
.header-bottom .header-bottom-nav>li>a:before {
    content: "";
    color: #FFF!important;
    background-color: #e0e3e8;
    width: 47px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/* chỉnh section sản phẩm của chúng tôi */
.dv-home h4:before {
    content: "\f0c3";
    font-family: 'Font Awesome 5 Pro';
    padding-right: 10px;
}
/* Chỉnh title main menu */
h2.title {
    text-transform: uppercase;
    font-size: 22px;
    text-align: center;
    color: #222;
    position: relative;
    margin-bottom: 10px;
}
h2.title::before {
    border-bottom: 3px solid #0183bf;
    height: 35px;
    width: 88px;
    content: "";
    position: absolute;
}
.header-bottom:after {
    content: "";
    height: 3px;
    width: 100%;
    background: #b21b26;
    position: absolute;
    margin-bottom: -45px;
    box-shadow: rgb(0 0 0 / 25%) 0 6px 16px, rgb(0 0 0 / 17%) 0 4px 9px;
}
.vc_custom_heading {
    font-size: 40px;
	color: #cd0118;
}
.bg-primary {
    background-color: #cd0118 !important;
}
.wt-separator-outer {
    overflow: hidden;
	margin-bottom: 30px;
}
.wt-separator.style-square {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-width: 2px;
    border-style: solid;
    border-color: #d92027;
    display: inline-block;
    position: relative;
}
.wt-separator.style-square .separator-left, .wt-separator.style-square .separator-right {
    height: 3px;
}
.wt-separator .separator-left, .wt-separator .separator-right {
    position: absolute;
    top: 50%;
    width: 70px;
    height: 2px;
    margin-top: -1px;
}
.wt-separator .separator-left {
    left: -80px;
}
.wt-separator .separator-right {
    right: -80px;
}
.section-title-normal, .section-title-normal span {
    border-bottom: unset !important;
}
.section-title-normal span {
    padding-bottom: unset !important;
}
h3.section-title-normal, .product-section-title-related {
    font-size: 20px;
    color: #b11c27;
    margin: 20px 0;
    font-weight: 700;
    padding: 5px 10px;
    background: #edba6940;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-left: 12px solid #cd0118;
    position: relative;
    clear: both;
    width: 100%;
}
h3.section-title-normal:before, .product-section-title-related:before{
	content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    left: -7px;
    bottom: 0px;
    z-index: 1;
    background: #ffffff;
}
.text-home {
    padding: 5px;
    border: 1px dashed #59aa06;
    border-radius: 10px;
    color: #cd0118;
}
.view-product {
    text-transform: capitalize !important;
    width: 100%;
    font-size: 16px;
	margin-bottom: 0px !important;
	background-color: #cd0118;
}
.box-text-products {
    background: #fff;
}
.box-text.box-text-products {
    border-top: 1px dashed #e7e7e7;
}
.product-small .col-inner:hover {
    transform: scale(1.03);
}
.product-small .col-inner{
	border: 1px solid #f1f1f1;
}
.woocommerce-loop-product__title {
    font-weight: 700;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    padding: 5px;
}
.shop-container .product-small .box-image img {
    height: 234.66px;
    object-fit: cover;
    object-position: 50% 50%;
    width: auto;
}
.content-area .product-small .box-image img {
    height: 320.91px;
    object-fit: cover;
    object-position: 50% 50%;
    width: auto;
}
.product-small .box-image .image-fade_in_back>a:before, .woocommerce-product-gallery__image>a:before, .box-blog-post .box-image .image-cover:before{
    content:'';
    z-index: 3;
    width:100%;
    height:100%;
    background: url(img/bf-product.svg) no-repeat left 0;
    background-size: contain;
    position: absolute;
	top:0;
}
.tp-buy-now-button {
    background-color: #cd0118;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
    line-height: 25px;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    box-shadow: -1px 3px 5px 0 rgb(0 0 0 / 25%);
    display: grid;
}
.tp-buy-now-button span {
    font-size: 14px;
    color: #ffffff!important;
}
/* Chỉnh danh mục menu trong trang sản phẩm */
span.widget-title.shop-sidebar, .widget-title {
    margin-bottom: 15px;
    background: #cd0118;
    border-bottom: 3px solid #00b9cd;
    font-size: 19px !important;
    position: relative;
    padding: 10px 0;
    color: #fff;
    text-align: center;
    border-radius: 10px 10px 0 0;
    display: block;
    box-shadow: -1px 3px 5px 0 rgb(0 0 0 / 25%);
}
ul.product-categories {
    background: #cd0118;
}
ul.product-categories li a {
    padding: 10px;
    font-size: 16px;
	color:#fff;
}
.widget .current-cat>a, ul.product-categories li a:hover {
    color: #cd0118;
    font-weight: bolder;
    background: #ecb659;
}
ul.product-categories li:before {
    content: "" !important;
}
ul.product-categories li a:before {
    content: "\f205";
    font-family: 'Font Awesome 5 Pro';
    padding-right: 10px;
}
.product-title-container h1.product-title {
    color: #cd0118;
    font-size: 20px;
}
/*Chỉnh breacum trong trang sản phẩm*/
.rank-math-breadcrumb a{
	color:#dd0000;
}
.product-short-description a.button{
	width:30%;
	min-height:48px;
	margin-right:10px;
}
.product-short-description a.button span{
	color:black;
	font-size: small;
}
/* Tab trang sản phẩm */
.woocommerce div.product .wc-tabs li {
    background-color: #cd0118;
    border: none;
    padding: 0 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.woocommerce div.product .wc-tabs li:before {
	display:none;
}
.woocommerce div.product .wc-tabs li.active, .woocommerce div.product .wc-tabs li:hover {
    background-color: #ecb659;
}
.woocommerce div.product .wc-tabs li a{
	color:#fff;
}
.wc-tabs li{
	margin-bottom:3px !important;
}
/* tin tức */
.entry-image{
	text-align:center;
}
#ftwp-postcontent img,.entry-image img{
	max-width:600px;
	width:100%;
}
#ftwp-postcontent .wp-block-image{
	text-align:center;
}
#ftwp-postcontent .rank-math-answer {
	padding-left:30px;
	display: inline-flex
}
.tab-panels h2:before, .single-page h2:before {
    content: "\f0c9";
    font-family: 'Font Awesome 5 Pro';
    padding-right: 10px;
    color: #cd0118;
}
.box-blog-post .box-image .image-cover {
	padding-top: 100% !important;
}
.box-blog-post .box-image .image-cover img {
	width: 100%;
 	height: 100%;
	object-fit: cover; 
	object-position: 100% 0;
}
.box-blog-post .box-text {
	width: 100%;
    float: right;
	padding-top: 0px;
}
h5.post-title.is-large {
    font-weight: 600;
    text-transform: capitalize;
    color: #333;
}
.blog-single .large-9, .blog-single .large-3 {
    background: #fff;
	padding-top: 15px;
	border-radius: 10px;
}
h1.page-title.is-large.uppercase span {
    font-size: 30px;
    color: #b11c27;
}
h1.page-title.is-large.uppercase span:before {
    content: "";
    color: #b11c27!important;
    background-color: #b11c27;
    width: 180px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    bottom: -7px;
}
#shop-sidebar .box-blog-post .box-text {
    padding: 5px 20px;
    color: #333;
   border: 1px dashed #e7e7e7;
}
#shop-sidebar .box-blog-post .box-image{
	border: 1px dashed #e7e7e7;
}
.page-title-inner.container.flex-row.dark.is-large {
    min-height: 150px !important;
}
.featured-title {
    background-color: #cd0118;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
}
.blog-single .large-12 {
    background: #fff;
    border-radius: 10px;
}
.row.align-center {
    max-width: 1000px !important;
    margin: 0 auto;
}

/** Rank Math SEO FAQ **/
#rank-math-faq {
	margin-top: 40px;
	border: 1px solid #e0e0e0;
	border-top: 4px solid #cd0118;
	padding: 20px;
	position: relative
}
#rank-math-faq .rank-math-question {
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 28px;
	padding: 18px 0 13px;
	margin-top: 0;
	margin-bottom: 0;
	color: #333;
	position: relative;
	cursor: pointer
}

#rank-math-faq .rank-math-question:after {
	content: "\f078";
    font-family: 'Font Awesome 5 Pro';
	color:black;
	position: absolute;
	right: 0;
	top: 50%;
	z-index: 1;
	width: 10px;
	height: 10px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	transition: all .3s
}

#rank-math-faq .rank-math-question.faq-active:after {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg)
}

#rank-math-faq .rank-math-list-item:not(first-child) .rank-math-answer {
	display: none
}

#rank-math-faq .rank-math-list-item:not(:last-child) {
	border-bottom: 1px solid #f0f0f0
}

#rank-math-faq .rank-math-answer {
	padding: 0 10px
}

#rank-math-faq .rank-math-answer p,
#rank-math-faq .rank-math-answer {
	color: #666;
	background-color: #fff;
	font-size: 18px
}
/* End tin tức */
/*------------FOOTER----------------*/
/* Đổi màu liên kết trong footer */
footer a {
    color: #fff !important; /* Màu vàng nhạt để nổi bật trên nền xanh lá */
    text-decoration: none; /* Bỏ gạch chân */
}
/* Đổi màu liên kết khi hover */
footer a:hover {
    color: #FFA500; /* Màu cam khi hover */
    text-decoration: underline; /* Thêm gạch chân khi hover */
}
/*---BLOCK THÀNH TỰU----*/

.achievement-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px; /* Thêm padding để căn giữa */
}

.achievement-title {
  font-size: 1.8em; /* Giảm kích thước tiêu đề */
  color: #fff;
  margin-bottom: 20px;
  font-weight: bold;
}
.achievement-blocks {
  display: flex;
  justify-content: center; /* Căn giữa các block */
  align-items: center;
  padding: 20px;
  max-width: 800px; /* Giới hạn chiều rộng của các block để nhỏ lại */
  margin: 0 auto; /* Căn giữa toàn bộ các block */
}

.achievement-section {
  text-align: center;
  margin-bottom: 20px; /* Giảm khoảng cách giữa tiêu đề và các block */
  padding: 0 10px; /* Thêm padding để căn giữa */
}

.achievement-title {
  font-size: 1.5em; /* Giảm kích thước tiêu đề hơn nữa */
  color: #fff;
  margin-bottom: 15px;
  font-weight: bold;
}

.achievement-blocks {
  display: flex;
  justify-content: center; /* Căn giữa các block */
  align-items: center;
  padding: 10px; /* Giảm padding */
  max-width: 600px; /* Giới hạn chiều rộng của các block để nhỏ lại hơn nữa */
  margin: 0 auto; /* Căn giữa toàn bộ các block */
}

.achievement {
  text-align: center;
  flex: 1;
  margin: 5px; /* Giảm khoảng cách giữa các block */
  padding: 15px; /* Giảm padding bên trong block */
  border: 2px solid #fff; /* Viền màu trắng */
  border-radius: 8px; /* Bo góc */
  background-color: rgba(255, 255, 255, 0.1); /* Nền trong suốt nhẹ */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Đổ bóng nhẹ */
  max-width: 150px; /* Giới hạn kích thước mỗi block nhỏ hơn nữa */
}

.achievement h2 {
  font-size: 1.9em; /* Giảm kích thước số */
  color: #fff !important;
  margin: 0;
}

.achievement p {
  font-size: 0.9em; /* Giảm kích thước chữ mô tả */
  color: #fff;
  margin: 8px 0 0 0;
}
.ft-new img {
    -webkit-filter: brightness(0) invert(1);
}
.cs-phonef {
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 20px 10px 20px 10px;
    display: flex;
    position: relative;
}
.cs-phonef img {
    padding: 7px 5px 7px 6px;
    width: 57px;
    height: 57px;
    vertical-align: -11px;
}
.cs-phonef a {
    display: inline-block;
    font-size: 40px;
    font-weight: normal;
    line-height: 28px;
    margin-top: 10px;
    text-decoration: none;
}
.cs-phonef span {
    line-height: 25px;
    display: block;
    color: #b11c27;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: normal;
    position: absolute;
    top: -10px;
    left: 25px;
    background-color: #fff;
    padding: 0 15px;
}
.cs-likesocial {
    border: 1px solid #fff;
	border-radius: 15px;
	padding: 17px 20px 7px 20px;
	position: relative;
	float: left;
}

.cs-likesocial label {
	font-size: 13px;
	font-weight: normal;
	position: absolute;
	top: -10px;
	left: 25px;
	background-color: #fff;
	padding: 0 15px;
	color: #b11c27;
}

.cs-likesocial img {
	width: 28px;
	height: 28px;
	margin-right: 6px;
	vertical-align: -8px;
}

.cs-likesocial br {
	display: none;
}
.cs-likesocial a {
	font-size: 14px;
	display: block;
	width: 50%;
	float: left;
	margin-bottom: 9px;
}
.cs-chinhsach {
  border: 1px solid #fff;
	border-radius: 15px;
	padding: 20px 20px 10px 20px;
	position: relative;
	float: left;
}
.cs-chinhsach label {
	font-size: 13px;
	font-weight: normal;
	position: absolute;
	top: -10px;
	left: 25px;
	background-color: #fff;
	padding: 0 15px;
	color: #b11c27;
}

.cs-chinhsach img {
	width: 28px;
	height: 28px;
	margin-right: 6px;
	vertical-align: -8px;
}

.cs-chinhsach br {
	display: none;
}
.cs-chinhsach a {
	font-size: 13px;
	display: flex;
	width: 50%;
	float: left;
	margin-bottom: 9px;
}
.cs-chinhsach a:before {
    content: "\f192";
    color: #ffffff;
    font-size: 16px;
    padding-right: 10px;
    font-family: 'Font Awesome 5 Pro';
}
/*------------END FOOTER----------------*/

/*--------END TRANG SẢN PHẨM----------*/
/* Đảm bảo rằng các sản phẩm có cùng chiều cao */
.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Chiều cao đồng đều cho tất cả các sản phẩm */
}

/* Đặt chiều cao cố định cho phần tiêu đề */
.product-title {
    min-height: 62px; /* Điều chỉnh chiều cao tối thiểu theo nhu cầu của bạn */
    display: flex;
    align-items: center;
}
/*-------STYLE NÚT LIÊN HỆ------------*/


/* Style cho nút liên hệ */
.custom-contact-button .contact-button {
    display: block; /* Để nút chiếm toàn bộ chiều ngang của sản phẩm */
    width: 100%; /* Chiều ngang bằng với sản phẩm */
    background-color: #ffffff; /* Màu nền trắng */
    color: #006400; /* Màu chữ xanh */
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #006400; /* Viền xanh */
    transition: all 0.3s ease;
}

/* Hiệu ứng hover khi di chuột vào nút liên hệ */
.custom-contact-button .contact-button:hover {
    background-color: #00a651; /* Màu nền xanh khi hover */
    color: #fff; /* Màu chữ trắng khi hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Thêm bóng mờ khi hover */
    transform: scale(1.05); /* Phóng to nút khi hover */
}
/*------- END STYLE NÚT LIÊN HỆ------*/
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.content-area .product-small .box-image img, .shop-container .product-small .box-image img {
    height: 180.41px;
}
.view-product {
    font-size: 14px;
}
h3.section-title-normal, .product-section-title-related {
	font-size: 15px;
}
.wt-separator-outer {
    overflow: hidden;
    margin-bottom: 10px;
}
.vc_custom_heading {
    font-size: 35px;
}
.box-blog-post {
    display: flex;
}
.box-blog-post .box-text {
    padding-left: 10px;
}
p.from_the_blog_excerpt {
    font-size: 13px;
}
h5.post-title.is-large {
    font-size: 14px;
}
.box-blog-post .box-image {
    width: 40% !important;
}
}
@media (min-width: 1366px) and (max-width: 1439px) {
.container-width, .full-width .ubermenu-nav, .container, .row {
    max-width: 1200px !important;
}
.header-bottom ul.header-bottom-nav>li>a {
    color: #fff !important;
    padding: 0 10px;
    font-size: 15px;
}
.dv-home h4 {
    font-size: 20px;
}
.content-area .product-small .box-image img {
    height: 296px;
}
.shop-container .product-small .box-image img {
    height: 215.91px;
}
ul.product-categories li a {
    padding: 5px;
    font-size: 16px;
    color: #fff;
}
.tt-ft span.section-title-main {
    font-size: 18px;
}
.p-ft p {
    font-size: 25px !important;
    font-weight: 700;
}
.dc-lt .box-text {
    height: 80px;
}
}
@media (min-width: 1440px) and (max-width: 1920px) {
.container-width, .full-width .ubermenu-nav, .container, .row {
    max-width: 1380px !important;
}
.header-bottom ul li a {
    padding: 0 15px;
    font-size: 18px;
}
}
