/*
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 {
	max-width: 100%;
	overflow: hidden;
}
.header:not(.transparent) .header-bottom-nav.nav > li > a {
    font-weight: 400;
}
.header:not(.transparent) .header-bottom-nav.nav > li.active > a {
    font-weight: 600;
}
.icon-box-left {
    display: flex;
    align-items: center;
}
.icon-box-left p {
    margin-bottom: 0 !important;
}
.icon-box-img img, .icon-box-img svg {
    top: 0;
}
@media (min-width: 850px) {

    .icon-box-left {
        display: flex;
        align-items: center;
    }
}
#footer .form-flat input:not([type=submit]) {
    height: 40px;
    border-radius: 30px 3px 3px 30px;
}
#footer .form-flat .ml-half {
    margin-left: 0;
}
#footer .form-flat input.wpcf7-submit {
    text-indent: -9999px;
    background-image: url(images/send.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 40px;
    width: 40px;
    border-radius: 3px;
}
.product-short-description {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}
@media only screen and (min-width: 1024px) {
    .widget ul.menu > li {
        position: relative;
    }
    .widget ul > li.has-child:hover >.sub-menu{
        display:block !important;
    }
    .widget ul.menu ul.sub-menu {
        display: none !important;
        position: absolute;
        width: 100%; 
        left:99%;
        top: 0;
        z-index: 999;
        border: 1px solid #e1e1e1 !important;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    .widget .toggle{
        transform: rotate(-90deg);
        margin-right: 10px;
    }
    .widget ul.menu>li li {
        padding: 2px 0;
        border-bottom: 1px solid #e1e1e1;
    }
}

@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .post-sidebar.col {
        padding: 0 15px !important;
    }
    .home .tabbed-content .nav {
        display: -webkit-inline-box;
        overflow-x: auto;    /* cho scroll ngang */
        overflow-y: hidden;
        white-space: nowrap; /* trán    h xuống dòng */
        -webkit-overflow-scrolling: touch; /* mượt trên iOS */
        margin: 0;
    }
    /* Ẩn scrollbar (tùy chọn) */
    .home .tabbed-content .nav::-webkit-scrollbar {
        display: none;
    }

    .home .tabbed-content .nav li {
        flex: 0 0 auto;      /* item không bị co lại */
        margin-right: 14px !important;
    }

}
/* */
body.nav-dropdown-has-border .nav-dropdown {
    border: none;
    padding: 0;
}
body.nav-dropdown-has-border .nav-dropdown a {
    padding: 10px !important;
    margin: 0 !important;
    border-radius: 0;
}
.post_comments  {
    display: none;
}

/* Sidebar */

/* */

/* */
.product-small.box ins *,
.product-small.box .price > .amount * {
    color: red;
    font-size: 16px;
}
.product-small.box del * {
    color: #333;
}
.product-small.box .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 44px;
    font-weight: 600;
}
.product-small.box .box-image img {
    height: 285px;
    object-fit: cover;
}
.add-to-cart-button a {
    height: 40px;
    width: 120px;
    font-weight: normal;
    font-size: 14px !important;
    line-height: 40px;
    padding: 0 !important;
}
.tabsanpham-tc .nav > li > a {
    font-size: 12px;
}

.col.post-item .post-title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
}
.col.post-item .post-meta {
    font-size: 10px;
    color: #999999;
}
.col.post-item p.from_the_blog_excerpt {
    font-size: 14px;
    color: #666666;
}
/* */
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
}
.pulse {
    transition: all 150ms linear 0s;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

blockquote {

    font-size: 110%;
    color:#666;

    margin: 0 auto;
    border-left:0px;
    margin-left: 20px;
    padding-bottom: 50px;
}
blockquote h1 {
    font-size: 3rem;
}
blockquote p {
    font-style: italic;
    margin-bottom: 0;
}
blockquote p::before,
blockquote p::after {
    content: "“";
    font-family: Georgia;
    font-size: 6rem;
    margin: -3rem 0 0 -4rem;
    position: absolute;
    opacity: 0.5;
    color:var(--primary-color);
}
blockquote p::after {
    content: "”";
    margin: -2rem -3rem 0 0;
}
blockquote cite {
    font-size: 1.5rem;
}