/*
Theme Name: Gia công cơ khí
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.taisaogt-col .col-inner:hover {background:#F35704 !important; color:#fff; border-color:#F35704 !important;}
.taisaogt-col .col-inner:hover .tsbox2 {display:block}
.taisaogt-col .col-inner:hover .tsbox1 {display:none}
.taisaogt-col .col-inner:hover h4 {color:#fff;}
#rev_slider_1_1_wrapper .lark::after {
    background: rgb(187 185 185 / 74%);
}
#rev_slider_1_1_wrapper .lark::before{
   content: none;}
.header-top {background:#FFF4DB}
#top-bar .fa-solid {color:#BD1C1D !important;}
#main {background:#f9f9f9;}
.section-title-normal span {border:none; background: linear-gradient(90deg,rgba(255, 112, 72, 1) 0%, rgba(158, 20, 28, 1) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; padding:0px; min-width:45%; font-size:28px; text-align:left} 
/* Tablet + Mobile */
@media screen and (max-width:1180px) {
    .header-top {background-image:none !important; background-color:#bd1c1d !important;}
    .section-title-normal span {font-size: 24px;}
	.section-title-normal {margin-bottom: 10px;}
	.header-button-1 {
		min-width: 195px;
    	font-size: 12px;
	}
}
.section-title-normal {border:none; background:transparent;}
.section-title-container {margin-bottom:0;}
.product-small.box {background:#fff; border:2px solid #ddd;}
.testimonial-meta {color:#e95c1d;}
.product-small .box-text {padding:10px 0 10px 0;}
.add-to-cart-button a {font-size:12px !important; background-color:transparent !important; color:#FF0000 !important; border-radius:7px !important}
img.size-full.alignnone {margin-bottom:0;}
.blog-tc .post-title {height:40px; overflow:hidden; margin-bottom:10px;}
.post-meta {margin-bottom:10px;}
.widget a {color:#000 !important;}
.widget a:hover {color:#e95c1d !important;}
.widget .is-divider {display:none;}
span.widget-title {display:block; background:#bd1c1d; color:#fff; padding:14px; text-align:center; margin-bottom:10px;}
.recent-blog-posts-li a {font-size:13px;}
.section-title a {margin-right:10px; background: linear-gradient(90deg,rgba(255, 112, 72, 1) 0%, rgba(158, 20, 28, 1) 100%);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight:500; font-size:16px;}
.header-button-1 a { background: url(http://template.demo-thietkeweb.com/globalfire/wp-content/uploads/2026/09/Rectangle-40732.png) center no-repeat; background-size:cover;}
.ux-search-submit,
.search-field {
height: 45px !important;
border-radius: 100px !important;
    padding-left: 20px !important;
}
.ux-search-submit {
    width: 60px;
    background: none !important;
    box-shadow: 0 0 0 !important;
    text-shadow: 0 0 0 !important;
    border: none;
position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.ux-search-submit i {
color: #333;
}
.searchform {
    min-width: 350px;
    border-radius: 100px;
    overflow: hidden;
    padding: 10px;
}
.col.post-item .button,
.but-no-bo.secondary  {
    border-radius: 6px !important;
}
.logo-slider2 .ux-logo img {
border: 1px solid #e1e1e1;
}
.list-footer ul {
    list-style: none;
}
.list-footer ul li {
    background: url(https://ptlemidia.com/wp-content/uploads/2024/09/ft1.png) 0 4px no-repeat;
    padding-left: 34px;
    margin: 0 0 10px;
    line-height: 30px;
}
.list-footer ul li:nth-child(2) {
    background: url(https://ptlemidia.com/wp-content/uploads/2024/09/ft2.png) 0 4px no-repeat;
}
.list-footer ul li:nth-child(4) {
    background: url(https://ptlemidia.com/wp-content/uploads/2024/09/ft3.png) 0 4px no-repeat;
}
.list-footer ul li:nth-child(5) {
    background: url(https://ptlemidia.com/wp-content/uploads/2024/09/ft4.png) 0 4px no-repeat;
}
.product-small.box .add-to-cart-button .primary {
 	border-radius: 6px !important;
}
.product-thumbnails img {
		height: 80px;
}
.content-row .col.large-9 {
	padding-left: 0;
	border: none !important;
}

.transparent #logo img {background:none !important; box-shadow:none !important; max-height:90px !important;}

.header-button span:before {content: "\f0c9"; font-family: FontAwesome; padding-right:10px}
.dark .nav > li.active > a, .dark .nav > li > a.active, .nav-dark .nav > li.active > a, .nav-dark .nav > li.current > a, .nav-dark .nav > li > a.active {font-weight:700; color: #ffffff !important;}
.box-category .overlay {
	background: #4E4E4E !important;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    height: 50px;}
.box-category {border-radius:3px;}

.box-category:hover .overlay {
	background: linear-gradient(180deg,rgba(189, 28, 29, 1) 0%, rgba(255, 255, 255, 0) 100%) !important;
	height: 100%;}
.box-category .box-text {top:0;}
.box-category:hover .box-text {
	background-color: transparent !important;
}
.box-category h5 {
	font-size: 16px;
}
.bor-pic img {border-radius:12px;}
.is-outline.primary {background:transparent !important; color:#bd1c1d !important}
.is-outline.primary:hover {color:#fff !important; background:#bd1c1d !important}
.button.xemthem-but span:after {content: "\f061"; font-family: FontAwesome; padding-left:7px;}
.vcttext p {margin-bottom:5px;}
.vcttext span {border:1px solid #4e4e4e; padding:7px 20px; border-radius:99px;}
.hotline-col .col-inner {border-radius:15px 15px 15px 60px;}
.product_type_simple.is-outline {
	color: #4E4E4E !important;
    border: 1px solid;
    font-weight: normal;
    font-size: 14px;
    padding: 2px 15px 0;
}
.product_type_simple.is-outline:hover {
    color: #fff !important;
    border: none;
    font-weight: bold; 
	background:linear-gradient(90deg,rgba(255, 112, 72, 1) 0%, rgba(158, 20, 28, 1) 100%);
 }
.product-small.box { border:1px solid #ddd !important}
.product-small.box .product-title a {font-weight: 500; color: #000; font-weight:600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
	line-height: 22px;
	height: 44px;
}
.product-small.box .price {color:#FF0000; margin: 6px 0}
.duan-tc .box-text {bottom:0px; display:none}
.duan-tc .box-image {border-radius:15px;}
.duan-tc .box-blog-post:hover .box-text {display:block;}
.duan-tc .overlay {background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(18, 107, 244, 0.89) 100%);}

.box-blog-post .post-title a {
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 600;
}
.box-blog-post:hover .post-title a {color:var(-primary-color);}
.wpcf7-spinner {display:none}
#footer .form-flat input:not([type=submit]) {background:#fff;}
#footer input[type='submit']:not(.is-form) {background-color:#F03800;}
.breadcrumbs {font-size:25px;}
.duan-tc .box-blog-post:hover .post-title a {color:#fff;}
.home-icon-wrap{
    position:relative;
    display:inline-block;
    width:18px;
    height:18px;
    vertical-align:middle;
}

.home-icon-wrap img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    transition:opacity .25s ease;
}

.home-fill{
    opacity:0;
}

.nav > li:hover .home-fill,
.nav > li.current-menu-item .home-fill,
.nav > li.current_page_item .home-fill{
    opacity:1;
}

.nav > li:hover .home-outline,
.nav > li.current-menu-item .home-outline,
.nav > li.current_page_item .home-outline{
    opacity:0;
}
.hotline-link,
.hotline-link span{
    color:#bd1c1d !important;
    transition:color .3s ease;
}

.hotline-link:hover,
.hotline-link:hover span{
    color:#28a745 !important;
}
.relatedcat {
    padding: 0 20px 8px;
}
.entry-meta .byline {
    display: none;
}
/* Giá thường */
.price > .woocommerce-Price-amount,
.price > span.woocommerce-Price-amount {
    color: #FF0000 !important;
    font-weight: 600 !important;
}

/* Giá gốc */
.price del,
.price del .woocommerce-Price-amount {
    color: #333 !important;
    font-weight: 400 !important;
}

/* Giá giảm */
.price ins,
.price ins .woocommerce-Price-amount {
    color: #FF0000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.cart {
    display: none !important;
}
#footer .menu a,
#footer .textwidget a,
#footer p a,
#footer li a {
    color: #fff !important; /* đổi thành màu hiện tại của chữ */
}

#footer .menu a:hover,
#footer .textwidget a:hover,
#footer p a:hover,
#footer li a:hover {
    color: #fff !important;
    font-weight: 700 !important;
}
/* Dropdown bình thường */
.header-nav .sub-menu {
    background: #ffffff !important;
}

.header-nav .sub-menu a {
    color: #bd1c1d !important;
    font-weight: 400;
    transition: all 0.2s ease;
	display: block;
}

/* Khi hover */
.header-nav .sub-menu li a:hover {
    background: #bd1c1d !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}
.product-small.box .box-image img {
	height: 220px;
	object-fit: cover;
}
/* Toàn bộ thanh top-bar */ 
/* Container tổng: nền xanh làm nền chính */ 
#top-bar.header-top {
    position: relative;
    padding: 10px 0;
    width: 100%;
    overflow: hidden;
    background: #FFF4DB !important;
}
/* Lớp xám vát chéo bên phải */
.flex-left,
.flex-right {
    position: relative;
    z-index: 2;
	}
@media screen and (max-width:849px) {
    #top-bar.header-top::before {display:none;}
}

a.button.xemthem-but {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	background: #FF9800 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 20px;
    border-radius: 0px !important;
    border: 4px solid #ffffff;
    outline: 2px solid #FF9800;
    outline-offset: 0;
    text-decoration: none;
    transition: all 0.3s ease;
	    box-shadow: 0 0 0 0 !important;
}

.button.xemthem-but span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
a.button.xemthem-but:hover {
	background: linear-gradient(90deg,rgba(255, 112, 72, 1) 0%, rgba(158, 20, 28, 1) 100%) !important;
	outline: 2px solid rgba(158, 20, 28, 1);
}

/* Mũi tên sau chữ */
.button.xemthem-but span::after {
    content: "→";
    font-size: 20px;
    font-weight: 400;
    color: #fff;
}
.button.xemthem-but:hover span::after {
	color: #ffffff;
}

/* Hiệu ứng hover (tuỳ chọn) */
/*.button.xemthem-but:hover {
    background: #ffe95c;
    transform: translateY(-2px);
}*/

.button.xemthem-but:hover span::after {
    transform: translateX(4px);
    transition: transform 0.2s ease;
}
.icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 8px;
}
.icon-box-left {
	display: flex;
	align-items: center;
}
.icon-box-left p {
	margin-bottom: 0;
}
.icon-box-img img, .icon-box-img svg {
	padding-top: 0;
}


@media only screen and (max-width: 550px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.content-row .col.large-9 {
	    padding-left: 15px;
	}
	.add-to-cart-button a {
	    font-size: 10px !important;}
	.bloghd2 .box-image {border-radius:12px 12px 0px 0px}
	.bloghd2 .box-text {border-radius:0px 0px 12px 12px;}
	.product-small.box .box-image img {
	    height: 145px;
	}
	.product_type_simple.is-outline {
	    font-size: 10px;
	}
	.box-category h5 {
		font-size: 14px;
	}
}
body .nav-dropdown>li.image-column, 
body .nav-dropdown>li.nav-dropdown-col {
	width: 100%;
}
body .nav-pagination>li>.current, 
body .nav-pagination>li>a:hover, 
body .nav-pagination>li>span:hover {
    color: #fff !important;
}
/* */
.bloghd1 .button {
    line-height: 31px;
    background: transparent;
    color: #4E4E4E !important;
    border: 1px solid;
}
.bloghd1 .button:hover {
    background: linear-gradient(90deg,rgba(255, 112, 72, 1) 0%, rgba(158, 20, 28, 1) 100%); !important;
    color: #fff !important;
    box-shadow: 0 0 0;
}
.bloghd1  .box-blog-post .post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 44px;
}
.col.post-item .post-title,
.bloghd1 .from_the_blog_excerpt  {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 44px;
}
/* */
.sp-bc .product-small.box:hover {
	background:linear-gradient(90deg,rgba(255, 112, 72, 1) 0%, rgba(158, 20, 28, 1) 100%);
}
.sp-bc .product-small.box:hover * {
	color: #fff;
}
.sp-bc .product-small.box:hover .primary {
	background: #FFF3DB !important;
	color: #DF2924 !important;
}
.product-small.box:hover {
	background: #FFF3DB;
}
.header-vertical-menu__opener {
	border-radius: 7px;
}
