/*
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.   ***************/
.pleft-15{
    padding-left: 15px !important;
}
.pright-15{
    padding-right: 15px  !important;
}
.p-0{
    padding: 0 !important;
}
.pb-0{
	padding-bottom: 0;
}
p{
    font-size: 14px;
    margin-bottom: 0;
    text-align: justify;
}
/**
 * Header css
 */
/* top header */
#top-bar ul li a{
    font-size: 14px;
}
/* account */
.account-item ul{
    padding: 10px;
}
/* header */
.searchform-wrapper .search_categories {
    font-size: 13.5px;
    height: 40px;
    border: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-right: 1px solid #eaeaea;
}
.searchform-wrapper input[type=search]{
    height: 40px;
    border: 0;
    font-size: 13.5px;
}
.searchform-wrapper .searchform .button.icon {
    height: 40px;
    width: 65px;
    border: 3px solid #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background: #ff5622;
}

/* menu */
#wide-nav .flex-center ul.header-nav > li{ margin: 0; }
#wide-nav .flex-center ul.header-nav li a{ font-size: 15px; color: black; font-weight: normal; color: #ffffff; padding: 15px 10px;}
#wide-nav .flex-center ul.header-nav > li a:hover{ color: #ffffff; background: #c72f0061;}                             /*hover li*/
#wide-nav .flex-center ul.header-nav > li.active > a{ font-weight: bold; color: #ffffff; background: #c72f0061; }       /*Active li*/
#wide-nav .flex-center ul.nav-dropdown{ padding: 0; border: 1px solid #ccc; }
#wide-nav .flex-center ul.nav-dropdown > li{ position: relative;}
#wide-nav .flex-center ul.nav-dropdown li a{ text-transform: none;}
#wide-nav .flex-center ul.nav-dropdown li a:hover{ padding-left: 20px; }
#wide-nav .flex-center ul.nav-dropdown li{ width: 100%; display: block; }
#wide-nav .flex-center ul.nav-dropdown li.nav-dropdown-col > ul{ left: 100%; border: 1px solid #ccc; position: absolute; display: none; width: 100%;top: 0px;background: white;}
#wide-nav .flex-center ul.nav-dropdown > li.nav-dropdown-col:hover > ul{ display: block;}

/* Menu danh mục sản phẩm */
#wide-nav .header-vertical-menu .ux-nav-vertical-menu li a{
    color: #000;
    height: auto;
}
#wide-nav .header-vertical-menu .ux-nav-vertical-menu li a:hover{
    background: #ff5622;
    color: #fff;
}
#wide-nav .header-vertical-menu .ux-nav-vertical-menu li.has-dropdown{
    position: relative;
}
#wide-nav .header-vertical-menu .ux-nav-vertical-menu li.has-dropdown ul.sub-menu{
    position: absolute;
    top: 0;
    padding: 0;
}
#wide-nav .header-vertical-menu .ux-nav-vertical-menu li.has-dropdown ul.sub-menu li a{
    margin: 0;
    padding: 10px 15px;
    max-height: 45px;
}

/* Menu giỏ hàng */
.header-nav a.header-cart-link{
    color: #fff;
    font-size: 14px;
}
#wide-nav .flex-right li.cart-item .nav-dropdown{
    padding: 10px 20px;
}
#wide-nav .flex-right li.cart-item .nav-dropdown li.mini_cart_item a{
    font-size: 14px;
}


/* Breadcrumb */
.rowbread_core .colbread_core{ padding: 0 15px !important; }
div.breadcrumd_core{ height: 100%; }
div.breadcrumd_core .rowbread_core{ padding: 15px 0; position: relative; z-index: 999}
div.breadcrumd_core .title_archive_core .title-archive{ font-style: italic;display: block;color: #fff;font-size: 30px;font-weight: 400;line-height: 48px;}
div.breadcrumd_core p,
div.breadcrumd_core p a{ font-size: 15px; color: #ffffff; font-weight: 500; text-transform: none; }
.stuck div.breadcrumd_core{ display: none; }
.title_breadcrumb{color: #fff; font-size: 24px;margin-bottom: 5px;}
.breadcrumd_core .overlay_breadcrumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* màu đen mờ */
  z-index: 1;
}

/**
* Home css
*/
.slide_section .cot2 .banner_row{
	margin-top: 18px;
}

/*** section_sp_banchay ***/
.page_subheading{
	text-align: center;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
    font-size: 24px;
    padding: 0 0 15px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    color: #ff5622;
    font-weight: 500;
}
.page_subheading:before{
	position: absolute;
    content: "";
    height: 2px;
    background: #ff5622;
    width: 80px;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    left: 0;
}
.section_sp_banchay .page_subheading img{
	display: inline-block;
}

/*** section_sanpham ***/
.category_title{
	margin-bottom: 16px;
}
.category_title h2{
    margin: 0;
    padding-left: 15px;
    font-size: 18px;
    background: #ff5622;
    color: #fff;
    height: 43px;
    line-height: 43px;
    text-transform: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: 500;
    text-align: center;
    transform: uppercase;
}



/* tab header */
.tabs_product ul.nav{
	height: 40px;
    border-top: 1px solid #ff5622;
    background: #fff;
}
.tabs_product ul.nav li {
    margin-left: 15px;
    margin-right: 15px !important;
}
.tabs_product ul.nav li.active a,
.tabs_product ul.nav li.has-icon a:hover {
    color: #ff5622;
}
.tabs_product ul.nav li.active a:before,
.tabs_product ul.nav li.has-icon a:before{
    background-color: #ff5622;
}


/* product */
.product-small .price span.amount{
	white-space: nowrap;
    color: #ff5622;
    font-size: 16px;
    font-weight: normal;
}
.product-small .price del span{
    font-size: 14px !important;
    color: gray !important;
}
.product-small .box-text{
	font-size: 16px;
  	padding: 10px 10px 20px;
}
.product-small .box-text .title-wrapper .product-title{
	margin-bottom: 10px;
    min-height: 30px;
}
.product-small .product-title a{
	display: -webkit-box;
  -webkit-line-clamp: 2;          /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.section_sanpham .product-small .add-to-cart-button{
	position: absolute;
	margin-top: -68%;
	display: none;
}
.section_sanpham .product-small:hover .add-to-cart-button{
	display: block;
	z-index: 999;
}

.product-small .add-to-cart-button a {
    border-radius: 3px;
    font-weight: 400;
    text-transform: none;
    font-size: 13px;
    padding: 0 12px;
    line-height: 26px;
    min-height: 20px;
    background: #ff5622;
    border-color: #ff5622;
    color: #fff;
}
.product-small .add-to-cart-button a:hover {
    background: #ff5622;
    border-color: #ff5622;
    color: #fff;
}

.badge-inner.on-sale {
    background-color: #ffba00;
    border-radius: 99px;
    font-weight: 400;
    font-size: 12px;
    z-index: 99999;
}

/*** section_news ***/
.section_title{
    margin-bottom: 30px;
}
.section_title h2{
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
    font-size: 24px;
    padding: 0 0 15px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    color: #ff5622;
    font-weight: 500;
}
.section_title h2:before{
    position: absolute;
    content: "";
    height: 2px;
    background: #ff5622;
    width: 80px;
    bottom: 0;
    right: 0;
    margin: 0 auto;
    left: 0;
}
.post_home .box-text a.button:hover{
    background: #ff5622;
    border-color: #ff5622;
}


/**
* Footer css
*/
.tin_khuyen_mai .img .img-inner {
    overflow: initial;
}
/* .tin_khuyen_mai .col_img img {
    margin-top: -30px;
} */
.tin_khuyen_mai .wpcf7 form input[type=email]{
    background-color: #fff;
    border-radius: 3px;
}
.tin_khuyen_mai input[type=submit]:not(.is-form){
    border-radius: 3px;
    background: #ffc800;
    font-weight: 400;
    text-transform: none;
}


/**
 * page liên hệ css
 */
.html_lienhe ul{
    list-style: none;
}

/**
 * css blog post
 */
.entry-header{
    padding-bottom: 0;
    border-bottom: 1px solid #c1c1c1;
}

/**
 * css trang cửa hàng
 */
.shop-container .product-main .product-title{
    font-size: 22px;
    font-weight: bold;
    color: inherit;
}
.shop-container .icon-expand:before, 
.shop-container .product-main .product-short-description {
    font-size: 14px;
}

.sidebar_product .icon-box h3{
    font-size: 16px;
}

.product-short-description{
    margin-bottom: 15px;
}
/**
 * chi tiet san pham
 */
.shop-container .single_add_to_cart_button{
    font-weight: 400;
    text-transform: none;
    background: #ff5622;
    font-size: 15px;
    letter-spacing: 0;
}
.single-product .shop-container .price-wrapper{
    font-size: 14px;
    margin: 15px 0 30px;
}
.shop-container .woocommerce-Price-amount{
    color: #ff5622;
}
.shop-container .price-wrapper .price{
    font-weight: normal;
}
.entry-meta{
    margin-bottom: 10px;
}
.entry-header .entry-title{
    font-size: 26px;
}



.devvn_woocommerce_price_prefix{
    margin-right: 10px;
}


/**
* Trang thanh toán
*/
.woocommerce-billing-fields .address-field{
    width: 100%;
}

/**
* Trang sản phẩm
*/
.shop-page-title{
    display: none;
}

.widget{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}


/*************** CSS MOBILE  ***************/
@media only screen and (max-width: 768px){
    /**
    * Single product
    */
    .product-small .add-to-cart-button a{
        font-size: 12px;
    }
    /**
    * Footer css
    */
    .footer-wrapper .tin_khuyen_mai form p{
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    /**
    *   Header
    */
    /* Breadcrumb */
    .title_breadcrumb{font-size: 18px;}

    /**
    * Footer css
    */
    .footer-wrapper .tin_khuyen_mai{
        padding: 30px 0 0 !important;
    }
    .footer-wrapper .tin_khuyen_mai .col_img .img{
        margin: 0 auto;
    }



    /**
    * Trang tin tức
    */
    .category .blog-wrapper.blog-archive{
        padding-bottom: 0;
    }

    /**
    * Single post
    */
    .blog-archive .post-sidebar{
        display: none;
    }
    .blog-archive #post-list .post-item:last-child(){
        padding-bottom: 0;
    }
    
}


/* CSS nút gọi */
.lien_he {
    z-index: 10000;
    right: 50px;
    bottom: 120px;
    position: fixed !important;
    height: 70px;
    width: 70px;
}

/********** contact block **********/
.contact_block {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: center no-repeat #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    width: 235px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    box-sizing: border-box;
    border-radius: 7px;
    transform-origin: 80% 105%;
    transform: scale(0);
    transition: ease-out 0.12s all;
    z-index: 10000;
}

.contact_block:before {
    position: absolute;
    bottom: -7px;
    right: 25px;
    left: auto;
    display: inline-block !important;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
    border-left: 8px solid transparent;
    content: '';
}

.contact_block .mess_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    cursor: pointer;
    width: 100%;
    padding: 8px 20px 8px 60px;
    position: relative;
    min-height: 54px;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
}

.contact_block .mess_item span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: blue;
    margin-right: 10px;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}

.contact_block .mess_item p {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.87);
    padding: 0;
    box-sizing: border-box;
}

.contact_block .mess_item span svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    vertical-align: middle;
    text-align: center;
    display: block;
}

.contact_block .mess_item:hover {
    background-color: #f1f1f1;
}

/********** contact button **********/
.hide {
    opacity: 0;
    transform: scale(0) !important;
}

.show_block {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.contact_button {
    position: absolute;
    width: 70px;
    height: 70px;
    background: red;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    overflow: hidden;
}

/* static */
.contact_button .static {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.contact_button .static svg {
    width: 25px;
    height: 25px;
    color: #fff;
}

.contact_button .static p {
    font-family: Arial, sans-serif;
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    line-height: 11px;
    margin: 0;
}

/* icons */
.contact_button .icons {
    background-color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    margin-top: -22px;
    margin-left: -22px;
    /* transition: transform 0.3s ease; */
}

.contact_button .icons .icon_line {
    top: 10px;
    left: 12px;
    display: flex;
    position: absolute;
    animation-delay: 0s;
    transform: translateX(30px);
    height: 24px;
    transition: 0.2s all;
}

.contact_button .icons .icon_line span {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: red;
    margin-right: 40px;
}

.contact_button .icons .icon_line span svg {
    width: 24px;
    height: 24px;
}

/* close */
.contact_button .close {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg) scale(0);
    transition: transform 0.3s ease;
}

.contact_button .close svg {
    display: block;
    width: 15px;
    height: 15px;
}

.contact_button .close.show_block {
    transform: translate(-50%, -50%) rotate(0) scale(1);
}

/* tạo animation*/
.contact_button .pulsation {
    width: 84px;
    height: 84px;
    background-color: rgba(255, 0, 0, 0.2);
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: -7px;
    z-index: -1;
    transform: scale(0);
    animation: arcontactus-pulse 2s infinite;
}

.pulsation.stop {
    animation: none;
}

@keyframes arcontactus-pulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    25% {
        transform: scale(0.6);
        opacity: 0.3;
    }

    65% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}