@font-face {
    font-family: 'AvenirLt';
    src: url('../fonts/AvenirLTProLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'TitilliumWeb';
    src: url('../fonts/TitilliumWeb-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'TitilliumWebL';
    src: url('../fonts/TitilliumWeb-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'TitilliumWebEL';
    src: url('../fonts/TitilliumWeb-ExtraLight.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    caret-color: #000;
}

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    caret-color: #000;
}

body {
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p404 {
    font-family: TitilliumWebL;
    color: #334987;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
    margin-top: 5rem;
    line-height: 5rem;
}

.p404 span {
    
    font-family: TitilliumWeb;
    font-size: 19rem;
    font-weight: 800;
}

.link__404 {
    color: #142E84;
    font-size: 2.5rem;
    font-family: TitilliumWeb, sans-serif;
    line-height: 3rem;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    text-align: center;
    width: fit-content;
}

@keyframes toturnright {
	0% {
		transform: rotateZ(0deg)
	}
	
	100% {
		transform: rotateZ(360deg)
	}
}

@keyframes down-up-down-up {
    0% {
        transform: translateY(0);
    }

	20% {
		transform: translateY(.5rem);
	}

	40% {
		transform: translateY(-.5rem);
    }
    
    60% {
		transform: translateY(.5rem);
    }

    80% {
		transform: translateY(-.5rem);
	}
    
    100% {
		transform: translateY(0);
	}
}

/*** UTILITIES ***/
.link-down {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 5rem!important;
    height: 5rem!important;
    background-color: #5570b4;
    align-items: center;
    justify-content: center;
    transition: all .5s ease;
    z-index: 99;
    text-decoration: none;
    opacity: 0;
    display: none;
}

.link-down:hover {
    cursor: pointer;
    background-color: rgb(59,98,166);
}

.link-down > i {
    margin-top: .4rem;
    font-size: 2.5rem;
    color: #fff;
    transition: transform .3s ease;
}

.link-down:hover > i {
    animation-name: down-up-down-up;
	animation-fill-mode: both;
	animation-duration: 2s;
	animation-delay: .3s;
}

.content {
    width: calc(100% - 16rem);
    padding-left: 8rem;
    padding-right: 8rem;
    max-width: 176rem;
    margin: auto;
}

@media (max-width: 768px) {
    .content {
        width: 100%;
        padding: 0;
    }
}

/*** HEADER ***/
.header {
    height: 11rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    background-color: #fff;
}

.header__logo {
    height: 11rem;
    user-select: none;
}

.header__nav {
    height: 6rem;
    width: auto;
}

.header__list {
    height: 3rem;
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
}

.header__item {
    height: 3rem;
    display: block;
}

.header__link {
    color: #142E84;
    font-size: 1.6rem;
    font-family: 'AvenirLt', sans-serif;
    text-decoration: none;
    line-height: 3rem;
    margin: 0 1.5rem;
    cursor: pointer;
}

.header__item:first-of-type .header__link {
    margin-left: 0;
}

.header__item:last-of-type .header__link {
    margin-right: 0;
}

@media (max-width: 1024px) {
    .header {
        height: 8rem;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .header__logo {
        height: 8rem;
    }

    .header__link {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .header__item:last-of-type .header__link {
        margin-right: 1.5rem;
    }
}

@media (max-width: 540px) {
    .header {
        height: 6rem;
        padding: 0;
        margin-bottom: 1rem;
    }

    .header__logo {
        height: 6rem;
    }
}

/**** BUTTONS ****/
.button {
    line-height: 4.2rem;
    height: 4rem;
    padding: 0 2rem;
    color: #fff;
    border: .1rem solid #fff;
    text-decoration: none;
    font-family: 'AvenirLt', sans-serif;
    font-size: 1.5rem;
    border-radius: 10rem;
    margin-top: 3rem;
    transition: .4s ease background-color, .4s ease color;
    background-color: #00000041;
    display: inline-block;
}

.button.style2 {
    margin: 0;
    background-color: #00000028;
}

.button.style3 {
    line-height: 2rem;
    margin: 0;
    padding: 1rem 0;
    width: 15.3rem;
    font-size: 1.8rem;
    border-radius: 0;
    background-color: transparent;
    height: 2.2rem;
    border-color: #5570B4;
    color: #5570B4;
    z-index: 99999;
    display: block;
    transition: .2s ease background-color, .2s ease color;
}

.button.style3.buy {
    border-radius: .2rem 0 0 .2rem;
    overflow: hidden;
}

.button.style3.rent {
    border-radius: 0 .2rem .2rem 0;
    overflow: hidden;
}

.button.style3:last-of-type {
    border-left: none;
    width: 15.3rem;
}

.button.style3.hover {
    border: .1rem solid #46578d;
    text-align: center;
    margin: 2rem auto 0 auto;
}

.button:hover {
    background-color: #fff;
    color: #162B6F;
}

.button.style2:hover {
    color: #5570B4;
}

.button.style3:hover {
    background-color: transparent;
    color: #5570B4;
    background-color: #4361ae2e;
}

.button.style3.selected {
    /* background-color: #46578d; */
    color: #fff;
}

.button.style3.selected:hover {
    background-color: rgb(59,98,166);
    color: #fff;
}

.button.style3.hover:hover {
    background-color: #46578d;
    color: #fff;
    cursor: pointer;
}

/*** TOP ***/
.top {
    height: calc((100vw * 0.463541667) - 13rem);
    max-height: 76rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top__img {
    height: calc(100vw * 0.463541667);
    max-height: 89rem;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: -999;
    user-select: none;
}

.top__img-layer {
    height: calc(100vw * 0.463541667);
    max-height: 89rem;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: -998;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0;
    margin: 0 8rem;
}

.top__title {
    font-size: 7.3rem;
    color: #fff;
    font-family: TitilliumWebEL, sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.8rem;
    line-height: 6rem;
    background: #00000005;
}

.top__title > span {
    font-size: 4.36rem;
}

@media (max-width: 1440px) {
    .top__title {
        font-size: 4.8rem;
        line-height: 4rem;
    }

    .top__title > span {
        font-size: 2.7rem;
    }

    .top .button {
        height: 3rem;
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .top__title {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    .top__title > span {
        font-size: 1.17rem;
    }

    .top .button {
        height: 2.5rem;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1.2rem;
    }
}

@media (max-width: 768px) {
    .top__title {
        font-size: 3rem;
        line-height: 3rem;
    }

    .top__title > span {
        font-size: 1.5rem;
    }

    .top .button {
        height: 2.5rem;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1.2rem;
        margin: 1rem 0 0 0;
    }

    .top {    
        height: calc((100vw * 0.4828125));
    }

    .top__img {
        height: calc(100vw * 0.4828125);
        position: absolute;
        top: 9rem;
    }
    
    .top__img-layer {
        height: calc(100vw * 0.4828125);
        position: absolute;
        top: 9rem;
    }
}

@media (max-width: 540px) {
    .top__img,
    .top__img-layer {
        top: 6rem;
    }
}

/*** MAIN ***/
.main {
    background-color: #fff;
    padding-top: 8rem;
    padding-bottom: 9.2rem;
}

.properties {
    width: 100%;
    height: auto;
    padding-top: 2rem;
}

.properties__title {
    line-height: 6rem;
    height: 6rem;
    width: 100%;
    display: block;
    text-align: center;
    color: #54638f;
    font-family: TitilliumWebL, sans-serif;
    font-size: 4.2rem;
}

.properties__subtitle {
    text-align: center;
    color: #162B6F;
    font-family: 'AvenirLt', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    position: relative;
    display: flex;
    height: 4.4rem;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 0;
    width: 31rem;
}

.properties__text {
    line-height: 2rem;
    border-radius: 0;
    height: 2.2rem;
    color: #54638f;
    font-family: 'AvenirLt', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    margin: 1rem 0;
}

.properties__subtitle.buttons:after {
    content: '';
    width: 15.4rem;
    height: 4.2rem;
    background-color: #5570B4;
    position: absolute;
    top: .1rem;
    left: 0.05rem;
    right: 100%;
    display: block;
    z-index: 0;
    opacity: 0;
    transition: .2s ease opacity;
    border-radius: .2rem 0 0 .2rem;
    overflow: hidden;
}

.properties__subtitle.buttons.move:after {
    border-radius: 0 .2rem .2rem 0;
    overflow: hidden;
}

.properties__subtitle.buttons.show:after {
    opacity: 1;
}

.properties__subtitle.buttons.animate:after {
    transition: .2s ease left, .2s ease right, .2s ease opacity;
}

.properties__subtitle.buttons.move:after {
    left: calc(50% - 0rem);
}

.properties__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 7rem;
}

.properties__cards.filter {
    width: calc(75% + 4rem);
    margin-top: 0;
}

.properties__filter {
    /* margin-top: 3rem; */
    width: calc(25% - 4rem);
}

.properties__filter-filter {
    position: relative;
    margin-top: 4rem;
}

.properties__filter-filter:first-of-type {
    margin-top: 0
}

.properties__filter-title {
    font-size: 2rem;
    color: #54638f;
    font-family: 'AvenirLt', sans-serif;
    position: absolute;
    left: 0;
    top: -4rem;
    font-weight: 600;
}

.properties__filter-select {
    width: 100%;
    padding: 1rem 1.5rem;
    appearance: none;
    font-size: 1.9rem;
    background-color: #00000011;
    border: 0;
    font-family: 'AvenirLt', sans-serif;
    outline: none;
    border-radius: 1rem;
    color: #54638f;
    margin-bottom: 2rem;
}

.properties__filter-select:hover {
    cursor: pointer;
}

.properties__filter-select:focus {
    outline: .3rem solid #54638fde;
}

.properties__filter-select-arrow {
    font-family: "Font Awesome 5 Free";
    /* content: '\f078'; */
    position: absolute;
    color: #54638f;
    font-weight: 900;
    top: 0;
    transform: translateY(calc(50% + .4rem));
    right: 1.5rem;
    font-size: 1.9rem;
    user-select: none;
}

.properties__filter-select-arrow:hover {
    cursor: pointer;
}

.properties__filter-number {
    width: calc(50% - 6.5rem);
    padding: 1rem 2rem;
    display: inline;
    margin: 0 4.7rem 0 0;
    background-color: #00000011;
    border: none;
    font-size: 1.9rem;
    color: #5570B4;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.properties__filter-number:last-of-type {
    margin: 0;
}

.properties__filter-number:focus {
    outline: .3rem solid #758fe2de;
}

#properties__filter-submit {
	background-color: #3a4972;
	width: 100%;
	height: 4.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	outline: none;
	border: none;
	margin: 0;
	font-size: 1.8rem;
	font-family: raleway, sans-serif;
	color: #fff;
	padding: .1rem 0 0 0;
	transition: .1s ease all;
	margin-top: .5rem;
	position: relative;
}

#properties__filter-submit:hover {
	cursor: pointer;
	background-color: #2f3232;
}

@media (max-width: 1024px) {
    .properties__title {
        font-size: 2.6rem;
        height: 4rem;
        line-height: 4rem;
    }
    
    .properties__text {
        font-size: 1.3rem;
    }

    .button.style3 {
        line-height: 1.5rem;
        padding: .8rem 0;
        width: 8rem;
        font-size: 1.4rem;
        height: 1.6rem;
    }

    .button.style3:last-of-type {
        line-height: 1.5rem;
        padding: .8rem 0;
        width: 8rem;
        font-size: 1.4rem;
        height: 1.6rem;
    }

    .button.style3.loadmore {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .properties__subtitle.buttons {
        width: 16.3rem;
    }

    .properties__subtitle.buttons::after {
        height: 3.3rem;
        width: 8.2rem;
        top: .55rem;
        left: 0;
    }
}

@media (max-width: 425px) {
    
}

.card {
    background-image: var(--img);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /* margin: 0 2rem; */
    margin-left: 2rem;
    margin-bottom: 2rem;
    width: calc((100% - 4rem) / 3);
    height: calc(((100vw - 20rem) / 3) * 0.697678475);
    max-height: 40rem;    
    /* height: calc(40rem); */
    position: relative;
    overflow: hidden;
    border-radius: .5rem;
    opacity: 0;
    /* --delay: 5s; */
    transition: .8s ease opacity var(--delay);
}

.properties__cards.initial .card:first-of-type {
    margin-left: 0;
}

.card.filter {
    /* background-image: var(--img);
    background-repeat: no-repeat;
    background-size: 140%;
    background-position: center center;
    margin-left: 3rem;
    width: calc(25% - (8rem/3)); */
    margin-left: 2rem;
    width: calc((100% - 6rem) / 3);
    height: calc((((((100vw - 16rem) * 0.75) + 4rem) - 6rem) / 3) * 0.692313018);
    max-height: 30rem;
    /* position: relative;
    overflow: hidden; */
}

/* .card:last-of-type {
    margin: 0;
} */

/* .card.filter:first-of-type {
    margin-left: 4rem;
} */

.card:hover {
    cursor: pointer;
    box-shadow: 0 0 2rem -.5rem #000;
}

.card__price {
    font-family: 'AvenirLt', sans-serif;
    font-size: 1.8rem;
    height: 3rem;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 2rem;
    align-items: center;
    justify-content: center;
    display: flex;
    color: #ffffffa6;
    font-weight: 400;
    margin: .7rem;
    background-color: #00000079;
    transition: .3s ease all;
    background-color: #000000aa;
    color: #fff;
}

/* .card:hover .card__price {
    background-color: #00000090;
    color: #fff;
} */

.card__type {
    font-family: 'AvenirLt', sans-serif;
    font-size: 1.8rem;
    height: 3rem;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 2rem;
    align-items: center;
    justify-content: center;
    display: flex;
    color: #ffffffa6;
    font-weight: 400;
    margin: .7rem;
    background-color: #00000079;
    transition: .3s ease all;
    background-color: #000000aa;
    color: #fff;
}

/* .card:hover .card__type {
    background-color: #00000090;
    color: #fff;
} */

/* .card__price:hover {
    background-color: rgba(0, 0, 0, 0.748);
    color: #fff;
} */

.card__info {
    background-color: #5570b46d;
    position: absolute;
    width: 100%;
    /* bottom: -18rem; */
    bottom: 0;
    left: 0;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    height: auto;
    transition: .2s ease bottom, .2s ease background-color;
    background-color: #5570b4de;
    background-color: #54638fde;
}

.card:hover .card__info {
    bottom: 0;
    background-color: #5570b4a8;
}

.card__title {
    font-family: TitilliumWeb, sans-serif;
    font-size: 2.3rem;
    /* width: 31rem; */
    width: auto;
    text-align: center;
    color: #fff;
    font-weight: 500;
    line-height: 2.5rem;
    /* margin: 0 1rem; */
    margin: 0;
    margin-bottom: .5rem;
}

.card__subtitle {
    font-family: TitilliumWebL, sans-serif;
    font-size: 1.8rem;
    width: 31rem;
    text-align: center;
    color: #fff;
    font-weight: 400;
    /* margin: 1rem 0; */
    margin: 0;
}

.properties__filter-error {
    font-size: 2rem;
    color: #5570b4af;
    font-family: 'AvenirLt', sans-serif;
    margin: 6.5rem auto 0 auto;
    font-weight: 600;
    display: none;
    text-align: center;
    max-width: 60%;
}

@media (max-width: 1440px) {
    .card__info {
        padding: 1rem;
    }

    .card__title {
        width: auto;
        font-size: 2rem;
    }

    .card__subtitle {
        font-size: 1.5rem;
        margin: .8rem 0;
    }

    .button.style2 {
        font-size: 1.3rem;
        padding: 0 1.9rem;
        height: 3rem;
        line-height: 3.2rem;
    }
}

@media (max-width: 1280px) {
    .card__info {
        padding: .5rem;
    }

    .card__title {
        font-size: 1.6rem;
        line-height: 1.8rem;
    }

    .card__subtitle {
        font-size: 1.4rem;
        margin: .4rem 0;
    }

    .card__info .button.style2 {
        font-size: 1rem;
        padding: .3rem 1.5rem;
        height: 2rem;
        line-height: 2rem;
    }

    .card__type {
        height: 2.2rem;
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .card__price {
        height: 2.2rem;
        font-size: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 1024px) {
    .card__price {
        height: 2.2rem;
        font-size: 1.2rem;
        padding: 0 .5rem;
    }

    .card__type {
        height: 2.2rem;
        font-size: 1.2rem;
        padding: 0 .5rem;
    }

    .card__title {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    .card__subtitle {
        font-size: 1rem;
        margin: .4rem 0;
    }

    .card__info .button.style2 {
        font-size: 1rem;
        padding: 0 1rem;
        height: 2rem;
        line-height: 2rem;
    }
}

@media (max-width: 768px) {
    .main {
        padding-top: 2rem;
        padding-bottom: 7rem;
    }

    .properties__cards {
        justify-content: center;
        margin-top: 4rem;
    }
    
    .card.initial {
        width: 25rem;
        height: 16rem;
        margin-left: 1rem;
    }

    .card.initial:last-of-type {
        display: none;
    }
}

@media (max-width: 540px) {
    .card.initial {
        width: calc((100% - 3rem) / 2);
        height: calc(((100vw) / 2) * 0.6);
    }

    .card.initial .card__price {
        height: 1.6rem;
        font-size: 1rem;
        padding: 0 .4rem;
        margin: .5rem;
    }

    .card.initial .card__type {
        height: 1.6rem;
        font-size: 1rem;
        padding: 0 .4rem;
        margin: .5rem;
    }

    .card.initial .card__info .card__title {
        font-size: 1rem;
        line-height: 1rem;
    }

    .card.initial .card__info .card__subtitle {
        font-size: .8rem;
        line-height: .9rem;
        margin-bottom: 0;
    }

    .card.initial .card__info {
        height: 4rem;
    }
    
    .card.initial .card__info .button.style2 {
        display: none;
    }
}

@media (max-width: 425px) {
    .card__info {
        height: 6rem;
        justify-content: center;
    }

    .card__subtitle {
        width: auto;
    }

    .button.style2 {
        display: none;
    }
}

.card.filter .card__info {
    height: auto;
    padding: 1rem;
}

.card.filter .card__title {
    width: auto;
    font-size: 1.8rem;
    line-height: 2.2rem;
}

.card.filter .card__subtitle {
    font-size: 1.4rem;
    margin: .8rem 0;
}

.card.filter .button.style2 {
    font-size: 1.3rem;
    padding: 0 1.5rem;
    height: 3rem;
    line-height: 3rem;
}

@media (max-width: 1440px) {
    .card.filter .card__info {
        /* height: 10rem; */
        padding: .5rem .6rem .5rem .6rem;
    }

    .card.filter .card__info .card__title {
        width: auto;
        font-size: 1.6rem;
        line-height: 2rem;
    }

    .card.filter .card__info .card__subtitle {
        font-size: 1.3rem;
        margin: .6rem 0;
    }

    .card.filter .card__info .button.style2 {
        font-size: 1.2rem;
        padding: 0 1.3rem;
        height: 2.7rem;
        line-height: 2.7rem;
    }

    .card.filter .card__price {
        height: 2.2rem;
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .card.filter .card__type {
        height: 2.2rem;
        font-size: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 1366px) {
    .properties__filter-number {
        width: calc(50% - 2.7rem);
        margin: 0 1rem 1rem 0;
        padding: .8rem 1rem;
    }

    .properties__filter-select {
        padding: .8rem 1rem;
    }

    .properties__filter-select {
        margin-bottom: 1rem;
    }

    .properties__filter-title {
        top: -2.8rem;
    }

    .properties__filter-select-arrow {
        transform: translateY(calc(50% - .1rem));
        right: 1rem;
    }

    .card.filter .card__info .card__title {
        line-height: 2rem;
    }

    .card.filter .card__info .card__subtitle {
        margin: 0.2rem 0;
    }
}

@media (max-width: 1280px) {
    .properties__filter-filter {
        margin-top: 2.5rem;
    }

    .properties__filter-title {
        font-size: 1.8rem;
        top: -2.5rem;
    }

    .properties__filter-select {
        font-size: 1.7rem;
    }

    .properties__filter-number {
        font-size: 1.7rem;
    }

    .card.filter .card__price {
        height: 2.2rem;
        font-size: 1.3rem;
        padding: 0 .5rem;
    }

    .card.filter .card__type {
        height: 2.2rem;
        font-size: 1.3rem;
        padding: 0 .5rem;
    }

    /* .card.filter .card__info {
        height: 8rem; 
    } */

    .card.filter .card__info .card__title {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    .card.filter .card__info .card__subtitle {
        font-size: 1rem;
        margin: .4rem 0;
    }

    .card.filter .card__info .button.style2 {
        font-size: 1rem;
        padding: 0 1rem;
        height: 2rem;
        line-height: 2rem;
    }
}

@media (max-width: 1024px) {
    .properties__filter {
        width: calc(35% - 4rem);
    }

    .properties__cards.filter {
        width: calc(65% + 4rem);
    }

    .card.filter {
        width: calc((100% - 4rem) / 2);
        height: calc((((((100vw - 16rem) * 0.65) + 4rem) - 4rem) / 2) * 0.57);
    }
}

@media (max-width: 1024px) {
    .card.filter {
        width: calc((100% - 4rem) / 2);
        height: calc((((((100vw) * 0.65) + 4rem) - 4rem) / 2) * 0.6);
    }

    .properties__cards.filter{
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .properties__filter {
        display: none;
    }

    .properties__cards.filter {
        width: 53rem;
    }

    .card.filter {
        width: 25rem;
        height: 16rem;
        margin-left: 1rem;
    }
}

@media (max-width: 540px) {
    .card.filter {
        width: calc((100% - 3rem) / 2);
        height: calc(((100vw) / 2) * 0.6);
        margin-left: 1rem;
        margin-bottom: 1rem;
    }

    .card.filter .card__price {
        height: 1.6rem;
        font-size: 1rem;
        padding: 0 .4rem;
        margin: .5rem;
    }

    .card.filter .card__type {
        height: 1.6rem;
        font-size: 1rem;
        padding: 0 .4rem;
        margin: .5rem;
    }

    .card.filter .card__info .card__title {
        font-size: 1rem;
        line-height: 1rem;
    }

    .card.filter .card__info .card__subtitle {
        font-size: .8rem;
        line-height: .9rem;
        margin-bottom: 0;
    }

    /* .card.filter .card__info {
        height: 4rem;
    } */
    
    .card.filter .card__info .button.style2 {
        display: none;
    }
}

/*** PROPERTY ***/
.property {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: calc(100% - 3rem);
    max-width: 120rem;
}

.main.property {
    padding-top: 0;
}

.header.property {
    background: transparent;
}

.property__inactive {
	height: 6rem;
    color: #76822f;
    background-color: #faeb4a;
    border: .1rem solid #76822f;
	border-radius: .4rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.property__inactive svg {
    fill: #76822f;
}

.property__inactive p {
	margin-left: 1rem;
	font-size: 1.5rem;
    font-family: raleway, sans-serif;
}

.property-card {
    width: 100%;
    height: auto;
}

.property__top {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 60rem;
}

@media (max-width: 768px) {
    .property__top {
        flex-direction: column;
        height: 110.5rem;
    }
}

@media (max-width: 540px) {
    .property__top {
        height: 99.5rem;
    }
}

/** CARRUSEL **/
.property__carrusel {
    background: #fff;
    width: 100%;
    margin-right: .75rem;
    border-radius: 1rem;
    box-shadow: 0 0 2.1rem -1.5rem #000000;
    text-align: center;
    /* height: 60rem; */
    /* display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; */
}

.slider__controls {
    height: 4rem;
    width: calc(100% - 4rem);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 2rem;
}

.slider__control {
    display: block;
    padding: .5rem;
    cursor: pointer;
    opacity: .5;
}

.slider__control span {
    display: block;
    width: .9rem;
    height: .9rem;
    border-radius: 100%;
    background: #444;
    cursor: pointer;    
}

.slider__control.video span {
    width: 0;
    height: 0;
    background: transparent;
    border-radius: 0;
    border: .5rem solid transparent;
    border-right: 0;
    border-left: .9rem solid #444;
}

.slider__control:hover {
    opacity: 1;
}

.slider__control.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .property__carrusel {
        margin-right: 0;
    }

    .sss {
        height: 43rem;
    }
}

@media (max-width: 540px) {
    .sss {
        height: 32rem;
    }
}

/** PROPERTY INFO **/
.property__info {
    background: #fff;
    max-width: 40rem;
    width: 100%;
    height: 60rem;
    border-radius: 1rem;
    margin-left: 0.75rem;
    box-shadow: 0 0 2.1rem -1.5rem #000000;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.property__container {
    width: 100%;
}

.property__type {
    font-size: 1.6rem;
    color: #7d7d7d;
    font-family: TitilliumWebEL;
    margin: -1rem 0 0 0;
}

.property__title {
    font-size: 2.5rem;
    color: #000;
    font-family: TitilliumWebL;
    margin: 0 0 1rem 0;
    /* max-height: 10.5rem; */
}

.property__subtitle {
    font-size: 2rem;
    color: rgb(18, 18, 18);
    font-weight: 600;
    font-family: TitilliumWebL;
    margin: 0 0 .5rem 0;
    display: block;
}

.property__price {
    font-size: 3.5rem;
    color: #000;
    font-family: TitilliumWebEL;
    margin: 0;
    letter-spacing: .15rem;
}

.property__props {
    width: auto;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.property__props-section {
    width: 50%;
}

.property__prop {
    text-align: left;
    width: auto;
    margin-bottom: 2rem;
}

.property__prop-svg {
    stroke: #000;
    fill: #000;
    width: 4.8rem;
    height: 4.8rem;
    margin-right: 1rem;
}

.property__prop-title {
    font-size: 2rem;
    font-family: TitilliumWebL;
}

.property__prop-box {
    height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.property__prop-data {
    font-size: 2.5rem;
    font-family: TitilliumWebEL;
}

.property__contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.property__contact {
    line-height: 5.5rem;
    width: calc(50% - .5rem);
    color: #fff;
    text-decoration: none;
    font-family: TitilliumWeb;
    font-size: 2rem;
    border-radius: .3rem;
    margin: 0;
    text-align: center;
    transition: .1s ease background, .1s ease color;
    background: #3a4972;
    display: block;
    cursor: pointer;
}

.property__contact > i {
    margin-right: .5rem;
}

.property__contact:hover {
    background: #2f3232;
}

@media (max-width: 768px) {
    .property__info {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 540px) {
    html {
        font-size: 50%;
    }

    .sssnext {
        background-position: -25px 50%;
    }

    /* .property__top {
        height: 105.8rem;
    }

    .property__info {
        height: 66.5rem;
    }

    .property__contacts {
        flex-direction: column;
    }

    .property__contact {
        width: 100%;
    }

    .property__contact:first-of-type {
        margin-bottom: 1rem;
    } */
}

/** PROPERTY DESCRIPTION **/
.property__desc {
    background: #fff;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0 2.1rem -1.5rem #000000;
    padding: 2rem;
    box-sizing: border-box;
}

.property__category {
    width: auto;
    height: auto;
    display: flex;
}

.property__qr {
    width: 25rem;
    height: 25rem;
    margin: auto;
}

.property__desc .property__title {
    height: auto;
}

/* CHARACTERISTIC */
.property__parameters {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 80rem;
}

.property__parameter {
    width: calc(100% / 3);
    margin-bottom: 4rem;
}

.parameter__title {
    font-size: 1.5rem;
    color: #555;
    font-family: TitilliumWebEL;
}


.parameter__data {
    font-size: 1.7rem;
    color: #000;
    font-family: TitilliumWebL;
}

@media (max-width: 425px) {
    .property__parameter {
        /*width: 15rem;*/
    }
}

@media (max-width: 768px) {
    .property__category {
        display: block;
    }
}

/* DESCRIPTION */
.property__description {
    font-size: 2rem;
    color: #555;
    font-family: TitilliumWebEL;
    text-align: left;
    max-width: 80rem;
    margin-bottom: 4rem;
    line-height: 2.6rem;
}

@media (max-width: 540px) {
    .property__description {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .property__qr {
        margin-bottom: 4rem;
    }

    .property__carrusel,
    .property__info,
    .property__desc {
        box-shadow: none;
    }
}

/* UBICATION */
.property__maps {
    max-width: 80rem;
    width: 100%;
    height: 50rem;
}

/*** FOOTER ***/
.footer {
    margin-top: -0.2rem;
    background-color: #fff;
}

.footer__contact {
    /* height: 65rem; */
    padding: 8.5rem;
    background-color: #f3f3f3;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 1rem;
}

.footer__item {
    width: 48rem;
    min-height: 48rem;
    /* display: none; */
}

.footer__title {
    color: #5570B4;
    color: #54638f;
    font-family: TitilliumWebL, sans-serif;
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: .15rem;
    width: 100%;
    text-align: center;
}

.footer__paragraph {
    color: #162B6F;
    font-size: 1.5rem;
    font-family: 'AvenirLt', sans-serif;   
    font-weight: 400;
    text-align: center;
    width: 48rem;
    margin: 3.7rem auto;
    line-height: 2.5rem;
}

.footer__paragraph span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__paragraph span span {
    width: 3.5rem;
    display: block;
    margin: 0 0 0 0;
}

.footer__paragraph a {
    color: #162B6F;
}

@media (max-width: 1150px) {
    .footer__contact {
        flex-direction: column;
        justify-content: center;
        /* height: 100rem; */
    }

    .footer__item {
        height: auto;
        min-height: auto;
    }

    .footer__item:first-of-type {
        margin-bottom: 5rem;
    }

    /* .footer__item:last-of-type {
        height: 48rem;
    } */
}

@media (max-width: 540px) {
    .footer {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .footer__contact {
        padding: 2rem 0;
        border-radius: 0;
    }

    .footer__item {
        width: auto;
        height: auto;
    }

    .footer__item:last-of-type {
        width: calc(100% - 4rem);
    }

    .footer__paragraph {
        width: auto;
        margin-top: 1.5rem;
        padding: 2rem;
    }
}

/** CONTACT FORM **/
.form {
    width: 100%;
    height: auto;
}

.form__double {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.form__field {
    width: 100%;
    height: auto;
}

.form__double > .form__field {
    width: calc(50% - .5rem);
}

.form__label {
    color: #162B6F;
    font-family: 'AvenirLt', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 .2rem .5rem;
    display: inline-block;
    position: relative;
}

.form__field.required > .form__label:after {
    content: '*';
    position: absolute;
    top: 0;
    right: -1rem;
    color: #162B6F;
}

.form__label:hover {
    cursor: pointer;
}

.form__input {
    width: calc(100% - 1.2rem);
    height: 3rem;
    padding: 1rem .5rem;
    border: .1rem solid transparent;
    border-bottom: .1rem solid #162b6f;
    background-color: transparent;
    color: #162B6F;
    outline: none;
    font-family: 'AvenirLt', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    resize: vertical;
}

textarea.form__input {
    min-height: 9rem;
    max-height: 25rem;
}

.form__input::placeholder {
    color: #162b6fb2;
}

.form__input:hover {
    border-color: #162B6F;
}

.form__input:focus {
    border-color: #162B6F;
}

.error {
	height: 6rem;
    color: #842029;
    background-color: #f8d7da;
    border: .1rem solid #f5c2c7;
	border-radius: .4rem;
	display: none;
	justify-content: flex-start;
	align-items: center;
	padding: 0 1.5rem;
}

.error p {
	margin-left: 1rem;
	font-size: 1.5rem;
    font-family: raleway, sans-serif;
}

.succesfull {
	height: 6rem;
    color: #0f5132;
    background-color: #d1e7dd;
    border: .1rem solid #badbcc;
	border-radius: .4rem;
	display: none;
	justify-content: flex-start;
	align-items: center;
	padding: 0 1.5rem;
}

.succesfull p {
	margin-left: 1rem;
	font-size: 1.5rem;
    font-family: raleway, sans-serif;
}

.form__submit {
	background-color: #3a4972;
	width: 100%;
	height: 4.9rem;
	display: flex;
	justify-content: center;
	align-items: center;
	outline: none;
	border: none;
    border-radius: .3rem;
	margin: 0;
	font-size: 1.8rem;
	font-family: raleway, sans-serif;
	color: #fff;
	padding: .1rem 0 0 0;
	transition: .1s linear all;
	margin-top: 2rem;
	position: relative;
}

.form__submit p {
	z-index: 3;
	line-height: 3rem;
	background-color: #3a4972;
	transition: .1s linear all;
}

.form__submit:hover p {
	background-color: #2f3232;
}

.form__submit span {
	width: 1.5rem;
	height: 1.5rem;
	margin-left: -2.5rem;
	border: .4rem solid #c6e8ff;
	border-radius: 50%;
	border-left-color: transparent;
	animation: toturnright 1.5s infinite linear;
	transition: .4s ease all;
	z-index: 2;
}

.form__submit:hover {
	cursor: pointer;
	background-color: #2f3232;
}

.form__submit.loading:hover {
	cursor: wait;
}

@media (max-width: 540px) {
    .form__double {
        flex-direction: column;
    }

    .form__double > .form__field {
        width: 100%;
    }
}

/** SOCIAL **/
.footer__info {
    padding: 10rem 0 4rem 0;
}

.sociallinks {
    display: flex;
    margin: 0 auto;
    width: 10rem;
    height: auto;
    justify-content: space-between;
    align-items: center;
}

.sociallinks__item {
    display: block;
}

.sociallinks__link {
    font-size: 1.7rem;
    color: #000;
    transition: .3s ease color;
}

.sociallinks__link:hover {
    color: #000c;
}

.footer__copy {
    color: #162B6F;
    font-size: 1.4rem;
    font-family: 'AvenirLt', sans-serif;
    font-weight: 400;
    width: 100%;
    text-align: center;
    margin-top: 5rem;
}

/*** WHATSAPP ***/
.whatsapp {
    width: fit-content;
    height: fit-content;
    background: #25d366;
    color: #fff;
    position: fixed;
    z-index: 999999999999;
    margin: 2rem;
    bottom: 0;
    left: 0;
    border-radius: 100%;
    cursor: pointer;
}

.whatsapp__overlay {
    width: 3.2rem;
    height: 3.2rem;
    padding: 1.6rem;
    position: relative;
    border-radius: 100%;
    background: #ffffff00;
    transition: .1s background linear;
}

.whatsapp:hover .whatsapp__overlay {
    background: #ffffff1a;
}

.whatsapp__svg {
    width: 3.2rem;
    height: 3.2rem;
    fill: currentColor;
}

.whatsapp__noti {
    border-radius: 100%;
    width: 1rem;
    height: 1rem;
    background: #f00;
    position: absolute;
    right: .4rem;
    top: .4rem;
    z-index: 1;
}