/* ********************************************
                    FONTS
******************************************** */
@font-face {
    font-family: Montserrat-Light;
    src: url('../fonts/Montserrat-Light.ttf');
}

@font-face {
    font-family: Montserrat-Regular;
    src: url('../fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: Montserrat-Medium;
    src: url('../fonts/Montserrat-Medium.ttf');
}

@font-face {
    font-family: Montserrat-SemiBold;
    src: url('../fonts/Montserrat-SemiBold.ttf');
}

@font-face {
    font-family: Montserrat-Bold;
    src: url('../fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: MyriadPro;
    src: url('../fonts/MyriadPro-Regular.otf');
}

@font-face {
    font-family: AzoSans-Regular;
    src: url('../fonts/Rui_Abreu_AzoSans-Regular.otf');
}

@font-face {
    font-family: AzoSans-Bold;
    src: url('../fonts/Rui_Abreu_AzoSans-Bold.otf');
}

/* ********************************************
                HTML/PAGE SETTINGS
******************************************** */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    overflow-y: overlay;
}

body {
    margin: 0;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    transition: opacity 0.7s cubic-bezier(0.87, 0, 0.13, 1);
    -webkit-transition: opacity 0.7s cubic-bezier(0.87, 0, 0.13, 1);
    -moz-transition: opacity 0.7s cubic-bezier(0.87, 0, 0.13, 1);
    -o-transition: opacity 0.7s cubic-bezier(0.87, 0, 0.13, 1);
}

::selection {
    color: #fff;
    background-color: #eeb500;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
    cursor: pointer;
}

::-webkit-scrollbar-thumb {
    background: rgba(44, 44, 42, 0.4);
    border-radius: 40px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 44, 42, 0.8);
}

:root {
    font-size: 16px;
}

h1, h2.title {
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    font-size: 3.7rem;
    letter-spacing: 2px;
    margin-left: -5px;
    margin-bottom: 2.7rem;
    position: relative;
}

h1:before, h2.title:before {
    content: url(../img/h1-arrow.svg);
    position: absolute;
    left: -8.5rem;
    top: calc(100% - 5rem);
    width: 6rem;
    height: 5rem;
}

h2 {
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    font-size: 3.6rem;
    letter-spacing: 2px;
}

h2.title {
    max-width: 36rem;
}

h2.title:before {
    top: 10px !important;
}

h3 {
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    font-size: 3.3rem;
    color: #2b2b2a;
    letter-spacing: 1px;
}

h4 {
    font-family: "Montserrat-Regular", Verdana, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

h5 {
    font-family: "Montserrat-Regular", Verdana, sans-serif;
    font-size: 1.12rem;
}

p, a, li, span {
    font-family: "Montserrat-Regular", Verdana, sans-serif;
    font-weight: 100;
    font-size: 1rem;
}

a:hover, a.design:hover, .contact-details .links a:hover {
    text-decoration: none;
    color: #eeb500;
}

a, a:hover, nav.navbar .menu-toggle span, nav.navbar .menu-toggle:hover > span, form input[type="submit"], form #submit:hover > input[type="submit"], .grid-displayer .single a:hover > h4, .grid-displayer .single a:hover > button, .grid-displayer .single a h4, .grid-displayer .single a button, .grid-displayer .single a:hover > button:after {
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

b, strong {
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
}

ul {
    padding: 0;
}

ul li {
    list-style-type: none;
    width: fit-content;
}

a.button {
    width: max-content;
    height: max-content;
    display: block;
}

button, a.button {
    font-family: "Montserrat-Medium", Verdana, sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
    background-color: transparent;
    border: none;
    padding: 0;
    position: relative;
}

button:focus, input:focus {
    outline: none;
}


/* ********************************************
                    NAVBAR
******************************************** */
nav.navbar {
    width: 100%;
    padding: max(2rem, 6.3vw) 8.8vw 1rem 8.8vw;
    position: absolute;
    align-items: flex-start;
}

nav.navbar .custom-logo-link {
    display: block;
    margin-right: auto;
    width: max-content;
    z-index: 2;
}

nav.navbar .custom-logo-link img {
    width: 27.5vw;
    max-width: 450px;
    min-width: 250px;
    height: auto;
    display: block;
}

nav.navbar .menu-toggle {
    height: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100;
}

nav.navbar .menu-toggle span {
    height: 2.2px;
    display: block;
    background-color: #e7e5dd;
}

nav.navbar .menu-toggle span:nth-of-type(1) {
    width: 67px;
}

nav.navbar .menu-toggle span:nth-of-type(2) {
    width: 37px;
}

@media (hover: hover) {
    nav.navbar .menu-toggle:not(.menu-open):hover > span:nth-of-type(2) {
        width: 67px;
    }
}

nav.navbar .menu-toggle.menu-open {
    width: 46px;
    height: 42px;
    position: fixed;
    right: 8vw;
    align-items: center;
    justify-content: center;
    margin-top: -1.2vw;
}

nav.navbar .menu-toggle.menu-open span {
    width: 55px;
    position: absolute;
}

nav.navbar .menu-toggle.menu-open span:nth-of-type(1) {
    transform: rotate(45deg);
}

nav.navbar .menu-toggle.menu-open span:nth-of-type(2) {
    transform: rotate(-45deg);
}

/* ********************************************
                    MENU
******************************************** */
.menu {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    left: 40%;
    padding: 13.5% 0 5% 15%;
    background-color: #2a2b2d;
    overflow: auto;
    transform: translateX(70vw);
    z-index: 99;
}

.menu.menu-open {
    transform: translateX(0);
}

.menu ul li {
    margin-bottom: 1.4rem;
    position: relative;
}

.menu ul li:after {
    content: '';
    position: absolute;
    width: calc(100% + 1.5rem);
    height: 5px;
    bottom: -1px;
    left: 0;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: left;
}

.menu ul li:hover:after, .menu ul li.current-menu-item:after {
    transform: scaleX(1);
}

.menu, .menu ul li:after, .menu ul li:hover:after, .main-card button:after, .main-card:hover > a .text button:after, .split-cards .card button:after, .split-cards .card:hover > button:after, .grid-displayer .single button:after, .grid-displayer .single:hover >a button:after, .split-cards .card:before, .split-cards .card:hover:before {
    transition: transform .65s cubic-bezier(.33,1,.68,1);
    -webkit-transition: transform .65s cubic-bezier(.33,1,.68,1);
    -moz-transition: transform .65s cubic-bezier(.33,1,.68,1);
    -o-transition: transform .65s cubic-bezier(.33,1,.68,1);
}

.menu ul li a {
    font-family: "Montserrat-Light", Verdana, sans-serif;
    text-transform: uppercase;
    font-size: 1.85rem;
    line-height: 3rem;
    letter-spacing: 2px;
}

.menu ul li a, .menu ul li a:hover {
    color: #fff;
}

.menu .social-media {
    margin-top: 3vw;
}


/* ********************************************
                    HEADER
******************************************** */
.page-header {
    width: 100%;
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #797979;
    mix-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

.scroll-down {
    width: max-content;
    height: max-content;
    font-family: "Montserrat-Light", Verdana, sans-serif;
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    transform: rotate(-90deg);
    position: absolute;
    left: 10vw;
    top: 77%;
    animation: upDownRotated 2.8s ease-out infinite;
    z-index: 2;
}

.scroll-down:after {
    content: url(../img/scroll-arrow.svg);
    position: absolute;
    width: 21px;
    height: 19px;
    bottom: 1.4px;
    right: calc(100% + 12px);
}

@keyframes upDownRotated {
    0% {
        transform: translateY(-8px) rotate(-90deg);
    }
    50% {
        transform: translateY(12px) rotate(-90deg);
    }
    100% {
        transform: translateY(-8px) rotate(-90deg);
    }
}


.page-intro {
    width: 51vw;
    padding-right: 4vw;
    margin-left: auto;
    margin-bottom: 7rem;
    position: relative;
}

.main-wrapper {
    padding-top: min(max(8rem, 11vw), 13rem);
    padding-left: 8.5vw;
    padding-right: 8.5vw;
}

/* ********************************************
                    FOOTER
******************************************** */
footer {
    width: 100%;
    background-color: #2b2b2a;
    position: relative;
    padding: max(5rem, 8.5vw) 11vw;
    margin-top: max(12.3vw, 11rem);
    z-index: 0;
}

footer:before {
    content: url(../img/foooter-before.svg);
    position: absolute;
    display: block;
    width: min(45rem, 46.5vw);
    height: min(50px, 2.9vw);
    left: 8.5vw;
    bottom: 100%;
    z-index: -1;
}

footer p {
    font-family: "AzoSans-Regular", sans-serif;
}

footer p strong {
    font-family: "AzoSans-Bold", sans-serif;
}

footer a, footer p, .social-media a {
    color: #797979;
}

footer .footer-cols {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

footer .footer-cols .footer-col {
    height: fit-content;
}

footer .footer-cols #footer-col-1 {
    width: 24vw;
    min-width: 20rem;
    max-width: 26rem;
}

#footer-col-1 a img {
    display: block;
}

footer .footer-cols .col-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-column-gap: 7rem;
}

#footer-col-2 p {
    margin-bottom: 0;
    text-align: right;
    line-height: 1.3rem;
}

.social-media {
    display: flex;
    flex-direction: row;
    grid-column-gap: 15px
}

.social-media a {
    width: 42px;
    height: 42px;
    border: 2px solid #797979;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-media a:hover {
    border-color: #eeb500;
    color: #eeb500;
}

a.design {
    font-family: "AzoSans-Regular", sans-serif;
    font-size: 1rem;
    color: #424242;
    position: absolute;
    right: 0;
    bottom: -4vw;
}

/* --- cookies --- */
span.cn-text-container {
    font-size: 12.5px;
}

#cookie-notice .cn-button:not(.cn-button-custom) {
    border-radius: 0;
}

/* ********************************************
                    HOME
******************************************** */
/* ----------------- SLIDER ---------------- */
.tns-outer {
    position: relative;
    z-index: 0;
}

#home-slider-ow, #home-slider-mw, #home-slider-iw {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-header #home-slider img {
    height: 100vh;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
}

.slider-controls {
    width: max-content;
    display: flex;
    flex-direction: row;
    grid-column-gap: 5px;
    margin: -70px auto 0 40%;
    position: relative;
    z-index: 2;
}

.slider-controls .controller {
    display: block;
    width: 57px;
    height: 9px;
    background-color: #ddd7c1;
    cursor: pointer;
}

.slider-controls .controller.tns-nav-active {
    background-color: #eeb500;
    cursor: auto;
}


/* ------------ MAIN CARD ------------ */
.main-card {
    position: relative;
}

.main-card a {
    width: 100%;
    height: 45.6vw;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(121, 121, 121, 1);
    background-blend-mode: multiply;
    color: #fff;
    margin-bottom: max(12rem, 13.5vw);
}

.main-card a:hover {
    background-size: 105%;
}

.main-card a, .main-card a:hover, .slider-controls .controller {
    transition: all .45s cubic-bezier(.33,1,.68,1);
    -webkit-transition: all .45s cubic-bezier(.33,1,.68,1);
    -moz-transition: all .45s cubic-bezier(.33,1,.68,1);
    -o-transition: all .45s cubic-bezier(.33,1,.68,1);
}

.main-card .text {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-card button {
    color: #fff;
}

.main-card button:after, .split-cards .card button:after, .grid-displayer .single button:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -1px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
}

.main-card button:after, .grid-displayer .single button:after {
    background-color: #fff;
}

.main-card:hover > a .text button:after, .split-cards .card:hover > button:after, .grid-displayer .single:hover > a button:after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-card:after {
    content: url(../img/destaque-after.svg);
    position: absolute;
    width: 67.5vw;
    height: auto;
    top: 100%;
    right: 0;
}

/* ------------ CARDS ------------ */
.split-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.split-cards .card {
    width: 48.6%;
    border: none;
    background-color: rgb(121 121 121 / 12%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7.5vw 1rem;
}

.split-cards .card:before {
    content: url(../img/h1-arrow.svg);
    position: absolute;
    width: 45px;
    top: 45px;
    right: 3.5vw;
}

.split-cards .card:hover:before {
    transform: translateX(10px);
}

.split-cards .card img {
    display: block;
    height: auto;
    width: 68%;
    max-width: 450px;
    min-width: 320px;
    object-fit: contain;
    object-position: bottom;
    margin-top: 3.5rem;
}

.split-cards .card h3 {
    margin-top: max(2rem, 4vw);
}

.split-cards .card button:after {
    background-color: #2b2b2a;
}


/* ********************************************
                    APRESENTACAO
******************************************** */
.page-template-page-apresentacao .page-intro {
    width: 100%;
    padding: 0;
    margin: 0;
}

.page-template-page-apresentacao .page-intro h1 {
    width: 51vw;
    padding-right: 4vw;
    margin-left: auto;
    margin-bottom: 7rem;
}

.page-template-page-apresentacao .about-page {
    width: 100%;
    display: grid;
    grid-template-columns: 3.55fr 6.45fr;
    grid-column-gap: 4.5vw;
    align-items: center;
}


/* ********************************************
                    CONTACTOS
******************************************** */
.contact-details {
    margin-left: 3.5vw;
}

.contact-details .links a {
    color: #000;
    font-size: 1.2rem;
}

.contact-details .links strong, .contact-details .links strong a {
    font-family: "Montserrat-Bold", Verdana, sans-serif;
}

.contact-details a.location-bttn, form input[type="submit"] {
    width: max-content;
    height: max-content;
    color: #000;
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid #000;
    padding: 8px 17px 6px 18px;
    margin-top: 2rem;
    display: block;
}

/* -------------------- FORMS -------------------- */
div[role="form"] {
    width: 100%;
    background-color: rgb(121 121 121 / 12%);
    padding: 5vw 3.5vw 6.5vw 3.5vw;
}

form .form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 3.4rem;
}

form .form-field label {
    color: #22231C;
    font-family: "Montserrat-Medium", Verdana, sans-serif;
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: 1px;
    padding-left: 2px;
    position: absolute;
    top: 23px;
    left: 3px;
    z-index: 0;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out; 
}

.form-field span.wpcf7-form-control-wrap:hover > input + label, .form-field span.wpcf7-form-control-wrap input:focus + label, .form-field span.wpcf7-form-control-wrap input:not(:placeholder-shown) + label, .form-field span.wpcf7-form-control-wrap:hover > textarea + label, .form-field span.wpcf7-form-control-wrap textarea:focus + label, .form-field span.wpcf7-form-control-wrap textarea:not(:placeholder-shown) + label {
    font-size: 0.75rem;
    top: 9px;
}

form input:not([type="checkbox"], [type="submit"]), form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000000;
    background-color: transparent;
    font-family: "Montserrat-Regular", Verdana, sans-serif;
    font-size: 1.05rem;
    padding-left: 4px;
    padding-right: 4px;
}

form input, form textarea {
    height: 60px;
    padding-top: 25px;
}

form input:focus, form textarea:focus {
    outline: none;
}

::placeholder {
    color: transparent;
}

form input[type="checkbox"] {
    display: none;
}

form input[type="checkbox"] + span {
    display: block;
    text-align: left;
    padding-left: 32px !important;    
    position: relative;
    cursor: pointer;
}

form input[type="checkbox"] + span, form input[type="checkbox"] + span a {
    font-size: 1.15rem;
}

form input[type="checkbox"] + span:before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    text-align: center;
    border: 1px solid #22231C;
    left: 0;
    top: calc(50% - 11px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat-Regular", sans-serif;
}

form input[type="checkbox"]:checked + span:before {
    content: 'X';
}

form #submit {
    width: fit-content;
    width: -moz-fit-content;
}

form #submit, .contact-details a.location-bttn {
    position: relative;
}

form #submit:hover > input[type="submit"], .contact-details a.location-bttn:hover {
    color: #fff;
}

form #submit:after, .contact-details a.location-bttn:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0%;
    top: 0;
    left: 0;
    background-color: #000;
    z-index: -1;
}

form #submit:hover:after,  .contact-details a.location-bttn:hover:after {
    height: 100%;
}

.contact-details a.location-bttn:after {
    width: calc(100% + 2px);
    top: -1px;
    left: -1px;
}

.contact-details a.location-bttn:hover:after {
    height: 106%;
}

form #submit:after, form #submit:hover:after, .contact-details a.location-bttn:after, .contact-details a.location-bttn:hover:after {
    transition: all .65s cubic-bezier(.33,1,.68,1);
    -webkit-transition: all .65s cubic-bezier(.33,1,.68,1);
    -moz-transition: all .65s cubic-bezier(.33,1,.68,1);
    -o-transition: all .65s cubic-bezier(.33,1,.68,1);
}

form input[type="submit"] {
    background-color: transparent;
    padding-left: 35px;
    padding-right: 35px;
    position: relative;
    z-index: 1;
}


/* --------- CONTACT FORM 7 PLUGIN --------- */
.wpcf7-list-item {
    margin: 0;
}

.wpcf7-spinner {
    position: absolute;
    left: 100%;
    top: calc(50% - 12px);
}

/* General */
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output, .wpcf7-not-valid-tip, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    border: none;
    padding: 0;
    margin: 1.2rem 0 0 0;
    font-family: "Montserrat-SemiBold";
    font-size: 0.8rem;
}

.wpcf7-not-valid-tip, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    text-align: left;
    padding-left: 5px;
    margin-top: 9px;
    font-family: "Montserrat-Regular";
}

.wpcf7 form.sent .wpcf7-response-output {
	border: none;
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    font-size: 1rem;
    margin: 18px 0;
    padding: 0;
    color: #eeb500;
}




/* ********************************************
                    IMOVEIS
******************************************** */
.grid-displayer {
    width: 100%;
    display: grid;
    grid-gap: 17px;
    margin-top: max(10vw, 9rem);
    grid-template-columns: repeat(4 , 1fr);
}

.grid-displayer.imoveis, .recommendations .grid-displayer, .grid-displayer.remodelacoes {
    grid-template-rows: 22vw;
}

.grid-displayer.imoveis .single {
    grid-area: span 2 / span 2;
    min-height: 44vw;
}

.grid-displayer.imoveis .single a {
    background-size: 105%;
}

.grid-displayer.imoveis .single a:hover {
    background-size: 115%;
}

.grid-displayer .single {
    display: flex;
}

.grid-displayer .single a {
    width: 100%;
    min-height: 22vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
    color: #fff;
    background-size: 220%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(121, 121, 121, 0.7);
    background-blend-mode: multiply;
}

.grid-displayer .single a:hover {
    background-size: 245%;
    background-color: rgba(121, 121, 121, 0.1);
}

.grid-displayer .single a:hover, .grid-displayer .single a:hover > h4, .grid-displayer .single a:hover > button {
    color: transparent;
}

.grid-displayer .single a:hover > button:after {
    background-color: transparent;
}

.grid-displayer .single .in-development {
    position: absolute;
    top: 46px;
    right: 75px;
    color: #000;
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.grid-displayer .single .in-development:before {
    content: url(../img/retangulo-amarelo-grande.svg);
    position: absolute;
    width: calc(100% + 70px);
    height: auto;
    margin-top: 5px;
    z-index: -1;
}

.grid-displayer .single h4, .grid-displayer .single button {
    color: #fff;
}

.grid-displayer .single h4 {
    margin-top: 1.7rem;
    margin-bottom: 0.3rem;
}

.grid-displayer .single .description {
    margin-top: -6px;
    margin-bottom: 16px;
    text-transform: uppercase;
}


.grid-displayer .single button {
    font-family: "Montserrat-Regular", Verdana, sans-serif;
    font-size: 0.8rem;
    position: relative;
}

.grid-displayer .single button:after {
    height: 1px !important;
    bottom: -0.1px;
}


/* ----- SINGLE POST PAGE ----- */
/* single imoveis */
.single-imoveis h1 {
    margin-bottom: 0;
}

.page-intro h2.tipology {
    font-family: "Montserrat-Medium", Verdana, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-top: -6px;
}

.page-intro .building-description {
    font-family: "Montserrat-Medium", Verdana, sans-serif;
    line-height: 17px;
    font-size: 14px;
    display: block;
    margin-top: 9px;
}

.all-tipologies {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-column-gap: 12px;
    margin: 2rem 0 3rem 0;
    padding-left: 3px;
}

.all-tipologies a {
    min-width: 82px;
    padding: 2px 22px;
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    color: #000;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
}

.all-tipologies a:not(.active) {
    border: 2px solid #000;
}

.all-tipologies a.active, .all-tipologies a:not(.active):hover {
    border: 2px solid #eeb500;
    background-color: #eeb500;
}


.all-details {
    margin-top: 1rem;
    padding-left: 3%;
}

.all-details-wrapper {
    display: none;
    padding-top: 2rem;
}

.all-details span.title {
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.all-details ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.all-details ul li {
    width: 100%;
    display: grid;
    grid-template-columns: 42% 58%;
}

.all-details ul li span {
    font-size: 0.9rem;
}

.all-details ul li span:nth-of-type(2) {
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
}

.all-details button.more {
    color: #eeb500;
    text-transform: none;
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
}


.planta {
    margin-top: 9rem;
}

.planta h3 {
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.planta h3:after {
    content: url(../img/retangulo-amarelo.svg);
    position: absolute;
    top: 37%;
    width: 150px;
    z-index: -1;
}

.planta img {
    width: 60%;
    display: block;
    margin: -2% auto 0 auto;
    position: relative;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}
/* -- */

.details {
    padding: 0;
}

.details .single {
    display: grid;
    grid-template-rows: max(5vw, 6rem) max-content;
    align-items: end;
    justify-items: center;
    padding: 0 5px;
}

.details .single svg {
    width: 100%;
}

.details .single span {
    font-family: "Montserrat-Medium", Verdana, sans-serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-top: 1.6rem;
    color: #000;
    text-align: center;
}


/* ----- IMAGE GALLERY ----- */
.grid-displayer.image-gallery {
    display: flex;
    flex-direction: column;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- loading with AJAX ----- */
.main-wrapper .details, .main-wrapper .content-wrapper, .dot-flashing {
    opacity: 1;
    transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -moz-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
}

.main-wrapper .details.loading, .main-wrapper .content.loading .content-wrapper, .main-wrapper .all-details.loading {
    opacity: 0;
}

/* spinner */
.dot-flashing.hidden {
    opacity: 0;
    pointer-events: none;
}

.dot-flashing {
    width: 11px;
    height: 11px;
    border-radius: 5px;
    background-color: #eeb500;
    color: #eeb500;
    position: absolute;
    top: 15rem;
    left: 2.45%;
    animation: dotFlashing 1s infinite linear alternate;
    animation-delay: .5s;
}

.content {
    position: relative;
}

.content .dot-flashing {
    top: -2rem;
    left: calc(50% - 50px);
    z-index: 5;
}
  
  .dot-flashing::before, .dot-flashing::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
  }
  
  .dot-flashing::before {
    left: -17px;
    width: 11px;
    height: 11px;
    border-radius: 5px;
    background-color: #eeb500;
    color: #eeb500;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 0s;
  }
  
  .dot-flashing::after {
    left: 17px;
    width: 11px;
    height: 11px;
    border-radius: 5px;
    background-color: #eeb500;
    color: #eeb500;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 1s;
  }
  
  @keyframes dotFlashing {
    0% {
      background-color: #eeb500;
    }
    50%,
    100% {
      background-color: #fbe7aa96;
    }
  }

/* ----- RECS/RECOMMENDATIONS ----- */
.recommendations {
    margin-top: max(12vw, 10rem);
}

.recommendations .grid-displayer {
    margin-top: 5rem;
}

.recommendations h3 {
    font-family: "Montserrat-SemiBold", Verdana, sans-serif;
    font-size: 1.9rem;
    text-align: center;
    text-transform: uppercase;
    color: #2b2b2a;
    position: relative;
}

.recommendations h3:before {
    content: url(../img/arrow-recs.svg);
    position: absolute;
    width: 35px;
    height: 43px;
    top: -65px;
    left: calc(50% - 35px / 2);
    animation: upDown 2.3s ease-out infinite;
}

@keyframes upDown {
    0% {
        transform: translateY(-12px);
    }
    50% {
        transform: translateY(8px);
    }
    100% {
        transform: translateY(-12px);
    }
}


/* ********************************************
            REABILITACAO & REMODELACAO
******************************************** */
.page-template-page-reabilitacao_remodelacao .about-page h3 {
    letter-spacing: 0.5px;
    font-size: 1.8rem;
    max-width: 35rem;
    margin-bottom: 2rem;
}

.page-template-page-reabilitacao_remodelacao .about-page h3, .page-template-page-reabilitacao_remodelacao strong {
    font-family: "Montserrat-Bold", Verdana, sans-serif;
}

.page-template-page-reabilitacao_remodelacao p {
    margin-bottom: 0;
}

.page-template-page-reabilitacao_remodelacao ul {
    padding-left: 17px;
    margin-bottom: 0;
}

.page-template-page-reabilitacao_remodelacao ul li {
    list-style-type: disc;
}

.grid-displayer.reabilitacao {
    grid-template-rows: 44vw;
}

.reabilitacao .single {
    grid-area: span 1 / span 2;
    background-size: 105%;
}

.reabilitacao .single a {
    background-size: 105%;
}

.reabilitacao .single a:hover {
    background-size: 120%;
}


/* ********************************************
                REMODELACOES
******************************************** */
.remodelacoes .single:nth-of-type(10n), .remodelacoes .single:nth-of-type(10n - 9) {
    min-height: 44vw;
    grid-area: span 2 / span 2 / span 2 / span 2;
}


/* ********************************************
                    ANIMATIONS
******************************************** */
.split-cards .card:nth-of-type(2), .imoveis .single:nth-of-type(4n-2), .recommendations .single:nth-of-type(4n-2), .reabilitacao .single:nth-of-type(2),  #footer-col-2 {
    transition-delay: 0.15s !important;
}

.imoveis .single:nth-of-type(4n-1), .recommendations .single:nth-of-type(4n-1), #footer-col-3 {
    transition-delay: 0.3s !important;
}

.imoveis .single:nth-of-type(4n), .recommendations .single:nth-of-type(4n) {
    transition-delay: 0.45s !important;
}

footer .footer-cols .footer-col.slide-up:not(.loaded) {
    transform: translateY(5vw);
}