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

a.button-continue-shopping.button.primary.is-outline {
    color: #fff;
    background-color: #0066ff;
    border: 1px solid #0066ff;
}
button.button.primary.mt-0.pull-left.small {
    background-color: #33CC00;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}
a.checkout-button.button.alt.wc-forward {
    background-color: #FF0000;
    border-radius: 15px;
    box-shadow: 2px 2px 5px #ddd;
}
.page-checkout h3.widget-title {
    color: #ff6600;
}


div#customer_details {
  border: 3px dashed #e5101d;
  padding: 15px;
  border-radius: 15px;
}

.cart-wrapper.sm-touch-scroll {
  border: 3px dashed #e5101d;
  padding: 15px;
  border-radius: 15px;
}

.cart_totals.calculated_shipping {
    border: 3px dashed #e5101d;
    padding: 15px;
    border-radius: 15px;
}

form.checkout_coupon.mb-0 {
    background-color: #eaeaea;
    padding: 20px;
    border: 3px dashed #ff6600;
}

.woocommerce-billing-fields h3 {
    color: #303030;
}

button#place_order {
    background: #FF0000;
}

h3#order_review_heading {
    color: #303030;
}

.page-checkout span.woocommerce-Price-amount.amount {
    color: #FF0000;
}

@font-face {
    font-family: 'OpenSans';
    src: url(fonts/OpenSans-Regular.ttf);
} 

@font-face {
    font-family: 'OpenSans-Bold';
    src: url(fonts/OpenSans-Bold.ttf);
}



:root{
    --family :'OpenSans' !important;
    --family-bold :'OpenSans-Bold'!important;
    --color: #a30000;
}




body{
    font-size: 15px !important;
    font-family: var(--family) !important;
    overflow: hidden;
}
h1,h2,h3,h4,h5,h6,p,ul,li,a{
    color: #000;
    font-family: var(--family);
}


p.category.uppercase.is-smaller.no-text-overflow.product-cat.op-7,
.is-divider,
.entry-category,
.display-product a.quick-view,
a.quick-view.quick-view-added {
    display: none;
}

.header-button a {
    background: #fff;
    color: var(--color);
}

.sidebar-menu.no-scrollbar {
    background: var(--color);
}
.sidebar-menu.no-scrollbar li a {
    color: #fff;
    font-family: var(--family) !important;
}
.sidebar-menu.no-scrollbar li .toggle {
    color: #fff;
}
.sidebar-menu.no-scrollbar li ul.children {
    background: #000;
}
.sidebar-menu.no-scrollbar li ul.children li a {
    color: #fff;
}

.header-nav-main li {
    padding: 0px 5px;
}
.header-nav-main li a {
   font-family: var(--family) !important;
   font-weight: 500;
	font-size:14px;
}

.nav-dropdown-default {
    padding: 0px;
}
.nav-dropdown  li {
    border-bottom: 1px solid #eaeaea;
    background: var(--background) !important;
}

li.current-dropdown>.nav-dropdown{
    left: 0px;
}


.nav-column.nav-dropdown-default>li>a,
.nav-dropdown.nav-dropdown-default>li>a { 
    padding: 5px 10px;
    display: block;
    border-bottom: 0px;
    color: #000!important;
    font-weight: 600;
	font-size:14px;
}


.nav-dropdown-default .nav-column li:hover,
.nav-dropdown.nav-dropdown-default>li:hover{
    background: var(--color)!important;
}

.nav-dropdown-default .nav-column li:hover>a,
.nav-dropdown.nav-dropdown-default>li:hover>a {
    color: #fff !important; 
}
.nav-dropdown-has-arrow li.has-dropdown:after,
.nav-dropdown-has-arrow li.has-dropdown:before {
    display: none;
}
.nav-dropdown>li.nav-dropdown-col{display:block}

.nav-dropdown{border:1px solid #ddd; padding:0;}

.nav-column.nav-dropdown-default>li>a,
.nav-dropdown .nav-dropdown-col>a,
.nav-dropdown li a{
    font-weight:normal !important;
  text-transform:none !important;
  font-size:15px;
   font-weight:500
}


.nav-dropdown .nav-dropdown-col>ul{
    border: 1px solid #d2d2d2;
    margin-top:-30px;
    box-shadow: 2px 2px 5px #828282;
    display:none;
    position: absolute;
    left: 100%;z-index: 9;
    background: white;
    min-width: 240px;
}

.nav-dropdown>li.nav-dropdown-col{width:100%;border-right:0}

.nav-dropdown .nav-dropdown-col .menu-item-has-children {
   margin-top: 0px;
}

.nav-dropdown .nav-dropdown-col>ul li a{
    padding:10px;  text-transform: none;color:black
}

.nav-column.nav-dropdown-default li.menu-item-has-children ul{
    border: 1px solid #d2d2d2;
    margin-top: -40px;
    box-shadow: 2px 2px 5px #828282;
    display:none;
    position: absolute;
    left: 100%;z-index: 9;
    background: white;
    min-width: 240px;
}

.nav-column.nav-dropdown-default li.menu-item-has-children:hover >ul,
.header-nav li.nav-dropdown-col:hover >ul{display:block !important}

/****************************************/
.title-home {
    margin: 20px 0px;
    display: flow-root;
}

.title-home h2 {
    color: var(--color);
    text-transform: uppercase;
    font-family: var(--family-bold) !important;
    float: left;
}
.title-home .link-home {
    float: right;
    margin-top: -32px;
}
.title-home .link-home a{
    background: var(--color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    font-family: var(--family) !important;
}

.sec-about p {
    text-align: justify;
}
.sec-about .button.primary{
    background: var(--color);
    font-family: var(--family);
}

.home-company .count {
    text-transform: uppercase;
    color: #fff;
    font-size: 30px;
    font-family: var(--family-bold);
}
.home-company h5 {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
}

.sec-product .box-text {
    top: 10px;
    left: 0px;
    text-align: left !important;
}
.sec-product .box-text h4 {
    text-transform: uppercase;
}

.sec-product .box-img {
    margin-bottom: 25px;
}

.tab-solution li {
    list-style: none;
}
.tab-solution .child-left {
   display: inline-flex;
    vertical-align: top;
    width: 20%;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 0px;
    color: #000000;
    float: left;
    text-align: center;
}
.tab-solution .child-right {
    display: inline-block;
    width: 80%;
    vertical-align: top;
}
.sti1-child-right {
    display: none;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.tab-solution li.active .sti1-child-right{
    display: block !important;
}

.tab-solution .sti1-child-right-d {
    text-align: justify;
    font-size: 13px;
    margin: 10px 0px;
}
.sti1-child-right-b a {
    text-transform: uppercase;
}
.sti1-child-right-b a i {
    margin-left: 10px;
}


.box-solution-content .tab-item {
    width: 100%;
    margin: 10px 0;
    display: -ms-flexbox;
    display: flex;
}
.box-solution-content .item-solution {
    -ms-flex: 1;
    flex: 1;
    white-space: nowrap;
    list-style: none;
    text-align: center;
}
.box-solution-content .item-solution:first-child .box-image{
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}
.box-solution-content .item-solution:last-child .box-image {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.box-solution-content .item-solution .image-cover {
    height: 500px;
}
.box-solution-content .item-solution .box-text {
    top: 45%;
}
.box-solution-content .item-solution:hover .box-text {
    top: 30%;
}
.box-solution-content .item-solution:hover .box-text .btn-more {
   opacity: 1
}

.box-solution-content .item-solution .box-text h4 {
    margin-bottom: 30px;
    text-transform: uppercase;
    font-family: var(--family-bold) !important;
}
.box-solution-content .item-solution .box-text h4:before {
    content: "";
    position: absolute;
    height: 3px;
    width: 50px;
    background: #fff;
    text-align: center;
    top: 50px;
    left: 42%;
}

.box-solution-content .item-solution .box-text .btn-more {
    border: 2px solid #fff;
    padding: 5px 15px;
    display: inline-block;
    border-radius: 15px;
    margin: 20px 0px;
    opacity: 0;
}

.sec-news .post-title {
    font-weight: 500;
    overflow: hidden;
    height: 45px;
    color: #fff;
    position: absolute;
    left: 8px;
    bottom: 0px;
	width:99%;
}

.sec-news .box-blog-post:hover .post-title {
    bottom: 80%;
}

.sec-news .button {
    border: 0px;
    color: #fff;
    padding: 0px;
    font-weight: 500;
    font-family: var(--family) !important;
}
.sec-news .button:after{
    content: "\f105";
    margin-left: 5px;
    font-family: "FontAwesome";
}
.sec-news .button:hover {
    background: var(--color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.sec-news .box-blog-post:hover .from_the_blog_excerpt {
    opacity: 1;
}
.sec-news .from_the_blog_excerpt {
    opacity: 0;
    margin-left: -10px;
}

.sec-customer .cot-6-2 {
    margin-top: 10%;
}
.sec-customer .cot-6-2 p {
    width: 530px;
    margin: 0px auto;
}
.sfi1-desc-more {
    padding-right: 70px;
    padding-top: 20px;
}

.tab-customer ul{
    width: 100%;
    margin: 10px 0;
    display: -ms-flexbox;
    display: flex;
}
.tab-customer ul .item-customer {
    -ms-flex: 1;
    flex: 1;
    white-space: nowrap;
    border: 1px solid #cdcdcd;
    list-style: none;
    padding: 10px;
    margin: 0px 5px;
    text-align: center;
    font-weight: 600;
    color: #000;
    box-shadow: 0px 0px 1px 1px #eaeaea;
    font-family: var(--family) !important;
}
.tab-customer .item-customer:hover {
    border: 1px solid var(--color);
}
.box-customer {
    padding-bottom: 30px;
}
.box-customer .content-customer {
    padding: 20px 85px;
    text-align: justify;
}

.sec-contact ul.list-contact li {
    padding: 0px;
    margin: 0px;
    list-style: none;
}
.sec-contact ul.list-contact li i{
    margin-right: 10px;
    color: var(--color);
}
.sec-contact .wpcf7-submit {
    background: var(--color);
    color: #fff;
    font-family: var(--family-bold) !important;
}
.home-giaiphap  .owl-item.active .item {
    /*float: left;
    width: 33.3%;*/
    background: #e0e0e0;
    padding: 25px;
    text-align: center;
}
.home-giaiphap .owl-item.active:nth-child(2n+1) .item {
    background: #d1d3d4;
}
.home-giaiphap .item h2 {
    color: var(--color);
    text-transform: uppercase;
    font-family: var(--family-bold) !important;
}
.home-giaiphap .item h3 {
    font-size: 15px;
    text-transform: uppercase;
}
.home-giaiphap .item .link a {
    background: var(--color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}
.home-giaiphap .item .link {
    margin-bottom: 15px;
}


.owl-prev, .owl-next {
    background: var(--color);
    border: 1px solid #FFF;
    border-radius: 100%;
    color: #FFF;
    font-size: 15px;
    height: 25px;
    line-height: 20px;
    position: absolute;
    text-align: center;
    transition: all .3s ease 0s;
    width: 25px;
    z-index: 1;
    top: 35%;
}
.owl-prev {
    float: left;
    left: -10px;
}
.owl-next {
    float: right;
    right: -10px;
}

/***************************************/
.woocommerce-breadcrumb.breadcrumbs a,
.woocommerce-breadcrumb.breadcrumbs {
    text-transform: none;
    color: #000;
    font-size: 12px;
    font-family: var(--family) !important;
}
p.woocommerce-result-count.hide-for-medium {
    display: none;
}

.product-small.box {
    text-align: center;
    border: 1px solid #eaeaea;
}

.product-small.box:hover {
    border: 1px solid var(--color);
}
.product-small.box:hover p.name.product-title a {
    color: var(--color);
}

p.name.product-title a {
    color: #000;
    font-size: 16px;
    font-family: var(--family-bold) !important;
}

.custom-product-cat {
    padding: 30px 0px;
}
.taxonomy-menu .item {
    float: left;
    padding: 0px 15px;
}
.custom-product-cat .item a {
    text-transform: uppercase;
    color: var(--color);
    font-family: var(--family-bold) !important;
}
.custom-product-cat .entry-title {
    text-transform: uppercase;
}

.product-archive-header .col-inner {
    box-shadow: 2px 2px 10px 2px #eaeaea;
    padding: 10px;
}
.product-archive-header .col-inner:hover {
    border:2px solid var(--color);
}
.product-archive-header .vi-left-title a {
    text-transform: uppercase;
    font-size: 13px;
}
.product-archive-header .vi-left-title:hover a {
    color: var(--color);
}

.nav-tabs>li.active>a {
    border-top-color: #eaeaea
}

.woocommerce-tabs ul li a {
    color: #000;
    text-transform: none;
    font-size: 15px;
    font-family: var(--family-bold);
}

.woocommerce-tabs ul li.active a {
    color: var(--color);
}
.entry-content.single-page strong,
.woocommerce-Tabs-panel strong {
    font-family: var(--family-bold) !important;
}
.entry-content.single-page,
.woocommerce-Tabs-panel {
    color: #000;
    text-align: justify;
    font-family: var(--family) !important;
}

.blog-wrapper .badge-inner {
    display: none;
}
.blog-wrapper .box-text {
    text-align: left !important;
    position:absolute;
	top:75%;
}

.blog-wrapper .box-blog-post:hover .box-text {
	top:50%;
}
.blog-wrapper .box-blog-post:hover p.from_the_blog_excerpt{
	opacity:1;
}
.blog-wrapper p.from_the_blog_excerpt {
	opacity:0;
}
.blog-wrapper p.from_the_blog_excerpt,
.blog-wrapper h5.post-title {
	color:#fff;
}

.blog-wrapper .box-blog-post {
    border: 1px solid #eaeaea;
}
.blog-wrapper .image-cover {
    padding-top: 100% !important;
}


.date-post {
    display: flow-root;
    margin-bottom: 10px;
}
.date-post .time {
    float: left;
    color: #000;
    font-family: var(--family);
}
.date-post .view {
    float: right;
    color: #000;
    font-family: var(--family);
}
h5.post-title {
    color: #000;
    margin-bottom: 15px;
    font-family: var(--family-bold) !important;
}
h5.post-title:hover{
    color: var(--color); 
}
.widget .widget-title  {
    color: #fff;
    padding: 10px;
    display: block;
    background: var(--color);
    font-family: var(--family) !important;
}
ul.product_list_widget,
.widget_categories ul,
ul.product-categories {
    border: 1px solid #eaeaea;
}

.widget_categories ul li:hover,
ul.product-categories li:hover {
    background: var(--color);
}
.widget_categories ul li:hover a,
ul.product-categories li:hover a {
    color: #fff;
}
ul.product_list_widget li:hover a{
    color: var(--color);
}
ul.product_list_widget li a,
.widget_categories ul li a,
ul.product-categories li a {
    padding-left: 10px;
    font-family: var(--family) !important;
}
.post_related h3 {
    color: var(--color);
    text-transform: uppercase;
    font-family: var(--family-bold) !important;
}
.post_related .box-blog-post {
    border: 1px solid #eaeaea;
}
.post_related .box-text {
    padding: 10px;
}



/*****************************************/
div#comments {
    display: none;
}
.comments-area,.absolute-footer {
    display: none;
}

.footer-1 .title-footer h3 {
    color: #fff;
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.title-form h4 {
     color: #fff;
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.menu-footer li a {
    color: #fff;
    font-size: 13px;
}

.form-footer input.wpcf7-email {
    width: 65%;
    float: left;
}

.form-footer .wpcf7-submit {
    background: #000;
    font-family: var(--family-bold);
}
.share-footer li {
    float: left;
    display: inline-block;
}
.share-footer li a {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 3px;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    border-radius: 50%;
    background: #a5a5a5;
}
@media only screen and (max-width: 991px) {
    .box-customer .content-customer {
        padding: 20px 15px;
    }
}

@media only screen and (max-width: 767px) {
    .blog-archive .post-item {
        width: 33.3% !important;
        float: left;
    }
    
    .taxonomy-menu .item {
        width: 50%;
        margin-bottom: 10px;
    }



}

@media only screen and (max-width: 500px) {
    .blog-archive .post-item {
        width: 50% !important;
        float: left;
    }
    .taxonomy-menu .item a {
        font-size: 11px;
    }

}


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


}