/* blog */
/*----------------------------------------------*/
.blog-block .item {
  position: relative;
}

.blog-block {
  margin-bottom: 0;
  position: relative;
}
#blog_carousel {
  float: left;
  width: 100%;
  margin: 0 0 70px 0;
}
.zoom-post {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  left: 0;
  transition: all 0.3s ease-in-out 0s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
  transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
}
.zoom-btn {
  bottom: 0;
  height: 51px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  top: 0;
  width: 110px;
  text-align: center;
}

.blog-block:hover .zoom-post {
  opacity: 1;
}

.blog-block .zoom-post a:hover::before {
  color: #ffffff;
}

.blog-block .hover-zoom::before,
.blog-block .hover-post:before {
  font-family: FontAwesome;
  font-size: 14px;
  margin: 0;
  display: block;
  text-align: center;
  line-height: 40px;
}
.blog-block .zoom-post a {
  display: inline-block;
  vertical-align: top;
  height: 40px;
  width: 40px;
  margin: 0 0 10px;
  border-radius: 50%;
  color: var(--global-palette9);
  background: var(--global-palette1);
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.blog-block .zoom-post a:hover {
  color: #ffffff;
  background: #000000;
}
.blog-block .hover-zoom::before {
  content: "\f002";
}

.blog-block .hover-post:before {
  content: "\f0c1";
}
.mblog .blog-description {
  position: relative;
  padding: 20px 0px 0px 0px;
  border-top: 0;
  float: left;
  width: 100%;
}
.blog-block .blog-text {
  color: #555555;
  margin: 10px 0 15px;
  line-height: 24px;
  font-size: 16px;
  float: left;
  width: 100%;
  font-weight: 400;
}
.blog-block .blog-text span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-list .blog-block.product-thumb .image {
  box-shadow: none;
  margin: 0;
}
.blog-block h4, h3.article-page-title {
  margin: 0px 0 6px;
  font-size: 16px;
  line-height: 22px;
  text-transform: capitalize;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  letter-spacing: 0.3px;
}
.blog-block h4 a {
  color: #000000;
}
.blog-info .image {
  z-index: 1;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.block-date {
  font-size: 14px;
  line-height: 24px;
  color: #666666;
  display: inline-block;
  vertical-align: top;
  border-radius: 5px;
  font-weight: 400;
  margin-bottom: 10px;
  margin-right: 5px;
}

.block-date i {
  margin-right: 4px;
}
.blog-read {
  width: auto;
  font-size: 15px;
  text-transform: capitalize;
  padding: 0;
  line-height: 28px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  float: left;
  text-align: center;
  color: #000000;
  text-decoration: underline;
}
.blog-info .image > a {
  float: left;
  width: 100%;
}
.blog-block img {
  width: 100%;
  transition: all 350ms ease-out 0s;
  -moz-transition: all 350ms ease-out 0s;
  -o-transition: all 350ms ease-out 0s;
  -webkit-transition: all 350ms ease-out 0s;
}
#blog_carousel .block_box {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #E5E5E5;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  padding: 30px 30px 22px 30px;
  border-radius: 4px;
}
.blog-carousel.splide .splide__arrows .splide__arrow{
  top: -62px;
  background: var(--global-palette7);
  color: var(--global-palette3);
}
.blog-carousel.splide .splide__arrows .splide__arrow.splide__arrow--next {
  right: -15px;
}
.blog-carousel.splide .splide__arrows .splide__arrow.splide__arrow--prev {
  left: auto;
  right: 30px;
}
.blog-comment a {
  color: var(--global-palette2);
}


@media(min-width: 1541px) {
  .mblog .blog-item {
    display: table;
  }
}
@media(min-width: 992px) {
  .mblog .blog-block:hover img {
    border-radius: 5px;
    -o-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }
  .mblog .slick-list {
    padding: 17px 0 0 15px;
    margin: -17px 0 0 -15px;
  }
}
@media(max-width: 1840px) { 
  .blog-block h4, h3.article-page-title {
    font-size: 16px;
  }
  .blog-block .blog-text {
    line-height: 20px;
  }
}
@media(max-width: 1640px) {
  .blog-block .blog-text {
    margin: 5px 0 10px;
  }
}
@media (max-width: 991px) {
  .blog-read.btn {
    font-size: 14px;
  }
  #blog_carousel {
    margin: 0 0 60px 0;
}
#blog_carousel .block_box {
  padding: 20px 20px 15px 20px;
}
.blog-carousel.splide .splide__arrows .splide__arrow {
  top: -52px;
}
}
@media (max-width: 767px) {
  #blog_carousel {
    margin: 0 0 35px 0;
  }
}
@media (max-width: 540px) {
  #base_manufacturer .splide__slide img {
    width: 100%;
  }
  #blog_carousel .block_box {
    padding: 10px 10px 8px 10px;
}
.blog-carousel.splide .splide__arrows .splide__arrow {
  top: -34px;
}
.blog-carousel.splide .splide__arrows .splide__arrow.splide__arrow--prev {
  right: 22px;
}
.blog-carousel.splide .splide__arrows .splide__arrow.splide__arrow--next {
  right: -8px;
}
}

/*----------------------------------------------*/
/* blog page */
/*----------------------------------------------*/
.blog-category .blog-img {
  position: relative;
  overflow: hidden;
  display: block;
}

.caption-blog p,
.info_blog p {
  margin: 20px 0 0;
  line-height: 24px;
  font-size: 16px;
  color: var(--secondary-color);
}

.blog-block img {
  width: 100%;
}

.blog-category .link_info {
  padding: 30px;
  border: 1px solid var(--border-color);
}

.blog-category .blog-block .zoom-post {
  bottom: 15px;
}

.blog-category .blog-block img {
  border-radius: 5px;
}

.blog-category .blog-description {
  padding-top: 27px;
}
.blog-block img,
#content-blogs .thumbnails .thumbnail img {
  width: 100%;
}
/*----------------------------------------------*/
/* article blog page */
/*----------------------------------------------*/
.article-container .singblog-description {
  background: var(--primary-hover-color);
  padding: 22px 0 0;
}

.article-container .blog-block {
  margin-bottom: 0;
}

#content-blogs .thumbnails .thumbnail {
  border: unset;
  margin: 0;
  padding: 0;
}
.article-container .leave-hedding {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 20px;
  line-height: 20px;
  margin: 0;
  border-radius: 5px;
  background: var(--secondary-hover-color);
  color: var(--primary-hover-color);
}

.article-container .page-title {
  margin-bottom: 30px;
}

.article-container .post-comment .form-group {
  margin-right: 0;
  margin-left: 0;
}

#post_comment #commnt_form.form-horizontal .control-label {
  text-align: left;
}

.comment_cust h4 {
  margin-bottom: 20px;
}

.commentlist ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

.commentlist ul li:last-child {
  padding-bottom: 0;
}

.commentlist ul li + li {
  padding-top: 10px;
}

.comment_cust .comment-text .user_img {
  float: left;
  height: 60px;
  width: 60px;
  background-color: var(--background-color);
  text-align: center;
  color: var(--primary-color);
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
}

.comment_cust .comment-text .user_img i {
  font-size: 26px;
  line-height: 60px;
}

.comment_cust .comment-desc {
  padding-left: 80px;
  line-height: 26px;
}

.comment_cust .comment-desc .name {
  font-weight: 400;
  text-transform: capitalize;
  font-size: 16px;
}

.comment_cust .comment-desc .date {
  color: var(--secondary-color);
}

.comment-dis {
  color: var(--secondary-color);
  line-height: 22px;
}

#post_comment {
  margin: 10px;
}

.shop-content {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
}
.comment_cust {
  padding: 10px;
  background: var(--primary-hover-color);
  border: 1px solid var(--border-color);
}

.comment-text {
  padding: 20px;
  border: 1px solid var(--border-color);
}

.singblog-description .blog-text {
  margin: 0;
}

@media (max-width: 1199px) {
  .blog-category .link_info {
    padding: 15px;
  }
  .caption-blog p,
  .info_blog p {
    margin: 10px 0 0;
  }
  h3.article-page-title {
    margin: 10px 0 0;
  }
  .article-container .singblog-description {
    padding: 15px 0 0;
  }
}

@media (max-width: 991px) {
  .block-date:after {
    width: 25px;
    right: -25px;
  }
  .article-container .page-title {
    margin-bottom: 15px;
  }
  .article-container .leave-hedding {
    padding: 10px 15px;
    font-size: 14px;
  }
  .blog-text {
    font-size: 14px;
  }
  #post_comment {
    padding: 15px 15px 1px;
  }
  .blog-block .zoom-post {
    opacity: 1;
    bottom: 10px;
  }
  .article-container .singblog-description {
    margin: 0;
  }
  .product-block.blog-block .link_info {
    opacity: 1;
    transform: scale(1);
  }
  .blog-block h4{
    font-size: 14px;
    line-height: 22px;
  }
   h3.article-page-title {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 22px;
}
  .blog-block .zoom-post a:before {
    line-height: 34px;
    font-size: 12px;
  }
  .blog-block .zoom-post a {
    height: 34px;
    width: 34px;
  }
  .blog-category .blog-description {
    padding-top: 15px;
  }
  .blog-read {
    font-size: 14px;
}
}
@media (max-width: 767px) {
  .caption-blog p,
  .info_blog p {
    font-size: 14px;
  }
}
@media (max-width: 575px) {
  .blog-block h4,
  h3.article-page-title {
    font-size: 16px;
  }
  .blog-text {
    margin: 0px;
  }
  .block-date {
    margin-bottom: 7px;
  }
}

@media (max-width: 540px) {
  .blog-block h4,
  h3.article-page-title {
    font-size: 16px;
    line-height: 20px;
  }
  .blog-text {
    margin: 5px 0 10px;
  }
  .comment-text {
    padding: 10px;
  }
  .comment_cust .comment-desc {
    padding-left: 70px;
  }
  .mblog .blog-description {
    padding: 10px 0px 0px 0px;
  }
  .blog-block h4 {
    margin: 0px 0 3px;
  }
}
