/*!
Theme Name:   GTBH-WebChuan-021720
Theme URI:    https://webchuan.com.vn/
Author:       namlbn
Author URI:   https://namlbn.com/
Description:  Theme thương mại điện tử, bán các sản phẩm về đồ điện tử. Lập trình, thiết kế bới Web Chuẩn - namlbn
Version:      1.0
Text Domain:  namlbn, woocommerce
Tags:        
*/

/* reset css - open*/

/* reset css - open */
html,body {
  margin: 0; width: 100%; height: auto;
}
:root {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color:#333; font-weight: normal;
  line-height: 1.4;
}
p, li,h1,h2,h3,h4,h5,h6 { margin:0; margin-bottom: .5rem }
h1,h2,h3,h4,h5,h6 {
  font-weight: 600;
}
h5 {font-size: 1.05rem;}
h4 {font-size: 1.1rem;}
h3 {font-size: 1.3rem; }
h2 {font-size: 1.5rem;}
h1 {font-size: 1.7rem;}
img {display: table;max-width: 100%;height: auto;-o-object-fit: cover;object-fit: cover}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin: 0 1em 0.5em 0;
}
.alignright {
  float: right;
  margin: 0 0 0.5em 1em;
}
.product-thumb a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  position: relative;
  display: block;
}
.product-thumb a.woocommerce-LoopProduct-link.woocommerce-loop-product__link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:before {
  content: '';
  display: block;
  padding-bottom: 100%;
}
div.wp-caption{
  max-width: 100%
}
.wp-caption-text {
  text-align: center;
  font-style: italic;
}
.slick-list {
  min-width: 100%;
}
.slick-track {
  margin-left: 0;
}
.slick-arrow {
  position: absolute;top:50%;-webkit-transform: translateY(-50%);-ms-transform: translateY(-50%);transform: translateY(-50%); z-index: 1;
  display: -webkit-box;display: -ms-flexbox; display: flex;-webkit-box-align: center;-ms-flex-align: center;
  align-items: center; background:transparent;border:none; font-size: 30px; color:#ffffff73;
  cursor: pointer; background: rgba(0,0,0,0.5);padding: 5px;
}
.slick-prev {
  left: 0
}
.slick-next {
  right: 0
}
.slide-item {
  padding: 0 15px
}
.slick-slider:focus,.slick-track:focus,.slick-slide:focus,.slick-slide a:focus,
.slick-arrow:focus {
  outline: none
}
.slick-dots{
  position: absolute;bottom: 0;display: flex;padding: 0;margin: 10px 0;width: 100%;
  justify-content: center;list-style: none;
}
ul.slick-dots li button { font-size: 0; line-height: 0;display: block; margin: 0 5px;transition: 0.3s;
  padding: 5px;cursor: pointer;color: transparent;border: 0; outline: none; background: gray;opacity: 0.4;
  border-radius: 100%;
}
ul.slick-dots li.slick-active button,ul.slick-dots li button:hover{
  opacity: 1;
}
/* reset css - close */

.flex_center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;
}
.relative,.padding_ratio {
  position: relative;
}
a.padding_ratio {
  display: block;
}
.absolute,.full_relative {
  position: absolute;
}
.padding_ratio:before {
  content:'';display: block; padding-bottom: 40%;
}
.full_relative {
  width: 100%;height: 100%;top:0;left: 0;
}
.align_center {
  text-align: center;
}
.margin_center {
  display: table; margin:0 auto;
}
.flex {
  display: flex;
}
.justify_center {
  display: flex; justify-content: center;
}
.main_txt {
  color: #23743A
}
.second_txt {
  color:#ED3237;
}
.white_txt {
  color: white
}
.main_bgr {
  background-color: #23743A
}
.first_bgr {
  background-color: #ED3237
}
.second_bgr {
  background-color: #38ac59
}
.third_bgr {
  background-color: #FFF212
}
.page_section {
  padding:30px 0;
}
.section_title, .page_title {
  font-size: 2.3rem; font-weight: bold; margin-bottom: .5em;
}
.section_title a, .page_title a {
  font-size: inherit; font-weight: inherit; margin-bottom: inherit;
}
/* slick dots */
.slick-dots{
  position: absolute;
  bottom: 0;
  display: flex;
  padding: 0;
  margin: 10px 0;
  width: 100%;
  justify-content: center;
  list-style: none;
}
ul.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  margin: 0 5px;
  transition: 0.3s;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: #fff;
  opacity: 0.4;
  border-radius: 100%;
}
ul.slick-dots li.slick-active button,ul.slick-dots li button:hover{
  opacity: 1;
}
.hover-show {
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0000ff2b;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.section-template,#after_home_slider_bh032320{
 padding-bottom: 30px;
}
.woocommerce-products-header.page-title h1,
div.top-page.page-title h1 {
 text-transform: uppercase;
 margin-top: 0;
 margin-bottom: 10px;
 font-size: 30px;	
 color: #121212;
 font-weight: 600;
}
div#site-wrapper {
  padding-bottom: 60px;
}
#breadcrumbs {
 border-radius: 0;
 -webkit-border-radius: 0;
 -moz-border-radius: 0;
 -ms-border-radius: 0;
 -o-border-radius: 0;  
 margin: 0 0 0;
 text-align: inherit;
 color: #666;	
 font-size: 14px;
 font-weight: 400;
 position: relative;
}    
#breadcrumbs a:after {
 margin: 0 10px;
 display: inline-block;
 content: "\f105";
 font-size: 15px;
 font-family: "Font Awesome 5 Free";
 font-weight: bold;
}
#breadcrumbs span, #breadcrumbs a {
 color: inherit; text-decoration: none
}

/* lightbox */
.view-product-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.view-product-popup .popup-bgr {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.95;
}
.view-product-popup .namlbn-lightbox-content {
  display: block;
  z-index: 1;
  margin: 0 auto;
  position: relative;
  width: auto;
}
#close-lightbox {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  padding: 5px 10px;
}
.view-product-popup .namlbn-lightbox-content img {
  display: block;
  margin: 0 auto;
  -o-object-fit: cover;
  object-fit: cover;
  max-height: 95vh;
  height: 100%;
  width: auto;
}
/* share facebook */
.share-product {
  margin: 10px 0
}
.facebook-share i {
  font-size: 1.5em;
  vertical-align: middle;
  padding-right: 5px;
  border-right: dashed 1px #ffffff66;
  color: #fff
}

.facebook-share {
  padding: 5px 10px;
  border-radius: 5px;
  background: -o-linear-gradient(45deg,#007bff,#1284feb0);
  background: linear-gradient(45deg,#007bff,#1284feb0);
  color: #fff;
  display: table;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}

.facebook-share a {
  color: #fff;
  padding-left: 5px
}

span.facebook-share {
  margin-bottom: 5px
}
/* Trang category */
.col-4.post-item{
  margin-bottom: 30px;
}
.post-item .link-post{
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.post-item .link-post .post-content{
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.post-item .link-post .post-content h5{
  padding: 10px 0 15px;
  border-bottom: 1px solid #ececec;
}
.post-item .link-post .post-content .excerpt{
  color: #000;
}
/* commentform */
#commentform p>input{
  padding: 10px;
}
.text-center.description{
  margin-bottom: 30px;
}
.woocommerce-Tabs-panel--description iframe,.wp-caption{
  max-width: 100%;
}

#search-section .row{
  margin-bottom: 15px;
}
.namlbn-list-attributes {
 padding: 0; list-style: none; padding-left: 10px
}
.namlbn-list-attributes  li {
  border-bottom: dashed 1px #cacacaee
}
.namlbn-list-attributes  li:last-child {
  border-bottom: none;
}
.comment-form-comment label {
  display: table;
}
.namlbn-breadcrumb{
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: .5em 0;
  margin-bottom: 1rem;
  list-style: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
body.home .page_section:not(.home_about) .section_title,
.section_title .elementor-heading-title {
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 2.2rem;
  font-family: 'HelveticaCompressed';
  font-weight: normal; color: #6e6e6e !important;
  position: relative;
}

.section_title .elementor-heading-title:after{
  content: '';
  position: absolute;
  width: 167px;
  height: 15px;
  background: url(https://pms-vietnam.com/wp-content/themes/BH-WebChuan-032320/assets/images/bg_tit.png) !important;
  bottom: -20px;
  left: calc(50% - 83.5px);
}
.partners img {
  object-fit:contain;
}
.partners .slide-item {
  padding:0;
}
.partners .padding_ratio:before {
  padding-bottom: 50%;
}
.partners .partner_slide {
  margin-top: 30px;
}
.top-page {
  background-color: #e9ecef;
}
.category .title-category h1, .single-post .related_posts h3,.archive.woocommerce h1, .single .related.products h2,
.search h1, .single-post .related_posts .title, .single .related.products .title {
  text-transform: uppercase;
  margin-bottom: .5em;
  position: relative;
  padding-bottom: .6em;
  font-weight: 600;
}
.single-post .related_posts .title, .single .related.products .title {
  font-size: 1.3rem;
}
.single .related.products .title {
  padding-bottom: 0;
  margin-bottom: 0;
}
.category .title-category h1:before, .category .title-category h1:after,.single-post .related_posts h3:before,
.single-post .related_posts h3:after, .single-post .related_posts .title:before, .single-post .related_posts .title:after,
.archive.woocommerce h1:before, .archive.woocommerce h1:after,
.single .related.products h2:before, .single .related.products h2:after,.search h1:before,.search h1:after {
  content: '';
  height: 2px;
  background-color: #868686;
  position: absolute;
  left: 0;
  display: block;
}
.category .title-category h1:before, .single-post .related_posts h3:before, .archive.woocommerce h1:before,
.single .related.products h2:before, .search h1:before, .single-post .related_posts .title:before {
  width: 50px;
  bottom: .2em;
}
.single .related.products h2:before, .single .related.products h2:after {
  content: none;
}
.category .title-category h1:after, .single-post .related_posts h3:after, .archive.woocommerce h1:after,
.single .related.products h2:after, .search h1:after, .single-post .related_posts .title:after {
  width: 80px;
  bottom: 0;
}

.bvsp .product_meta {
    padding: 0!important;
}




/* fix */

li#lenam-product-categories-widget > a {
  font-weight: bold;
}
ul#menu-danh-muc-sp li ul li a:hover{
  text-decoration: underline;
}
ul#menu-danh-muc-sp li a:hover{
  color: red;
}
ul#topbar{
  position: relative;
  top: 2px;
  padding-right: 10px !important;
}
ul#topbar a{
  font-size: 14px;
  text-transform: inherit !important;
}
.tiktok img{
  width: 22px;
  height: auto;
}


.hotline-bar.bar2 {
  bottom: 116px;
}


/* elementor home */
#elementor-slider-row .elementor-widget-wrap{
  padding: 0;
}
/*.box6data img{*/
/*  height: 140px !important;*/
/*  border-radius: 100% !important;*/
/*}*/

.box6data .elementor-widget-container .elementor-image-box-wrapper {
  align-items: center !important;
}
  
.box6data.left .elementor-widget-container{
  border-top-left-radius: 85px;
  border-bottom-left-radius: 85px;
}

.box6data.right .elementor-widget-container{
  border-top-right-radius: 85px;
  border-bottom-right-radius: 85px;
}


.mega-sub-menu li.mega-menu-item.mega-menu-item-type-widget.widget_media_image{
  padding-bottom: 0 !important;
}

.mega-sub-menu li.mega-menu-item-has-children{
  padding-top: 5px !important;
}

.widget_media_image{
  padding-top: 0 !important;
}
@media screen and (max-width: 500px){
  .elementor-image-box-wrapper {
      display: flex;
  }
  /*.box6data img {*/
  /*    height: 122px !important;*/
  /*    border-radius: 100% !important;*/
  /*}*/
  .box6data.right .elementor-image-box-wrapper{
    flex-direction: row-reverse !important;
  }

  .box6data.left  .elementor-image-box-content,
  .box4data  .elementor-image-box-content
  {
    padding-left: 10px !important;
  }
    .box6data.right .elementor-image-box-content{
    padding-right: 10px !important;
  }

}



/* elementor home */

/* gioi thieu */
section.inner_bg{
  background: url(https://vmsco.vn/wp-content/themes/flatsome-child/assets/images/line.png) center no-repeat;
}

section.inner_bg .elementor-container{
  justify-content: space-between;
}
section.inner_bg .elementor-column.elementor-col-25 {
  /* width: unset !important; */
    width: 90px;
    background: #fff;
    margin-top: 30px;
}

section.inner_bg .elementor-column.elementor-col-25:nth-child(even){
  margin-top: 70px;
}

#fixed_col.active{
  position: sticky;
  top: 0;
  background: #fce7a3;
  z-index: 9;
}

#fixed_col.active section.inner_bg .elementor-column.elementor-col-25{
  background-color: transparent !important;
  margin-top: 15px !important;
}
  #fixed_col.active section.inner_bg{
  background: transparent;
}

#fixed_col.active .elementor-widget-wrap{
  padding: 0 !important;
}


#fixed_col.active .elementor-image-box-img{
  width: 70%;
}

ul.mega-sub-menu .widget_media_image a{
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

li.xemthem a{
  font-weight: bold !important;
  color: #d5ac19 !important;
  text-decoration: underline !important;
  font-style: italic;
}

.mega-sub-menu li a.mega_title{
  font-weight: bold !important;
  font-size: 1.1em !important;
  color: #d5ac19 !important;
}
.phantrangdanhmuc {
  text-align: center;
}

a.btn.btnxemthem {
  padding: .5em 1.5em;
  margin-bottom: 2em;
  background-color: #ffd540;
  border-radius: 2px;
  display: inline-block;
  align-self: flex-start;
  margin-top: 1em;
  font-size: .9em;
  color: initial;
  cursor: pointer;
}

.hidden{
  display: none !important;
}


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

  .widget_media_image{
    display: none !important;
  }
  .fixed_col{
    display: none;
  }
  .fixed_col.active{
    display: block;
  }
  .flex_css .elementor-image-box-wrapper{
    display: flex;
  }
  .elementor-image-box-wrapper{
    display: block;
  }

  #fixed_col.active section.inner_bg .elementor-column.elementor-col-25{
    margin: 5px !important;
  }

  section.inner_bg .elementor-column.elementor-col-25{
    margin-top: 0 !important;
  }
  #mega-menu-wrap-mobile-menu #mega-menu-mobile-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item{
    padding-left: 0 !important;
  }
} 
/* fix */