/*
Theme Name: Flatsome Child
Theme URI: 
Description: Viet Hai - Thiet ke website chuan seo - ĐT: 035 609 3690
Author: Viet Hai
Author URI: 
Template: flatsome
Version: 3.14.1
*/

@import url('fonts/style.css');

/*************** ADD CUSTOM CSS HERE.   ***************/


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


}

b, strong { font-weight: 600 !important;}
#content table { border-right: solid 1px #ccc; border-top: solid 1px #ccc;}
#content table td { border-left: solid 1px #ccc; border-bottom-color: #ccc; padding-left: 1em; color: #111;}
.fas, fa { font-family: Fontawesome;}
div#top-bar a { font-weight: 400; text-transform: unset;}
ol, ul { margin-left: 30px; margin-bottom: 20px}
.entry-divider { display: none !important;}
div#content {padding-bottom: 0px;padding-top: 0;}
iframe {margin: auto !important;display: block;}
.single div#content { padding-top: 0px;}
body { counter-reset: section; overflow-x: hidden !important;}
.metaslider .nivo-controlNav { position: absolute; bottom: 0px; left: 0px;}
#logo a { color: #FFF; text-transform: uppercase;}
.entry-content p { text-align: justify;}
div.wpcf7-mail-sent-ng, div.wpcf7-aborted { background: white;}
h6 { font-size: 12px;}
h5 { font-size: 14px;}
h4 { font-size: 17px;}
h3 { font-size: 20px;}
h2 { font-size: 22px;}

/* topbar */
.head1_col1 { color: #fff;font-size: 15px;}
.head1_col1 b { color: #ff0; font-weight: 400;}
#top-bar ul#header-contact { margin-left: auto; margin-right: 1rem; padding: 0px 25px; background-image: url(image/bg-top-left.jpg),url(image/bg-top-right.jpg); background-position: left center,right center; background-repeat: no-repeat; background-color: #038843; color: #fff;}
#top-bar ul#header-contact li a { font-size: 15px;}

/* Hotline header */
ul.hotline-top { position: relative; font-weight: 500; font-size: 20px; color: #000; background-position: 0% 50%;    padding-left: 50px !important;}
ul.hotline-top:before { content: ""; width: 44px; height: 44px; text-align: center; font-size: 23px; line-height: 40px; position: absolute; left: 0px; color: #ffffff; top: 0px; background: url(image/icon-phone.png) no-repeat; background-size: contain; }
.hotline-top li { list-style: none; margin-bottom: 0px; line-height: 23px; font-size: 16px;font-weight: 600;}
.hotline-top li.hotline-phone { font-weight: 600; font-size: 22px; color: red; }

/* tìm kiếm header */
#header select.search_categories { background-color: #FFF; border: 0px; height: 40px; box-shadow: none; width: 95px !important;}
#header .search-form-categories { position: relative; border-right: 1px solid #ebebeb;}
#header form.searchform { border: 2px solid #dd3333; border-radius: 5px; }
#header input.search-field { background: #FFF; border: 0px; height: 40px; box-shadow: none; }
#header form.searchform .flex-col:last-child { padding: 4px; color: #000;}
.searchform .button.icon { padding: 0 20px; }
#header form.searchform >.flex-row { background: #FFF; border: 0px; border-radius: 3px;}
#header form.searchform .submit-button { background: #038843 !important; border-radius: 0px 5px 5px 0px; color: #FFF !important;}

/* giỏ hàng */
#masthead a.header-cart-link { background: #038843 !important;}

/* #masthead li.cart-item a.header-cart-link { background: transparent !important; color: #000; border-radius: 5px !important; border: 1px dashed #e22028; padding: 10px 15px 5px; font-size: 14px; position: relative; box-shadow: none;}
#masthead li.cart-item a.header-cart-link:before { background: url(image/cut-cart.png) no-repeat center center; content: ""; width: 22px; height: 15px; display: block; position: absolute; right: 30px; top: -8px; background-color: #fff; opacity: 1;}

/* menu chính */
div#wide-nav ul.header-nav > li.menu-item { margin: 0px;}
div#wide-nav .flex-col.hide-for-medium { width: 100%;}
div#wide-nav ul.header-nav li a { font-size: 15px; }
div#wide-nav ul.header-nav > li.menu-item > a { font-weight: 600; text-align: center;font-size: 15px; padding: 0px 15px; }
#header .stuck div#wide-nav ul.header-nav > li.menu-item > a { line-height: 40px;}
div#wide-nav ul.header-nav > li.menu-item >.nav-dropdown >li a { color: #000;border-bottom: 0px; margin: 0px; padding: 10px;font-weight: 400; text-transform: unset;}
div#wide-nav ul.header-nav ul.nav-dropdown { padding: 0px; border: 0px; background: #f8f8f8; z-index: 99;}
div#wide-nav ul.header-nav .nav-dropdown li.menu-item a:hover { background: #038843; color: #FFF !important;}
#mega-menu-wrap #mega_menu .menu li.menu-item a .menu-image-title { padding-left: 0px;}
#mega-menu-wrap #mega_menu .menu li.menu-item a img.menu-image { width: 34px;}
#mega-menu-wrap #mega_menu .menu >li.menu-item >a { font-weight: 600;}

/* menu chính sổ sang ngang sang ngang */
div#wide-nav ul.header-nav .nav-dropdown-simple {  box-shadow: 0px 0px 10px 0px #ccc; }
div#wide-nav ul.header-nav .nav-dropdown { padding: 0px; border: 0px; }
div#wide-nav ul.header-nav .nav-dropdown li.menu-item { display: block; width: 100%; position: relative; }
div#wide-nav ul.header-nav .nav-dropdown li.menu-item~li.menu-item a { border-top: 1px dotted #ccc;}
div#wide-nav ul.header-nav .nav-dropdown-simple .menu-item a { font-weight: 400; text-transform: unset; position: relative; color: #FFF; background: #f8f8f8;}
div#wide-nav ul.header-nav .nav-dropdown li.menu-item .nav-column { display: none !important;}
div#wide-nav ul.header-nav .nav-dropdown li.menu-item:hover .nav-column { display: block !important; position: absolute; left: 100%; background: #f8f8f8; top: 0px;}
div#wide-nav ul.header-nav .nav-dropdown li.menu-item-has-children >a:after { content: "\f105"; font-family: Fontawesome; position: absolute; right: 2px;}

/* menu chính khi có class megamenu */
div#wide-nav ul.header-nav .megamenu >ul.nav-dropdown >li.menu-item { display: table-cell; padding: 0 10px;}
div#wide-nav ul.header-nav .megamenu ul.nav-dropdown li.menu-item ul.nav-column { display: block;box-shadow: none;}
div#wide-nav ul.header-nav .megamenu >ul.nav-dropdown >li.menu-item >a { border: 0px;}
div#wide-nav ul.header-nav .megamenu >ul.nav-dropdown ul.nav-column li a { border-top: 1px dashed #ccc;}
div#wide-nav ul.header-nav .megamenu .nav-dropdown li.menu-item:hover .nav-column { position: unset; background: transparent;}
div#wide-nav ul.header-nav .megamenu >ul.nav-dropdown >li.menu-item >a:after { content: "";}

/* megamenu ot flatsome */
@media screen and (min-width: 960px) {
  #header .header-wrapper #wide-nav > .flex-row > .flex-left { max-width: 17%; flex-basis: 100%; -ms-flex-preferred-size: 100%; }
  div#wide-nav .hide-for-medium.flex-center .nav-center { justify-content: flex-start;}
  #header div#wide-nav div#mega-menu-wrap { box-shadow: 0 0 4px 0 rgba(0,0,0,.2); background: #ed1f28; border-radius: 0px; width: 100%;}
  #header div#wide-nav div#mega-menu-title { height: 45px; line-height: 35px; font-size: 15px;color: #FFF;position: relative; padding: 5px 10px; font-weight: 700; cursor: pointer;}
  #mega-menu-title:before { content: "\f0d7"; font-family: FontAweSome; position: absolute; right: 10px;}
  #mega-menu-title i { margin-right: 9px;}
  .home #mega-menu-wrap #mega_menu { display: block; border: 1px solid #ed1f28; min-height: 450px; }
  .stuck #mega-menu-wrap #mega_menu { display: none;}
  #mega-menu-wrap:hover #mega_menu { display: block;}
  #mega-menu-wrap #mega_menu .menu { }
  #mega-menu-wrap #mega_menu .menu li.menu-item a { display: block; padding: 10px 15px 10px 5px; color: #000; line-height: initial;position: relative;}
  #mega-menu-wrap #mega_menu .menu .sub-menu li.menu-item:not(.image-column) a:before { content: "\f058"; font-family: Fontawesome; margin-right: 5px; font-size: 11px;color: #038843;}
  #mega-menu-wrap #mega_menu .menu li.has-child >a:after { content: "\f0da"; font-family: Fontawesome; position: absolute; right: 5px; top: 12px;}
  #mega-menu-wrap #mega_menu .menu li.menu-item a:hover { background: #FFF; color: #ed1f28;}
  #mega-menu-wrap #mega_menu .menu li.menu-item:hover >a { color: #ed1f28;}
  #mega-menu-wrap #mega_menu .menu li.menu-item .sub-menu { position: absolute; left: 100%; top: 0px; box-shadow: 0 0 4px 0 rgba(0,0,0,.2);background: #FFF; height: 100%; }
  #mega-menu-wrap #mega_menu .menu li.menu-item:hover >.sub-menu { display: block !important;}
  #mega-menu-wrap #mega_menu .menu li.menu-item >.sub-menu { padding: 10px; border: 1px solid #ed1f28; }	
  #mega-menu-wrap #mega_menu .menu li.menu-item .sub-menu li { position: unset; }
  #mega-menu-wrap #mega_menu .menu li.more a { display: none; padding: 10px 15px 10px 10px; color: #000; line-height: initial; position: relative;}
  #mega-menu-wrap #mega_menu .menu li.more a:before { content: "\f0d7"; font-family: Fontawesome; margin-right: 5px;}
  #mega-menu-wrap #mega_menu .menu li.less a:before { content: "\f0d8";}
  #mega-menu-wrap #mega_menu { position: absolute; top: 100%; margin-top: 0px; left: 0; width: 100%; padding: 0; background: #fff; border: 1px solid #ddd; border-top: none; display: none;}
  #mega-menu-wrap #mega_menu .menu li.menu-item button.toggle { display: none;}
  .mobile-sidebar .nav-uppercase li.more a { color: #000;} 
  #mega-menu-wrap #mega_menu .menu .sub-menu li a { display: inline-block; padding: 5px 15px 5px 10px;}
  #mega-menu-wrap #mega_menu .menu li.menu-item .sub-menu li.image-column a:not(.dropdown-image-column) { display: none;}
  #mega-menu-wrap #mega_menu .menu .sub-menu li:not(.image-column) { position: relative; z-index: 2;}
  #mega-menu-wrap #mega_menu .menu .sub-menu .image-column { position: absolute; right: 0px; top: 0px; width: auto; height: 100%; z-index: 1;}
	#mega-menu-wrap #mega_menu .menu .sub-menu .image-column a.dropdown-image-column { display: block; width: auto; height: 100%; padding: 0px;}
	#mega-menu-wrap #mega_menu .menu .sub-menu .image-column a.dropdown-image-column img { width: auto;}
  #logo img { margin: 0 auto;}
}

@media screen and (max-width: 959px) {
  .ot-vm-click { display: block; width: 100%;}
  .ot-vm-click div#mega-menu-title { background: #dd3333; font-weight: 600; font-size: 16px; color: #FFF; padding: 10px 20px; text-transform: uppercase; }
  .ot-vm-click .menu >li+li { border-top: 1px solid #ececec;}
  .ot-vm-click .menu li.menu-item a { color: #FFF !important;font-size: 14px;}
  .ot-vm-click .menu >li.menu-item >a { padding: 15px;}
  .ot-vm-click .menu ul.sub-menu a { text-transform: none;}
  .ot-vm-click .menu >li.menu-item button.toggle { margin: 0px;}
  .ot-vm-click .menu li.menu-item ul.sub-menu { padding-bottom: 0;}
  .ot-vm-click .menu li.menu-item ul.sub-menu >li.menu-item { padding: 0px;margin: 0px;}
  .ot-vm-click .menu li.menu-item ul.sub-menu li.menu-item { border-top: 1px solid rgba(255,255,255,.2);}
  .ot-vm-click .menu li.menu-item ul.sub-menu ul.sub-menu a { padding-left: 30px;}
  .ot-vm-click .menu li.menu-item ul.sub-menu >li.menu-item >a:before { content: "-"; margin-right: 5px;}
  .ot-vm-click .menu li.menu-item ul.sub-menu ul.sub-menu a:before { content: "+"; margin-right: 5px;}
  .ot-vm-click .menu li.menu-item ul.sub-menu button.toggle { display: none;}
  #masthead .mobile-nav a.icon { background: #038843 !important; margin: 0px; padding: 0 5px; font-size: 13px;}
  #masthead .mobile-nav a.icon i.icon-menu {  margin: 0px 3px 0px 0px;}
  #masthead .mobile-nav a.icon span.menu-title { padding: 0px; display: inline-block !important; margin: 0px; color: #FFF !important;}
  div#masthead >.header-inner { padding: 0 5px;}
  div#logo { width: 100px !important;}
  .ot-vm-click .menu li.more { display: none; }
  #mega-menu-wrap #mega_menu .menu >li.menu-item >a img.menu-image { display: none;}
}

/* menu di động */
@media screen and (max-width: 959px) {
	#header .stuck div#masthead { position: fixed !important; top: 0px; left: 0px; z-index: 999999; background: #FFF; width: 100%; display: block !important;box-shadow: 0px 0px 5px 2px #ccc;}
	#header .stuck div#wide-nav { display: none;}
	#header div#wide-nav .hide-for-medium {display: none;}
	#header div#wide-nav .show-for-medium {display: block !important;}
	.off-canvas-left.dark .mfp-content { background-color: #389d4e;}
	.mobile-sidebar .nav-uppercase li.menu-item { position: relative;}
	.mobile-sidebar .nav-uppercase li.menu-item a { color: #FFF !important;font-size: 14px; display: block; width: 100%; }
	.mobile-sidebar .nav-uppercase .menu >li.menu-item >a { text-transform: uppercase; font-weight: 600; }
	.mobile-sidebar .nav-vertical >li.menu-item >a { padding-left: 15px;}
	.mobile-sidebar .nav-uppercase ul.children a { text-transform: none;}
	.mobile-sidebar .nav-vertical >li.menu-item button.toggle { margin: 0px;}
	.mobile-sidebar .nav-uppercase li.menu-item ul.children { padding-bottom: 0;}
	.mobile-sidebar .nav-uppercase li.menu-item ul.children >li.menu-item { padding: 0px;margin: 0px;}
	.mobile-sidebar .nav-uppercase li.menu-item ul.children li.menu-item { border-top: 1px solid rgba(255,255,255,.2);}
	.mobile-sidebar .nav-uppercase li.menu-item ul.children >li.menu-item >a:before { content: "-"; margin-right: 5px;}
	.mobile-sidebar .nav-uppercase li.menu-item ul.children ul.nav-sidebar-ul a:before { content: "+"; margin-right: 5px;}
	.off-canvas-left .mfp-content { background: #038843;}
	.mobile-sidebar .nav-vertical .html.custom { background: #dd3333; font-weight: 600; font-size: 16px; color: #FFF; padding: 10px 20px;}
}

/* header di động */
@media screen and (max-width: 959px) {
	#masthead .hide-for-medium { display: none;}
	#masthead .show-for-medium { display: block !important;}
}

/* breadcrumbs */
.home .breadcrumb-blog {display: none;}
.breadcrumb-blog { background: #f2f2f2; line-height: 40px; margin-bottom: 20px;}
.breadcrumb-blog .breadcrumbs { max-width: 2000px; margin: auto; text-transform: unset; line-height: 20px;  padding: 10px 15px; font-size: 14px; font-weight: 400; color: #000; }
.breadcrumbs { text-transform: uppercase; color: #222; font-weight: 400; letter-spacing: 0px; padding: 0;}
.breadcrumbs a { position: relative; display: inline-block; text-transform: none; font-weight: 400; font-size: 14px;  color: #000; padding-right: 20px; margin-right: 10px; }
.breadcrumbs a:before { content: "\f105"; font-family: fontawesome; position: absolute; top: -2px; right: 0px; padding: 0; font-size: 20px; line-height: 20px; }
.breadcrumbs a:last-child:before { content: none; }
.breadcrumbs a:hover { color: #000; }

/* breadcrumbs danh mục sản phẩm */
.page-title-inner .is-large { background: #f5f5f5; }
.archive .breadcrumbs { padding: 5px 15px; max-width: 2000px; margin: auto; color: #000; text-transform: unset;    font-weight: 400; font-size: 14px; }
.archive .page-title .page-title-inner { padding: 0px; min-height: auto; max-width: 100%; display: block; }
.archive .shop-page-title .is-xsmall { background: #f5f5f5; border-bottom: 1px solid #e6e6e6; }
.shop-page-breadcrumbs { background: whitesmoke; margin-bottom: 20px; padding: 10px 0px;}

/* breadcrumbs sản phẩm */
.single-product .page-title {background: whitesmoke;line-height: 20px;border-bottom: 0px solid #e6e6e6;padding: 10px 0px;max-width: 100% !important;}
.single-product .page-title >.woocommerce-breadcrumb {max-width: 2000px;padding: 0 15px;}
.page-title .page-title-inner { padding: 0px 15px; min-height: auto;}
.breadcrumbs { text-transform: uppercase; color: #222; font-weight: bold; letter-spacing: 0px; padding: 0;}
.breadcrumbs a { position: relative; display: inline-block; text-transform: none; font-weight: 400; font-size: 14px;  color: #000; padding-right: 20px; margin-right: 10px; }
.breadcrumbs a:before { content: "\f105"; font-family: fontawesome; position: absolute; top: -3px; right: 0px;    padding: 0; font-size: 22px; line-height: 20px; }
.breadcrumbs a:last-child:before { content: none; }
.breadcrumbs a:hover { color: #4fcaf3; }
.breadcrumbs .divider { display: none; }
.breadcrumbs { text-align: left; }

/* khung website */
.page-wrapper { padding-top: 0px;}
.khungweb { padding: 0 15px; max-width: 2000px !important;}
.khungweb .khung-noidung >.row { margin: 0px !important; }
.khungweb .khung-noidung { padding: 0px !important; margin-bottom: 20px; background: #FFF; border: 0px !important; -ms-flex-preferred-size: 100%; flex-basis: 100%;}
.khungweb .sidebar { padding: 0px !important; border: 0px !important;  -ms-flex-preferred-size: 100%; flex-basis: 100%;}
.khung-noidung .product-main { padding-bottom: 0px;}
.category-filtering { display: none;}
.khungweb .khung-full { max-width: 100%; flex-basis: 100%; -ms-flex-preferred-size: 100%; border: 0px !important; padding: 0px !important;}
header.entry-header .entry-header-text { padding-bottom: 0px;}
header.entry-header .entry-header-text h1.entry-title { margin-bottom: 0px;font-size: 24px; padding-bottom: 10px; border-bottom: 2px dashed #ccc;}
h1.page-title, h1.entry-title.mb { font-size: 24px; padding-bottom: 10px; border-bottom: 2px dashed #ccc; margin-bottom: 15px;}

@media only screen and (min-width: 960px) { 
 .khungweb .khung-noidung { max-width: calc(100% - 350px);}
 .khungweb .sidebar { max-width: 320px;}
 .khungweb .sidebar-left { margin-right: 0px; margin-left: auto; }
 .khungweb .sidebar-right { margin-left: 0px; margin-right: auto; }
}
@media only screen and (max-width: 959px) { 
  .khungweb .khung-noidung { max-width: 100% !important; flex-basis: 100% !important; }
  .khungweb .sidebar { max-width: 100% !important; flex-basis: 100% !important; order: 2;display: block !important;}
}

/* tiêu đề braed burm*/
.archive .shop-page-title >.flex-row >.flex-grow { width: 100% !important; max-width: 100% !important; display: flex !important; flex-direction: column;  margin-bottom: 20px;padding-bottom: 10px;border-bottom: 2px dashed #cccc;}
.shop-page-title .shop-page-title { order: 2; margin-top: 20px; }
.shop-page-title h1.shop-page-title { margin: 0px; text-transform: uppercase;}
.shop-page-title .page-title-right p.woocommerce-result-count {width: 50%;margin: 0;height: 39px;line-height: 39px;float: left;}
.shop-page-title .page-title-right form.woocommerce-ordering {float: right;height: 39px;z-index: 9!important;}
.shop-page-title .page-title-right { display: inline-block;width: 100%;margin-bottom: 20px;}

@media screen and (max-width: 767px) { 
  .shop-page-title .page-title-right p.woocommerce-result-count { width: 100% !important; }
  .shop-page-title .page-title-right form.woocommerce-ordering { width: 100% !important; }
}

/* danh mục sản phẩm */
.shop-container { display: flex; flex-direction: column;}
.shop-container .term-description { background-color: #e1f0ff; border: 1px dashed #038843; padding: 15px 15px 30px;}
.term-description {position: relative;overflow: hidden; margin-bottom: 30px;}
.woocommerce .products .product {
    padding: 0px;
    border-top: 1px solid #e9e9e9;
}
.woocommerce .products .product .col-inner .box-image, .related .product .col-inner .box-image {
    padding-top: 175px !important;
}
.woocommerce .products .product .col-inner .box-image img, .related .product .col-inner .box-image img {
    margin: auto;
    position: absolute;
    top: 0%;
    left: 0%;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    max-width: 145px;
}

/* xem thêm mô tả ngắn */
.woocommerce-products-header .term-description, .woocommerce-tabs .woocommerce-Tabs-panel{overflow: hidden;position: relative;margin-bottom: 20px;padding-bottom: 25px;}
.devvn_readmore_taxonomy_flatsome { text-align: center; cursor: pointer; position: absolute; z-index: 10; bottom: 0; width: 100%; left: 0px; padding: 20px 0px 5px; background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff00', endColorstr='#ffffff',GradientType=0 );}

.devvn_readmore_taxonomy_flatsome a {display: block;color: #333; background-color: #fff; display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: 400;line-height: 1.42857143;text-align: center; white-space: nowrap;vertical-align: middle; -ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none; -ms-user-select: none; user-select: none;background-image: none;border: 1px solid #ccc; border-radius: 4px;}
.devvn_readmore_taxonomy_flatsome a:after {content: '';width: 0;right: 0;border-top: 6px solid #318A00;border-left: 6px solid transparent;border-right: 6px solid transparent;display: inline-block;vertical-align: middle;margin: -2px 0 0 5px;}
.devvn_readmore_taxonomy_flatsome_less:before {display: none;}
.devvn_readmore_taxonomy_flatsome_less a:after {border-top: 0;border-left: 6px solid transparent;	border-right: 6px solid transparent;border-bottom: 6px solid #318A00;}

/* giảm giá + mới */
.products .product .col-inner { position: relative; background-color: #FFF; box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); padding: 10px; }
.badge-container.absolute.left.top.z-1 { margin-top: 0px; width: 100%;}
.badge-circle .on-sale:before { content: ""; border-right: 17px solid transparent; border-left: 17px solid transparent; border-bottom: 17px solid #e22028; position: absolute; top: -4px; left: -10px; transform: rotate(-41deg);}
.badge-circle .on-sale { background: #e22028 !important; color: #ffffff; left: 20px; font-size: 14px; text-align: center; display: block; width: 45px; height: 45px; z-index: 7; border-radius: 50%; line-height: 45px; position: absolute; top: 5px; border: 0px; padding: 0px;}
.badge-circle:first-child { position: absolute; top: 10px; top: 10px;}
.badge-circle:last-child { position: absolute; top: 10px; left: 2px; height: auto;}

/* giỏ hàng danh mục */
.home-sanpham .product-small .box-text .add-to-cart-button a, .products .product .col-inner .add-to-cart-button a { background-color: #c51100; color: #FFF; border-radius: 3px; font-weight: 400; text-transform: none; font-size: 13px; padding: 0 12px; line-height: 26px; min-height: 20px; border: 0px;margin: 0px; }
.home-sanpham .product-small .box-text .add-to-cart-button, .products .product .col-inner .add-to-cart-button { position: absolute; top: -40px; opacity: 0; transition: all; left: 10px; }
.home-sanpham .product-small:hover .box-text .add-to-cart-button, .products .product .col-inner:hover .add-to-cart-button { opacity: 1;}
.products .product .col-inner:hover .add-to-cart-button { top: -50%; }

/* sản phẩm */
.woocommerce .products .product .col-inner .box-text-products, .related .product .col-inner .box-text-products { padding: 10px 0px 0px; }
h1.product-title.entry-title { font-size: 20px;}
.header-single-product .header-content-center .price-wrapper span.woocommerce-Price-amount:before { content: "Giá:"; margin-right: 5px;}
.single-product .product-page-price del span.woocommerce-Price-amount:before, .single-product .product-page-price ins span.woocommerce-Price-amount:before { display: none;}
.price, .woocommerce-Price-amount, .amount { color: #c51100 !important; font-weight: bold;}
.grid-tools a { background: #0881c8;}
.woocommerce .products .product .title-wrapper .product-title a, .related .product .title-wrapper .product-title a { height: 36px; overflow: hidden; margin: 0px; color: #000;}
span.price { font-size: 17px; position: relative; line-height: inherit;}
span.price del span { font-size: 15px; color: #000 !important;}
span.price ins { order: 1; }
span.price ins span { font-size: 17px;}
.social-icons { display: block; text-align: center;}
.attribute_pa_trong-luong .select_option_label.select_option span { width: auto;}
.shop-container .products { margin: 0px !important;}

/* giá tiền ở mô tả ngắn sản phẩm */
.single-product .product-page-price del {margin-bottom: 10px;width: 100%;flex-basis: 100%;max-width: 100%;display: block;font-size: 14px;color: #000;}
.single-product .product-page-price del:before {content: "Giá bán thường:"; margin-right: 5px;}
.single-product .product-page-price ins {width: 100%;flex-basis: 100%;max-width: 100%;display: block;}
.single-product .product-page-price ins:before {content: "Giá khuyến mại: ";font-size: 20px;}
.single-product .product-page-price del span.woocommerce-Price-amount { color: #000 !important;}
.single-product .product-page-price ins span.woocommerce-Price-amount { font-size: 20px; }

/* mô tả ngắn sản phẩm */
.single-product h1.product-title.entry-title { font-size: 20px; font-weight: bold;  color: #000; margin-top: 0px; }
.product-short-description ul li:before { font-family: Fontawesome; margin-right: 8px; color: #e22028; content: "\f058";}
.product-short-description ul li { margin-bottom: 5px; list-style: none; padding-bottom: 5px; margin-left: 0px;}
.product-short-description ul {margin: 0px;}
.product-short-description p { margin-bottom: 10px; }
.product-short-description img { margin-bottom: 0px !important; }
.product-short-description { padding-top: 0px; margin-top: 0px !important; margin-bottom: 30px; background: #e2fff0; padding: 10px; border-radius: 8px;}

/* chi tiết sp */
.product-footer .woocommerce-tabs {border: 0px; padding: 0px;}
.single-product .tab-panels { padding: 15px 0px 0px; border: 0px;}
.single-product ul.product-tabs { width: 100%; border-bottom: 2px dashed #ccc; margin-top: 0px !important;}
.single-product ul.product-tabs li a { border: 0px; font-weight: 400; border-radius: 0px; background: transparent; font-size: 25px; font-weight: bold;padding: 0px; text-transform: unset; color: #e22028; text-transform: uppercase;}
.video-product .title-video { font-size: 20px; color: #000;}
div#reviews h3.woocommerce-Reviews-title { color: #000; font-size: 20px;}
div#reviews div#comments { padding-bottom: 10px;}
.video-product { margin-bottom: 15px;}
form.variations_form table { border: 0px;}

@media screen and (max-width: 959px) {
  .single-product .product-info { padding: 0px;}
  .woobt-wrap .woobt-text, .woobt-wrap .woobt-products { display: none !important;}
}

/* sản phẩm bán kèm */
.woobt_products { border: 1px dashed #038843; background: rgb(255, 253, 252); padding: 45px 15px 15px; position: relative; max-width: 600px;}
.woobt_products:before { content: "Sản phẩm bán kèm"; display: block !important; width: 100% !important; position: absolute; left: 10px; top: 10px; font-weight: 600; text-align: center; text-transform: uppercase; color: #038843;}
.woobt_products .woobt-title a { color: #000;}

.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item {
    box-shadow: 0 0 0 1px #7a9c59 !important;
}
.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item.selected {
    background: #7a9c59 !important;
    color: #FFF !important;
}

/* sản phẩm liên quan */
.related-products-wrapper { background: #FFF; margin-top: 30px;max-width: 2000px !important;margin-bottom: 20px; border: 0px;}
.related-products-wrapper h3.product-section-title { max-width: 100%; padding: 0px; font-size: 25px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px dashed #ccc;}
.related-products-wrapper >.row { margin: 0px;}

/* giỏ hàng */
.woocommerce div.product div.summary .single_add_to_cart_button { border-radius: 5px; }
.woocommerce-cart a.checkout-button { background-color: #e22028 !important; }
.woocommerce-cart button.button { background: #c41412 !important; opacity: 1 !important; }
.woocommerce-cart .button-continue-shopping { color: #000 !important; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row { width: 100%; }
.woocommerce-checkout .woocommerce-billing-fields { border: 0px; }

/* thành toán */
.woocommerce-bacs-bank-details h3.wc-bacs-bank-details-account-name { color: red; }
.woocommerce-bacs-bank-details ul.wc-bacs-bank-details strong { color: #4fcaf3; }
  
/* mua hàng nhanh */
a.devvn_buy_now { margin-bottom: 0px; background: #dd3333; border-bottom: 2px solid #000 !important; border-right: 2px solid #000 !important; }
.devvn-popup-title { background: #e22028 !important;}
.popup-customer-info-group .devvn-order-btn { background: #e22028 !important; border-bottom: 2px solid #000;    border-right: 2px solid #000;}
.devvn_prod_variable .quantity.buttons_added { float: none !important; border: 0px !important; color: red; font-weight: bold;}
.devvn_prod_variable .quantity.buttons_added .minus { background: transparent; border-radius: 25px 0px 0px 25px;}
.devvn_prod_variable .quantity.buttons_added .qty { border-left: 0px; border-right: 0px;}
.devvn_prod_variable .quantity.buttons_added input { border: 1px solid #000 !important; width: 40px !important; font-size: 14px !IMPORTANT; border-radius: 0px 25px 25px 0px; }
.devvn_prod_variable .quantity.buttons_added:before { content: "Số lượng"; position: absolute; left: 0px; top: 10px; color: #000;}
.devvn_prod_variable .quantity.buttons_added input:hover, .devvn_prod_variable .quantity.buttons_added input:active { background: #4fcaf3 !important; color: #FFF !important;}
a.devvn_buy_now:focus, a.devvn_buy_now:hover { background: #e22028 !important; border-bottom-color: red !important; }
.devvn_prod_variable .quantity .screen-reader-text { display: none;}

/* List Danh mục tin tức */
#macdinh .post-item {padding: 0px !important;}
.post-item .post-date {display: none !important;}
#macdinh .post-item .col-inner {background: #FFF;padding-bottom: 15px;margin-bottom: 15px;border-bottom: 1px dashed #000;}
#macdinh .post-item:last-child .col-inner {border: 0px;padding: 0px;margin: 0px;}
#macdinh .post-item .box-blog-post { display: inline-block !important; width: 100%;}
#macdinh .post-item .box-image { padding: 0px !important; display: block !important;}
#macdinh .post-item .box-text { padding: 0px;}
#macdinh .post-item .box-text .post-title { margin: 0px; color: #000; font-weight: 600;}
#macdinh .post-item .box-text .post-title a { margin: 0px;}
.post-item .box-text .is-divider { display: none !important;}
#macdinh .post-item .box-text .post-xemtiep { display: block; text-align: right;}

@media screen and (min-width: 768px) {
	#macdinh .post-item .box-image { width: 20% !important; float: left;}
	#macdinh .post-item .box-image .image-cover { padding-top: 67% !important;}
	#macdinh .post-item .box-text { width: 78% !important; float: right;}
}

/* Danh mục video, grid */
div#grid .box-vertical { display: block !important; border: 0px !important; margin: 0px !important; padding: 0px !important;}
#grid .post-xemtiep { display: none !important;}
#grid >.row { margin: 0px -10px !important; background: #FFF; padding: 10px 0px !important; display: flex !important;}
div#grid .post-item { flex-basis: 100% !important; width: 100% !important; float: left !important; padding: 0 10px 10px; margin-bottom: 20px !important;}
div#grid .post-item .col-inner { padding: 0px !important; box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); border-radius: 5px;}
div#grid .post-item .box-image { display: block !important; width: 100% !important;max-width: 100% !important;border-radius: 5px 5px 0px 0px;}
div#grid .post-item .box-text { padding: 15px 10px !important; border: 0px;width: 100% !important; max-width: 100% !important; display: block;}
div#grid .post-item .box-text .from_the_blog_excerpt, div#grid .post-item .box-text p { display: none !important;}
div#grid .post-item .box-blog-post .post-title { font-weight: 400; color: #000; margin: 0px; font-size: 17px;}
div#grid .post-item .box-blog-post .post-title a { margin: 0px; -webkit-line-clamp: 3; height: 66px; overflow: hidden; display: block;}
div#grid .post-item:hover a { color: #038843;}
div#grid .post-item .box-image .image-cover { padding-top: 75% !important;}

@media screen and (min-width: 960px) {
  div#grid .post-item { max-width: 20% !important; }
}
@media screen and (max-width: 959px) {
  div#grid .post-item { max-width: 50% !important; }
}

/* video */
.open-video { position: relative; display: flex !important; align-items: center; justify-content: center;}
.open-video:before { content: "\f04b"; font-family: Fontawesome; color: #FFF; position: absolute; z-index: 99; margin: auto; display: inline-block; font-size: 30px; width: 50px;  height: 50px; text-align: center; border: 2px solid #FFF; border-radius: 100%;}

/* bài viết liên quan */
div#related_posts >h3 { font-weight: bold; background: url(image/logo-icon-tsa.png) no-repeat left top; color: #000; margin-bottom: 20px; width: 100%; background-size: contain;text-transform: uppercase;}
div#related_posts h3 span { position: relative; display: block; width: 100%; padding-bottom: 5px; border-bottom: 2px dashed #8c8c8c;}
ul.releted-post { margin: 0 0 18px 0 !important; padding: 0 !important; }
ul.releted-post li { overflow: hidden !important; list-style: inside !important; -moz-column-break-inside: avoid !important; -webkit-column-break-inside: avoid !important; break-inside: avoid-column !important; margin-bottom: 0px;}
ul.releted-post li a { color: #000; }
ul.releted-post li:hover a { color: #00aced; }
ul.releted-post li a.img-thumbnai { display: none !important; width: 75px !important; height: 75px !important;    overflow: hidden; float: left !important; margin: 0 10px 0 0 !important; padding: 0 !important;}
ul.releted-post li img { display: block !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; background: none !important; border: none !important; float: none !important; border-radius: 3px !important; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;}
div#comments { display: none;}

@media screen and (max-width: 480px) {
  ul.releted-post { -moz-column-count: auto !important; -moz-column-gap: normal !important; -moz-column-rule: none !important; -webkit-column-count: auto !important; -webkit-column-gap: normal !important; -webkit-column-rule: none !important; column-count: auto !important; column-gap: normal !important; column-rule: none !important;}
}

/* thanh bên sidebar */
.sidebar .widget-title { font-weight: 600; display: block; margin: 0; color: #ffffff; padding: 6px 0px; margin-bottom: 9px; text-transform: uppercase; border-bottom: 2px solid #038843;}
.sidebar .widget-title span {font-size: 15px; color: #ffffff; margin-bottom: -3px; background-color: #038843; padding: 10px 15px; border: 0px; position: relative;}
.sidebar .widget-title span:before { content: ""; width: 0; height: 0; border-left: 0 solid transparent; border-right: 25px solid transparent; border-bottom: 40px solid #038843; position: absolute; right: -25px; top: 0px;}
.sidebar .flatsome_recent_posts span.post_comments { display: none !important;}
.sidebar .flatsome_recent_posts a { color: #000; margin: 0px;}
.sidebar .widget_products ul.product_list_widget { border: 1px solid #038843;padding: 0px 10px;border-radius: 0px 20px;}
.sidebar .woocommerce ul.product_list_widget { border: 1px solid #038843; padding: 0 5px; border-radius: 0px 20px;}
.sidebar li a { color: #000; font-size: 14px; line-height: inherit !important;}
.widget-lk img { margin-bottom: 5px;}
.sidebar .flatsome_recent_posts ul { border: 1px solid #038843; padding: 0 5px; border-radius: 0px 20px;}

/* menu sidebar */
.sidebar .menu { border: 1px solid #038843;}
.sidebar .menu li { border: 0px; position: relative;}
.sidebar .menu li a { display: block; border-bottom: 1px dashed #ccc !important; padding: 7px 15px 7px 20px; position: relative; font-weight: 400; color: #000; font-size: 14px; z-index: 1;line-height: inherit !important;}
.sidebar .menu >li >a { padding-left: 25px;}
.sidebar .menu >li >a:before { content: "\f138"; font-family: Fontawesome; position: absolute; left: 5px;}
.sidebar .menu li a:after { position: absolute; content: ''; top: 0; left: 0; width: 0; height: 100%; background-color: #038843; transform-origin: left; transition: width 0.25s ease; z-index: -1;}
.sidebar .menu li button.toggle { background: #FFF; position: absolute; margin: 0px; border: 1px solid #ccc; right: 2px; top: 2px; height: 30px; width: 30px; z-index: 9;}
.sidebar .menu .sub-menu { margin: 0px; padding: 0px; border: 0px;}
.sidebar .menu .sub-menu li a { padding-left: 40px;}
.sidebar .menu .sub-menu li a:before { content: "\f0da"; font-family: fontawesome; position: absolute; left: 25px;}
.sidebar .menu li a:after { position: absolute; content: ''; top: 0; left: 0; width: 0; height: 100%; background-color: #038843; transform-origin: left; transition: width 0.25s ease; z-index: -1;}
.sidebar .menu .sub-menu .sub-menu a { padding-left: 60px;}
.sidebar .menu .sub-menu .sub-menu a:before { left: 40px;}
.sidebar .menu li a:hover { color: #FFF !important;}
.sidebar .menu li a:after { position: absolute; content: ''; top: 0; left: 0; width: 0; height: 100%; background-color: #038843; transform-origin: left; transition: width 0.25s ease; z-index: -1;}
.sidebar .menu li a:hover:after { width: 100%;}
.sidebar .menu li.image-column { display: none;}

/* hotline sidebar */
.gd_support_8 { background: url(image/bg-support08.png)top center no-repeat, #f4f4f4; padding-top: 135px; }
.gd_support_8 .supporter:first-child, .gd_support_8 .supporter:last-child { border-bottom: none;}
.gd_support_8 .supporter { margin: 0 4px; padding: 0; overflow: hidden; position: relative;}
.gd_support_8 .info .name { text-align: center; background: url(image/border3.png) 7px center repeat-x; line-height: 25px;}
.gd_support_8 .info > * { font-size: 14px; color: #000000; font-weight: 600;}
.gd_support_8 .info .name span { display: inline-block; padding: 0 10px; background: #FFF; color: #000000; font-size: 16px; font-weight: 600; line-height: 25px;}
.gd_support_8 .online { position: absolute; right: 15px; bottom: 8px;}
.gd_support_8 .hotline { width: 80%; margin: 0 auto; background: url(image/icon-tel2.png) 3px center no-repeat, #038843; border-radius: 20px; margin-bottom: -20px; text-align: center; position: relative; z-index: 1;}
.gd_support_8 .hotline a { font-weight: bold; color: #fff; font-size: 16px; line-height: 38px;}
.gd_support_8 .email { line-height: 50px; text-align: center; background: #038843; color: #fff; padding-top: 10px;}

/* footer */
#footer { font-size: 15px;}
#footer .widget-title { color: #000; font-weight: bold; text-transform: uppercase; font-size: 20px; margin-bottom: 15px; display: block;}
#footer .widget-title:after { content: ""; width: 50px; height: 3px; background: #ed1f28; display: block; margin-top: 10px;}
#footer .is-divider.small { background: #000; width: 100%; max-width: 100%; height: 2px;}
#footer a { color: #000; }
#footer a:hover { color: #b90606 !important;}
footer#footer .footer-1 { box-shadow: 5px 5px 5px 5px #000;}
#footer .wp-video { width: 80% !important; }
#footer #footer .widget_nav_menu { margin-bottom: 0px !important; }
#footer .absolute-footer { display: none; }
#footer { padding-bottom: 0px; }
#footer ul.icon-left li { float: left; }
#footer .menu li { list-style: none;}
#footer .menu li a { display: block; color: #000; }
#footer .menu li a:before { content: "\f0da"; font-family: Fontawesome; margin-right: 8px;}
#footer .widget ul.menu li strong { color: red;}
#footer .gioi-thieu { background: rgb(1, 69, 115); color: #FFF; padding-left: 20px; padding-right: 20px;}
a#top-link { border-color: #FFF; color: #ffffff; background: #b90606; display: block !important; visibility: inherit !important; z-index: 999; }
a#top-link:hover { background: #FFF; color: #b90606; border-color: #b90606;}
.footer-2 { border-top: 3px solid #4fcaf3;}
.footer-1 .row .col { -ms-flex-preferred-size: 100%; flex-basis: 100%;}

/* @media only screen and (min-width: 960px) {
  .footer-1 .row .col { max-width: 20%; }
} */

@media only screen and (max-width: 959px) and (min-width: 600px) { 
  .footer-1 .row .col { max-width: 50%; }
}

@media only screen and (max-width: 959px) { 

}

/* footer liên hệ */
.contact-footer h2 { font-size: 16px;color: #000;}
.contact-footer ul { list-style: none; margin: 0px;}
.contact-footer ul li:nth-child(4):before { content: "\f0e0";}
.contact-footer ul li:nth-child(2):before, .contact-footer ul li:nth-child(3):before { content: "\f095";}
.contact-footer ul li:nth-child(1):before { content: "\f041";}
.contact-footer ul li:before { font-family: Fontawesome;position: absolute;left: 0px;top: 0px;}
.contact-footer ul li { position: relative;padding-left: 20px; word-break: break-word; margin-bottom: 0px;}

.hotline-footer ul { list-style: none; margin: 0px;}
.hotline-footer ul li:before { content: "\f095";}
.hotline-footer ul li:before { font-family: Fontawesome;position: absolute;left: 0px;top: 0px;}
.hotline-footer ul li { position: relative;padding-left: 20px; word-break: break-word; margin-bottom: 0px;}


/* footer block  */
.footer-ct .widget-title { padding-bottom: 0px !important;}
.footer-ct .row-content { padding-bottom: 20px;}
.footer-ct .row-content .social-icons { text-align: left !important;}
.footer-ct .row-content img { width: auto !important;}
.footer-ct .row-content .icon-box-text h6 { color: #707070; text-transform: unset !important; font-size: 12px;}
.footer-ct .row-content .icon-box-text h5 { font-size: 18px; font-weight: 600; color: red;}
#footer .footer-ct p { margin-bottom: 0px;}

/* bản quyền */
#footer .copyright a { color: #FFF; }
.fa-clock:before { content: "\f017"; }
#footer .copyright { margin: 0px; font-size: 12px; background: #000; color: #FFF;padding: 10px; text-align: left; }
#footer .copyright div { max-width: 2000px; margin: auto; }

/* chia sẻ mạng xã hội */
.social-icons.share-icons:before { content: "Chia sẻ"; bottom: 0px; font-size: 16px; font-weight: bold; margin-right: 20px; color: #000;}
.social-icons.share-icons a { margin-bottom: 0px;}
.social-icons.share-icons { position: relative; background: #e8e8e8; padding: 10px 0px 10px 10px; margin-bottom: 30px; text-align: left; width: 100%;}
.social-icons.share-icons a.icon { font-size: 10px; border-radius: 50% !important; width: 30px !important; height: 30px !important; line-height: 30px;}
a.zalo-share-button { color: #03A5FA !important; line-height: 41px !important; padding-left: 4px !important; }

/* hotline call now */
.animated.infinite { animation-iteration-count: infinite;}
.tada { animation-name: tada;}
.animated { animation-duration: 1s; animation-fill-mode: both; }
.float-icon-hotline { position: fixed; bottom: 20px; left: 25px; z-index: 999;}
.float-icon-hotline ul { display: block; width: 100%; padding-left: 0; margin-bottom: 0; margin: 0; list-style: none;}
.float-icon-hotline ul li { display: block; width: 45px; height: 45px; position: relative; margin-bottom: 10px; cursor: pointer; padding: 0px; }
.float-icon-hotline ul li a { text-decoration: none;display: block;}
.float-icon-hotline ul li .fa { background-color: #549a04; display: block; width: 45px; height: 45px; text-align: center; line-height: 36px; -moz-box-shadow: 0 0 5px #888; -webkit-box-shadow: 0 0 5px#888; box-shadow: 0 0 5px #888; color: #fff; font-weight: 700; border-radius: 50%; position: relative; z-index: 2; border: 2px solid #fff; font-size: 20px;}
.float-icon-hotline ul li .fa-hotline { background: #70b81e url(image/icon-call.svg) center center no-repeat; }
.float-icon-hotline ul li .fa-zalo { background: #ef0303 url(image/icon-zalo.svg) center center no-repeat; }
.float-icon-hotline ul li .fa-messenger { background: #168efb url(image/icon-messenger.svg) center center no-repeat; }
.float-icon-hotline ul li .fa-facebook { background: #369be5;}
.float-icon-hotline ul li span { display: inline-block; padding: 0; background-color: #ff6a00; color: #fff; border: 2px solid #fff; border-radius: 20px; height: 40px; line-height: 36px; position: absolute; top: 3px; left: 15px;  z-index: 0; width: 0; overflow: hidden; -webkit-transition: all 1s; transition: all 1s; background-color: #ff6a00; -moz-box-shadow: 0 0 5px #888; -webkit-box-shadow: 0 0 5px #888; box-shadow: 0 0 5px #888; font-weight: 400; white-space: nowrap; opacity: 0;}
.float-icon-hotline ul.show-phone .hot-phone span { width: 180px; padding-left: 30px; padding-right: 10px; opacity: 1; text-align: right;}
.float-icon-hotline ul .icon-email span { width: auto; padding-left: 30px; padding-right: 10px; opacity: 1; text-align: right;}

@media only screen and (min-width: 960px) {
  .float-icon-hotline ul li:not(.hot-phone):not(.icon-email):hover span { width: 200px; padding-left: 30px; padding-right: 10px; opacity: 1;}
}

@media only screen and (max-width: 959px) { 
  .float-icon-hotline { bottom: 0px !important ; left: 10px !important; }
}

@keyframes tada {
  0% { transform: scale3d(1,1,1);}
  10%, 20% { transform: scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);}
  30%, 50%, 70%, 90% { transform: scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);}
  40%, 60%, 80% { transform: scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);}
  100% { transform: scale3d(1,1,1);}
}

/* form popup */
a.form-popup-menu { position: fixed; display: block; z-index: 999; color: #FFF; }
a.form-popup-menu span { background: #ff6a00; color: rgb(255, 255, 255) !important; padding: 10px 20px 10px 40px; border-radius: 20px;}
#form-now { max-width: 500px;  background: #18a8e7;  padding: 20px;}
#form-now .form-header {  text-align: center;margin-bottom: 20px;}
#form-now .form-header p { color: #FFF;}
#form-now .form-header h3 {  color: #FFF;  text-transform: uppercase;  margin-bottom: 0px;}
#form-now input[type='email'], #form-now input[type='tel'], #form-now input[type='text'], #form-now textarea {  box-shadow: none;  border: 0px;  background: transparent;  color: #FFF;  border-bottom: 1px solid #FFF;  padding: 0px;}
#form-now textarea { height: 75px !important; min-height: auto;}
#form-now ::placeholder { color: #FFF; background: transparent; }
#form-now .wpcf7-submit {  background-image: -webkit-linear-gradient(bottom, #cc0000, #fb3333) !important; margin: 0px !important;  border-radius: 25px !important;}
#form-now .close-buttom-popup {  top: 0px !important;  color: #FFF !important;  opacity: 1;  mix-blend-mode: unset !important;}

@media screen and (max-width: 959px) { 
	a.form-popup-menu span { display: none;}
}

/* widget mạng xã hội */
.widget_wbt_social_sidebar_widget .content-social a { position: relative; padding-left: 40px;}
.widget_wbt_social_sidebar_widget .content-social .fa { position: absolute; left: 0px; width: 30px; height: 25px; text-align: center; line-height: 25px; font-size: 15px;border-radius: 5px; color: #FFF;}
.widget_wbt_social_sidebar_widget .content-social .fa-facebook { background: #3a589d;}
.widget_wbt_social_sidebar_widget .content-social .fa-youtube-play { background: #cd222d;}
.widget_wbt_social_sidebar_widget .content-social .fa-twitter { background: #2478ba;}
.widget_wbt_social_sidebar_widget .content-social .fa-weixin { background: #45b035;}


/* scroll bar */
::-webkit-scrollbar { width: 5px; background-color: #F5F5F5;}
::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); background-color: #F5F5F5;}
::-webkit-scrollbar-thumb { background-color: #038843; background-image: -webkit-linear-gradient(45deg,rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent)}

/* home page */
.home h1.entry-title { display: none !important;}
.home main#main { background: #FFF;}
.home-page .buttom-click { text-align: center;}
.home-page .buttom-click a.button { display: inline-block; background-color: #e11e26; padding: 10px 40px; max-width: 100%; text-transform: uppercase; color: #FFF; border-radius: 5px; font-size: 17px;}
.home .page-header-wrapper { display: none;}
.home-full >.col { max-width: 2000px; margin: auto; flex-basis: 100%;}
.home-page .slider button.flickity-button { opacity: 1; margin-top: -1%;}
.home-page svg.flickity-button-icon { border-radius: 0px; background-color: #ed1f28; border: 0px; width: 24px; height: 40px; box-shadow: 1px 2px 4px rgba(0,0,0,.4);}
.home-page svg.flickity-button-icon path.arrow { fill: #FFF;}
.home-page .section { padding: 0px;}

/* home banner */
.banner-home .img:hover img, .banner-home .box .box-image:hover img { filter: brightness(0.5); }
.banner-home .img-inner:before, .banner-home .box .box-image:before { content: ""; position: absolute; width: 90%; height: 90%; left: 0px; top: 0px; right: 0px; bottom: 0px; background: transparent; z-index: 9; margin: auto; transition: opacity .35s,-webkit-transform .35s; transition: opacity .35s,transform .35s; transition: opacity .35s,transform .35s,-webkit-transform .35s; border-top: 1px solid #fff; border-bottom: 1px solid #fff; -webkit-transform: scale(0, 1);  transform: scale(0, 1); -webkit-transform-origin: 0 0; transform-origin: 0 0;}
.banner-home .img-inner:after, .banner-home .box .box-image:after { content: ""; position: absolute; width: 90%; height: 90%; left: 0px; top: 0px;    right: 0px; bottom: 0px; background: transparent; z-index: 9; margin: auto; transition: opacity .35s,-webkit-transform .35s; transition: opacity .35s,transform .35s; transition: opacity .35s,transform .35s,-webkit-transform .35s; border-right: 1px solid #fff; border-left: 1px solid #fff; -webkit-transform: scale(1, 0); transform: scale(1, 0); -webkit-transform-origin: 0 0; transform-origin: 0 0;}
.banner-home .img:hover .img-inner:before, .banner-home .img:hover .img-inner:after, .banner-home .box:hover .box-image:before, .banner-home .box:hover .box-image:after { opacity: 1; -webkit-transform: scale(1); transform: scale(1);}
.banner-home .col { padding-bottom: 10px;}

/* home full */
.home-full .section-content { max-width: 2000px; margin-left: auto; margin-right: auto;}

/* Tiêu đề */
.home-tieude { margin-bottom: 10px;}
.home-tieude .section-title { font-size: 16px; background: #FFF; border: 1px solid #ddd; color: #fff; margin-bottom: 0px; line-height: inherit; height: 36px; overflow: hidden;}
.home-tieude .section-title-normal b { display: none;}
.home-tieude .section-title-main { border-bottom: 0px !important; padding: 10px 30px 10px 15px; font-size: 16px; background: #f34343; position: relative; margin-right: 0px; line-height: initial;}
.tieude2 .section-title-main { background: #19abe0;}
.tieude3 .section-title-main { background: #68b207;}
.tieude4 .section-title-main { background: #19abe0;}
.tieude5 .section-title-main { background: #19abe0;}
.home-tieude .section-title-main:after { position: absolute; width: 0; height: 0; content: ""; border-width: 19px; border-style: solid; border-color: transparent #fff transparent transparent; right: 0; top: 0;}
.home-tieude .section-title-main a { padding-left: 0px !important; color: #FFF; font-size: 16px;}
.home-tieude .section-title >a { font-size: 14px; padding: 0px 5px; color: #000;}
.tieude-icon1 .section-title-main a:before { content: "\f06d"; font-family: Fontawesome; color: yellow; margin-right: 10px;}

@media screen and (max-width: 959px) { 
	.home-page .tieude .section-title a { display: none;}
}

/* home slide */
.home-slide { margin-bottom: 15px; max-width: 2000px !important; padding: 0 15px;}
.home-slide >.col { padding: 0px 5px 0px;}
.home-slide .khungslide { -ms-flex-preferred-size: 100%; flex-basis: 100%; }
.home-slide .banner-home { -ms-flex-preferred-size: 100%; flex-basis: 100%;}
.home-slide .menu-sanpham .img { margin-bottom: 5px;}
.home-slide .menu-sanpham { max-width: 320px; -ms-flex-preferred-size: 100%; flex-basis: 100%;}
.home-slide .banner-home .img { margin-bottom: 5px;}
.home-slide .row { margin: 0px !important;}
.home-slide .post-item { padding: 0px;}
.home-slide .post-item .box-blog-post { display: inline-block; width: 100%;}
.home-slide .post-item .box-image { float: left;}
.home-slide .post-item .box-text { width: 78%; float: right; padding: 0px; font-size: 13px;}
.home-slide .post-item .box-blog-post { display: inline-block; width: 100%; padding-bottom: 5px; border-bottom: 1px solid #ccc;}


@media screen and (min-width: 960px) { 
  .home-slide { width: 83%; margin-right: 0px;}
  .home-slide .khungslide { max-width: calc(100% - 250px);}
  .home-slide .banner-home { max-width: 250px; }
  .home-slide .khungslide img { height: 450px; width: 100%; opacity: 1; transform-style: preserve-3d;}
  .home-slide .banner-home img { height: 140px; width: 100%; opacity: 1; transform-style: preserve-3d;}
}

@media screen and (max-width: 959px) { 

}

/* home 1 */
.home-page1 { background: #038843; color: #FFF;}
.home-page1 >.col { padding: 15px 0px; max-width: 1400px; }
.home-page1 .icon-box p { margin: 0px;}
.home-page1 .noidung >.col-inner { width: 100%; -js-display: flex; display: -ms-flexbox; display: flex; -ms-flex-flow: row wrap; flex-flow: row wrap;}
.home-page1 .icon-box { align-items: center; font-size: 14px;flex-basis: 100%;-ms-flex-preferred-size: 100%; }
.home-page1 .icon-box:hover h5.uppercase { color: yellow;}
.home-page1 .icon-box .uppercase { color: #FFF; font-size: 16px;line-height: inherit; margin-bottom: 0px;}
.home-page1 .icon-box h6 { text-transform: unset; opacity: 1; color: #000; font-weight: 400;}
.home-page1 .icon-box .text-content { font-size: 12px;}

@media screen and (min-width: 960px) { 
  .home-page1 .icon-box { max-width: 24%;}
  .home-page1 .icon-box:nth-child(1) { margin-left: 0px; margin-right: auto; }
  .home-page1 .icon-box:nth-child(3) { margin-right: 0px; margin-left: auto; }
  .home-page1 .icon-box:nth-child(2) { margin-left: auto; margin-right: auto; }
}
@media screen and (max-width: 959px) { 
	.home-page1 .icon-box { max-width: 100%; margin-bottom: 10px;}
}


/* home 2 */
.home-page2 { padding: 50px 0px; background: url(//theme.hstatic.net/1000218683/1000279933/14/bg_blog.jpg?v=1346) center center no-repeat; background-attachment: fixed; background-size: cover; position: relative;}
.home-page2:before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
}
.home-page2 .noidung { padding-bottom: 0px;}
.home-tintuc .post-item .box-text { padding: 15px 10px;}
.home-tintuc .post-item .post-title { height: 44px; overflow: hidden;}
.home-tintuc .post-item .post-title a { margin: 0px;}

/* home 3 */
.home-page3 { padding-top: 10px; }

/* home sản phẩm */
.home-sanpham { max-width: 2000px !important; margin-bottom: 15px; padding: 0 10px;}
.home-sanpham >.col-left {
    max-width: 210px;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}
.home-sanpham .col-left .listgroup {
    min-height: 275px;
    background: #f6f6f6;
    border: 1px solid #ddd;    padding: 10px;
}
.home-sanpham .col-left .listgroup a {
    display: block;
    color: #000;
    font-size: 13px;
    line-height: 30px;
}
.home-sanpham .col-left .listgroup a:before {
    content: "\f0da";
    font-family: Fontawesome;
    margin-right: 5px;
}
.home-sanpham >.col-noidung {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}
.home-sanpham .product-small .box-image .image-cover { padding-top: 175px !important;}
.home-sanpham .product-small .box-image img { margin: auto; position: absolute; top: 0%; left: 0%; right: 0; bottom: 0; width: 100%;  height: auto; max-width: 145px;}
.home-sanpham >.col { padding: 0px 5px 5px;}
.home-page .col-noidung .row { margin-left: -5px; margin-right: -5px;}
.home-page .col-noidung .col { padding: 0px 5px 5px !important;}
.home-sanpham .product-small { padding: 5px;}
.home-sanpham .product-small .box-text { padding: 15px 0px 5px;}
.home-sanpham .product-small .product-title { margin: 0px; height: 40px; overflow: hidden;}
.home-sanpham .product-small .product-title a { margin: 0px; color: #000; font-size: 16px; display: block; width: 100%;}
.home-sanpham .product-small:hover .product-title a { color: #038843;}

@media only screen and (min-width: 960px) { 
  .home-sanpham >.col-noidung { max-width: calc(100% - 210px);}
  .home-sanpham .col-noidung .section-right { max-width: 74%; margin-right: 0px; margin-left: auto;}

}
@media only screen and (max-width: 959px) { 
	.home-sanpham .section-left { display: none !important;}
	.home-sanpham .section-right { max-width: 100% !important; flex-basis: 100% !important;}
}

/* home 6 */
.home-page6 { margin-top: 30px;}
.home-page6 .col-left { padding: 20px 20px 30px; color: #FFF; border-radius: 15px; background-image: url(image/bg_danhgia.png); background-repeat: no-repeat; background-position: center center; background-size: cover; display: flex; align-items: center; -webkit-display: flex; -webkit-justify-content: center; -webkit-align-items: center; overflow: hidden;}
.home-page6 .col-left:before { content: ""; background: rgba(0, 0, 0, 0.6); position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;}
.home-page6 .star-rating span:before { color: #FFF;}
.home-page6 .tieude1 .section-title { margin-bottom: 10px; font-size: 40px; color: #000; padding-bottom: 15px; background: url(image/border-title-03.png) no-repeat center bottom; background-size: 245px; }
.home-page6 .tieude1 .section-title .section-title-main { text-transform: capitalize;}
.home-page6 .col-left .tieude1 .section-title { color: #FFF;}
.home-page6 .col-right .tieude1 .section-title { color: #FFF;}
.home-page6 .tieude1 b { visibility: hidden;}
.home-page6 .col-left .slider-wrapper ol.flickity-page-dots { bottom: -25px;}
.home-page6 >.col { padding-bottom: 0px;}

.home-page6 .post-item .post-title a {
    margin: 0px;
    height: 63px;
    overflow: hidden;
}

/* home 7 */
.home-page5 { padding: 20px 0px !important; margin-top: 0px;}
.home-page5 .gallery-col { padding-bottom: 0px;}
.home-page5 .gallery-col .box-image { height: 70px;}
.home-page5 .gallery-col .box-image img { object-fit: scale-down; display: block; width: 100%; height: 100%;}
.home-page5 .gallery-col .text-left { display: none;}

/* thanh tìm kiếm nâng cao */
.khungweb .khung-noidung .section-timkiem { margin: 0px 0px 20px !important; max-width: 100% !important; }
.section-timkiem {
    max-width: 1170px !important;
    padding: 15px 0px;
    margin-bottom: 30px;    margin-top: 0px !important;
    background: #038843;
    color: #FFF;
    border-radius: 5px;
}
.section-timkiem .tieude {
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0px;
    background: url(image/border-title-03.png) no-repeat center bottom;
    background-size: 243px;
    padding-bottom: 18px !important;
    margin-bottom: 20px;
}
.section-timkiem .tieude p { margin-bottom: 0px;}
.chosen-container.chosen-container-single { width: 100% !important; margin-bottom: 10px; }
.woof_redraw_zone { width: 90%; margin: auto;}
.section-timkiem ul.sidebar-wrapper .widget-woof .woof_redraw_zone { width: 100%; -js-display: flex; display: -ms-flexbox; display: flex; -ms-flex-flow: row wrap; flex-flow: row wrap;}
.chosen-container-single .chosen-single { border-radius: 0px; background: #FFF; box-shadow: initial; padding: 5px 25px 5px 5px; height: auto !important; }
.woof_container { margin: 0px !important; padding: 0px !important; }
 .chosen-disabled .chosen-single { border: 1px solid #000; }
#sidebar button { width: 48%; background: #3ca00c !important; font-weight: bold !important; text-transform: capitalize;    border-radius: 0px !important;}
.woof_submit_search_form:before { content: "\f002"; font: normal normal normal 14px/1 FontAwesome; margin-right: 10px; }
div#woof_html_buffer, .chosen-container .chosen-results li.disabled-result { display: none !important; }
.sidebar .woof_container_radio .woof_list_radio li { display: inline-block;}
.section-timkiem .WOOF_Widget { margin: 0px;}
.section-timkiem >.col-inner { margin: 0px; box-shadow: 0 0 5px 0 #919191; background: #fff;   padding: 10px; }
.section-timkiem .WOOF_Widget .woof_redraw_zone { width: 100%;}
.section-timkiem div#sb_head1 { color: white; background: #5095ff; text-align: center; font-size: 15px; border: 0px;  position: relative;}
.section-timkiem div#sb_head1:before { border: solid 5px transparent; border-top: solid 5px #5095ff; content: "";    height: 0; left: 49%; position: absolute; top: 100%; width: 0; }
.section-timkiem .sb_head_each { border: solid 1px #db4833; box-sizing: border-box; font-weight: bold; line-height: 28px; width: 50%;  float: left; text-align: center; height: 30px; font-size: 14px;}
.section-timkiem .sb_head_note { width: 100%; display: inline-block; text-align: center; margin: 5px 0 2px 0;}
.section-timkiem .sb_head_note strong { color: #2d64af;}
.sb_head_each a#liAddNewCar { color: #db4833; display: block; }
.section-timkiem .WOOF_Widget .woof_sid_widget { padding: 0 10px;}
button.woof_submit_search_form, .button.woof_reset_search_form { font-size: 12px; background: #ae0001;}
.section-timkiem .woof_container ul.woof_list li { display: inline-block; }
.section-timkiem .woof_container_select { width: 33.333%; box-sizing: border-box; float: left; padding: 5px !important;  position: relative;}
.section-timkiem .woof_sku_search_container { width: 25%; box-sizing: border-box; float: left; padding: 5px !important; position: relative;}
.section-timkiem .woof_text_search_container { width: 50% !important; float: left;}
.section-timkiem .woof_text_search_container .woof_container_inner { box-sizing: border-box; padding: 5px !important; position: relative;}
.woof_text_search_container input[type='search'] { padding: 9px !important; margin: 0 !important; width: 100% !important; line-height: 0 !important; font-size: 14px; border: 1px solid #aaa; height: 37px;}
.section-timkiem .woof_submit_search_form_container { width: 25%; float: left; clear: unset; margin: 0px; padding: 5px !important; position: relative;}
.section-timkiem .woof_submit_search_form_container .button { margin: 0px; height: 37px;width: 100%; background: #ae0001;}
.section-timkiem .woof_submit_search_form_container .woof_reset_search_form { display: none;}
.section-timkiem .woof_container_select_hierarchy { width: 66.666%; float: left;}
.section-timkiem .woof_container_select_hierarchy .chosen-container { width: 50% !important; box-sizing: border-box;  float: left; padding: 5px !important; position: relative; opacity: 1 !important}
.section-timkiem .woof_price2_search_container { width: 33.333%; padding: 5px !important;}
.section-timkiem ul.sidebar-wrapper div#widget-tim-kiem { margin: 0px;}
.section-timkiem .woof_submit_search_form_container { margin: 0px; padding-top: 10px; padding-left: 5px;}
.section-timkiem ul.sidebar-wrapper .widget-woof { margin: 0px;}
.section-timkiem >.col { padding-bottom: 0px; }
.section-timkiem .chosen-container.chosen-container-single { margin-bottom: 0px; } 
.chosen-container-single ul.chosen-results li { color: #000;}
.section-timkiem .woof_text_search_container .easy-autocomplete-container { color: #000;}

@media screen and (max-width: 768px) and (min-width: 481px) {
 .section-timkiem .woof_container_select, .section-timkiem .woof_text_search_container, .section-timkiem .tabbed-content >ul.nav { width: 50% !important;}
 .section-timkiem .woof_container_select_hierarchy { width: 100% !important;}
}
@media screen and (max-width: 480px) {
 .section-timkiem .woof_container_select, .section-timkiem .woof_container_select_hierarchy, .section-timkiem .tabbed-content >ul.nav, .section-timkiem .woof_container_select_hierarchy .chosen-container, .section-timkiem .woof_text_search_container { width: 100% !important;}
 .section-timkiem .tab-panels { padding-top: 40px;}
}
@media screen and (max-width: 768px) {
  .section-timkiem .woof_submit_search_form_container { width: 100% !important; }
  .section-timkiem .woof_sku_search_container { width: 100% !important;}
  .section-timkiem .woof_price2_search_container { width: 100% !important;}
}