/*
Theme Name: homeviet265
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*--------------------------------------------------------------
## Css Scrollbar
--------------------------------------------------------------*/
::-webkit-scrollbar-track{;background-color:#F5F5F5;border-radius:0}
::-webkit-scrollbar{width:8px;background-color:#F5F5F5}
::-webkit-scrollbar-thumb{background-color:#807d7d;border-radius:0;}

/*************** CUSTOM FONT ***************/
/*@font-face {
    font-family: 'Gilroy';
    src: url('assets/webfonts/SVNGilroyMedium.eot');
    src: url('assets/webfonts/SVNGilroyMedium.eot') format('embedded-opentype'),
         url('assets/webfonts/SVNGilroyMedium.woff2') format('woff2'),
         url('assets/webfonts/SVNGilroyMedium.woff') format('woff'),
         url('assets/webfonts/SVNGilroyMedium.ttf') format('truetype'),
         url('assets/webfonts/SVNGilroyMedium.svg#SVNGilroyMedium') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src: url('assets/webfonts/SVNGilroySemiBold.eot');
    src: url('assets/webfonts/SVNGilroySemiBold.eot') format('embedded-opentype'),
         url('assets/webfonts/SVNGilroySemiBold.woff2') format('woff2'),
         url('assets/webfonts/SVNGilroySemiBold.woff') format('woff'),
         url('assets/webfonts/SVNGilroySemiBold.ttf') format('truetype'),
         url('assets/webfonts/SVNGilroySemiBold.svg#SVNGilroySemiBold') format('svg');
    font-weight: 600;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/webfonts/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),  url('assets/webfonts/Gilroy-Bold.otf')  format('opentype'),
       url('assets/webfonts/Gilroy-Bold.woff') format('woff'), url('assets/webfonts/Gilroy-Bold.ttf')  format('truetype'), url('assets/webfonts/Gilroy-Bold.svg#Gilroy-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}*/

/*************** DEFAULT STYLE ***************/
body {font-size: 16px;-webkit-text-size-adjust: 100%;-webkit-font-smoothing: antialiased;line-height: 1.5;color: #333;}
a {color: #c41425;transition: all 0.3s linear;}
a:hover {color: #c41425;}
a:hover, a:active, a:focus, a:visited {text-decoration: none}
img {max-width: 100%;height: auto}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {line-height: 1.4;}
img.size-full.alignnone {margin-bottom: 0;}
.section-title-center {
    justify-content: center;
}
a {
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
}
.is-divider {display: none;}
.section-title-normal {border-width:1px;margin-bottom: 0;}
.section-title-normal a {
    text-transform: unset;
    font-size: 13px;
    font-weight: normal;
    color: #333;
    padding: 15px 0 5px;
    position: relative;
}
.section-title-normal a i {opacity: 1;vertical-align: -2px;margin-left: 5px !important;}
.section-title-normal a:after {
    content: '';
    height: 2px;
    background: #cf2d2d;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -1px;
}
.section-title .section-title-main {
    margin: 0;
    padding: 0;
    color: #333;
    font-weight: 600;
    line-height: 40px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid #c41425;
    margin-bottom: -1px;
}
h2.section-title .section-title-main {
    font-size: 22px;
}
.section-title-center {
    align-items: end !important;
    margin-bottom: 0;
}
.section-title-center .section-title-main {text-align: center;margin-bottom: 0;}
.nav-simple .tab a {
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    background: #fff;
    margin: 0 5px;
    padding: 0 30px;
    line-height: 40px;
    border: 1px solid #c41425;
    color: #c41425;
    font-size: 18px;
}
.nav-simple .tab.active a, .nav-simple .tab:hover a {
    background: #c41425;
    color: #fff;
}
.col, .gallery-item, .columns {
    padding-bottom: 20px;
}
pre, blockquote, form, figure, p, dl, ul, ol {margin-bottom: 10px;}
.page-numbers.links>li {margin: 0 !important;}
.page-numbers.links>li>span, .page-numbers.links>li>a {
    padding: 0;
    background: #CF2D2D;
    color: white;
    border: 1px solid transparent;
    width: 35px;
    height: 35px;
    display: inline-block;
    line-height: 34px;
    text-align: center;
    margin: 0 3px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0;
}
.page-numbers.links>li>span, .page-numbers.links>li>a:hover {
    background: white;
    color: #CF2D2D;
    border: 1px solid #CF2D2D;
}
#breadcrumbs {
    background: #ececec;
    padding: 8px 0;
    font-size: 14px;
}
#breadcrumbs p {margin:0;}
.breadcrumbs, #breadcrumbs span {
    font-size: 14px;
    text-transform: initial !important;
    font-weight: normal;
    color: #333;
    opacity: 1;
}
#breadcrumbs a {
    text-transform: initial;
    font-size: 14px;
    color: #333;
}
#secondary .widget-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px;
    margin: 0;
    background: #ec1c24;
    border: 1px solid #ebebeb;
    position: relative;
    line-height: 1.4;
    display: block;
    border-bottom: none;
    color: white;
}
#secondary .widget_nav_menu>div {
    border: 1px solid #ebebeb;
    border-top: none;
}
#secondary .widget_nav_menu ul {border-top:1px solid #ebebeb}
#secondary .widget_nav_menu ul li a {
    font-size: 1rem;
    font-weight: 500;
    display: block;
    color: #333;
    padding: 10px 15px;
    position: relative;
}
#secondary .widget_nav_menu ul li:hover a, .widget .list-post-item h3:hover a {color: #ec1c24;}
#secondary .list-post-item {
    background: #ebebeb;
    padding: 10px;
}
#secondary .list-post-item li {border-top: none;}
.widget .list-post-item li:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e2e2 !important;
}
.widget .list-post-item .alignleft {
    width: 100px;
    margin-right: 10px;
    float: left;
    padding: 0;
}
.widget .list-post-item h3 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    width: auto;
    color: #333;
}
.widget .list-post-item h3 a {
    color: inherit;
    display: block;
    line-height: 1.4;
}

/*************** HEADER ***************/
#top-bar .header-social-icons a {
    padding: 0;
    width: 24px;
    height: 24px;
    min-width: unset;
    min-height: unset;
    font-size: 9px;
    line-height: 27px;
    background: #ed1b24 !important;
    border: none;
}
.hotline_header {
    width: 228px;
    height: 74px;
    border-radius: 4px;
    border: solid 1px #e0e0e0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: -7px;
    margin-left: 0;
}
.hotline_header .img {
    margin-top: 15px;
    margin-right: 15px;
    width: 40px;
}
.hotline_header .content {
    margin-top: 12px;
}
.hotline_header .content p {
    font-size: 12px;
    line-height: 2.17;
    color: #888;
    margin-bottom: -5px;
}
.hotline_header .content strong {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.08;
    color: #333;
}
.searchform {
    border: 1px solid #e2e2e2;
    position: relative;
    width: 450px;
    border-radius: 7px;
    overflow: hidden;
    height: 44px;
    margin: 0 auto !important;
}
#search-lightbox .searchform {
    max-width: 400px;
}
.searchform .search-field {
    border: none;
    height: 100%;
    width: 100%;
    padding: 0 55px 0 10px;
    font-size: 14px;
    outline: none;
    height: 44px;
    box-shadow: unset;
}
.searchform button {
    position: absolute;
    right: 0px;
    top: -1px;
    height: calc(100% + 2px);
    width: 44px;
    background: #CF2D2D;
    border: none;
    color: white;
    outline: none;
} 
#search-lightbox .searchform button {
    font-size: 16px;
}
#wide-nav .nav-left > li {
    margin: 0 1px 0 0;
}
#wide-nav .header-nav > li > a {
    padding: 0;
}
#wide-nav .nav-left > li > a {
    padding: 0 25px;
    font-size: 15px;
    font-weight: normal;
}
#wide-nav .sub-menu {
    padding: 0;
    border:none;
}
#wide-nav .sub-menu > li > a {
    font-size: 14px;
    border-bottom: 1px dashed #ececec;
}
.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before {display: none;}
#wide-nav .nav-left li.current-menu-item > a, #wide-nav .nav-left li:hover > a {
    color: #ed1b24;
}
#wide-nav .nav-left > li:first-child > a {
    padding-left:0;
}

/*************** HOME ***************/
.section-product-cat .col-inner {
    border: 1px solid #ececec;
}
.section-product-cat .box-image {
    padding: 15px;
}
.section-product-cat .box-image > a {position: relative;}
.section-product-cat .box-image > a:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    z-index: 9;
    border-top: 1px solid rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.8);
    -ms-transform: scale(0, 1);
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -ms-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}
.section-product-cat .box-image > a:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    z-index: 9;
    border-left: 1px solid rgba(255,255,255,0.8);
    border-right: 1px solid rgba(255,255,255,0.8);
    -ms-transform: scale(1, 0);
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    -ms-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}
.section-product-cat .box-image > a:hover:after, .section-product-cat .box-image > a:hover:before {
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}
.section-product-cat .box-text {
    padding: 0;
}
.section-product-cat .box-text h3 {
    padding: 0px 20px 20px;
    font-weight: 600;
    color: #333;
    font-size: 20px;
}
.section-product-cat .box-text a.button {
    margin: 0 !important;
    width: 100%;
    border:none;
    border-top: 1px solid #ebebeb;
    background: #f9f9f9;
    padding: 0 15px;
    color: #333;
    text-align: left;
    line-height: 50px;
    height: 50px;
    display: block;
    color: #cf2d2d;
    font-weight: 600;
    font-size: 14px;
}
.section-product-cat .box-text a.button:hover {
    background: #cf2d2d;
    color: white;
}
.section-about .col-inner {
    font-size: 16px;
}
.section-about .ux-menu-link__link {
    min-height: unset;
}
.section-about .ux-menu-link__link i {color: #ffb32b;}
.section-about .slider-wrapper .slider {
    padding-bottom: 50px;
}
.section-about .testimonial-box .icon-box-img {
    height: 100px;
    margin: 50px auto 20px;
    overflow: hidden;
}
.section-about .testimonial-box .icon-box-text {
    padding: 30px 50px;
    font-size: 15px;
}
.section-about .testimonial-meta {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}
.section-about .flickity-prev-next-button svg.flickity-button-icon {
    background: rgba(255, 255, 255, .7);
    fill: #cf2d2d !important;
    padding: 12px;
}
.section-about .flickity-prev-next-button.previous {left: 0;opacity: 1;}
.section-about .flickity-prev-next-button.next {right: 0;opacity: 1;}
.section-news .post-item .post-title {font-size: 14px;}
.home-why-choose .col-inner {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 20px 0 0;
}
.home-why-choose .icon-box {
    width: 20%;
    padding: 0 10px;
}
.home-why-choose .icon-box .icon-box-text {
    padding-left: 10px;
}
.home-why-choose .icon-box h5 {
    font-size: 15px;
    font-weight: 600;
    color: #cf2d2d;
    padding: 0;
    text-transform: initial;
}
.home-why-choose .icon-box h6 {
    font-size: 13px;
    font-weight: normal;
    text-transform: initial;
}

/*************** WOOCOMMERCE ***************/
.page-wrapper, .product-main {padding-top: 20px;}
.product-title a {display: block;margin: 0 !important;font-size: 16px;color: #333;}
.product-title a:hover {color: #ed1b24;}
.category-page-title {margin-bottom: 15px;}
.category-page-title h1 {margin-bottom: 0;font-size: 24px}
.woocommerce-result-count {font-size: 14px;}
.woocommerce-ordering {margin: 0;}
.woocommerce-ordering select {
    margin: 0;
    display: block;
    height: 36px;
    font-size: 14px;
}
#product-sidebar {padding-top: 20px;}
span.widget-title {padding-bottom: 20px;display: block;}
.widget ul>li>a {font-size: 16px;}

/*************** POST ***************/
.archive .post-item .col-inner {
    border-bottom: 1px solid #ececec;
    padding-bottom: 20px;
}
.archive-page-header .page-title, .page-inner .entry-title {
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 20px;
}
.archive-page-header .page-title:after, .page-inner .entry-title:after {
    content: '';
    width: 50px;
    height: 2px;
    display: block;
    background: #333;
}
.taxonomy-description {margin: 10px 0 30px;}
.box-list-view .box .box-text, .box-vertical .box-text {vertical-align: top;padding: 0 0 0 15px;}
.post-item .post-title {
    font-weight: 600;
    font-size: 18px;
}
.post-item .from_the_blog_excerpt {
    margin: 10px 0 10px;
    font-size: 16px;
}
.post-item .button {
    margin: 0;
    float: right;
    color: #c41425;
    font-weight: 600;
    text-transform: initial;
    font-size: 14px;
}
.entry-content.single-page {padding-top: 0;}
#ez-toc-container {width: 100%;padding: 10px 20px;}
.entry-meta {
    background: #eee;
    padding: 10px 15px;
    font-size: 13px;
    color: #666;
}
.entry-meta svg {
    width: 12px;
    vertical-align: -3px;
    margin-right: 3px;
}
.entry-meta > span {
    margin-right: 15px;
}
.entry-header-text {
    padding-bottom: 20px;
}
.entry-title {font-size: 26px;}

/*************** FOOTER ***************/
#footer .section-title-container {
    margin-bottom: 10px;
}
#footer .section-title {
    border:none;
}
#footer .section-title-main {
    color: white;
    border: none;
    font-size: 22px;
}
#footer .ux-menu-title {
    min-height: unset;
    font-weight: 600;
    font-size: 16px;
}
#footer .ux-menu-link__link {
    min-height: unset;
    font-size: 15px;
}

@media (max-width: 768px) {
    .home-why-choose .icon-box {width: 100%;padding: 10px 30px;}
    .home-why-choose .icon-box:not(:last-child) {border-bottom: 1px dashed #dbdbdb;}
}