/* for blog tag module */

.tltblog-search-container {
  margin-top: 35px;
}

.tltblog-search {
  position: relative;
  margin: 0 0 15px 0;
}

.tltblog-search .search-btn {
  position: absolute;
  top: 1px;
  right: 0px;
}

/* end blog tag module */

/* for blog */

.tltblog-subtitle {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: 10px;
}
.tltblog-subtitle .fa {
  margin-right: 4px;
}

.tltblog-gallery {
  margin: 30px 0 30px 0;
  text-align: center;
}

.tltblog-gallery img {
  width: 100px;
  height: 100px;
  margin: 0px;
}

.tltblog-image {
  margin: 0 0 15px 0;
  background-repeat: repeat;
  background-size: 100%;
  background-position: center center;
  background-color: #f0f0f0;
  width: 100%;
  padding-top: 60%;
  /* 5:3 Aspect Ratio */
}

.tltblog-gallery img {
  margin-top: 10px;
  transition: all 0.3s ease;
}

.tltblog-gallery img:hover {
  margin-top: 0px;
  opacity: 0.8;
}

.tltblog-description {
  margin: 30px 0 30px 0;
 min-height: 300px;
}

.tltblog-share {
  text-align: right;
  display: table;
  width: 100%;
}

.tltblog-share:before {
  content: "Share : ";
  font-size: 18px;
  line-height: 24px;
}

a.share-btn {
  display: grid;
  align-items: center;
  justify-content: center;
  float: right;
  margin: 0 3px;
  width: 30px;
  height: 30px;
  color: #fff;
  /* padding: 6px 10px; */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  text-decoration: none;
}

a.share-btn:hover {
  color: #fff;
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  text-decoration: none;
}

a.share-btn-twitter {
  background: #55adee;
}

a.share-btn-facebook {
  background: #3a5998;
}

.tltblog-description iframe {
  max-width: 100% !important;
  width: 100% !important;
}

.tltblog-description img {
  max-width: 100% !important;
}

.tltblog-swiper .product-thumb {
  border: none;
  overflow: auto;
  margin: 5px 10px 0 10px;
  transition: margin-top 0.3s ease;
}

.tltblog-swiper .product-thumb .caption {
  padding: 0;
  min-height: 50px;
}

.tltblog-swiper .product-thumb .caption h4 {
  font-weight: 500;
  margin-top: 5px;
}

.tltblog-swiper .product-thumb .caption a {
  font-size: 16px;
  line-height: 19px;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tltblog-swiper .product-thumb:hover {
  margin-top: 0px;
}

.tltblog-swiper .product-thumb .price {
  font-size: 16px;
}

.tltblog-swiper .swiper-button-next,
.tltblog-swiper .swiper-container-rtl .swiper-button-prev {
  background-image: none;
  right: 0;
}

/* .tltblog-swiper .swiper-button-next, .tltblog-swiper .swiper-button-prev {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #eee;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.tltblog-swiper .swiper-button-next:hover, .tltblog-swiper .swiper-button-prev:hover {
    width: 45px;
    height: 45px;
    opacity: 1;
} */

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* end blog */

/* for blog tag */

.tltblog-container {
  /* border-right: 1px solid #eee; */
}

.tlttag-container .list-group a.active,
.tlttag-container .list-group a.active:hover,
.tlttag-container .list-group a:hover {
  background: #000;
}

.post-item {
  margin: 0 0px;
  position: relative;
  background: #fff;
  box-shadow: 0 1px 2px rgba(43, 59, 93, 0.3);
  margin-bottom: 2em;
}

.post-item .post-img {
  position: relative;
  overflow: hidden;
  background-repeat: repeat;
  background-size: 100%;
  background-position: center center;
  background-color: #f0f0f0;
  width: 100%;
  padding-top: 60%;
  /* 5:3 Aspect Ratio */
}

.post-item .post-img img {
  width: 100%;
  height: auto;
  display: none;
}

.post-item .over-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgb(249, 24, 227);
  background: linear-gradient(
    309deg,
    rgba(249, 24, 227, 0.5) 0%,
    rgba(244, 170, 3, 0.5) 100%
  );
  transition: all 0.3s ease;
}

.post-item:hover .over-layer {
  opacity: 1;
}

.post-item .post-link {
  margin: 0;
  padding: 0;
  position: relative;
  top: 45%;
  text-align: center;
}

.post-item .post-link li {
  display: inline-block;
  list-style: none;
  margin-right: 20px;
}

.post-item .post-link li a {
  color: #fff;
  font-size: 20px;
}

.post-item .post-link li a:hover {
  text-decoration: none;
}

.post-label {
  position: absolute;
  bottom: 4%;
  left: 0;
}

.post-item .date {
  display: inline-block;
  border-radius: 3px 0 0 3px;
  padding: 5px 10px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background: #333;
}

.post-label-text {
  display: inline-block;
  border-radius: 0 3px 3px 0;
  padding: 5px 13px 0px 13px;
  color: #000000;
  font-size: 14px;
  font-family: "Jost";
  font-weight: normal;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.post-item-label-0 {
  background: rgb(253, 216, 167);
  background: linear-gradient(
    45deg,
    rgba(253, 216, 167, 1) 0%,
    rgba(250, 96, 95, 1) 100%
  );
}

.post-item-label-1 {
  background: rgb(253, 216, 167);
  background: linear-gradient(
    45deg,
    rgba(253, 216, 167, 1) 0%,
    rgba(250, 96, 95, 1) 100%
  );
}
.post-item-label-2 {
  background: rgb(178, 222, 232);
  background: linear-gradient(
    45deg,
    rgba(178, 222, 232, 1) 0%,
    rgba(181, 213, 152, 1) 100%
  );
}
.post-item-label-3 {
  background: rgb(75, 166, 213);
  background: linear-gradient(
    45deg,
    rgba(75, 166, 213, 1) 0%,
    rgba(184, 187, 219, 1) 100%
  );
}
.post-item-label-4 {
  background: rgb(219, 83, 127);
  background: linear-gradient(
    45deg,
    rgba(219, 83, 127, 1) 0%,
    rgba(248, 208, 195, 1) 100%
  );
}

.text-secondary {
  display: flex;
  justify-content: space-between;
}
.text-secondary .fa {
  margin-right: 4px;
}
.post-item .post-content {
  padding: 15px;
}

.post-item .post-title {
  margin: 0 0 15px 0;
}

.post-item .post-title a {
  font-size: 18px;
  line-height: 24px;
  text-transform: capitalize;
  height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-item .post-title a:hover {
  text-decoration: none;
}

.post-item .post-description {
  font-size: 14px;
  line-height: 24px;
  color: #808080;
}

.post-item .read-more {
  color: #333;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s linear;
}

.post-item .read-more:hover {
  text-decoration: none;
  color: #ff8b3d;
}

.post-item .read-more:after {
  content: "";
  position: absolute;
  width: 30%;
  display: block;
  border: 1px solid #ff8b3d;
  transition: all 0.3s ease;
}

.post-item .read-more:hover:after {
  width: 100%;
}

@media only screen and (max-width: 479px) {
  .post-item .post-label-text {
    font-size: 14px;
  }
  .post-item .date {
    font-size: 14px;
  }
}

.tltblog-module-swiper-more {
  text-align: right;
  margin: 0px 0 0 0;
}

.tltblog-module-swiper-more > a {
  color: #333;
}

.swiper-viewport {
  margin-bottom: 5px !important;
}

@media (max-width: 767px) {
  .tltblog-module-swiper-more {
    text-align: center;
  }
}

/* end blog tag */

/* blog module */

.tltblog-module-swiper .tltblog-container {
}

.tltblog-date {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 20px;
  color: #fff;
  font-size: 12px;
  padding: 5px 5px 2px 5px;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  text-transform: uppercase;
}

.tltblog-date > span {
  display: block;
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
}

.tltblog-module-swiper .tltblog-header h3,
.tltblog-module-swiper .tltblog-header h1 {
  margin: 0 auto;
  display: inline-block;
  font-weight: 300;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  padding: 7px 0;
  font-size: 26px;
}

.tltblog-module-swiper .tltblog-header h3 > span,
.tltblog-module-swiper .tltblog-header h1 > span {
  font-weight: 600;
}

.tltblog-module-swiper
  .tltblog-container
  > div:nth-child(4n + 3)
  .tltblog-thumbnail,
.tltblog-module-swiper
  .tltblog-container
  > div:nth-child(4n)
  .tltblog-thumbnail {
  grid-area: 1/2/2/3;
}

.tltblog-module-swiper
  .tltblog-container
  > div:nth-child(4n + 3)
  .tltblog-caption,
.tltblog-module-swiper .tltblog-container > div:nth-child(4n) .tltblog-caption {
  grid-area: 1/1/2/2;
}

.tltblog-module-swiper
  .tltblog-container
  > div:nth-child(4n + 3)
  .tltblog-caption
  h1,
.tltblog-module-swiper
  .tltblog-container
  > div:nth-child(4n)
  .tltblog-caption
  h1 {
  /* margin-top: 15px; */
}

.tltblog-thumbnail {
  position: relative;
}

.tltblog-thumbnail > a {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  padding-top: 75%;
  position: relative;
  display: block;
  transition: all 0.6s ease;
}

.tltblog-thumbnail > a:hover {
  /* transform: scale(1.1); */
}

.tltblog-thumbnail img {
  width: 100%;
  display: none;
}

.tltblog-item {
  margin-bottom: 10px;
  background: #eeeeee;
  padding: 8px;
}

.tltblog-caption {
  padding: 8px 0;
}

.tltblog-caption h1 {
  font-size: 14px;
  margin: 0;
}

.tltblog-caption > p {
  height: 58px;
  font-size: 0.9rem;
  line-height: 1.2rem;
  overflow: hidden;
}
.tltblog-header {
  margin: 0 0 30px 0;
  text-align: center;
}

@media (max-width: 767px) {
  .tltblog-module-swiper .tltblog-container {
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
  }
  .tltblog-item {
    display: grid;
    grid-template-columns: 100%;
    /* border-bottom: 1px solid #ddd; */
  }
  .tltblog-caption {
    padding: 10px 0 10px 0;
  }
  .tltblog-caption > h1 {
    /* height: auto;
        overflow: unset; */
  }
  .tltblog-caption > p {
    /* height: auto;
        overflow: unset; */
  }
  .tltblog-module-swiper
    .tltblog-container
    > div:nth-child(4n + 3)
    .tltblog-thumbnail,
  .tltblog-module-swiper
    .tltblog-container
    > div:nth-child(4n)
    .tltblog-thumbnail {
    grid-area: unset;
  }
  .tltblog-module-swiper
    .tltblog-container
    > div:nth-child(4n + 3)
    .tltblog-caption,
  .tltblog-module-swiper
    .tltblog-container
    > div:nth-child(4n)
    .tltblog-caption {
    grid-area: unset;
  }
  .tltblog-module-swiper
    .tltblog-container
    > div:nth-child(4n + 3)
    .tltblog-caption
    h1,
  .tltblog-module-swiper
    .tltblog-container
    > div:nth-child(4n)
    .tltblog-caption
    h1 {
    margin-top: inherit;
  }
  .tltblog-module-swiper .tltblog-header {
    margin-bottom: 15px;
  }
}

/* end blog module */

#news-latest {
}

.news-latest-spacer {
  height: 150px;
}

#news-latest .swiper-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 30px;
}
#news-latest .swiper-pagination-bullet {
  height: 2px;
  border-radius: unset;
  margin: 0;
  background: #dddddd;
  opacity: 1;
}
#news-latest .swiper-pagination-bullet-active {
  background: #999999;
}
.news-slideshow-pagination-wrap {
  display: flex;
  justify-content: flex-end;
}
#news-slideshow .swiper-slide {
  position: relative;
}
#news-slideshow .swiper-slide img {
  border-radius: 4px;
}

.news-tags {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.news-tags a {
  display: inline-block;
  padding: 5px 8px;
  font-size: 12px;
  font-family: "Jost";
  font-weight: 400;
}

.tltblog-module-swiper > h3 {
  margin: 0 0 20px 0;
  text-decoration: underline;
  font-weight: 600;
}

.tltblog-container .row > div:nth-child(1) {
  border-right: 1px dashed #999999;
  padding-right: 30px;
}
.tltblog-container .row > div:nth-child(2) {
  padding-left: 30px;
}

.tltblog-swiper > h3 {
  font-size: 20px;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .news-tags {
    margin: 0 0 20px 0;
  }
  .news-latest-spacer {
    height: 80px;
  }

  .tltblog-container .row > div:nth-child(1) {
    border-right: none;
    padding-right: 15px;
  }
  .tltblog-container .row > div:nth-child(2) {
    padding-left: 15px;
  }
}
