/*
 * Copyright inpleworks, Co.
*/
.xet-rest-content .item {
  color: var(--text-base-color);
}
.xet-rest-content .item .thumbnail a > i {
  font-size: 20px;
}

/* List
---------------------------------*/
.xet-rest-list .flex-table .flex-table-tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.xet-rest-list .flex-table .flex-table-tr .flex-table-td.title {
  flex: 1;
  padding-right: 0.5rem;
}
.xet-rest-list .flex-table .flex-table-tr .flex-table-td .category {
  margin-right: 4px;
}
.xet-rest-list .flex-table .flex-table-tr .flex-table-td span.icon {
  margin-right: 4px;
}

/* Webzine
---------------------------------*/
.xet-rest-webzine {
  position: relative;
}
.xet-rest-webzine .item .thumbnail {
  position: relative;
  transition: var(--transition-all);
}
.xet-rest-webzine .item .thumbnail img {
  vertical-align: top;
  width: 100%;
  transition: var(--transition-all);
}
.xet-rest-webzine .item .thumbnail a {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  transition: var(--transition-all);
}
.xet-rest-webzine .item .thumbnail a > i {
  display: none;
}
.xet-rest-webzine .item .contents p span,
.xet-rest-webzine .item .contents p span a {
  display: inline-block;
  margin-right: 6px;
}

/* Gallery
-------------------------------------- */
.xet-rest-gallery .item {
  overflow: hidden;
  background-color: var(--dark-content-bg-color);
}
.xet-rest-gallery .item .vertical-align {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 33%);
}
.xet-rest-gallery .item .link-wrp {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-all);
}
.xet-rest-gallery .item .link-wrp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  transition: var(--transition-all);
}
.xet-rest-gallery .item .link-wrp a > i {
  display: none;
}
.xet-rest-gallery .contents {
  color: #fff;
  background-color: transparent !important;
}
.xet-rest-gallery .contents span {
  margin: 0 3px;
}

/* Masonry gallery
-------------------------------------- */
.xet-rest-masonry-filter {
  text-align: center;
  margin-bottom: 1rem;
}
.xet-rest-masonry-filter button {
  display: inline-block;
  cursor: pointer;
  margin: 0 0.5rem 1rem;
  padding: 0.5rem;
  text-decoration: none;
  background: none;
  color: inherit;
  border: 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition-all);
}
.xet-rest-masonry-filter button.current {
  color: var(--theme-color);
  border-bottom-color: var(--theme-color);
}

.xet-rest-masonry .item {
  color: #fff;
}
.xet-rest-masonry .thumbnail figure {
  position: relative;
  overflow: hidden;
  transition: var(--transition-all);
}
.xet-rest-masonry .thumbnail figure img {
  display: block;
  vertical-align: top;
  width: 100%;
  transition: var(--transition-all);
}
.xet-rest-masonry .thumbnail figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: var(--transition-all);
}
.xet-rest-masonry .thumbnail figcaption .vertical-align {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 33%);
}
.xet-rest-masonry .thumbnail figcaption span {
  margin: 0 3px;
}
.xet-rest-masonry .thumbnail a {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-all);
}
.xet-rest-masonry .thumbnail a > i {
  display: none;
}

/* init Isotope */
.visible_item {
  display: none;
}

/* Blog
-------------------------------------- */
.xet-rest-blog .thumbnail {
  position: relative;
  overflow: hidden;
  background-color: var(--dark-content-bg-color);
}
.xet-rest-blog .thumbnail img {
  width: 100%;
  vertical-align: top;
  transition: var(--transition-all);
}
.xet-rest-blog .thumbnail a {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-all);
}
.xet-rest-blog .thumbnail a > i {
  display: none;
}
.xet-rest-blog .contents span {
  margin: 0 3px;
}

/* scroll
-------------------------------------- */
.xet-rest-scroll .item .thumbnail {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: var(--dark-content-bg-color);
}
.xet-rest-scroll .item .thumbnail .vertical-align {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 33%);
}
.xet-rest-scroll .item .thumbnail span {
  margin: 0 3px;
}
.xet-rest-scroll .item .thumbnail .contents {
  color: #fff !important;
}
.xet-rest-scroll .item .thumbnail a {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-all);
}
.xet-rest-scroll .item .thumbnail a > i {
  display: none;
}
.xet-rest-scroll .owl-nav {
  transition: var(--transition-all);
}

/* Scroll Tab
-------------------------------------- */
.xet-rest-tab .xet-tab-swiper-list {
  position: relative;
  overflow: hidden;
  height: 40px;
}
.xet-rest-tab .xet-tab-swiper-list .scroller {
  overflow: hidden;
  width: 100%;
  height: 60px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 15px;
}
.xet-rest-tab .xet-tab-swiper-list .scroller ul {
  padding: 0 1rem;
  margin: 0 auto;
  display: table;
  text-align: center;
}
.xet-rest-tab .xet-tab-swiper-list .scroller ul li {
  position: relative;
  display: table-cell;
  padding: 0px 1rem;
}
.xet-rest-tab .xet-tab-swiper-list .scroller ul li a {
  display: inline-block;
  white-space: nowrap;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: var(--transition-all);
}
.xet-rest-tab .xet-tab-swiper-list .scroller ul li.on a {
  color: var(--theme-color);
  border-color: var(--theme-color);
}
.xet-rest-tab .item {
  position: relative;
}
.xet-rest-tab .item .thumbnail {
  color: #ababab;
  background-color: var(--dark-content-bg-color);
}
.xet-rest-tab .item .thumbnail .vertical-align {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 33%);
}
.xet-rest-tab .item .thumbnail span {
  margin: 0 3px;
}
.xet-rest-tab .item .thumbnail a {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  transition: var(--transition-all);
}
.xet-rest-tab .item .thumbnail a > i {
  display: none;
}
.xet-rest-tab .contents {
  background-color: transparent !important;
  color: #fff;
}

/* responsive */
@media (max-width: 767px) {
  .xet-rest-masonry-filter button {
    margin: 0 0 10px;
    padding: 5px 15px;
    font-size: 13px;
  }

  .xet-rest-container .item {
    text-align: center;
  }
}
@media (min-width: 1024px) {
  /* Webzine
  ---------------------------------*/
  .xet-rest-webzine .item .thumbnail a {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .xet-rest-webzine .item .thumbnail a > i {
    display: block;
  }
  .xet-rest-webzine .item:hover .thumbnail a {
    opacity: 1;
  }

  /* gallery
  -------------------------------------- */
  .xet-rest-gallery .item .link-wrp {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .xet-rest-gallery .item .link-wrp a > i {
    display: block;
  }
  .xet-rest-gallery .item:hover .link-wrp {
    opacity: 1;
  }

  /* Masonry gallery
  -------------------------------------- */
  .xet-rest-masonry .item .thumbnail a {
    opacity: 0;
  }
  .xet-rest-masonry .item .thumbnail a > i {
    display: block;
  }
  .xet-rest-masonry .item:hover .thumbnail a {
    opacity: 1;
  }
  .xet-rest-masonry .item:hover .thumbnail figure img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  .xet-rest-masonry .item:hover .thumbnail figcaption {
    background-color: rgba(0, 0, 0, 0.3);
  }

  /* Blog
  -------------------------------------- */
  .xet-rest-blog .item .thumbnail a {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .xet-rest-blog .item .thumbnail a > i {
    display: block;
  }
  .xet-rest-blog .item:hover .thumbnail a {
    opacity: 1;
  }
  .xet-rest-blog .item:hover .thumbnail img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  /* Scroll
  -------------------------------------- */
  .xet-rest-scroll .item .thumbnail a {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .xet-rest-scroll .item .thumbnail a > i {
    display: block;
  }
  .xet-rest-scroll .item:hover .thumbnail a {
    opacity: 1;
  }
  .xet-rest-scroll:hover .owl-nav {
    opacity: 1;
  }

  /* Scroll Tab
  -------------------------------------- */
  .xet-rest-tab .item .thumbnail a {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .xet-rest-tab .item .thumbnail a > i {
    display: block;
  }
  .xet-rest-tab .item:hover .thumbnail a {
    opacity: 1;
  }

  /* List
  -------------------------------------- */
  .xet-rest-list .flex-table .flex-table-td a:hover {
    text-decoration: underline;
  }
}