@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
html{
    font-size: 17px;
}
* {
    box-sizing: border-box;
    outline: none;
}
body{
    font-size: 16px;
    font-family: Inter, sans-serif;
}
a, button {
    color: inherit;
    outline: none;
    border: none;
    background: transparent;
}
p{
	font-weight: 400;	
    font-size: 1rem;
}
p strong{
	font-weight: 500;
}
h1, h2, h3, h4, h5, h6{
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}
a{
	text-decoration: none;
	color: #000;
}
a:hover {
    color: #cf0004;
}
ul{
/*	list-style-type: none;*/
}
button:hover, button:focus, button:active{
	box-shadow: none !important;
	outline: none !important;
}

/* =============== */
/* UTILIDADES */
/* =============== */
.video-home:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, #fff 0%, transparent 15%);
    z-index: 1;
}
.video-home:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgb(255 255 255) 90%);
}
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-stage {
    height: 100%;
}
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    z-index: 1;
    color: #fff;
    font-size: 40px;
}
.owl-dots{
	height: 30px;
}
.owl-dots button.owl-dot{
	padding: 0 5px;
}
.owl-dots button.owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    z-index: 1;
    position: relative;
    border-radius: 50%;
    display: flex;
}
.owl-dots button.owl-dot.active span {
    background: #fff;
}

.cbp-af-header {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: var(--bs-white);
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
.cbp-af-header-transparent{
    background-color: transparent;
    position: absolute;
}
.cbp-af-header.cbp-af-header-shrink {
    background-color: var(--bs-black);
    position: fixed !important;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    border-bottom: 1px solid rgba(23, 23, 23, 0.05);
    -webkit-animation: headerSlideDown .45s ease forwards;
    animation: headerSlideDown .45s ease forwards;
}
@keyframes headerSlideDown{
    0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0);transform:translateY(0)}
}
.padding-on-scroll {
    padding-top: 5px;
    padding-bottom: 0px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.navbar-brand {
    width: 150px;
    position: relative;
    display: inline-flex;
    margin: 0;
    padding: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.navbar-brand img {
    height: 100%;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
}
.navbar-toggler {
    float: right;
    border: none;
    padding: 0;
    transition: color 300ms linear;
}
.navbar-toggler:active,
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
.navbar-light .navbar-toggler-icon {
    width: 16px;
    height: 18px;
    background-image: none;
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    margin-right: 7px;
    border-bottom: 2px solid var(--bs-black);
    transform: translateX(8px);
}
.navbar-light .navbar-toggler-icon:after,
.navbar-light .navbar-toggler-icon:before {
    width: 16px;
    position: absolute;
    height: 2px;
    background-color: var(--bs-black);
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transform: translateX(-8px);
    transition: all 300ms linear;
}
.navbar-light .navbar-toggler-icon:after {
    top: 8px;
    width: 24px;
    left: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: translateX(-8px) rotate(45deg);
    width: 24px;
    left: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translate(-8px, 8px) rotate(-45deg);
    width: 24px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
    transition: all 300ms linear;
}
.cbp-af-header.cbp-af-header-shrink .padding-on-scroll {
    padding-top: 5px;
    padding-bottom: 5px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.cbp-af-header.cbp-af-header-shrink .navbar-brand {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.navbar .navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    padding: 8px;
}
.navbar .navbar-nav .nav-item.active .nav-link,
.navbar .navbar-nav .nav-item:hover .nav-link {
    text-decoration: underline;
}

/* =============== */
/* BTN */
/* =============== */
.btn-primary, .btn-blackout {
    --bs-btn-color: #fff;
    --bs-btn-bg: #222222;
    --bs-btn-border-color: #222222;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3c3c3c;
    --bs-btn-hover-border-color: #3c3c3c;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3c3c3c;
    --bs-btn-active-border-color: #3c3c3c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #222222;
    --bs-btn-disabled-border-color: #222222;
}
.bg-whatsapp {
    background-color: #25d366;
}

/* =============== */
/* HEADER HOME */
/* =============== */
.hero-mapa {
    background-image: url('https://frontarentas.com/assets/fronta-mapa-2-4adf6db5.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-height: 180px
}
@media (min-width: 992px) {
    .hero-mapa {
        min-height:450px
    }
}
@media (min-width: 1200px) {
    .hero-mapa {
        min-height:400px
    }
}
@media (min-width: 1400px) {
    .hero-mapa {
        background-size:cover;
        min-height: 550px
    }
}

.property-item:hover{
    box-shadow: var(--bs-box-shadow-lg) !important;
}
.search-filter-component-range-slider__range-input-bar {
    margin: 6px 0;
}
.search-filter-component-range-slider__range-text {
    font-size: 11px !important;
    justify-content: space-between !important;
}

.card-cta {
    min-height: 300px;
    background-image: url('https://frontaventas.com/wp-content/uploads/2025/05/costa-mejorada-c5193fb5.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/*===============*/
/*  GALLERY  */
/*===============*/
.grid_gallery {
    display: grid;
    grid-template-rows: 200px 200px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: minmax(200px, auto);
    grid-gap: 15px;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}
.grid_gallery figure {
    position: relative;
    margin: 0;
}
.grid_gallery figure img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 0.3s linear;
    filter: grayscale(0);
}
.grid_gallery figure img:hover {
    filter: brightness(0.8);
}
.grid_gallery figure:nth-child(1) {
    grid-column: 1/3;
    grid-row: 1/3;
}
.grid_gallery figure:nth-child(2) {
    grid-column: 3/4;
}
.grid_gallery figure:nth-child(3) {
    grid-column: 4/5;
}
.grid_gallery figure:nth-child(4) {
    grid-column: 3/4;
}
.grid_gallery figure:nth-child(5) {
    grid-column: 4/5;
}
.grid_gallery figure:nth-child(5) img{
    opacity: 0.5;
}
.grid_gallery figure:nth-child(n+6) {
    display: none;
}
.grid-item {
    width: calc(33% - 10px);
    margin-bottom: 10px;
    box-sizing: border-box;
}


.nav-pills .nav-link.active, 
.nav-pills .show>.nav-link {
    color: #000000;
    background-color: #dadada;
    font-weight: 600;
}
.nav-pills .nav-link:hover{
    background-color: #dadada;
}
.nav-pills .nav-link {
    color: #000000;
}
.search-filter-label {
    color: #656565 !important;
    font-weight: 600;
    font-size: 13px !important;
}

/*-----------------------------
  CONTACT
-----------------------------*/
.form-group {
    margin-bottom: 0.8rem;
}
.form-group label {
    font-size: 14px;
    font-weight: 400;
    color: #0b2238;
}
.form-control {
    height: 50px;
    color: #0b2238;
    background-color: #fff;
    font-size: 0.9rem;
    border-radius: 6px;
    font-weight: 400;
    border-color: #edeef1;
    transition: 0.3s !important;
}
textarea.form-control {
    height: 100px;
    padding-top: 15px;
}
.form-control:focus,
.form-control:active{
    outline: none;
    box-shadow: none !important;
    border: 1px var(--bs-black) solid;
}
.wpcf7 form .wpcf7-response-output,
.wpcf7-not-valid-tip {
    font-size: 13px;
}

/* =============== */
/* FOOTER */
/* =============== */
footer{
}
#cfw-side-cart {
    z-index: 99999999 !important;
}
@media (max-width: 991px) {
    .padding-on-scroll {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-brand {
        width: 130px;
    }
    .navbar .navbar-nav .nav-item .nav-link {
        font-size: 20px;
        margin: 10px;
    }
    .header-home {
        min-height: auto;
        height: auto;
        padding: 9rem 0 5rem !important;
    }
    .grid_gallery figure:nth-child(1) {
        grid-column: 1 / 6;
        grid-row: 1 / 2;
    }
    .grid_gallery figure:nth-child(2),
    .grid_gallery figure:nth-child(4){
        grid-column: 1 / 3;
    }
    .grid_gallery figure:nth-child(3),
    .grid_gallery figure:nth-child(5) {
        grid-column: 3 / 6;
    }
    .nav-pills .nav-link{
        padding: 5px 10px;
    }
    .video-home:before,
    .video-home:after {
        height: 40px;
    }
}

.grecaptcha-badge {
    visibility: collapse !important;
}
.btn-shake{
    -webkit-animation: shake-animation 3.5s ease infinite;
    animation: shake-animation 3.5s ease infinite;
}
.btn-blink{
    animation: blink 500ms infinite;
}
.btn-blink:hover{
    animation-play-state: paused;
}
@keyframes blink {
    0%, 100% {
    opacity: 1;
    }
    50% {
    opacity: 0.85;
    }
}
@-webkit-keyframes shake-animation {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    1.78% {
        -webkit-transform: translate3d(6px, 0, 0);
        transform: translate3d(6px, 0, 0)
    }
    3.57% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    5.36% {
        -webkit-transform: translate3d(6px, 0, 0);
        transform: translate3d(6px, 0, 0)
    }
    7.14% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    8.93% {
        -webkit-transform: translate3d(6px, 0, 0);
        transform: translate3d(6px, 0, 0)
    }
    10.71% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}
@keyframes shake-animation {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    1.78% {
        -webkit-transform: translate3d(6px, 0, 0);
        transform: translate3d(6px, 0, 0)
    }
    3.57% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    5.36% {
        -webkit-transform: translate3d(6px, 0, 0);
        transform: translate3d(6px, 0, 0)
    }
    7.14% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    8.93% {
        -webkit-transform: translate3d(6px, 0, 0);
        transform: translate3d(6px, 0, 0)
    }
    10.71% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

