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

/*Xóa dấu mũi tên của input type number*/

body,
html {
	position: relative; margin:0;width: 100%;height: 100%;
	
}
body {
  font-family: "Roboto", sans-serif;
}

a,
button {
	cursor: pointer;
}

body {
	font-size: 16px;
	padding: 0;
	overflow-x: hidden;
}

a{
	text-decoration: none;
	color: #000;
}
a:hover {
	color: #2e3191;
	text-decoration: none;
}
input[type='email']:focus, input[type='search']:focus, input[type='number']:focus, input[type='tel']:focus, input[type='text']:focus, input[type='password']:focus, textarea:focus, select:focus {
  box-shadow: 0 0 5px #ccc;
  opacity: 1 !important;
  outline: 0;
  color: #333;
  background-color: #fff;
}
.entry-content td {
    text-align: center;
    padding: 10px 5px;
    border: 0.5px solid #333;
}
p,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 5px;
	margin-top: 0; line-height: 1.5
}


h5 {
	font-size: 1.05em
}

h4 {
	font-size: 1.1em
}

h3 {
	font-size: 1.2em;
	line-height: 1.3
}

h2 {
	font-size: 1.3em;
}

h1 {
	font-size: 1.4em;
}

img {
	display: table;
	max-width: 100%;
	height: auto;
	-o-object-fit: cover;
	object-fit: cover
}

table {
	width: auto
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin: 0.5em 1em 0.5em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 0.5em 1em;
}
.wp-caption-text {
  text-align: center; padding: 5px 0; background-color: #f2f2f2dd
}
.wp-caption img {
  width: 100%
}
.text-center{
  text-align: center;
}

.slick-arrow {
	background: transparent;
	border-radius: 100%;
	border: solid 2px white;
	padding: 0 5px;
}

.slick-arrow i {
	color: #ef2025;
	font-size: 28px;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	text-align: center;
}

.slick-next {
	right: 30px
}

.slick-prev {
	left: 30px
}

.slick-slider:focus,
.slick-track:focus,
.slick-slide:focus,
.slick-slide a:focus,
.slick-arrow:focus {
	outline: none
}

.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: #ef8610;
}
.flex_center {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;
}
.relative {
	position: relative;
}
.absolute {
	position: absolute;
}
.padding_ratio:before {
	content:'';display: block; padding-bottom: 50%;
}
.full_relative {
	width: 100%;height: 100%;top:0;left: 0;
}
.is_mask {
	z-index: 0;
}
.is_content {
	z-index: 1;
}
.align_center {
	text-align: center;
}
.margin_center {
	display: table; margin:0 auto;
}
/*reset css - close*/
/* 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;
    /* width: 15px;
    height: 15px; */
    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;
  }
  /* Fonts */
  @font-face {
   font-family: "Roboto";
   src: url(assets/fonts/RobotoCondensed-Bold.ttf);
   font-weight: bold;
   font-style: normal;
 }
 @font-face {
   font-family: "Roboto";
   src: url(assets/fonts/RobotoCondensed-Light.ttf);
   font-weight: 300;
   font-style: normal;
 }

 @font-face {
   font-family: "Roboto";
   src: url(assets/fonts/RobotoCondensed-Regular.ttf);
   font-weight: 400;
   font-style: normal;
 }
 @font-face {
   font-family: "UTM AvoBold";
   src: url(assets/fonts/UTM-AvoBold.ttf);
   font-weight: bold;
   font-style: normal;
 }
 @font-face {
   font-family: "UTM Avo";
   src: url(assets/fonts/UTM-Avo.ttf);
   font-weight: 400;
   font-style: normal;
 }
 .section-template{
   padding-bottom: 30px;
 }
 .woocommerce-products-header.page-title,
 div.top-page {
   text-align: center;
   padding: 30px 0;
   background-color: #f5f5f5;
   margin-bottom: 30px;
   font-size: 20px;
   position: relative;
 }
 .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;
 }
 #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: 18px;
   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 {
   color: #1e71b5;
 }

 /* 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;
}
/* ảnh slider  */
.namlbn-product-image-view {
  position: relative;
  display: block;
}
.namlbn-product-image-view:before {
  content: '';
  display: block;
  padding-bottom: 100%
}

.namlbn-product-image-view img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.namlbn-nav .slick-slide {
  height: 100px;
  border-right: 1px solid #cccccc6e;
  padding: 10px;
  position: relative;
}
.namlbn-nav .slick-slide:after {
  content: '';
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  opacity: 0.5;
}
.namlbn-nav .slick-current.slick-slide.slick-active:after{
  opacity: 0;
}
.namlbn-nav img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important
}

.namlbn-nav {
  border-top: 1px solid #cccccc6e;
  border-bottom: 1px solid #cccccc6e;
  border-left: 1px solid #cccccc6e;
  border-right: 1px solid #cccccc6e
}

.product_meta>span{
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}
.product_meta span a{
	color: #dd4b39;
}
/* 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;
}
/* single/project */
.single h1.entry-title{
  font-family: "UTM AvoBold";
  text-transform: none;
  font-weight: bold;
  padding-bottom: 10px;
  font-size: 1.7em;
  margin-bottom: 20px;
  border-bottom: 1px solid #dc5747;
}
.bvlq .list-news .ratio.ratio--custom{
  padding-bottom: 65%;
}
.bvlq>h3{
  text-transform: uppercase;
  margin-bottom: 15px;
}
.bvlq .list-news .box-text{
  position: absolute;
  background-color: rgba(0, 0, 0, 0.65);
  width: 100%;
  max-height: 100%;
  padding: 2px;
  bottom: 0;
  text-align: center;
  transition: 0.5s;
  z-index: 1;
}
.bvlq .list-news .post-item h5.title{
  font-weight: normal;
  text-shadow: 0px 0px 0px black;
  color: #fff;
  margin: 0;
}
.bvlq .post-item .link-post{
  border: 1px solid #e0e0e0;
  padding: 4px;
  box-shadow: 1px 2px 4px #c3c3c3;
}

.bvlq .post-item a.link-post:hover .hover-show{
  opacity: 1;
}
.bvlq .post-item a.link-post .box-text:hover{
  background-color: #dd4b39;
}
.text-center.description{
  margin-bottom: 30px;
}
.woocommerce-Tabs-panel--description iframe,.wp-caption{
  max-width: 100%;
}
.single_add_to_cart_button{
  display: none !important;
}
#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;
}
.the-content, .entry-content {
  text-align: justify;
}
.comment-form-comment label {
  display: table;
}

/* pagination */
nav.navigation.pagination {
  width: 100%;
}
.nav-links ul.page-numbers {
  display: flex;
  list-style-type: none;
  justify-content: center;
  padding-left: 0;
}
.nav-links ul.page-numbers li {
  margin: 0 5px;
}
.nav-links span.page-numbers.current {
  background: #ed3338;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
}
.nav-links a.page-numbers {
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid #ccc;
}
.nav-links a.page-numbers:hover {
  background: #ed3338;
  color: #fff;
  border: 1px solid #ed3338;
}