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

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

.page-id-468 .product .box-text-products ul,
.page-id-468 .product .box-text-products .box-excerpt{
  display: none;
}

.page-id-468 .product .product-title{
  min-height: 52px;
}
.page-id-520 .box-file{
  text-align: center;
}

/* .page-id-468 .product:hover .box-image img{
  opacity: 0;
} */
.page-id-468 .product:hover .box-image img.show-on-hover{
  opacity: 0;
}

.fb_iframe_widget_fluid span{
  width: 100% !important;
}

.product-small span.amount{
  color: #fe0000;
}

.wrap-cata{
  /* display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 16px; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  grid-gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.wrap-cata .item{
  width: 14%;
  min-height: 200px;
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.22);
  transition: .3s;
  transform-origin: left;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.wrap-cata .item .title{
  width: 100%;
  padding: 5px;
  font-size: 14px;
  box-sizing: border-box;
  display: block;
  color: #000;
  margin-top: 0;
  font-weight: 400;
  transition: .4s;
  -webkit-transition: .4s;
  text-align: center;
}
.wrap-cata .item a{
  display: block;
  height: 100%;
}
/* .wrap-cata .item:hover{
  transform: rotateY(-20deg) rotateZ(0);
  box-shadow: 3px 0 12px rgba(0,0,0,.6);
} */
.wrap-cata .item:hover .title{
  opacity: 1;
  bottom: 0;
}

.wrapper-single-cata{
  min-height: 800px;
}

.content-gallery{
  position: relative;
}
.content-gallery .gallery-docs img{
  max-height: 600px;
  object-fit: contain;
  pointer-events: none;
}
.content-gallery .owl-nav button{
  /* position: absolute;
  top: 0;
  height: 100%;
  background: #000 !important;
  z-index: 3;
  margin: 0 !important;
  width: 40px; */
  position: absolute;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  border-radius: 50%;
  opacity: 1;
  margin-top: auto;
  margin-bottom: auto;
  box-shadow: -2px 1px 10px #bdbdbd;
  top: calc(50% - 20px);
  cursor: pointer;
  opacity: 1 !important;
}
.content-gallery .owl-nav button.owl-prev{
  left: 0;
}
.content-gallery .owl-nav button.owl-next{
  right: 0;
}

.tai-lieu-template-default .post-sidebar a{
  display: block;
  color: #000;
  font-size: 16px;
  margin-bottom: 12px;
}
.tai-lieu-template-default .post-sidebar a:hover{
  text-decoration: underline;
}
#zoomDocs{
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  border-radius: 4px;
  background: #fff;
  position: absolute;
  bottom: 16px;
  left: calc(50% - 16px);
  z-index: 3;
  cursor: pointer;
}
#zoomDocs img{
  width: 20px;
  height: 20px;
}
#zoomDocs img.small{
  display: none;
}
#zoomDocs.active img.big{
  display: none;
}
#zoomDocs.active img.small{
  display: block;
}

.single-tai-lieu .article-inner.full{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #fff;
}
.not-scroll{
  overflow: hidden;
}
@media (max-width: 1200px){
  .single-product.product-template-default span.woocommerce-Price-amount.amount,
  .product-common .product .box-text .price-wrapper{
    font-size: 16px;
  }
  .wrap-cata .item{
    width: 20%;
  }
}

@media (max-width: 800px){
  .single-product .related-products-wrapper .product.product-small,
  .page-id-468 .product{
    max-width: 50%;
    flex-basis: 50%;
  }
}

@media (max-width: 767px){
  .home.page-template .product-small.product{
    max-width: 50%;
    flex-basis: 50%;
  }
  .wrapper-single-cata{
    min-height: 500px;
  }
}

@media (max-width: 549px){
  .wrap-cata .item{
    width: 140px;
  }

  .page-id-468 .product,
  .single-product .related-products-wrapper .product.product-small,
  .home.page-template .product-small.product{
    max-width: 50%;
    flex-basis: 50%;
    padding: 8px;
  }
  .home.page-template .product-small.product .box-text .box-excerpt{
    display: none;
  }
  .home.page-template .product-featured{
    padding: 0 20px;
  }
  .single-product .related-products-wrapper .product.product-small .product-small {
    padding: 0;
  }
  .page-id-468 .product .product-title,
  .single-product .related-products-wrapper .product .product-title,
  .home.page-template .product-small.product .product-title{
    min-height: 36px;
  }

  .product-common .product .product-small .box-image img,
  .single-product .related-products-wrapper .product .product-small .box-image img,
  .home.page-template .product-small.product .box-image img{
    width: 120px;
    height: 120px;
  }
  .product-common .product .box-text .title-wrapper .product-title a,
  .single-product .related-products-wrapper .product .box-text .title-wrapper .product-title a,
  .home.page-template .product-small.product .box-text .title-wrapper .product-title a{
    font-size: 14px;
  }
  .product-common .product .box-text .price-wrapper,
  .single-product .related-products-wrapper .product.product-small .box-text .price-wrapper,
  .home.page-template .product-small.product .box-text .price-wrapper{
    font-size: 11px;
    margin-bottom: 0;
    margin-top: 8px;
  }
  .product-common .product .box-text,
  .single-product .related-products-wrapper .product.product-small .box-text,
  .home.page-template .product-small.product .box-text{
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
  }
  .product-common .product.product-small .col-inner,
  .single-product .related-products-wrapper .product.product-small .col-inner,
  .home.page-template .product-small.product .col-inner{
    height: 100%;
  }
  .single-product .related-products-wrapper .product.product-small .col-inner{
    background-image: linear-gradient(360deg, #f4f5f6 88%, #ffffff 25%);
  }
  .single-product.product-template-default span.woocommerce-Price-amount.amount{
    font-size: 11px;
  }
  .single-product .related-products-wrapper .product.product-small .box-text-products ul{
    display: none;
  }
}
