/*
Theme Name: tanphuauto
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.sub-menu-block{
	    padding: 25px 20px 10px!important;
}
.sub-menu-block h4{
	font-size: 14px;
	color: #767677;
    font-weight: bold;
}
.sub-menu-block .ux-menu-link a{
	padding: 4px 8px;
    font-size: 0.9em;
    line-height: 20px;
    font-weight: normal;
    border-radius: 0;
}
.nav>li>a>i {
    font-size: 16px;
}
div#wide-nav {
    border-bottom: 3px solid #3c4044;
}
div#masthead .nav-left {
    justify-content: center;
}
input#woocommerce-product-search-field-0 {
    height: 48px;
    font-size: 16px;
    padding: 10px 20px;
}
select.search_categories.resize-select.mb-0{
    height: 48px;
    font-size: 16px;
    padding: 10px 20px;
    min-width: 150px;
    max-width: 150px;
}
.searchform-wrapper.form-flat .flex-col:last-of-type {
    margin-left: -3.9em;
}
.form-tim-kiem-nc {
    margin-top: 70px;
    margin-bottom: 0;
    display: block;
    z-index: 2;
    position: relative;
    background: #ffffffe8;
    border-radius: 5px;
    padding: 20px 20px 0;
    border: 5px outset #ea2628;
}
.form-tim-kiem-nc h3.title-search_form {
    margin-bottom: 20px;
    margin-left: -25px;
    margin-top: -68px;
    width: max-content;
    background: linear-gradient(90deg, #ea2628, #ea2628);
    color: #fff;
    padding: 5px 10px 10px;
}
.form-tim-kiem-nc form {
    display: flex;
    justify-content: center;
}
.form-group.submit-group{
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.form-group.submit-group button{
    margin: 0;
    width: 155px;
    color: white;
}
.form-tim-kiem-nc input, .form-tim-kiem-nc select{
    margin-bottom: 0 ;
}
.form-group {
    padding: 10px;
}
.product_cat_cs_home .col-inner{
    border: 1px solid #f2f2f2;
    background: #efefef;
}
.product_cat_cs_home {
    padding: 0 5px 10px 5px!important;
}
.product_cat_cs_home .col-inner:hover,.product-small .col-inner:hover{
    background: #f00;
    border: 1px solid #f00;
}
.product_cat_cs_home .col-inner:hover .box-text-products *,.product-small .col-inner:hover .box-text-products * {
    color: #fff;
}
.subcat_slide_title h5 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-transform: capitalize;
    line-height: 27px;
}
.product_cat_cs_home .col-inner:hover .subcat_slide_title h5{
    color: #fff;
}
.product_cat_cs_home .col-inner .box-text{
    padding: 0 5px;
}
.woocommerce-Price-amount.amount {
    color: #ce4e45;
    font-weight: bold;
}
p.price.product-page-price {
    font-size: 2.5714em;
}
.product-small .col-inner,.product-small .col-inner {
    box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}
.product-small .box-text.box-text-products {
    padding: 5px 15px 15px;
}
footer#footer {
    margin-top: 100px;
}
.logo-ft img{
	border-radius:50%;
	border: 2px solid #2d3034;
}
.intro_read_more {
    display: block;
    width: 100%;
    padding: 30px 0 0 0;
}
.intro_read_more_single_product {
    padding: 0;
    margin: 15px 0;
}
.intro_read_more_single_product a.common_btn {
    display: block;
}
.intro_read_more .common_btn {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
    background: #f00;
    padding: 12px 30px;
    border-radius: 99px;
    transition: all .4s ease 0s;
    -webkit-transition: all .4s ease 0s;
    background: linear-gradient(to right, #000 50%, #f00 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all .5s ease-out;
    border: unset;
    margin: auto;
    width: 100%;
    text-transform: math-auto;
}
.intro_read_more a.common_btn.hotline {
    background: linear-gradient(to right, red 50%, green 50%);
    background-size: 200% 100%;
    transition: all .4s ease 0s;
    -webkit-transition: all .4s ease 0s;
    background-position: right bottom;
    transition: all .5s ease-out;
}
.intro_read_more .common_btn:hover , .intro_read_more .common_btn.hotline:hover {
    background-position: left bottom;
}
.call-to-action-product {
    display: flex;
}
.hotline-product {
    min-width: 50%;
}
.search-results .category-page-row > .shop-container {
    display: none;
}
body.search .row.category-page-row .shop-container {
    display: none;
}
.swiper-container {
    padding: 0 0 20px 0;
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: 0;
}
.sub-menu-block .section-content.relative {
    max-height: 450px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.product-info p.price.product-page-price:before {
    content: "Giá đề xuất";
    width: max-content;
    display: block;
    font-size: 20px;
    color: #000;
}
.item-image {
    padding: 30px !important;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    border: 1px #e5e5e5 solid;
    border-radius: 50%;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 3px 3px 0 rgba(238, 238, 238, 0.6);
}
.item-tb_product_hx {
    text-align: center;
}
.item-tb_product_hx h3{
    display: block;
/*    font-size: 14px;*/
    text-transform: uppercase;
/*    font-weight: 600;*/
    padding: 17px 0 0;
    color: #111;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}
.item-tb_product_hx:hover .item-image{
    border: 1px #f00 solid;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets span.swiper-pagination-bullet:nth-child(n + 4) {
    display: none;
}
span.widget-title.shop-sidebar {
    color: var(--yith-wcan-filters_colors_titles, #434343);
    text-transform: math-auto;
    font-size: 18px;
    margin-bottom: .5em;
    display: inline-block;
        line-height: 27px;  
}
.is-divider.small {
    display: none;
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ff0000!important;
    border-radius: 4px;
}
.no-slider-home .product-category.swiper-slide.product_cat_cs_home {
    /*width: 25%;
    height: 100%;*/
}
.no-slider-home  .swiper-wrapper {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}
a.read_more_product {
    width: 100%;
    padding: 10px;
    text-align: center;
    margin-bottom: 0px!important;
    display: inline-block;
    overflow: hidden;
    font-size: 18px;
    background: #f7f7f7;
    color: #000!important;
    margin-top: 20px!important;
}
a.read_more_product:hover{
    color: #000!important;
/*    background: #000;*/
}
select[name=tb_product_hx], select[name=tb_product_dx] {
    min-width: 250px;
}
body.tax-product_cat.term-goi-cham-soc-xe .no-slider-home .swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
body.tax-product_cat.term-goi-cham-soc-xe .no-slider-home .swiper-wrapper .product_cat_cs_home {
    width: 25%;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.call-to-action-product {
    display: flex;
    flex-wrap: wrap;
}
.form-group {
    width: 49%;
    float: left;
}

.form-group.submit-group {
    width: 100%;
}
.hotline-product {
    min-width: 100%;
}
.intro_read_more_single_product{
    margin: 5px 0;
}
.form-tim-kiem-nc form {
    display: inline-block;
}
div#masthead .nav-left{
        justify-content: flex-start;
}
select.search_categories.resize-select.mb-0{
    min-width: 50px;
}
	.form-tim-kiem-nc{
		margin-top:60px;
	}
	.item-image{
		width:100px;
		height:100px;
        padding: 10px !important;
	}
.ux-timer>span {
    background: #ea2628;
    color: #fff;
}

}