/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

#brxe-cvhitx .eh-gallery {
  --arrow-size: 60px;
}

#brxe-cvhitx .eh-gallery .eh-gallery__arrow {
  background: var(--brand-green-light, #cef17b);
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: background-color 0.3s ease;
}

#brxe-cvhitx .eh-gallery .eh-gallery__arrow:hover {
  transform: translateY(-50%);
  background-color: #d5ff73;
}

#brxe-cvhitx .eh-gallery__arrow img {
  visibility: hidden;
}

#brxe-cvhitx .eh-gallery__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / contain no-repeat;
  transition: translate 250ms ease;
}

#brxe-cvhitx .eh-gallery__arrow--prev::after {
  background-image: url('gallery-arrow-left.svg');
}

#brxe-cvhitx .eh-gallery__arrow--next::after {
  background-image: url('gallery-arrow-right.svg');
}

#brxe-cvhitx .eh-gallery__arrow--prev:hover::after {
  translate: -3px 0;
}

#brxe-cvhitx .eh-gallery__arrow--next:hover::after {
  translate: 3px 0;
}

@media (prefers-reduced-motion: reduce) {
  #brxe-cvhitx .eh-gallery .eh-gallery__arrow {
    transition: none;
  }

  #brxe-cvhitx .eh-gallery__arrow::after {
    transition: none;
  }
}

.eh-gallery__thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 4px;
  scrollbar-width: none;
}

.eh-gallery__thumbnails::-webkit-scrollbar {
  display: none;
}

  #brxe-cvhitx .eh-gallery__thumbnail {
    flex: 0 0 80px;
    aspect-ratio: 5 / 3;
    padding: 0;
    border: 2px solid transparent;
    background: transparent;
    opacity: 0.65;
    cursor: pointer;
  }

  #brxe-cvhitx .eh-gallery__thumbnail[aria-current="true"] {
    border-color: var(--brand-green-dark, #084734);
    opacity: 1;
  }

  #brxe-cvhitx .eh-gallery__thumbnail:focus-visible {
    outline: 2px solid var(--brand-green-dark, #084734);
    outline-offset: 2px;
  }

  #brxe-cvhitx .eh-gallery__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

@media (max-width: 1024px) {
  #brxe-cvhitx .eh-gallery {
    --gallery-width: 100%;
    --arrow-size: 48px;
  }
}

#brxe-qjjlww .property-areas__number {
  color: #777;
  font-size: 0.85em;
  margin-right: 0.6em;
  white-space: nowrap;
}

body.single-byt .brxe-form .options-wrapper li:has(input[name="form-field-mxcztc[]"]) {
  align-items: center;
}

body.single-byt input[type="checkbox"][name="form-field-mxcztc[]"] {
  appearance: none;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #767676;
  border-radius: 3px;
  background: #fff;
  top: 0;
}

body.single-byt input[type="checkbox"][name="form-field-mxcztc[]"]:checked {
  border-color: var(--brand-green-light, #cef17b);
  background-color: var(--brand-green-light, #cef17b) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l3.2 3.2L14 5.5' fill='none' stroke='%23084734' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

body.single-byt input[type="checkbox"][name="form-field-mxcztc[]"]:focus-visible {
  outline: 2px solid #084734;
  outline-offset: 2px;
}

.btn-arrow-moving > svg {
  transition: translate 250ms ease, rotate 250ms ease;
}
.btn-arrow-moving:hover > svg {
  translate: 8px 0;
}

#brx-header #brxe-mtycgd .menu-item > a {
  text-decoration-line: underline;
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

body.home .eh-header:not(.is-scrolled) #brxe-mtycgd .bricks-nav-menu > .menu-item > a {
  color: #fff;
}

#brx-header #brxe-jwjidw path[fill="#084734"] {
  transition: fill 0.2s ease;
}

body.home .eh-header:not(.is-scrolled) #brxe-jwjidw path[fill="#084734"] {
  fill: #fff;
}

#brx-header #brxe-mtycgd .menu-item > a:hover,
#brx-header #brxe-mtycgd .menu-item > a:focus-visible {
  text-decoration-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .btn-arrow-moving > svg,
  #brx-header #brxe-jwjidw path[fill="#084734"],
  #brx-header #brxe-mtycgd .menu-item > a {
    transition: none;
  }
}


/* Plochy bytu */

#brxe-qjjlww {
  width: 100%;
}

.property-areas {
  width: 100%;
  color: #1b1b1b;
}

.property-areas__section + .property-areas__section {
  margin-top: 44px;
}

.property-areas__heading {
  margin: 0 0 14px;
  color: #005743;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.property-areas__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 12px 0;
  border-top: 1px solid #d8e3e0;
}

.property-areas__name,
.property-areas__size {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.property-areas__size {
  text-align: right;
  white-space: nowrap;
}

.property-areas__number {
  color: #949494;
  font-size: 13px;
  margin-right: 4px;
}

.property-areas__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 19px;
  border-top: 1px solid #d8e3e0;
  font-size: 16px;
  font-weight: 500;
}

.property-areas__total span:last-child {
  white-space: nowrap;
}

/* Mobil */
@media (max-width: 480px) {
  .property-areas__item {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 58px;
  }

  .property-areas__total {
    font-size: 15px;
  }

  .property-areas__section + .property-areas__section {
    margin-top: 36px;
  }
}

body.single-byt .eh-amenities__tabs.has-more-tabs-right {
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}

body.single-byt .eh-amenities__icon img:is(
  [src$="/east-hill-icon-svetlo.svg"],
  [data-lazy-src$="/east-hill-icon-svetlo.svg"],
  [src$="/east-hill-icon-triko.svg"],
  [data-lazy-src$="/east-hill-icon-triko.svg"]
) {
  width: 20px;
  height: 20px;
}
