.building-card {
  height: 540px;
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
@media (max-width: 768px) {
  .building-card {
    height: 300px;
  }
}
.building-card img.logo {
  max-width: 200px;
  transition: all 0.4s;
}
.building-card .content {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 4rem 2rem;
  transition: all 0.4s;
}
.building-card:hover img {
  transform: scale(1.1);
}
.building-card:hover .content {
  padding: 4rem 2rem 5rem 2rem;
}

.button-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.btn {
  font-size: 13px !important;
  padding: 0.8rem 2.6rem;
  text-transform: uppercase;
  font-weight: bold;
}
.btn:hover {
  font-size: 13px !important;
}
.btn.btn-checkbox {
  border-radius: 50px !important;
  border: 1px solid #ced4da;
  background-color: #FFF;
}
.btn.btn-secondary {
  color: #FFF !important;
}

footer .btn-top {
  top: -10px;
  right: 20px;
}
footer ul.links li {
  width: calc(50% - 1rem);
}
footer ul.links li::marker {
  color: #e84242;
}

.form-control, .form-select {
  padding: 12px 12px 12px 16px;
}

.input-range-slider {
  position: relative;
  width: 100%;
  height: 30px;
}
.input-range-slider input {
  position: absolute;
  overflow: hidden;
  left: 0;
  top: 0px;
  width: 100%;
  outline: none;
  height: 25px;
  margin: 0;
  padding: 0;
}
.input-range-slider input[type=range] {
  -webkit-appearance: none;
  /* Hides the slider so that custom slider can be made */
  width: 100%;
  /* Specific width is required for Firefox. */
  background: transparent;
  /* Otherwise white in Chrome */
}
.input-range-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}
.input-range-slider input[type=range]:focus {
  outline: none;
  /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}
.input-range-slider input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
.input-range-slider input[type=range]::-webkit-slider-runnable-track {
  height: 5px;
  border: none;
  border-radius: 3px;
  background: transparent;
}
.input-range-slider input[type=range]::-ms-track {
  height: 5px;
  background: transparent;
  border: none;
  border-radius: 3px;
}
.input-range-slider input[type=range]::-moz-range-track {
  height: 5px;
  background: transparent;
  border: none;
  border-radius: 3px;
}
.input-range-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #e84242;
  margin-top: -5px;
  position: relative;
  z-index: 10;
}
.input-range-slider input[type=range]::-ms-thumb {
  -webkit-appearance: none;
  border: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #e84242;
  margin-top: -5px;
  position: relative;
  z-index: 10;
}
.input-range-slider input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  border: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #e84242;
  margin-top: -5px;
  position: relative;
  z-index: 10;
}
.input-range-slider input[type=range]:focus {
  outline: none;
}
.input-range-slider .track {
  width: 100%;
  height: 4px;
  left: 0;
  top: 14px;
  position: absolute;
  background: #DDD;
  pointer-events: none;
}
.input-range-slider .range {
  width: 100%;
  height: 8px;
  left: 0;
  top: 11px;
  position: absolute;
  background: #252e5e;
  pointer-events: none;
}

img.hover-expand {
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.4s;
  position: relative;
}
img.hover-expand:hover {
  border-radius: 10px;
  opacity: 1;
  transform: scale(1.2);
  z-index: 10;
}

.flickity-page-dots {
  bottom: 10px;
}
.flickity-page-dots .flickity-page-dot {
  background-color: #FFF;
}
.flickity-page-dots .flickity-page-dot.is-selected {
  background-color: #e84242 !important;
}

.imob-hero {
  position: relative;
}
.imob-hero .bg-rectangle {
  height: calc(100% + 100px);
}
.imob-hero .subtitle {
  letter-spacing: 0.2rem;
}
.imob-hero .image {
  width: 100%;
}
@media (min-width: 768px) {
  .imob-hero .image {
    width: 50vw;
    height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-left: -60px;
  }
}

.imob-cta-types .item {
  overflow: hidden;
  transition: all 0.3s;
}
.imob-cta-types .item img {
  left: 0px;
  transition: all 0.3s;
}
.imob-cta-types .item:hover {
  opacity: 0.9;
}
.imob-cta-types .item:hover img {
  transform: translateX(-10px);
}
@media (min-width: 768px) {
  .imob-cta img {
    height: 430px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .imob-cta .content {
    height: 430px;
  }
}

.blog-card {
  overflow: hidden;
}
.blog-card img {
  width: 100%;
  height: 190px;
  -o-object-fit: cover;
     object-fit: cover;
}

.property-card {
  position: relative;
  overflow: hidden;
}
.property-card .badges {
  position: absolute;
  top: 30px;
  left: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  text-transform: capitalize;
}
.property-card .images img.full {
  height: 140px;
}
.property-card .images img.half {
  height: 66px;
}
.property-card .images img.half:first-child {
  margin-bottom: 8px;
}

section {
  position: relative;
}
section .bg-rectangle {
  display: none;
}
section.template-imob-right .bg-rectangle {
  display: block;
  position: absolute;
  width: 100%;
  height: 70%;
  right: 0px;
  bottom: 0px;
}
@media (min-width: 768px) {
  section.template-imob-right .bg-rectangle {
    width: 50vw;
    right: 0px;
    top: -1rem;
    height: calc(100% + 2rem);
    border-bottom-left-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
  }
}
section.template-imob-left .bg-rectangle {
  display: block;
  position: absolute;
  width: 100%;
  height: 70%;
  left: 0px;
  bottom: 0px;
}
@media (min-width: 768px) {
  section.template-imob-left .bg-rectangle {
    width: 50vw;
    left: 0px;
    top: -1rem;
    height: calc(100% + 2rem);
    border-bottom-right-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }
}
