/*
Theme Name: Develonthanhcong
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
:root {
    --wp-white: #ffffff;
    --wp-black: #000000;    
    --wp-gray-900: #212121;
    --wp-gray-800: #32373c;
    --wp-gray-600: #666;
    --wp-font-family-base: "Roboto", sans-serif;
    --wp-font-family-heading: "Roboto Condensed", sans-serif;
    /* global scope */
}
/*************** ADD CUSTOM CSS HERE.   ***************/

/*************** BLOCK HEADER***************/
ul.top-bar-nav{
    > li>a{
        font-family: var(--wp-font-family-base);
    }
}
.nav-spacing-xlarge>li{
    margin: 0 15px;
}
.header-block{
    .col{
        margin-bottom: 0;
        padding-bottom: 0;
        &:last-child{
            padding-right: 0;
        }
    }

    .searchform{
        border: 1px solid rgba(0, 0, 0, .09);
        border-radius: 30px;
        padding: 0 10px;
    }

    input[type='search'] {
        border:none;
        background: none;;
        height: 39px;
        font-size: 14px;
        box-shadow: none;;
    }

    .button.secondary:not(.is-outline) {
        color: var(--wp-black);
        background: none ;
        box-shadow: none;
        border: none;
    }

}
.header-bottom-nav{
    > li>a{
       padding: 13px 0;
    }
}
.html_topbar_right{
     .nav>li>a{
        padding:0;
        font-size: 1em;
    }
    .dashicons-email-alt{
        font-size: 18px;;
    }
}
/*************** BLOCK DANH MUC SAN PHAM***************/
#mega-menu-wrap {
    background: var(--fs-color-primary);
    
}
#mega-menu-title {
    font-size: 106%;
    line-height: 30px;
    text-transform: uppercase;
}

ul.nav-size-large > li >a{
    font-size: 106%;
}

#wide-nav{
    >.flex-row>.flex-left {
        max-width: 280px;
        flex-basis: 280px;
        margin-right: 30px;
    }
   
}

#mega_menu{
    box-shadow: 1px 1px 15px rgba(0, 0, 0, .15);
    border-color: #ececec;
   
    li>a {
        font-size: 15px;
        color: var(--fs-color-base);
        padding-left: 15px;
        border-top-color: #f3f3f3;
        img{
            max-width: 20px;
            opacity: 0.9;
        }
        &:hover {
            color: var(--fs-color-primary);
        }
    }
}

/*************** BLOCK SAN PHAM NỔI BẬT***************/
.section-title-bold{
    background: #f4f4f4;
    margin-bottom: 0;
    a{
        padding-right: 15px;
    }
    .section-title-main{
        color: var(--wp-white);
        background-color: var(--fs-color-primary);
        position: relative;
        z-index: 2;
        border: none;
        padding: 0.2em 0.8em;
        font-size: 18px;
        min-height: 42px;
        line-height: 38px;
        margin-top: -3px;
        &::after{
            width: 0px;
            height: 0px;
            border-style: solid;
            border-width: 45px 48px 0 0;
            border-color: var(--fs-color-primary) transparent transparent transparent;
            transform: rotate(0deg);
            position: absolute;
            top: 0;
            right: -48px;
            content: "";
        }
    }
    b{
       display: none;
    }
}
.box-normal,.product-small{
    .box-image{
        border-radius: 3px;

    }
    .box-text{
        font-size: 1em;
    }
    .title-wrapper{
        a{ 
            color: var(--fs-color-base);
            font-family: var(--wp-font-family-heading);
            font-weight: 600;
            font-size: 1em;
            &:hover{
                color:var(--fs-color-primary);
            }
        }
    }
    .price-wrapper{
        /*display: none;*/
        font-size: 16px;
        margin-top:5px;
        color: var(--wp-gray-600);

        a{margin:0;}
    }
    .is-large{
        font-size: 1em;
        padding-bottom: 0;
    }
}
/*************** BLOCK TIN TUC ***************/
.box-blog-post {
    .box-image{
        border-radius: 3px;
        vertical-align: top;
    }
    .is-divider {
        display: none;
    }
    
}
.box-vertical{
    .box-text{
        padding-top: 0;
        padding-bottom: 10px;
    }
}
.entry-header{
    .entry-header-text-top{
        padding:0;
    }
    .is-divider{
        margin-bottom: 0;
    }
}
/*************** BLOCK SIDEBAR ***************/
.sidebar-inner,.post-sidebar,.shop-sidebar {
    .widget{
        .widget-title {
            font-family: var(--wp-font-family-heading);
            font-size: 120% !important;
            font-weight: 700 !important;
            color:var(--fs-color-primary);
        }
        .is-divider{
            background-color: var(--fs-color-primary);
        }
    }
}


.widget_product_categories>ul>li>a{
    font-family: var(--wp-font-family-heading);
    font-weight: 600;
}
ul.product_list_widget li{
  
    .product-title{
        font-family: var(--wp-font-family-heading);
        font-weight: 600;
    }
    a.contact-for-price {
        display: inline-block;
        margin-bottom: 0px;
        vertical-align: middle;
        font-size: 14px;
    }
}
.recent-blog-posts a {
    font-family: var(--wp-font-family-heading);
    font-weight: 600;
}
.badge {
    width: 60px;
}


/*************** SECTION FOOTER ***************/

.footer-1{
    font-size: 15px;
    .section-bg{
        text-align: center;
        .attachment-original{
            width: auto;
            position: static;
        }
    }
    .col-inner > h3.widget-title{
        margin-bottom: 0;
        font-size: 120%;
        text-transform: uppercase;
        &::after{
            content: "";
            width:30px;
            height: 3px;
            margin: 10px 0 1em;
            display: block;
            background: rgba(255,255,255,0.5);
        }
    }
    .sidebar-wrapper{
        li{
            margin:0;
        }
    }

    ul.list-contact{
        li{
            list-style: none;
            margin-left: 0;
        }
    }
    ul.menu {
        li {
            border-top:none;

            a {
                &::before {
                    font-family: fl-icons;
                    content: "\f105";
                    margin-right: 10px;
                }
        
        
                img {
                    display: none;
                }
            }
        }
        
    }


}

.absolute-footer{
    background-color: rgb(17 23 24);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/*************** PAGE CATEGORIES ***************/
.category-page-title{
    .medium-text-center:last-child{
        font-size: 14px;
    }
}
.widget_nav_menu ul.menu{
    img{
        width: 20px;
        opacity: 0.9;
    }
}

/*************** PAGE PRODUCT ***************/
.product-info{
    padding-top: 0;
   
    .price{
        font-size: 1em;
        margin: 1em 0 2em;
        font-weight: normal;
    }
    .section-title,
    .icon-box-text > h5,
    .icon-box-text > h6{
        color: #1e73be;
    }
}
.featured_box-camket{
    h5,h6,svg{
        color: var(--fs-color-primary);
    }
}

.product-short-description{
    table,ul{margin-bottom: 2em;}
}
.product-tabs > li > a{
    font-size: 1.2em;
}

/*************** ADD DESKTOP ONLY CSS HERE  ***************/
@media only screen and (min-width: 48em) {
    .row-5-col {
        display: flex;
        flex-wrap: wrap;
    }
    .row-5-col>.col {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .footer-1 .large-columns-4{
        display: grid;
        grid-template-columns: 20% 20% 30% 30%;
        > .col{
            flex-basis: 100%;
            max-width: 100%;
        }
    }
    .product-type-simple{
        .row.row-large{
            max-width: 1270px;
        }
        .row-divided > .col {
            padding: 0 15px;
            border:none !important;
        }
    }


}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .row .row:not(.row-collapse){
        margin: 0 -10px;
        .col{
            padding: 0 10px 30px;
        }
    }

    .is-large {
        font-size: 1.15em;
    }
    .button.is-large:not(.is-outline){
        line-height: 30px;
        padding: 5px 0;
    }
    .medium-logo-center .logo{
        display: flex;
        justify-content: center;
    }
    .box-vertical {
        display: table;
        width: 100%;
        .box-image,
        .box-text{
            display: table-cell;
            vertical-align: middle;
        }
        .box-image{
            width: 20% !important;
        }
        .box-text{
            padding-left: 1.5em;
        }
        
    }
    .section-tintuc{
        .col{
            padding-bottom: 10px;
        }
    }
    .product-main{
        padding-bottom: 15px;;
    }

}
