/*
Theme Name: webbachthang Child Theme
Theme URI: https://webbachthang.com
Description: Day la child theme cua Web Bach Thang
Author: Viet Hai
Author URI: https://webbachthang.com
Template: webbachthang
Version: 3.0
*/

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

/* p, div, span, li, strong { color: #000; } */
h1, h2, h3, h4, h5 { color: #fe0000; }
strong { font-weight: bold; }
div#top-bar a.tooltip { text-transform: unset; }

.single-product #header .container { max-width: 1230px;}
.home #header .container { max-width: 1230px;}
header #wide-nav .flex-left { max-width: 21%; }
div#masthead .flex-col.hide-for-medium { width: 35%; }
.home div#content { background: #F9F9F7; }
.home #wrapper { background: #f1f1f1; border: 0px; }
#header #wide-nav .flex-row { padding: 0px; }
.searchform input[type='search'] { border: 0px; border-radius: 0px; box-shadow: none;     height: 33px;}
.searchform .button.secondary:not(.is-outline) { background: #3eb9ec; border: 0px; color: #FFF; border-radius: 0px 5px 5px 0px; height: 33px; width: 50px; }
header#header { box-shadow: 0px 0px 5px 0px #000; }

.row.row-large { max-width: 1230px !important; }

/* khung giỏ hàng + tìm kiếm + menu */
@media only screen and (min-width:1000px) and (max-width:1080px) {
  div#masthead .flex-col.hide-for-medium { width: 45% !important; }
}  
@media only screen and (min-width:1081px) and (max-width:1280px) {
  div#masthead .flex-col.hide-for-medium { width: 40% !important; }
} 


/* giỏ hàng header hotline */
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: "\f095"; width: 42px; height: 42px; border: 1px solid #fe0000; border-radius: 50%;  text-align: center; font-size: 23px; line-height: 40px; font-family: FontAwesome; position: absolute; left: 0px;    color: #fe0000; top: 0px;}
.hotline-top li { list-style: none; margin-bottom: 0px; line-height: 23px; font-size: 16px;}
.hotline-top li.hotline-phone { font-weight: 600; font-size: 22px; color: red;}

div#masthead ul.header-nav li.cart-item a.header-cart-link { position: relative; padding-left: 50px; color: #000;    font-size: 16px;}
div#masthead ul.header-nav li.cart-item a.header-cart-link i.icon-shopping-cart { margin: 0px; position: absolute;    left: 0px; row-gap: 0px; width: 42px; height: 42px; border: 1px solid #fe0000; border-radius: 50%; text-align: center;    font-size: 23px; line-height: 40px;  color: #fe0000; top: 6px; }
div#masthead .header-inner .flex-right ul.header-nav >li { /* width: 50%;*/ margin: 0px; }

/* hotline header */
.hotline-header { padding-left: 60px;}
.hotline-header:before { content: "\f095"; font-family: FontAwesome; position: absolute; left: 0px; font-size: 30px;  color: #f60c0d; top: 0px; border: 2px solid #000; width: 50px; text-align: center; border-radius: 50%;}
.hotline-header h3 { color: #fc0b0c; font-size: 16px; font-weight: bold; margin-bottom: 0px;}
#header .hethong a { color: #FFF;}
#header .hethong { background: #1e4797; padding: 4px 15px; max-width: 150px; text-align: center; border-radius: 25px; line-height: 17px;}
#header .hethong a:hover { color: #f3e805 !important; background: none !important; }

/* tìm kiếm header */
#header select.search_categories { border-radius: 0px; background-color: #FFF; border: 0px;}
#header .search-form-categories { position: relative; border-right: 1px solid #00b10e;}
#header form.searchform { border: 2px solid #047348; border-radius: 25px; }
#header input.search-field { background: #FFF; border: 0px; border-radius: 25px; }
#header form.searchform .flex-col:last-child { background: #047348; padding: 0 10px; color: #FFF; height: 34px; border-radius: 0px 15px 15px 0px;}

/* menu chính */
#header #wide-nav .flex-center .header-nav li a { font-size: 15px;}
#header #wide-nav .flex-center .header-nav>li>a { padding: 10px 14px; font-weight: 700; font-style: normal; text-transform: uppercase; color: #000;}
#header #wide-nav .flex-center .header-nav li a:hover { color: #fe0000; }
#header #wide-nav .flex-center .header-nav >li >ul.nav-dropdown { padding: 0px;}
#header #wide-nav .flex-center .header-nav >li >ul.nav-dropdown li a { border-bottom: 1px dotted; color: #000;   font-size: 15px;}

#header div#masthead .hide-for-medium.flex-right .header-nav >li ul { padding: 0px;}
#header div#masthead .hide-for-medium.flex-right .header-nav >li ul li a { border-bottom: 1px dashed #000; color: #000; }
#header div#masthead .hide-for-medium.flex-right .header-nav >li ul a:hover { color: #047348; }

/* header có menu  */
#header div#masthead .hide-for-medium.flex-left .header-block { width: 40%; margin: 0px; padding: 0 15px;}
#header div#masthead .hide-for-medium.flex-right .header-nav >li >a { padding: 18px 0;}
#header div#masthead .hide-for-medium.flex-right { padding: 20px 0;}
#header div#masthead .hide-for-medium.flex-right .header-nav >li >a { padding: 25px 10px 0px; color: #000; line-height: normal; font-size: 12px; }
#header div#masthead .hide-for-medium.flex-right .header-nav >li >a span { margin: 0px; }
#header div#masthead .hide-for-medium.flex-right .header-nav >li.current-menu-item a, #header div#masthead .hide-for-medium.flex-right .header-nav >li >a:hover { color: #047348 !important; }
.header-nav >li >a { position: relative;}
.header-nav >li >a >i { position: absolute; top: 0px; left: 0px; right: 0px; font-size: 2em; }
#header div#masthead .hide-for-medium.flex-right .header-nav >li >a i.icon-angle-down { display: none; }

/* menu danh mục sản phẩm AP mega menu */
div#wpmm-wrap-mega_menu { position: absolute; top: 100%; margin-top: 0; left: 0; width: 100%; border: 1px solid #ddd; padding: 0; background: #fff; display: none; }
body.home div#wpmm-wrap-mega_menu { display: block; }
body.home div#wpmm-wrap-mega_menu >ul >li:hover >div { display: block;  width: 700px; height: 100%; }
body.home div#wpmm-wrap-mega_menu >ul >li >div { display: none; }
.wp-megamenu-main-wrapper.wpmm-orientation-vertical ul li { position: static; }
.wpmm_megamenu .wp-megamenu-main-wrapper ul ul { height: 100%; width: 100% !important; }

/* menu danh mục sản phẩm dùng plugin megamenu main */
body.home div#mega_main_menu { display: block; }
div#mega_main_menu { position: absolute; top: 100%; margin-top: 0; left: 0; width: 100%; border: 1px solid #ddd;    padding: 0; background: #fff; display: none;}
.header-wrapper.stuck div#mega_main_menu { display: none;}
.header-wrapper.stuck .flex-left:hover div#mega_main_menu, .header-wrapper #mega-menu-wrap:hover #mega_main_menu { display: block; }
#mega_main_menu.direction-vertical > .menu_holder > .menu_inner ul li a { background: #FFF !important; }
#mega_main_menu.mega_menu > .menu_holder > .menu_inner > ul > li > .item_link span { color: #000 !important;}
#mega_main_menu.mega_menu > .menu_holder > .menu_inner > ul > li > .item_link { background: #FFF; border-bottom: 1px solid #eee; }
#mega_main_menu.mega_menu > .menu_holder > .menu_inner > ul > li > .item_link:after { color: #000; }
#mega_main_menu.direction-vertical > .menu_holder > .menu_inner > ul > li > .item_link:before, #mega_main_menu.direction-vertical > .menu_holder > .menu_inner > ul > li.nav_search_box:before { background: none; }
#mega_main_menu.mega_menu > .menu_holder > .menu_inner > ul > li > .item_link:hover span { color: #4a90e2 !important; font-weight: bold; }
#mega_main_menu.mega_menu > .menu_holder > .menu_inner > ul > li > .item_link:hover { background: #FFF !important; }
#mega_main_menu.mega_menu li.multicolumn_dropdown .mega_dropdown > li > .item_link { border-bottom: 1px solid #000;  margin-bottom: 10px; }
#mega_main_menu.mega_menu li.multicolumn_dropdown .mega_dropdown > li > .item_link span { color: #4a90e2 !important; font-weight: bold; }
#mega_main_menu.mega_menu li.multicolumn_dropdown .mega_dropdown > li .item_link:hover { background: #FFF !important; }
#mega_main_menu.mega_menu .multicolumn_dropdown > .mega_dropdown > li.default_dropdown .mega_dropdown > li > .item_link span:hover { color: #4a90e2 !important }
#mega_main_menu.mega_menu .multicolumn_dropdown > .mega_dropdown > li.default_dropdown .mega_dropdown > li > .item_link span { color: #000 !important; font-weight: 400; }
#mega_main_menu.mega_menu .multicolumn_dropdown > .mega_dropdown > li.default_dropdown .mega_dropdown > li > .item_link { margin-bottom: 0px; }

/* vertical mmega menu */
#header #mega-menu-wrap:hover ul#mega_menu { display: block;}
#mega_menu > li > a { padding: 7px; position: relative; }
 #mega_menu li a { color: #000;}
#mega_menu li a:hover { color: red; }
div#mega-menu-wrap { background: #047348 !important; }

/* khung main */
.khungmain .section-title { color: #1d71ab; margin-bottom: 0px; padding: 10px 10px 0px; }
.khungmain .section-title-normal span { border-bottom: 2px solid rgb(29, 113, 171); }
.khungmain { background: #FFF; }
.khungmain .section-title a { font-weight: normal; font-size: 75%; }
.khungmain { margin-bottom: 15px; }

/* tin khuyến mại */
#header div#wide-nav .flex-center { width: 100%; padding-left: 16px; }
#header div#wide-nav .flex-center .news_wrapper { margin: 0px; box-shadow: none }
.news_wrapper .span-name { font-weight: 600 !important; font-size: 15px !important; text-transform: uppercase;    position: relative; margin-right: 16px !important;}
.news_wrapper .span-name:before { content: ""; width: 32px; height: 32px; position: absolute; right: -32px; top: 0px; z-index: 9999; border-bottom: 16px solid rgba(254, 0, 0, 0); border-top: 16px solid rgba(254, 0, 0, 0); border-left: 16px solid #fe0000;}
.news_wrapper div#scroll-h a:before { content: "\f111"; font-family: FontAwesome; font-size: 8px; color: red;    margin-right: 10px;}
.news_wrapper div#scroll-h a { position: relative;}
.news_wrapper .span-name { background: #fe0000 !important; }

/* khung sản phẩm */
.khungmain .product, .shop-page-title .products .product, .woocommerce .product { border: 1px solid #ececec; padding: 10px; }
.khungmain .col.small-12.large-12 { padding: 0px; }
.khungmain .row.small-columns-2.row-small { margin: 0px; width: 100%; max-width: 100%; }
.woocommerce .product .box-image, .home .product .box-image { text-align: center;}
.woocommerce .product .box-image img, .home .product .box-image img {      max-width: 100%; margin: auto !important;}
.woocommerce .khungmain8 { margin-top: 15px;}
.woocommerce .category-page-row { padding-top: 0px;}
.trangsanpham { margin-bottom: 0px; padding-bottom: 15px; }

/* tiêu đề tin tức */
.tieudetintuc { background: #f0f0f0 none repeat scroll 0 0; border-bottom: 1px solid #e8e8e8; display: block;    overflow: hidden;}
.tieudetintuc { background: #f0f0f0 none repeat scroll 0 0; border-bottom: 1px solid #e8e8e8; display: block;    overflow: hidden;}
.tieudetintuc div { background: #e6e6e6 none repeat scroll 0 0; color: #424242; float: left; font-size: 13px;    line-height: 1.3em; padding: 10px 20px 8px; text-align: center; text-transform: uppercase; margin: 0; position: relative;}
.tieudetintuc div:after { content: ""; position: absolute; border-bottom: 35px solid #bababa; border-left: 0 solid transparent; border-right: 20px solid transparent; height: 0; width: 0; right: -20px; top: 0px;}
.tieudetintuc a { background: #e6e6e6 none repeat scroll 0 0; border-radius: 2px; color: #288ad8; float: right;    font-size: 11px; margin-top: 8px; padding: 3px 15px; text-transform: uppercase; line-height: 18px;}

/* khung 1 tin tức */
.khungmain1 { margin-bottom: 15px; }
.khungmain1 >.col { padding-bottom: 0px; }
.khungslide { margin-top: 15px; }
.slidetintuc .section-title-normal a:before { content: ""; border: 1px solid; position: absolute; width: 50%;    bottom: -3px;}
.slidetintuc .section-title-normal a { width: 100%; padding: 0px; padding-bottom: 5px;}
.slidetintuc { background: #FFF; margin-top: 15px; padding: 0px;}
.slidetintuc .col.post-item, .slidetintuc .box-text { padding-bottom: 0px; }
.slidetintuc .box-text { padding-right: 10px; padding-left: 10px;     padding-top: 0px;}
.slidetintuc h5.post-title { font-size: 12px; font-weight: 400; }
.is-divider { display: none;}
.slidetintuc .post-item .col-inner { padding: 5px 0px; border-bottom: 1px solid #dfdfdf;}
.slidetintuc .post-item:last-child .col-inner { border: 0px;}

/* khung 8 */
.khungmain8 >.col { padding: 5px 15px; line-height: 20px; font-size: 12px; text-transform: uppercase; color: #FFF;}
.khungmain8 .since, .khungmain8 .ds { background: #FF9100; }
.khungmain8 .ck, .khungmain8 .th { background: #047348; }
.khungmain8 .col p { color: #FFF; }

/* khung 3 */
.khungmain3 .post-item .box-blog-post .post-title { font-weight: 400; }
.khungmain3 .khungsanpham { margin: 15px auto 0px !important;}
.khungmain3 .khungsanpham >.col >.col-inner >.row { margin: 0px;}
.khungmain3 { margin-bottom: 0px; }
.khungmain3:last-child { margin-bottom: 0px !important;}
.khungmain3 { margin-bottom: 20px !important; }

/* khung sản phẩm slide */
.khungmain2 >.col { padding: 0px; }
.khungmain2 .khungsanpham >.col { padding: 0px;}
.khungmain2 .khungsanpham { margin: auto !important;}
.tieude-sanpham { margin: 0px; background-color: #EBEBEE; height: 42px; border-top: 1px solid #047348; margin-bottom: 1px; padding-left: 10px; line-height: 41px;}
.tieude-sanpham:after { content: ""; position: absolute; left: 0px; top: 0px; width: 42px; height: 42px;   background: #047348; z-index: 1;}
.tieude-sanpham .tang { margin-right: 10px; float: left; height: 41px; padding: 0px 20px; background: #047348; color: #FFF;    border-radius: 25px; position: relative; z-index: 2; text-transform: uppercase; font-weight: bold; }
.tieude-sanpham p { margin: 0px; font-weight: bold; }
.type-product { padding-bottom: 15px !important;}
.type-product .title-wrapper { height: 70px; margin-bottom: 10px; overflow: hidden; }
.type-product .box-text-products { padding-bottom: 0px;}
.type-product .title-wrapper a { color: #000;}
.woocommerce-Price-amount.amount { color: #fd0102; font-size: 15px;}

@media screen and (max-width: 550px) { 
	.tieude-sanpham a { display: none; }
}
@media screen and (max-width: 959px) { 
	.khungsanpham .banner-slide { display: none; }
  .khungsanpham .noidung { max-width: 100% !important; flex-basis: 100% !important; }
}

@media screen and (min-width: 959px) { 
  .type-product .title-wrapper { height: 58px !important; }
}

/* mô tả ngắn sp */
.single-product h1.product-title.entry-title { font-size: 20px; text-transform: none; font-weight: bold;    color: #386903;}
.product-short-description ul li:before, .product-short-description p:before { content: "\f00c"; font: normal normal normal 14px/1 FontAwesome; position: absolute; left: 0px; top: 6px; color: #1d71ab;}
.product-short-description ul li, .product-short-description p { margin-left: 0px; font-size: 15px; padding-left: 20px; position: relative; border-bottom: 1px dotted #1d71ab; padding-bottom: 10px; margin-bottom: 10px;}
.product-short-description ul { list-style: none;}
.nav-tabs li.description_tab a:before { content: "Thông tin sản phẩm"; color: #185ba9;}
.nav-tabs li.description_tab a { color: white;}
.single-product ul.product-tabs li { padding: 0 10px;}
.single-product ul.product-tabs li a { border: 1px solid #2196f3; color: #000; font-weight: bold;}
.single-product ul.product-tabs li.active a { color: #FFF;}

/* đặt hàng nhanh */
.dangkytuvan span.wpcf7-form-control-wrap.dynamictext-691 { display: none;}
.dangkytuvan { background: #1d71ab; color: #fff; padding: 10px; border-radius: 4px; text-align: center; position: relative; min-height: 90px ; margin-bottom: 10px;}
.dangkytuvan .eb-quickcart-left { float: none; width: 100%; text-transform: uppercase; line-height: 19px; padding-bottom: 5px;}
.dangkytuvan .eb-quickcart-left p { text-transform: initial; }
.dangkytuvan .hotline input[type='tel'] { width: 100%; box-shadow: none; border: 0px; border-radius: 5px 0px 0px 5px; color: #000; font-size: 13px; height: 38px; background: #FFF; margin: 0px;}
.dangkytuvan .submit input.wpcf7-form-control.wpcf7-submit { width: 100%; border-radius: 0px 5px 5px 0px;   background: #fc0001; height: 38px; font-weight: 400; }
.dangkytuvan .hotline { width: 80%; float: left;}
.dangkytuvan .submit { width: 20%; float: left;}
.dangkytuvan .hotline input[type='tel']:focus { background: #FFF; }
.dangkytuvan .hotline input[type='tel']:hover { background: #FFF; }
.detailcall-1 { background: #fe0000; box-shadow: 0 -3px 0 0 #1d71ab inset;}
.goidatmua a { color: #d0021b; font-size: 17px; font-weight: bold;}
.goidatmua { font-size: 13px; text-align: center; margin-bottom: 20px;}

/* giảm giá + mới */
.products .product .col-inner { position: relative;}
.badge-container.absolute.left.top.z-1 { margin-top: 0px; width: 100%;}
.products .product .col-inner { position: relative;}
.badge-circle .on-sale:after{ content: ""; position: absolute; border-left: 10px solid #f26b06; border-top: 11px solid transparent; border-bottom: 12px solid transparent; top: 0; right: -10px;}
.badge-circle .on-sale:before { content: ""; position: absolute; border-top: 5px solid #a62c07;  border-left: 5px solid transparent; left: 0px; top: initial; bottom: -5px;}
.badge-circle .on-sale { background: #F26B05 !important; color: #fff; border: 0px; border-radius: 0px !important;    padding: 5px 5px 5px 10px; position: relative;}
.badge-circle:first-child { position: absolute; top: 10px; top: 10px;}
.badge-circle:last-child { position: absolute; top: 10px; left: -9px; height: auto;}
.badge-circle .on-sale span { color: #FFF; }

/* mô tả ngắn sản phẩm */
.related-products-wrapper >.row { margin: 0px !important; }
.muahangnhanh-noidung { max-width: 430px; margin: auto;}

/* tiêu đề brea */
.title-overlay { background: none !important ; }
.featured-title { background-color: #143E5C !important; }

/* breadcrumbs tin tức */
.breadcrumb-blog { background: #047348 !important; line-height: 40px; }
.single-post .breadcrumb-blog {  padding: 15px 0px; }
.breadcrumb-blog .breadcrumbs { max-width: 1170px; margin: auto; text-transform: unset; line-height: 20px;  padding: 10px 15px; font-size: 13px; font-weight: 400; color: #ffffff; }
.breadcrumb-blog .breadcrumbs a { color: #FFF; }

/* bài viết */
.single-post .entry-image.relative, .single-post .entry-meta, .single-post .entry-category { display: none; }
.single-post .entry-header-text h1 { color: #386902; }
.single-post .entry-header-text { padding: 0px; font-size: 14px; text-transform: none; color: red; }

/* hotline sidebar */
.gd_support_8 { background: url(image/bg-support08.png)top center no-repeat, #f3f3f3; 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: #f3f3f3; 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, #047348; 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: 20px; line-height: 38px;}
.gd_support_8 .hotline1 { width: 100%; padding: 25px 0px 25px 32px; margin: 0 auto; background: url(image/icon-tel2.png) 12% center no-repeat, #fe0000; }
.gd_support_8 .hotline1 a { color: #FFF; font-weight: bold; font-size: 2vw; }

.gd_support_8 .email { line-height: 50px; text-align: center; background: #047348; color: #fff; padding-top: 10px;}


/* sidebar sản phẩm */
.single-product .large-9 { background: #FFF;}
.post-sidebar .widget-title, .shop-sidebar .widget-title, #shop-sidebar .widget-title { background: #047348;   color: #FFF; padding: 10px; text-transform: uppercase; font-weight: bold;}
.post-sidebar .widget, .shop-sidebar .widget, #shop-sidebar .widget { border: 1px solid #047348; background: #FFF;}
.wp-megamenu-main-wrapper.wpmm-orientation-vertical ul.wpmm-mega-wrapper > li { margin: 0px;}
.post-sidebar ul.product_list_widget, .post-sidebar .flatsome_recent_posts ul, .shop-sidebar ul.product_list_widget, .shop-sidebar .flatsome_recent_posts ul, #shop-sidebar ul.product_list_widget, #shop-sidebar .flatsome_recent_posts ul { padding: 0 10px;}
div#product-sidebar, .post-sidebar, .col.large-3.hide-for-medium { border: 0px; padding: 0px !important;}
.gd_support_8 .email p { margin: 0px;}
.widget_products ul.product_list_widget .product-title, .widget li.recent-blog-posts-li a { color: #000 !important; }

/* sidebar tin tức, trang */
.large-9.col.medium-col-first { border-left: 0px !important;}
.recent-blog-posts-li .post-date span { visibility: hidden; }
.recent-blog-posts-li span.post_comments { display: none; }

/* khách hàng */
.home-khachhang { padding-top: 50px; padding-bottom: 3px; background: #FFF; }
.home-khachhang .tieude h2 { font-size: 26px; font-weight: 600; color: #fe0000;}
.home-khachhang .tieude p { color: #000; line-height: 30px; font-size: 18px; margin-bottom: 0px; }
.bx-wrapper { max-width: 1170px !important; }
.home-khachhang { margin: 0px auto !important; padding-top: 20px; }
.home-khachhang .tieude { padding-bottom: 0px; }
.home-khachhang .tieude .slider { margin-top: 30px; }

/* footer */
.wpex-info-widget div { padding-left: 2.308em; position: relative; line-height: 1.5; margin-bottom: 10px; }
.wpex-info-widget .fa { position: absolute; left: 0; top: 0; font-size: 1.231em;}
.wpex-info-widget p { margin: 0;}
#footer .is-divider { max-width: 100%; }
#footer .widget-title { color: #047348; padding-bottom: 10px; margin-bottom: 10px; font-weight: bold; text-transform: uppercase; font-size: 16px; border-bottom: 1px solid; padding-bottom: 10px; margin-bottom: 10px;}
#footer a { color: #000;}
#footer a:hover { color: #0bb2ef; }
.absolute-footer.dark.medium-text-center.small-text-center { display: none;}
.footer-1 { box-shadow: 0px 0px 5px 0px #000; }
.home footer#footer { background: #f9f9f7;}
footer#footer { background: #FFF; }

/* menu di động */
.mobile-sidebar .sidebar-menu.no-scrollbar a { color: #FFF;}
.mobile-sidebar .sidebar-menu.no-scrollbar { background: #185BA9;}
.mobile-sidebar .sidebar-menu.no-scrollbar button.toggle i[class^="icon-"] { color: #FFF;}
input[type='submit'], input[type='submit'].button, input[type='submit'], .primary { background: #185BA9;}
.woocommerce-message.message-wrapper { display: none; }
.back-to-top { bottom: 50px;}
nav#nav-below { display: none;}
.single-post .entry-content.single-page { display: flex; flex-direction: column;}
.fb-comments, .coments-title, p.commentcount, div#wp_rp_first { order: 8;}
.row.row-large.row-divided {  padding: 0px; }
.featured-title .page-title-bg { box-shadow: none; }
.shop-page-title.featured-title .title-overlay { max-width: 1180px; margin: auto !important; }

/* reponsive */
@media screen and (min-width: 850px) {
	/* khung 1 */
	.menu-sanpham { max-width: 20%; }
  .khungslide { max-width: 55%; flex-basis: 55%; }
  .khungmain2 .khungsanpham .large-9 { max-width: 78%; flex-basis: 78%; }
  .khungmain2 .khungsanpham .large-3 { max-width: 22%; }
}

/* danh mục tin tức */
@media screen and (min-width: 550px) { 
  .category .post-item .box-image { max-width: 30%; width: 30% !important; }
}
.post-xemtiep, .post-xemtiep:hover { background: #1d71ab; color: #FFF; padding: 10px; }
p.from_the_blog_excerpt { text-align: justify; }
.post-item .post-date { display: none; }

/* bài viết liên quan */
div#related_posts h3 { border-bottom: 2px solid; padding-bottom: 10px; margin-bottom: 30px;     text-transform: uppercase; }
div#related_posts h3 span { position: relative;}
div#related_posts h3 span:before { content: ""; position: absolute; width: 100%; height: 2px; background: #fe0000;    bottom: -17px; left: 0px;}

ul.releted-post { margin: 0 0 18px 0 !important; padding: 0 !important; -moz-column-count: 2 !important;    -moz-column-gap: 40px !important; -moz-column-rule: 1px solid #ccc !important; -webkit-column-count: 2 !important;       -webkit-column-gap: 40px !important; -webkit-column-rule: 1px solid #ccc !important; column-count: 2 !important;    column-gap: 40px !important; column-rule: 1px solid #ccc !important;}
ul.releted-post li { overflow: hidden !important; list-style: none !important; margin: 0px 0px 10px !important;    padding: 0 0 10px 0 !important; -moz-column-break-inside: avoid !important; -webkit-column-break-inside: avoid !important; break-inside: avoid-column !important;  border-bottom: 1px solid #ccc;}
ul.releted-post li a { color: #000; }
ul.releted-post li:hover a { color: red; font-weight: 600; }
ul.releted-post li a.img-thumbnai { display: block !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;}

@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;}
}

/* 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; height: 30px;    line-height: 30px;}

/* logo slide */
.brand { padding: 20px 0px;}
.gs_logo_single { background: #FFF;}
.brand .bx-wrapper, .brand { max-width: 1280px !important; margin: auto; }
.home .brand .bx-wrapper, .home .brand { max-width: 1230px !important;  margin: auto;}

/* menu mobile */
@media (max-width: 999px) {
  .medium-logo-center .logo { -webkit-order: 2; -ms-flex-order: 2; order: 2; text-align: center; margin: 0 15px; }
  .medium-logo-center .flex-left { -webkit-order: 1; -ms-flex-order: 1; order: 1; -webkit-flex: 1 1 0; -ms-flex: 1 1 0; flex: 1 1 0; }
  .medium-logo-center .hide-for-medium.flex-left, .medium-logo-center .hide-for-medium.flex-right { display: none; }
  .medium-logo-center .flex-right { -webkit-flex: 1 1 0; -ms-flex: 1 1 0; flex: 1 1 0; -webkit-order: 3; -ms-flex-order: 3; order: 3;}
  [data-show="show-for-medium"], .show-for-medium { display: block !important; }
}

/* căn chỉnh lại khung menu + logo + khung slide cho chuẩn màn hình */
/* #header div#masthead .hide-for-medium.flex-right .header-nav li a { font-size: 16px !important; }

@media only screen and (min-width:1000px) and (max-width:1300px) {
	#header div#masthead .hide-for-medium.flex-right .header-nav li a { font-size: 9px !important; }
}
*/
@media only screen and (min-width:960px) {
  #header #wide-nav > .flex-row > .flex-left { max-width: 20%; width: 100%; min-width: 20%; }  
}

@media only screen and (max-width:959px) {
  #header #wide-nav > .flex-row > .flex-left { display: none; }
  #header div#wide-nav .flex-center { max-width: 100%; padding: 0 10px;}
  .khungmain1 .menu-sanpham { display: none; }
  .khungslide { width: 100%; max-width: 100%; flex-basis: 100%; }
  .slidetintuc { display: none;}
}

@media only screen and (max-width:399px) {
.tieude-sanpham a span { display: none; }
.xemtatca-mobile { display: block; margin: 10px 0px; text-align: center; font-weight: bold;}
.xemtatca-mobile a { padding: 10px; border: 1px solid #2196f3; background: #2196f3; color: #FFF; display: block;}
}
@media only screen and (min-width:400px) {
.xemtatca-mobile { display: none; }
}

/* hotline */
.float-icon-hotline { display: block; width: 40px; position: fixed; bottom: 68px; left: 17px; z-index: 999999;}
.float-icon-hotline ul { display: block; width: 100%; padding-left: 0; margin-bottom: 0;}
.float-icon-hotline ul li { display: block; width: 100%; position: relative; margin-bottom: 10px; cursor: pointer;}
.float-icon-hotline ul li .fa { background-color: #ed1c24; display: block; width: 40px; height: 40px; 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;}
.float-icon-hotline ul li .fa-phone { background-color: #ed1c24; }
.float-icon-hotline ul li .fa-zalo { background: #ef0303 url(http://thaibinhweb.net/wp-content/uploads/2018/05/cbymx-eppw1.png) center center no-repeat; }
.float-icon-hotline ul li .fa-facebook { background: #168efb }
.animated.infinite { animation-iteration-count: infinite;}
.tada { animation-name: tada;}
.animated { animation-duration: 1s; animation-fill-mode: both; }
.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: 0;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; }

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

@media only screen and (max-width: 959px) { 
	.float-icon-hotline ul { display: flex !important ; }
  .float-icon-hotline ul li~li { margin-left: 10px;}
  .float-icon-hotline { bottom: 15px !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);}
}

/* copyright */
.copyright {margin: 0px; font-size: 12px; padding: 10px; background: #f4f4f4; color: #000;}
.copyright div { max-width: 1170px; margin: auto; }

/* mua hàng nhanh */
a.devvn_buy_now { background: #f51b29; border-bottom: 2px solid #000 !important; border-right: 2px solid #000 !important; }
.devvn-popup-title { background: #f51b29 !important;}
.popup-customer-info-group .devvn-order-btn { background: #f51b29 !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 #f51b29 !important; width: 40px !important;    font-size: 14px !IMPORTANT; border-radius: 0px 25px 25px 0px; }
.devvn_prod_variable .quantity.buttons_added input:hover, .devvn_prod_variable .quantity.buttons_added input:active { background: #f51b29 !important; color: #FFF !important;}
a.devvn_buy_now:focus, a.devvn_buy_now:hover { background: black !important; border-bottom-color: red !important; }
a#devvn_buy_now strong { color: #FFF; }
.devvn-popup-inner .devvn-popup-title span { color: #FFF; }

div#wh-widget-send-button { right: 5% !important; }

/* đánh giá sao */
.kk-star-ratings.top-left.lft { width: 100% !important; text-align: left;}
.kk-star-ratings.top-left.lft .kksr-stars { width: 120px;}
.kk-star-ratings .kksr-legend { text-align: left !important; color: #000;}
