/*
   Theme Name: Child theme of lovecraft
   Theme URI: URL
   Description: DESCRIPTION
   Version: 100
   Template: lovecraft
   Author URI:
   Text Domain: Child theme of lovecraft
*/

/* @import url('../lovecraft/style.css'); */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');


/* Fonts sizes */
html {
   font-size: 12px;
}


/* Clear Default Styles */
* {
   box-sizing: border-box;
}
body {
   font-family: 'Poppins', sans-serif;
   font-size: 1.2rem;
   line-height: 1.5;
   color: #333;
   background-color: var(--background-color);
   margin: 0;
   padding: 0;
}

button {
   border: none;
}

ul {
   list-style-type: none;
   padding: 0;
   margin: 0;
}

a {
   text-decoration: none;
   color: #000;
}


.header-container {
   background-color: transparent;
   display: flex;
   justify-content: space-between;
   height: 7.2rem;
   position: fixed;
   width: 100%;
   z-index: 2;
   top:0;
}

.admin-bar .header-container {
   top: 32px;
}


body header .header-container::after{
   content: '';
   display: block;
   clear: both;
   position: absolute;
   background-color: var(--primary-color);
   border-bottom-right-radius: 0;
   width: 100vw;
   height: 7.2rem;
   z-index: -1;
   transition: width 0.5s, border-bottom-right-radius 0.2s 0.3s;
   box-shadow: 1px 1px 6px #0000004F;
}




body.page header .header-container::after{
   width: 100vw;
   border-bottom-right-radius: 0;
   box-shadow: none;
}

body.in-top.home header .header-container::after{
   background-color: var(--primary-color);
   border-bottom-right-radius: 20%;
   width: 14rem;
   transition: width 0.5s, border-bottom-right-radius 0.1s;
}

body.in-top.no-load header .header-container::after {
   transition: none !important;
}

body.in-top.home .header-container {
   background-color: transparent;
}

body.in-top .navigation a {
   color: #000;
}

body .navigation a {
   color: #fff;
   transition: color 0.5s;
}

body.in-top:not(.home) .navigation a {
   color: #fff;
}


.logo {
   margin: 0 2rem 0 1.5rem;
}

.logo > a {
   display: block;
}

.logo svg {
   width: 10rem;
   transform: translateY(0.5rem);

}

.header-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

ul#menu-main-menu {
    display: flex;
    gap: 1.8rem;
    font-size: 1.3rem;
    height: 100%;
    align-items: center;
    color: #000;
    padding-right: 3.8rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.menu-main-menu-container {
    height: 100%;
}

.header-search {
   position: relative;
   z-index: 0;
}

.header-search * {
   color: #333;
}

.header-box {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.types-tabs {
   display: flex;
   justify-content: center;
   margin-top: 1.6rem;   
}

.types-tabs li {
   border-bottom: 1px solid;
   padding: 0 1.8rem;
   text-transform: uppercase;
   font-weight: 600;
   letter-spacing: 0.1rem;
}

/* .no-load .types-tabs li a, 
.no-load .types-tabs li a.active {
   animation: none;
} */

.types-tabs li a {
   display: block;
   text-shadow: 1px 1px 3px #ffffff;
   height: 2rem;
   padding: 0 .6rem 0.3rem;
}

.types-tabs li a.active {
   animation: BorderBottom .6s forwards ease-in-out;
}

@keyframes BorderBottom {
   0% {
      border-bottom: 0px solid;
   }
   60% {
      border-bottom: 4px solid ;
   }
   70% {
      border-bottom: 4px solid ;
   }
   80% {
      border-bottom: 1px solid ;
   }
   85% {
      border-bottom: 1px solid ;
   }
   100% {
      border-bottom: 3px solid ;
   }
}

.header-box h1 {
   /* font-family: 'Handelson One'; */
   font-family: "Alex Brush", cursive;
   font-size: 7rem;
   font-weight: 600;
   margin-bottom: 1rem;
   text-shadow: 1px 1px 5px #ffffff;
}
.header-search h2 {
   width: 42rem;
   margin: auto;
   line-height: 2.5rem;
   font-size: 1.5rem;
   letter-spacing: 0.1rem;
   text-shadow: 1px 1px 3px #ffffff;
}

.search-field {
   position: relative;
   margin: auto;
   margin-top: 1.8rem;
   width: 60rem;
   max-width: 90vw;
}

.search-field input {
   width: 100%;
   padding: 1rem 2rem;
   border: 1px solid #333;
   border-radius: 3.5rem;
   font-size: 1.2rem;
}

.search-field svg {
   position: absolute;
   width: 2.5rem;
   right: 1.2rem;
   top: 2.2rem;
}

.page-id-12 h1 {
    position: absolute;
    top: -1000px;
}

.page-id-12 main .post-content > * {
    position: absolute;
    top: -1200px;
}

.page-id-12 main .post-content > div:has(> .inmo-results-container) {
   position: relative;
   top: 0;
}


footer.footer > div .widgets {
    width: 100%;
}

.no-load header {
   opacity: 0;
}

.hero h2 {
   font-family: 'Alex Brush', cursive;

   font-size: 4rem !important;
}

@media(max-width: 1700px) {
   label.inmo-feature {
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
  .parcela-sep {
    display: none;
  }
  .inmo-card-location {
   min-width: 120px;
 }
 .inmo-results-view .inmo-card-content .title {
   font-size: 14px;
 }
 .inmo-results-view .inmo-card-content .subtitle {
   font-size: 12px;
 }
}

@media(max-width: 1500px) {
   .inmo-card-content {
      width: 100%;
   }

   .inmo-results-view .inmo-card {
      height: auto;
   }

   .inmo-card-gallery {
      width: 100%;
   }

   .inmo-results-view .inmo-card-content {
      width: 100%;
   }
   label.inmo-feature {
      display: flex;
      flex-direction: row;
      justify-content: center;
   }
   .parcela-sep {
      display: inline-block;
   }
   .inmo-card-location {
      min-width: 150px;
    }
    .inmo-results-view .inmo-card-content .title {
      font-size: 16px;
    }
    .inmo-results-view .inmo-card-content .subtitle {
      font-size: 14px;
    }
    footer.footer > div {
      display: flex;
      width: 100%;
      margin: auto;
      justify-content: space-between;
      color: white;
  }
  .inmo-results-view.inmo-view-grid .inmo-card-content {
   width: 100%;
}
.home a.inmo-card {
   width: calc(50% - 24px);
}

.home .inmo-results-view {
   display: flex;
   flex-wrap: wrap;
   width: 40%;
   justify-content: space-between;
}

.inmo-card.inmo-card-empty {
   display: none;
}

.home .inmo-results-view {
   width: 100%;
   
}

.inmo-results-view.inmo-view-grid:after {
   display: none;
}


}
@media(max-width: 1220px) {
   .header-box h1 {
      font-size: 5rem;
   }
   .hero h2 {
      font-size: 3.5rem !important;
   }
}
@media(max-width: 992px) {
   html {
      font-size: 10px;
   }
   button.inmo-results-filters-show-btn.btn-primary {
      background: #f3c57e;
      color: white;
  }
  .inmo-results-filters-main {
   flex-direction: column;
   height: auto;
   padding-top: 20px !important;
   padding-bottom: 20px !important;
   padding-left: 20px !important;
   padding-right: 20px !important;
   align-items: flex-start;
}

label.inmo-label-filter {margin-left: 0;}
   label.inmo-feature {
      display: flex;
      flex-direction: row;
      justify-content: center;
   }
   .parcela-sep {
      display: inline-block;
   }
   body.home header .header-container::after {
      background-color: var(--primary-color) !important;
      border-bottom-right-radius: 0 !important;
      width: 100% !important;
      transition: none !important;
      color: #fff !important;
      box-shadow: none !important;
   }

   body .navigation a {
      color: #fff !important;
      font-size: 14px !important;
   }

   .footer .section-inner {
      flex-direction: column;
   }

   .footer .section-inner > * {
      width: 100%;
      overflow: hidden;
   }


   .hero .container {
      padding: 0 1rem !important;
   }

   div#block-13 iframe {
      max-width: calc(100vw - 4rem);
   }

   footer.footer {
      padding: 2rem;
      overflow: hidden;
   }

   .header-container {
      flex-direction: column;
      height: auto;
      box-shadow: 0px 2px 8px rgba(0, 0, 0, .3);
   }

   body header .header-container::after {
      height: 100%;
   }

   header .navigation {
      padding-bottom: 5px;
      padding-top: 5px;
      display: flex;
      justify-content: flex-end;
      background: #c9b096;
   }

   .hero h2 {
      font-family: 'Alex Brush', cursive;
      width: auto;
   }



   .header-search h2 {
      width: auto;
      line-height: 2rem;
   }

   .hero h2 {
      font-family: 'Alex Brush', cursive;
      width: auto !important;
   }

   ul#menu-main-menu {
      padding-right: 1rem;
   }

   .home a.inmo-card {
      width: 100%;
   }

   .featured-properties h2,
   .about h2,
   .testimonials h2,
   .newsletter h2 {
      font-size: 28px !important;
   }

   .about p {
      font-size: 14px !important;
      padding: 0 1rem;
   }

   .hero p {
      font-size: 14px !important;
      margin-bottom: 0 !important;
   }

   .logo > a {
      text-align: center;
   }

   .hero .container > a.btn {
      margin-top: 0 !important;
      margin-bottom: 20px !important;
      font-size: 1.5rem;
      text-transform: uppercase;
      font-weight: 600;
      letter-spacing: .1rem;
   }

   .hero .container {
      height: 288px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
   }

   .header-image {
      width: 100%;
      height: calc(100dvh - 288px);
      object-fit: cover;
      display: block;
   }

   .header-box {
      transform: translate(-50%, -30%);
   }

   footer.footer h3 {
      font-size: 1.5rem;
   }

   .newsletter button {
      display: block;
      margin: 1.5rem auto;
   }

   .logo svg {
      width: 12rem;
   }

   .services {
      padding: 30px 0 !important;
   }

   .container {
      padding: 20px 10px !important;
   }

   footer.footer ul.wp-block-list, footer.footer ul.menu {
      font-size: 9px !important;
   }
   .footer sub {
      font-size: 8px !important;
   }

   body #site-content .is-layout-flex {
      flex-direction: column;
   }

   .inmo-results-view {
      width: 100%;
   }

   .inmo-results-map-container {
      width: 100%;
      position: relative;
   }

   body.page-id-94 .wp-block-group.is-nowrap.is-layout-flex > * {
      width: 100%;
   }

   .inmo-results-container .results {
      flex-direction: column;
   }

   .inmo-results-map-container {
      right: auto;
      border: 0;
      margin-bottom: 4rem;
   }

   .inmo-results-map {
      border-radius: 0;
      border-left: 0;
      border-right: 0;
   }

   .inmo-results-container .inmo-results-view.inmo-view- {
      min-height: auto;
      margin-bottom: 40px;
      order: 1;
   }
   

   .wp-singular.post-template-default #site-content, 
   .blog #site-content, 
   body.category #site-content, 
   body.error404 #site-content, 
   body.archive #site-content, 
   .search #site-content, 
   .page-template-default #site-content {
      width: 100vw;
      margin-top: 140px;
   }

   .admin-bar main#site-content:has(.inmo-results-container) {
      margin-top: 42px;
   }

   main#site-content:has(.inmo-results-container) {
      margin-top: 10px;
   }

   main#site-content:has(.inmo-results-container) a.inmo-card {
      height: auto;
   }

   .inmo-results-view .inmo-card-content  {
      width: 100%;
   }

   .inmo-card-gallery {
      width: auto;
   }

   body.search .section-inner.group .content, body.category .section-inner.group .content, body.error404 .section-inner.group .content, body.archive .section-inner.group .content, .blog .section-inner.group .content {
      width: calc(100% - 4rem) !important;
      margin: 0 auto;
      padding-right: 0; 
   }

   body.search .section-inner.group aside.sidebar, body.category .section-inner.group aside.sidebar, body.error404 .section-inner.group aside.sidebar, body.archive .section-inner.group aside.sidebar, .blog .section-inner.group aside.sidebar {
      width: calc(100% - 4rem);
      margin-top: 8rem;
      margin-left: auto;
      margin-right: auto;
      font-size: 1.1rem;
   }

   body.search .section-inner.group, body.category .section-inner.group, body.error404 .section-inner.group, body.archive .section-inner.group, .blog .section-inner.group {
      flex-wrap: wrap;
      padding: 0;
   }

   body.search .posts > .post .post-content.entry-content p, body.category .posts > .post .post-content.entry-content p, body.error404 .posts > .post .post-content.entry-content p, body.archive .posts > .post .post-content.entry-content p, .blog .posts > .post .post-content.entry-content p {
      font-size: 1.1rem;
      text-align: center;
   }

   body.page-id-94 .content {
      border-left: 0;
      border-right: 0;
      border-radius: 0;
   }

   body {
      font-size: 1.2rem;
   }

   .wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex .wp-block-button a {
      font-size: 1.5rem;
   }

   .single-inmo .section-inner {
      border-left: 0;
      border-right: 0;
      border-radius: 0;
   }

   .inmo-block.cols2 {
      flex-direction: column;
      margin-top: 150px;
   }

   .inmo-features-block {
      width: 100%;
      margin-bottom: 140px;
   }

   .inmo-features-block:after {
      display: none;
   }

   .inmo-contact-block-container {
      flex-direction: column;
   }

   .inmo-contact-block-item.whatsapp {
      width: 100%;
      /* min-height: 180px; */
   }

   .inmo-contact-block-item.whatsapp .container {
      min-height: 240px;
      margin-bottom: 90px;
   }

   .inmo-contact-block-item.whatsapp .text p {
      font-size: 2rem;
   }

   .inmo-contact-block-item.whatsapp .text .contact-by {
      font-size: 1.2rem;
   }

   .whatsapp span.highlight {
      top: 92px;
   }

   .inmo-contact-block-item.whatsapp .icon {
      bottom: 6px;
   }

   .inmo-contact-block-item.whatsapp .text {
      padding: 16px;
   }

   .inmo-feature-body.title {
      flex-direction: column;
      padding: 25px;
   }

   .inmo-feature-body-addr {
      text-align: left;
      display: flex;
      align-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
      font-size: 1.3rem;
   }

   .inmo-feature-body.title i {
      font-size: 1.2rem;
   }

   .inmo-card-icons {
      flex-direction: column;
      font-size: 1rem;
      justify-content: flex-end;
      align-items: flex-end;
   }

   label.inmo-feature {margin-bottom: -1px;}

   .inmo-row {
      display: flex;
      gap: 1px;
      align-items: flex-end;
   }

   .inmo-gallery-imgs {
      flex-direction: column;
   }

   .inmo-gallery-imgs .inmo-gallery-img {
      width: 100% !important;
   }

   .wp-singular.post-template-default {
      background: white;
   }

   .single-inmo main#site-content {
      background: #f9f5f2;
   }

   .page-template-default #site-content {
      padding: 20px;
   }

   .page-id-94.page-template-default #site-content {
      padding: 0;
   }

   .page-template-default ol.wp-block-list {
      padding-left: 40px;
   }

   .wp-singular.post-template-default #site-content,
   .single-inmo .section-inner {
      border-bottom: 0;
   }

   .wp-singular.post-template-default,
   .single-inmo footer.footer {
      margin-top: 0;
   }

   .single-inmo .inmo-title h1 {
      font-size: 2.2rem;
   }

   .single-inmo .inmo-title h2 {
      font-size: 1.2rem;
      margin-top: 8px;
   }

   .wp-singular.post-template-default #site-content {
      margin-top: 0;
   }

   .wp-singular.post-template-default #site-content {
      border-left: 0;
      border-right: 0;
      border-radius: 0;
   }

   .inmo-description {
      margin: 0px 3rem 8rem;
   }

   .header-box {
      max-width: 90%;
   }
   
}

@media(max-width: 400px) {
   .inmo-card-head-left {
      width: 153px;
   }
   .header-box {
      max-width: 90%;
   }

   .hero h2 {
      width: auto !important;
      font-size: 2.3rem !important;
   }
   label.inmo-feature {
      display: flex;
      flex-direction: column;
      justify-content: center;
  }
  .parcela-sep {
    display: none;
  }
}

.inmo-field:has(select[name*=inmo-tipo_ofer]) {
   display: none;
}