/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.1.55
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

a:focus {
  outline: none !important;
}
.typewriter-caret::after {
  content: "|";
  animation: tw-blink 1s step-end infinite;
  margin-left: 0.06em;
}

.elementor-icon svg {
  visibility: visible;
}

h1 * {
  font-style: normal !important;
  line-height: inherit;
  font-family: "TT Ramillas" !important;
}

/* CASAWP purchase filter */

.casawp-property-column--filter {
  align-self: flex-start;
  margin-bottom: 30px;
}

.casawp-property-filter-card {
  width: 100%;
  height: auto !important;
}

.casawp-property-card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
}

.casawp-property-card--empty p {
    margin: 0;
}

.casawp-property-filter-card .casawp-filterform-wrap {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 28px !important;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.casawp-filterform {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.casawp-filterform-field {
  width: 100%;
  margin: 0;
}

.casawp-filterform-field label {
  display: block !important;
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 600;
}

.casawp-property-filter-card select {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 48px;
  margin: 0 !important;
  padding: 8px 42px 8px 14px;
  border: 1px solid #b9c0c7;
  border-radius: 5px;
  background-color: #fff;
  font-family: inherit;
  font-size: 15px;
}
/* Zimmer and price ranges */

.casawp-filterform-range-group {
  margin-top: 5px;
}

.casawp-filterform-range-title {
  display: block;
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.casawp-double-range {
  position: relative;
  height: 22px;
}

.casawp-double-range__rail {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #c7ccd1;
  transform: translateY(-50%);
}

.casawp-double-range__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #003e42;
}

.casawp-double-range input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.casawp-double-range input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: transparent;
}

.casawp-double-range input[type="range"]::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  margin-top: -6px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 7px rgb(0 0 0 / 25%);
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}

.casawp-double-range input[type="range"]::-moz-range-track {
  height: 5px;
  background: transparent;
}

.casawp-double-range input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 7px rgb(0 0 0 / 25%);
  cursor: pointer;
  pointer-events: auto;
}

.casawp-double-range__values {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 14px;
}

.casawp-filterform-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-top: 12px;
}

.casawp-filterform-button {
  width: auto;
  margin: 0;
  padding: 11px 20px;
  border: 0;
  border-radius: 100px;
  background: var(--e-global-color-secondary);
  color: var(--e-global-color-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-transform: none !important;
  cursor: pointer;
}

.elementor-kit-19 a.casawp-filterform-reset {
  color: var(--e-global-color-text);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .casawp-property-filter-card .casawp-filterform-wrap {
    padding: 22px !important;
  }

  .casawp-filterform-title {
    font-size: 24px;
  }
}

/* ==========================================
   CASAWP FACTS
   ========================================== */

.immobene-casa-facts-grid {
  width: 100%;
}

.immobene-casa-fact {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid #dedede;
}

.immobene-casa-fact-icon {
  display: flex;
  width: 27px;
  height: 27px;
}

.immobene-casa-fact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.immobene-casa-fact-content {
  min-width: 0;
  line-height: 1.55;
}

.immobene-casa-fact-label {
  margin-right: 10px;
  color: inherit;
  font-size: inherit;
}

.immobene-casa-fact-value {
  color: inherit;
  font-size: inherit;
}

/* ==========================================
   CASAWP FEATURES
   ========================================== */

.immobene-casa-features-box {
  width: 100%;
}

.immobene-casa-features-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}

.immobene-casa-features-heading h3 {
  margin: 0;
  color: #4a4a4a;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.immobene-casa-features-icon {
  display: flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #4a4a4a;
}

.immobene-casa-features-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.immobene-casa-features-list {
  margin: 0;
  padding-left: 48px;
}

.immobene-casa-features-list li {
  margin-bottom: 5px;
}

/* Tablet and mobile */
@media (max-width: 767px) {
  .immobene-casa-facts-grid {
    grid-template-columns: 1fr;
  }

  .immobene-casa-features-list {
    padding-left: 40px;
  }
}

/* ==========================================
   CASAWP GALLERY
   ========================================== */

.immobene-casa-gallery {
  display: grid;
  grid-template-columns: repeat(
    var(--immobene-gallery-columns),
    minmax(0, 1fr)
  );
  gap: 18px;
  width: 100%;
}

.immobene-casa-gallery-item {
  display: block;
  height: 280px;
  overflow: hidden;
  border-radius: 8px;
}

.immobene-casa-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.immobene-casa-gallery-item:hover img {
  transform: scale(1.03);
}

.immobene-casa-gallery-hidden {
  display: none !important;
}

/* ==========================================
   DESCRIPTION SEPARATOR
   ========================================== */

.custom_prop_content .property-separator {
  height: 0;
  margin: 80px 0;
  border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .immobene-casa-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .immobene-casa-gallery-item {
    height: 240px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .immobene-casa-fact-row {
    align-items: flex-start;
  }

  .immobene-casa-gallery {
    grid-template-columns: 1fr;
  }

  .immobene-casa-gallery-item {
    height: 260px;
  }
}

/* ==========================================
   CASAWP PROPERTY GALLERY
   ========================================== */

.immobene-casa-main-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  height: 540px;
}

.immobene-casa-gallery-main,
.immobene-casa-gallery-right-item {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.immobene-casa-gallery-main {
  height: 540px;
}

.immobene-casa-gallery-right {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  min-height: 0;
  height: 540px;
}

.immobene-casa-gallery-main > img,
.immobene-casa-gallery-right-item > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  border-radius: 30px !important;
}

.immobene-casa-gallery-count-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 30px;
}

.immobene-casa-gallery-count {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.immobene-casa-gallery-hidden {
  display: none !important;
}

.immobene-casa-main-gallery.has-one-image {
  display: block;
}

.immobene-casa-main-gallery.has-two-images .immobene-casa-gallery-right {
  display: block;
}

.immobene-casa-main-gallery.has-two-images .immobene-casa-gallery-right-item {
  height: 100%;
}

@media (max-width: 1024px) {
  .immobene-casa-main-gallery,
  .immobene-casa-gallery-main,
  .immobene-casa-gallery-right {
    height: 440px;
  }
}

@media (max-width: 767px) {
  .immobene-casa-main-gallery {
    display: block;
    height: auto;
  }

  .immobene-casa-gallery-main {
    height: 320px;
  }

  .immobene-casa-gallery-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 10px;
    height: 170px;
    margin-top: 10px;
  }

  .immobene-casa-gallery-count {
    font-size: 16px;
  }
}

/* ==========================================
   CASAWP DESCRIPTION HEADING
   ========================================== */
.immobene-casa-description h2,
.immobene-casa-description h3 {
  margin-top: 50px;
  margin-bottom: 20px;
}

.immobene-casa-description h2:first-child,
.immobene-casa-description h3:first-child {
  margin-top: 0;
}
