/*
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.   ***************/
.term-169 .woof{display: none;}
.header, .header-wrapper{z-index:999}
.hwp-single-product{z-index:99}
input:hover, select:hover, textarea:hover{box-shadow: none;}
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
    border-color: #ccc;
    height: 40px;
}
input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, select:focus, textarea:focus{
    border-color: #004486;
    box-shadow: none;
}
#ft-contact-icons .icon-phone:before{content: ''}
#ft-contact-icons.contact-icons-right li span.ab{visibility: hidden;}
#ft-contact-icons.contact-icons-right li:hover span.ab{visibility: visible;}
.shop-container{padding-bottom: 30px}
.shop-container .products.row{margin:0}
.shop-container .row-small>.col{padding:0}
.blog-post-inner .is-divider, .widget .is-divider{display: none}
.col, .columns, .gallery-item{padding-bottom:0}
.woocommerce-pagination{margin-top: 30px}
.tax-product_brand .woocommerce-pagination{margin-bottom: 50px}
.category-page-row{padding-top: 10px}
.page-title-inner{padding-top:0}
.widget-area .widget {background: #fff; border-radius: 10px; padding:0 10px 10px 10px}
.widget .widget-title{background: #e20212; color: #fff; display: block; padding: 10px; margin: 0 -10px 10px -10px; border-radius: 10px 10px 0 0} 
/*Header*/
.stuck .header-main .nav > li > a{line-height: normal !important;}
.nav>li>a>span+i{margin:0}
.header-bottom .flex-row{display: table}
.header-bottom .header-nav{justify-content: space-around;align-items: center;}
.nav:hover>li:not(:hover)>a:before{opacity: inherit;}
.header-bottom .header-nav>li>a{padding-top: 50px}
.header-bottom .header-nav>li>a:before{top: 15px;content: "";width: 20px;height: 30px;position: absolute;left: calc(50% - 10px);transition: all .3s ease;}
.header .header-nav>li:hover>a:before{background-position: 0 100% !important;}
.header-nav>li.iphone>a:before{background: url('./images/icon-iphone.png') no-repeat;background-size: 100%;background-position: 0 0;height: 25px;}
.header-nav>li.samsung>a:before{
	background: url('./images/icon-samsung.png') no-repeat;
    background-size: 100%;
    background-position: 0 0;
}
.header-nav>li.google>a:before{
	background: url('./images/icon-google.png') no-repeat;
    background-size: 100%;
    background-position: 0 0;
}
.header-nav>li.xiaomi>a:before, .header-nav>li.other>a:before{
	background: url('./images/icon-phone-other.png') no-repeat;
    background-size: 100%;
    background-position: 0 0;
}
.header-nav>li.gaming>a:before{
	background: url('./images/icon-gaming.png') no-repeat;
    background-size: 100%;
    background-position: 0 0;
}
.header-nav>li.tin-tuc>a:before{
	background: url('./images/icon-news.png') no-repeat;
    background-size: 100%;
    background-position: 0 0;
    height: 25px;
    width: 30px;
}
.header-nav>li.sua-chua>a:before{
	background: url('./images/icon-service.png') no-repeat;
    background-size: 100%;
    background-position: 0 0;
}
.header-bottom .header-nav .nav-dropdown li{width: 25%;float: left;}
.has-dropdown .icon-angle-down{display: none}
.icon-hotline{
    height: 50px;
    display: grid !important;
    line-height: 1;
    color: white;
    border-radius: 30px;
    align-items: center;
    padding: 10px 15px 10px 45px !important;
    background: #e20212 url('./images/icon-call-white.png') no-repeat 14px 14px;
    background-size: 25px 25px;
}
.account-item > a{ padding-top: 35px !important; padding-bottom: 0 !important; background: url('./images/icon-user.png') no-repeat center top 5px;background-size: 25px 25px; font-size: 0.9 important!}
.icon-hotline small{font-size: 12px !important}
.icon-hotline b{font-size: 16px !important}

.account-link, .header-cart-link{display: flex !important; flex-direction: row; text-align: center}
.account-link i, .account-link .header-account-title, .header-cart-link i, .header-cart-link .header-cart-title{flex: 1 0 100%}
.account-link i, .header-cart-link i{order: -1; color: #fff; font-size: 25px !important}
.account-link .header-account-title, .header-cart-link .header-cart-title{color: #fff; font-size: 16px}

.icon-order {
    font-size: 14px !important;
    color: #fff !important;
    background: url(./images/icon-order.png) no-repeat top center;
    background-size: 43px 27px;
    display: block;
    padding-top: 35px !important;
    position: relative;
    white-space: nowrap;
    height: 50px;
}
.header-search-form .ux-search-submit{
    width: 60px; height: 50px;
    position: absolute;
    top: 50%;
    right:0;
    transform: translateY(-50%);
    background-color: #e20212 !important;
    border-radius: 5px !important;
}
.header-search-form .search-field{border-radius: 5px}
/*PRODUCT*/
.woof_reset_search_form{color: #000}
.woof_sid_flat_grey{border: none; background: #fff; box-shadow: 1px 2px 5px rgba(0,0,0,0.1); margin-bottom: 20px}
.single-product h1.product-title{font-weight: 600; font-size: 26px}
.single-product .price-wrapper span.amount{color: #e20212; font-size: 28px}
.hwp-title h2{
    margin: 0;
    line-height: 22px;
    position: relative;
    align-items: center;
    display: inline-block;
    background: #004486;
    padding: 11px 50px 9px;
    text-transform: uppercase;
    border-bottom: 3px solid #fcde04;
    width: auto;
}
.hwp-title h2:before{left: 0;bottom: 0;content: "";position: absolute;border-bottom: 22px solid #fcde04;border-right: 22px solid transparent;}
.product:hover .box-image img{transform: scale(1.1);}
.product .product-small{background: white;margin-bottom: -1px;}
.product .product-small:before, .product .product-small:after{bottom: 0;z-index: 2;content: "";position: absolute;background: #cdd1d8;}
.product .product-small:before{left: 0;right: 0;height: 1px;}
.product .product-small:after{top: 0;width: 1px;right: -1px;}
.product .product-small .box-text{padding-left: 15px; padding-right: 15px}
.hwp-status{left: 15px;top: -25px;z-index: 1;line-height: 1;font-size: 13px;color: #e20212;font-weight: 700;padding: 5px 10px;position: absolute;white-space: nowrap;border-radius: 20px;background: white;border: 1px solid #e20212;}
.product .product-small .product-title a{font-weight: 700;color: #333;overflow: hidden;line-height: 1.5;display: -webkit-box;-webkit-line-clamp: 2;word-break: break-word;-webkit-box-orient: vertical;}
.product .product-small .product-title a:hover, .product .product-small .price-wrapper span.amount{color: #e20212 }
.product .product-small .price-wrapper span.amount{font-size: 18px}
.product .product-small .price-wrapper{display: grid;}
.product .product-small .price-wrapper .price {order: 1; margin-top:15px }
.product .product-small .price-wrapper .star-rating{order: 2; margin-top: 20px}
.star-rating:before, .woocommerce-page .star-rating:before{color:#fb6e2e}
.hwp-button{font-weight:500}
.hwp-single-product .quantity{display: none !important}

/*Single Product*/
.sticky-add-to-cart--active button.buy_now_button{width: auto; padding-left: 10px; padding-right: 10px}
/*.breadcrumbs{padding-top: 50px}*/
.breadcrumbs a{font-weight: bold}
.term-description{padding: 30px;font-size: 16px;margin-top: 40px;border-radius: 8px;position: relative;background: white;}
.hwp-maps{list-style:none ;background: #f3f6f9; border-radius: 10px; padding: 10px; color: #000}
.hwp-maps li{position: relative; margin-left:0 !important; padding-left: 1.3em; }
.hwp-maps li:before{color: #e20212;content: "\f0da";position: absolute;font-family: "FontAwesome";left:0;}
.hwp-qt-box{background-color: #fff; border-radius: 20px; padding: 20px}
.hwp-qt-top{color: #e20212; margin-bottom: 10px; font-weight: bold}
.hwp-qt-top i{margin-right: 10px}
.hwp-qt-info p{margin-bottom: 10px}
.ux-swatch--color .ux-swatch__text, .ux-swatch--image .ux-swatch__text{display: block}
.ux-swatch--color, .ux-swatch--image{width: auto}
.ux-swatch--image img{max-height: 35px; width: auto; margin-right: 5px}
.single_add_to_cart_button, .add_to_cart_button { display: none !important; }
.hwp_product_image_checkout{width: 50px; height: 50px; float: left; vertical-align: middle; margin-right: 10px}
.woocommerce-billing-fields h3{color: #e20212; font-size: 20px; font-weight: bold}
#order_review_heading, .wc-bacs-bank-details-heading, .woocommerce-order-details__title, .woocommerce-column__title {color: #004486; font-weight: bold}
.woocommerce-checkout .has-border{}
.cart-container > .woocommerce{background: #fff; padding: 30px; box-shadow: 1px 2px 5px rgba(0,0,0,0.5)}
.shipping_address{background: #f2f2f2; padding: 20px; margin-bottom: 20px; }
.payment_box{background: #f2f2f2; padding: 15px; position: relative}
.woocommerce-billing-fields__field-wrapper {margin-top: 20px}
.payment_box:before{content: ''; position: absolute; top: -8px; left: 10px;width: 0;height: 0;border-left: 10px solid transparent;border-right: 10px solid transparent;border-bottom: 10px solid #f2f2f2;}
.woocommerce-billing-fields__field-wrapper .form-row{ display: table; width: 100%; position: relative; padding-left: 110px}
.woocommerce-billing-fields__field-wrapper .form-row label{position: absolute; width: 110px; left:0 }
.wc-bacs-bank-details{padding-left: 30px}
.wc-bacs-bank-details-account-name{font-weight: bold}
.ux-swatch--color, .ux-swatch--image{height: 45px; padding: 5px 15px 5px 5px; background: #fff}

/*POST*/
.archive-page-header{margin-bottom: 20px}
.blog-single{padding-top: 10px}
.single-post .page-title, .single-post .page-title .fill{background-color: #f3f6f9 !important; box-shadow: 0; text-shadow: none}
.single-post .page-title .page-title-inner {min-height: 0 !important; padding-top:10px; padding-bottom:10px; display: block;}
.single-post #breadcrumbs{text-align: left; font-size: 0.85em; color: #333}
.single-post .page-title .page-title-inner .entry-title{font-size: 30px; font-weight: 700; color: #333; margin-top: 20px}
.hwp-meta{color: #808080; font-weight: ̀500}
.blog-archive h1{font-size: 30px; font-weight: bold}
.hwp-blog-list-cat ul{margin:30px 0 0 0; padding:0}
.hwp-blog-list-cat ul li{display: inline-block; list-style: none}
.hwp-blog-list-cat ul li a{display: block; border: 1px solid #ccc; background: #fff; border-radius: 5px; padding: 8px 15px; color: #000; text-transform: capitalize;}
.hwp-blog-list-cat ul li a:hover, .hwp-blog-list-cat ul li.current-menu-item a, .hwp-blog-list-cat ul li.current-post-parent a{color: #fff; border-color: #e20212; background: #e20212}

.post-item {padding-bottom: 0}
.post-item .box-image{border-radius: 10px}
.post-item .blog-post-inner .post-title{font-weight: normal}
.post-item .blog-post-inner .post-title:hover{color: #e20212}
.hwp-button .button{font-weight: normal; background-color: #f3f6f9 !important}
.hwp-button .button:hover{color: #fff !important; background-color: #e20212 !important}
.blog-archive .post-item{margin-bottom: 20px}
.blog-archive .post-title{font-size: 20px; font-weight: 700 !important}

.related-box{margin-top:0 !important; margin-bottom: 50px}
.feature {position: relative;overflow: hidden; border-radius: 10px}
.feature::before {content: "";display: block;padding-top: 56.25%;}
.feature .image{ position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;background-size: cover;background-position: center;}
.related-title{margin-top: 10px}
.related-title a{color: #000;}
.related-title a:hover{color:#e20212}

/*Footer*/
.ft-hotline{background}
#footer .col{padding-bottom: 0}
.bg-info{background: url('./images/icon-call.png') no-repeat left center;background-size: 35px 35px;padding-left: 50px;}
.ft-hotline.button{min-height: 0; line-height: inherit; margin-bottom: 20px}
.footer-social{color: #fff}
.footer-social a{color: #fff; font-size: 20px; margin: 0 5px}
.ft-menu .ux-menu-link__link{min-height:0; color: #fff; transition: all 0.3s linear; padding-top: 3px; padding-bottom: 3px}
.ft-menu .ux-menu-link__link:hover{color: #fcde04; padding-left: 5px;}
.hwp-bank{max-height: 140px; overflow-y: auto;}
.hwp-bank::-webkit-scrollbar {width: 10px;border-radius: 10px;background: #f3f6f9;}
.hwp-bank::-webkit-scrollbar-thumb {border-radius: 10px;background: #e20212;transition: all 1s ease;}
.hwp-bank::-webkit-scrollbar-thumb:hover {background: #b5000d;}
/*Woocoomerce*/
.ux-swatch.selected:before, .list-items li a.select:before{top: -1px;right: -1px;content: '';color: #004486;position: absolute;border-top: 22px solid #004486;border-left: 22px solid transparent;}
.ux-swatch.selected:after, .list-items li a.select:after{
    content: '';
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    background: none;
    margin: -2px 0 0 2px;
    border-radius: 0;
    position: absolute;
    right: 3px;
    top: 2px;
}
.list-items{gap: 10px;display: grid;line-height: 1;align-items: center;grid-template-columns: repeat(4, 1fr);}
.list-items li{list-style: none; margin: 0 !important}
.list-items li a{
    padding: 5px;
    height: 50px;
    display: grid;
    font-size: 14px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    text-align: center;
    background: white;
    align-items: center;
    border: 2px solid #ddd;
    color: #000;
    transition: all .3s ease;
}
.list-items li a.select{border-color: #004486 }
.ux-swatch.selected{box-shadow: 0 0 0 0.1rem #004486;}
.list-items span{display: block}
.list-items span.hwp-item-name{font-weight: bold}
.list-items span.hwp-item-price{font-size: 13px; margin-top: 3px}
.list-items li a.select .hwp-item-name{color: #004486}

@media screen and (max-width: 1199px){
    .TextCaptions{display: none}
}
@media screen and (min-width: 849px){
    .header-search-form .search-field{width: 500px}
}
@media screen and (max-width: 1199px) and (min-width: 1025px){
    .icon-order{display: none !important}
    .header-search-form .search-field{width: 400px}
}
@media screen and (max-width: 1024px) and (min-width: 992px){
    .icon-order{display: none !important}
    .header-search-form .search-field{width: 350px}
}
@media screen and (max-width: 991px){
    .account-link, .icon-hotline, .icon-order{display: none !important}
}   
@media screen and (min-width: 850px){
    .header-search-form .search-field{ height: 46px}
    .has-sticky .stuck #masthead{display: none}
    .single-product .product-gallery{flex-basis: 40%;max-width: 40%;}
    .single-product #product-sidebar{flex-basis: 20%;max-width: 20%;}
}
@media screen and (max-width: 849px){
    /*.header-bottom{background-color: #fcde04 !important}*/
    .header-search-form .ux-search-submit{width: 50px; height: 40px;}
    .header-search-form .search-field{height: 36px}
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    
}
@media only screen and (max-width: 549px){
    .hwp-cs.box-vertical .box-image, .hwp-cs.box-vertical .box-text{direction: ltr;display: table-cell;vertical-align: middle; }
    .hwp-cs.box-vertical .box-image img{width: 50px }
    .hwp-cs.box-vertical .box-image{width: 30%}
    .cart-container .woocommerce{padding: 20px 15px}
    .has-border{padding: 15px}
}