/*
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.   ***************/

.header-search-form-wrapper form.searchform .flex-row.relative{
    flex-direction: row-reverse;
}

.header-search-form-wrapper form.searchform .flex-row.relative input.search-field {
    background-color: #F6F5F5;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none;
    box-shadow: none;
}

.header-search-form-wrapper form.searchform .flex-row.relative input.search-field:hover {
    box-shadow: none;
}

.header-search-form-wrapper form.searchform .flex-row.relative button.ux-search-submit {
    background-color: #F6F5F5;
    border-right: none;
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
    padding: 0;
}

.header-search-form-wrapper form.searchform .flex-row.relative button.ux-search-submit:hover {
    background-color: none;
}


.header-search-form-wrapper form.searchform .flex-row.relative button.ux-search-submit .icon-search {
    color: #33363F;
}

.header-nav.header-nav-main.nav-right{
    color: #424242;
}

.header-nav.header-nav-main.nav-right li.html.custom.html_topbar_left img{
    width: 20px;
}

.box-feature .box-image {
    vertical-align: top;
    width: 40%;
}

.box-feature .box-text .text h4 {
    color: #009345;
    font-size: 20px;
}

.box-feature .box-text p {
    font-size: 13px;
}

.title-block-product-green {
    color: #16770E;
    background-image: url('/wp-content/uploads/2023/10/Subtract.png');
    background-repeat: no-repeat;
    background-position: right;
    display: inline;
    padding-right: 30px;
    background-size: 8%;
    margin-left: 25px;
}

.title-block-product-green-no-icon {
    color: #16770E;
    display: inline;
    padding-right: 30px;
    background-size: 8%;
    margin-left: 25px;
}

.title-block-about-home .section-title-main {
    font-size: 40px;
}

.title-block-about-home .section-title b{
    background-color: #000;
    opacity: 1;
    height: 1px;
}

.product-small.box {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.san-pham-noi-bat .flickity-page-dots .dot.is-selected{
    background-color: #16770E;
    width: 14px;
    height: 14px;
    border: none;
}

.san-pham-noi-bat .flickity-page-dots .dot{
    background-color: #DCDCDC;
    width: 10px;
    height: 10px;
    border: none;
}

.hot-product-slide .col-inner {
    border-radius: 10px;
}

.post-item .col-inner {
    background: #F1F1F1;
    border-radius: 10px;
    /* overflow: hidden; */
}

.post-item .box-text {
    padding: 15px;
    font-size: 12px;
}

.post-item .box-text .is-divider {
    display: none;
}

.post-item .box-text .post-title {
    font-weight: bold;
    color: #000;
    font-size: 15px;
    margin-bottom: 15px;
}

.product-small.box .price-wrapper .image-tools.show-on-hover{
    opacity: 1;
    transform: none;
    position: absolute;
    right: 10px;
    width: 35px;
    height: 35px;
    bottom: 0;
}

.product-small.box p.product-title a{
    color: #616161;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
}

.product-small.box p.category{
    color: #616161;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: lighter;
}

.product-small .price-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.product-small.box .image-tools .cart-icon{
    position: inherit;
    bottom: inherit;
    left: inherit;
    margin: auto;
}

.product-small.box .cart-icon strong:after {
    border: none;
}


.product-small.box .cart-icon strong {
    width: 35px;
    height: 35px;
    font-weight: 100;
    font-size: 35px;
    line-height: 32px;
    color: #fff;
    background-color: #16770E;
    border-radius: 5px;
    margin: 0;
}
.product-small.box .price-wrapper .price {
    margin-left: 20px;
}

.product-small .price-wrapper span.amount {
    color: #16770E;
    font-weight: 700;
    white-space: nowrap;
    font-size: 20px;
    text-align: left;
}

.header-bottom-nav li a {
    padding: 0;
    font-size: 13px;
    font-weight: bold;
    color: #3F3E3E;
}


.header-bottom-nav li.current_page_item a {
    position: relative;
}

.header-bottom-nav li.current_page_item a::after {
    content: "";
    position: absolute;
    height: 2px;
    background-color: #FE686D;
    border-radius: 1px;
    bottom: 0;
    width: 80%;
    left: 10%;
}

.box-feature.box-vertical .box-text {
    padding-left: 10px;
    padding-right: 10px;
}

.hot-product-slide .flickity-page-dots{
    margin-top: 39px;
    position: relative;
    right: inherit;
    left: inherit;
}

.hot-product-slide .flickity-page-dots .dot.is-selected{
    background-color: #fff;
    width: 14px;
    height: 14px;
}


.hot-product-slide .flickity-page-dots .dot{
    background-color: #D9D9D9;
    width: 13px;
    height: 13px;
}

.footer-widgets.footer-1 p {
    color: #009345;
    font-size: 12px;
}

.footer-widgets.footer-2 p {
    font-size: 14px;
}

.footer-widgets.footer-2 span.widget-title {
    font-size: 16px;
}

.footer-widgets.footer-2 .is-divider {
    display: none;
}

#menu-chinh-sach li a{
    color: #484848;
    font-size: 14px;
    padding: 0;
}

#menu-chinh-sach li {
    border: none;
}

.archive.post-type-archive-product .products.row .product-small .col-inner{
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.11);
    border-radius: 10px;
}

.single h1.entry-title {
    color: #009345;
    font-size: 30px;
}

.tab-content-news-home h4.text-left {
    color: #16770E;
    display: inline;
    padding-right: 30px;
    background-size: 8%;
    /* margin-left: 25px; */
    font-size: 1.6em;
    letter-spacing: inherit;
}

.tab-content-home-news-block{
    position: relative;
}

.view-all-button-home{
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    border-radius: 10px;
}

.tab-content-news-home .nav-pills li.tab a{
    border-radius: 10px;
    border: 1px solid #16770e;
    margin-right: 10px;
}

.tab-content-news-home .panel .post-item .col-inner{
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.header-bottom .nav-dropdown-default li>a{
    padding: 10px 0;
}


.header-bottom .nav-dropdown-default li a::after{
    background-color: transparent;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    .view-all-button-home{
        display: none;
    }

}