/*
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.   ***************/
.nav-dropdown.nav-dropdown-default {
    padding: 0;
}
.badge .badge-inner {
    background-color: #f00;
	padding: 0 15px;
}
/*=== Car Attribute ===*/
.product-small.col {
    border: 1px solid #eee;
	border-right: 0 none;
    background: #fff;
    display: block;
	margin-bottom:5px;
}
.product-small.col:hover{box-shadow: 0 0 4px 2px rgba(0,0,0,.15);z-index: 1;cursor:pointer;}
.product-small.col:last-child,.archive .product-small.col:nth-child(3n){border-right: 1px solid #eee;}
.tour-attribute-wrap{
	background:#f8f9fa;
	padding:10px;
	border-radius:8px;
}
.tour-attribute-wrap ul {    
	margin-bottom:0;
}
.tour-attribute-wrap ul li{list-style:none;margin-left: 0;}
.tour-attribute-wrap ul li.tour-attr-section {    
    margin-left: 0;
    display: flex;
}
.tour-attribute-wrap ul li.tour-attr-section ul{margin:0;display:flex;}
.tour-attribute-wrap ul li.tour-attr-section ul li {margin-left: 5px;border: 1px dotted; padding: 0 5px;border-radius:5px;font-size: .9em;}
/*Danh sách tour widget sidebar*/
.category-page-row .widget-title {
	background-color: #009247;
}
.category-page-row .widget_product_categories .is-divider ,  .category-page-row .sidebar-inner .flatsome_recent_posts .is-divider{
	display: none;
}
.category-page-row .sidebar-inner .product-categories {
	border: 1px solid #eee;
}
.category-page-row .sidebar-inner .product-categories .cat-item {
	border-top: 0px;
}
.category-page-row .sidebar-inner .product-categories .cat-item .toggle {
	right: 10px;
}
.category-page-row .sidebar-inner .product-categories .cat-item a {
	padding: 6px 10px;
}
.category-page-row .sidebar-inner .product-categories .flatsome_recent_posts {
	border-top: 0px;
}
.category-page-row .sidebar-inner .flatsome_recent_posts ul{
	border: 1px solid #eee;
}
.category-page-row .sidebar-inner .flatsome_recent_posts ul li .recent-blog-posts{
	padding: 10px 5px 10px;
}
.category-page-row .sidebar-inner .flatsome_recent_posts ul .recent-blog-posts-li {
	border: 0px;
}
/*News widget sidebar*/
.blog-wrapper .post-sidebar .widget .widget-title {
	background-color: #009247;
}
.blog-wrapper .post-sidebar .widget .is-divider {
	display: none;
}
.blog-wrapper .post-sidebar .widget > ul,
.blog-wrapper .post-sidebar .widget ul.menu{
	border: 1px solid #eee;
}
.blog-wrapper .post-sidebar .widget .recent-blog-posts-li{
	border-top: 0px;
}
.blog-wrapper .post-sidebar .widget .recent-blog-posts-li .recent-blog-posts {
	padding: 10px 5px 10px;
}
/*Begin Widget Filter*/
.yith-wcan-filter {
    border: 1px solid #f2f2f2;
    border-radius: 8px;
}
.yith-wcan-filter .filter-content{padding: 0 15px;}
.yith-wcan-filter .filter-title{
	text-align:center;
	background: url(img/widget-header-bg.png) no-repeat top;
	background-size: cover;
	color:#fff !important;
	text-transform:uppercase;
}
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.color .term-color {
    border: 1px dotted #ccc;
}
/*End Widget Filter*/
.col-inner .badge-container{margin:0;}
.button-cart-action input[type="number"]{margin-bottom:0}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
// Xóa query string kiểu ?ver= và ?v=
function remove_cssjs_ver( $src ) {
    if( strpos( $src, '?ver=' ) )
        $src = remove_query_arg( 'ver', $src );
    if( strpos( $src, '?v=' ) )
        $src = remove_query_arg( 'v', $src );
    return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
