/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
Tags: blog, custom-logo, e-commerce, rtl-language-support, post-formats, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/

.invisible {
  visibility: hidden !important;
}

.venum__button {
  display: block;
  text-align: center;
  color: #ffffff;
  background-color: var(--nv-primary-accent);
  border-radius: 0.25rem;
  padding: 0.75rem 2.5rem;
  white-space: nowrap;
}

.venum__button:hover {
  color: #ffffff;
  background-color: var(--nv-secondary-accent);
  text-decoration: none;
}

.archive-container,
.single-container {
  position: relative;
  padding: 0 1.25rem;
  width: 100%;
  max-width: 1140px;
  margin: 3rem auto;
}

@media (min-width: 1140px) {
  .archive-container,
  .single-container {
    padding: 0;
  }
}

.form .pagination {
  margin-top: 2em;
  display: flex;
  justify-content: center;
}

.no-results {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search__settings {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2em 0;
}

.search__count {
  flex-grow: 1;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2em;
}

.card {
  width: 100%;
  border: 0;
  background-color: #ffffff;
  box-shadow: 0 0 black, 0 0 black, 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.card__inner {
  position: relative;
  margin: 0;
  background-color: #ffffff;
  transition: 0.22s ease-out;
  transition-property: transform, box-shadow;
}

.card__link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.card__photo {
  position: relative;
  margin: 0;
  padding: 0;
  aspect-ratio: 4/3;
}

.card__more {
  transition: all 0.3s;
}

.card__maintitle,
.card__excerpt {
  padding: 0.875rem 1rem;
}

.card__maintitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--nv-text-color);
  background-color: var(--nv-primary-accent);
  transition: all 0.3s;
}

.card__excerpt {
  position: absolute;
  top: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s;
}

.card__excerpt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: var(--nv-primary-accent);
  transform: translate3d(-100%, 0, 0);
  transition: all 0.3s;
}

.card__more .card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.card__excerpt h4 {
  text-transform: uppercase;
}

.card__excerpt p {
  margin-top: 0.5rem;
  color: var(--nv-text-color);
  font-size: 0.875rem;
}

.card__subtitle {
  font-size: 0.875em;
  color: #ffffff;
}

.card__image {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: cover;
  transition: all 0.3s;
}

.card__info {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  justify-content: space-between;
  width: 95%;
  padding: 0.5rem 0.875rem;
  background-color: var(--nv-primary-accent);
}

.card__price,
.card__status {
  font-weight: 500;
  color: #ffffff;
}

.card__status {
  text-transform: uppercase;
}

.details {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  margin-top: 1rem;
  justify-content: space-between;
  gap: 1rem;
}

.details__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  color: var(--nv-primary-accent);
}

.details__value {
  font-weight: 700;
  color: var(--nv-text-color);
}

@media (min-width: 640px) {
  .search__settings {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card__photo {
    overflow: hidden;
  }

  .card__more {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .card__maintitle {
    align-items: flex-start;
    background-color: rgb(229, 38, 37, 0.7);
  }

  .card__excerpt {
    display: block;
    opacity: 0;
  }

  .card__image {
    width: calc(120%);
    -webkit-transform: translate3d(-10px, 0, 0);
    -moz-transform: translate3d(-10px, 0, 0);
    -ms-transform: translate3d(-10px, 0, 0);
    -o-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  .card__info {
    top: unset;
    bottom: 10px;
  }

  .card:hover .card__maintitle {
    opacity: 0;
  }

  .card:hover .card__more .card__title {
    color: var(--nv-primary-accent);
  }

  .card:hover .card__image {
    transform: translate3d(0, 0, 0);
  }

  .card:hover .card__excerpt {
    opacity: 1;
  }

  .card:hover .card__excerpt::after {
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.photos {
  position: relative;
}

.photos__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.55rem;
}

.photos__show {
  position: absolute;
  bottom: 1rem;
  left: 2rem;
  display: block;
  padding: 1rem;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  background-color: var(--nv-primary-accent);
  color: #ffffff;
  text-transform: unset;
}

.photos__show:hover {
  background-color: var(--nv-secondary-accent);
}

.photos__show i,
.venum__button i {
  margin-right: 0.25rem;
}

.photos__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  cursor: pointer;
}

.photos__image {
  position: relative;
  aspect-ratio: 16/9;
}

.photos__image:not(:first-child) {
  display: none;
}

.single,
.single .wrapper,
.single-container {
  overflow: visible !important;
}

.single__row {
  display: flex;
  flex-direction: column;
  position: relative;
}

.single__column {
  float: left;
}

.single__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.single__heading .single__title,
.single__heading .single__sub {
  font-weight: 600;
  color: var(--nv-text-color);
  margin: 0;
}

.single__heading .single__title {
  font-weight: 700;
  color: var(--nv-text-color);
  line-height: 36px;
}

.single__block {
  margin-top: 3rem;
}

.single__block__title {
  position: relative;
  text-transform: uppercase;
  line-height: 1;
}

.description__content:not(.toggler) p:nth-child(n + 2) {
  display: none;
}

.description__more {
  display: inline-block;
  color: var(--nv-primary-accent);
  cursor: pointer;
  transition: background 0.3s ease-out, border 0.3s ease-out,
    color 0.3s ease-out, fill 0.3s ease-out;
}

.description__more:hover {
  color: var(--nv-secondary-accent);
}

.description__more__text {
  pointer-events: none;
}

.single__boombox {
  position: -webkit-sticky;
  position: sticky;
  top: 3rem;
  padding: 1.875rem;
  background-color: #eeeeee;
  box-shadow: 0 10px 20px rgba(0, 44, 81, 0.2);
}

.single__share {
  position: absolute;
  top: 28px;
  right: 30px;
}

.single__share a {
  color: var(--nv-primary-accent);
  margin: 0 0.125rem;
}

.single__price__label {
  font-size: 1.5rem;
  line-height: 1;
  margin: 0;
}

.single__price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: var(--nv-text-color);
  text-transform: unset;
}

.single__status {
  display: inline-block;
  line-height: 2.5rem;
  color: #ffffff;
  background-color: var(--nv-primary-accent);
  margin: 0.625rem 0;
  padding: 0 1.25rem;
}

.single__contact {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.875rem;
}

.single__buttons {
  width: 100%;
}

.brochures__list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.875rem;
}

.brochures__item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: #eeeeee;
  box-shadow: 0 10px 20px rgba(0, 44, 81, 0.2);
}

.brochures__detail {
  flex-grow: 1;
}

.table {
  display: table;
  width: 100%;
  margin-left: 0.5rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.table__title {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.table__row {
  display: table-row;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.table__cell {
  display: table-cell;
  padding: 0.375rem;
}

.map {
  width: 100%;
}

@media (min-width: 720px) {
  .photos__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .photos__image {
    grid-column: span 4;
  }

  .photos__image:first-child {
    grid-column: span 8;
    grid-row: span 3;
  }

  .photos__image:nth-of-type(n + 2) {
    display: unset;
  }

  .photos__image:nth-of-type(n + 5) {
    display: none;
  }

  .single__header {
    flex-direction: row;
    justify-content: space-between;
  }

  .brochures__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .photos__image {
    grid-column: span 2;
  }

  .photos__image:nth-of-type(n + 5) {
    display: unset;
  }

  .photos__image:nth-of-type(n + 7) {
    display: none;
  }

  .photos__image:nth-of-type(2) {
    grid-column: span 4;
  }

  .photos__image:nth-of-type(6)::after {
    content: '+ attr(data-count)';
    position: absolute;
    background-color: var(--color-green);
    opacity: 0.7;
  }

  .single__row {
    flex-direction: row;
  }

  .single__column--main {
    width: 66%;
    margin-right: 2%;
  }

  .single__column--sidebar {
    width: 32%;
  }
}

/* Loading View styles */

.search-load-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
}

.search-loading .search-load-overlay {
  display: block;
}

.search-loading .results-container {
  -webkit-filter: blur(2px);
  filter: blur(2px);
}

.fancybox__container .carousel__button {
  color: var(--nv-primary-accent);
  background-color: transparent;
}

.fancybox__container .carousel__button:hover,
.fancybox__container .carousel__button:focus {
  color: var(--nv-secondary-accent);
  background-color: transparent;
}
