/* jumbotron related styles */

.jumbotron {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 95vh;
}

.jumbo-small {
    min-height: 60vh !important;
    background-position: left bottom !important;
}

.empty-block {
    height: 50px !important;
    width: 100% !important;
    clear: both !important;
}

@media (max-width: 600px) {
    .jumbotron {
        background-color: rgb(30, 155, 232);
        background-image: none !important; 
    }
}

/* homepage styles */

.homepage-title {
    color: whitesmoke;
    font-size: 3rem;
    padding-top: 6rem;
    text-shadow: 4px 2px 9px black;
}

.homepage-subtitle {
    color: whitesmoke;
    font-weight: bold;
}

.homepage-subtitle>span {
    font-size: 130%;
    color: black;
}

.homepage-subtitle>span.portuyellow {
    font-size: 130%;
    color: #ffc107 !important;
}

.lead {
    font-weight: normal;
}

.fa-li {
    right: -2em !important;
    color: green !important;
}

.homepage-text {
    font-weight: normal;
    font-size: 1.25rem;
}

ul li {
    padding: 5px 0px;
}

.lead {
    font-weight: normal;
}

.fa-li {
    right: -2em !important;
    color: green !important;
}

.fa-li.red {
    right: -2em !important;
    color: red !important;
}

.homepage-text {
    font-weight: normal;
    font-size: 1.25rem;
}

ul.fa-ul>li strong {
    color: green;
}

ul.fa-ul>li.red strong {
    color: red;
}

ul li {
    padding: 5px 0px;
}

.propertyIndexSwiper .carousel-caption>p>span {
    background-color: #ffc107;
    color: black;
    border-radius: 5px;
}

.tiles-single {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
}

.tiles-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
}

@media (max-width: 600px) {
    .tiles {
        grid-template-columns: repeat(1, 1fr);
    }
}

.tile {
    padding: 1rem;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: 0.25s ease;
    border-color: darkgreen;
    border-style: solid;
    border-width: thin medium thick;
}

.tile:hover {
    transform: translateY(-5px);
}

.tile:focus-within {
    box-shadow: 0 0 0 2px #6c757d, 0 0 0 4px #198754;
}

.tile a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.tile a:focus {
    box-shadow: none;
}

.tile a:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tile-header {
    display: flex;
    align-items: center;
}

.tile-header i {
    font-size: 2.5em;
}

.tile-header h3 {
    display: flex;
    flex-direction: column;
    line-height: 1.375;
    margin-left: 0.5rem;
}

.tile-header h3 span {
    font-weight: 600;
}

.tile-header h3 p span {
    font-size: 0.825em;
    font-weight: 600;
    color:green;
}

.tile-header h3 p span.old-price {
    text-decoration: line-through;
    font-size: 0.65em;
}

.whatsapp-contact-logo {
    background-color: #25d366;
    color: #FFF;
    border-radius: 20px;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    text-align: center;
    padding-top: 6px;
}

.email-contact-logo {
    background-color: #ffc107;
    color: black;
    border-radius: 20px;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    text-align: center;
    padding-top: 14px;
}

/* general image styling */

.area-img-40 {
    object-fit: cover;
    object-position: center;
    height: 40vh;
    overflow: hidden;
}

.area-img-60 {
    object-fit: cover;
    object-position: center;
    height: 60vh;
    overflow: hidden;
}

#accordionFaqs button.accordion-button {
    text-align: right !important;
}

/* navbar styles */

.navbar-custom-style {
    font-weight: bold;
    letter-spacing: -1px;
}

#main-navbar .nav-item {
    border-bottom: 2px solid #ffc107;
    margin: 0px 5px;
}

#main-navbar .nav-item:hover {
    border-bottom: 4px solid #ffc107;
    margin: 0px 5px -2px 5px;
}

#main-navbar .navbar-nav {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

/* properties card related (in list view) */

div.pagination-section a {
    text-decoration: none !important;
}

.swiper-pagination-bullet-active {
    color: black !important;
    background: #ffc107 !important;
}

.propertyIndexSwiper .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

#property-images img {
    object-fit: cover;
    object-position: center;
    height: 200px;
    overflow: hidden;
}

.about-product a {
    color: #212529;
}

.about-product a:hover {
    color: #F4E98C;
}

.stats span[class="not-present"] {
    color: #EBEBE4;
    text-decoration: line-through;
}

.stats>.p-reference {
    margin-top: 0.5em;
}

.stats>.p-reference>span {
    font-style: italic;
    font-size: small;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: "";
}

div.card:hover {
    background-color: #F0F8FF !important;
    border: 1px solid black;
}

div.justify-content-between>span.price-entry {
    font-size: 1.5rem;
}

.truncate-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* properties related (in detail page) */

.amenities {
    border-top: 1px solid #DCDCDC;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiper-slide img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.propertyDetailSwiper .swiper-pagination {
    position: absolute;
    left: 40%;
    color: white;
}

@media (max-width: 600px) {

    div.propertyDetailSwiper img,
    div.propertyIndexSwiper img {
        object-fit: cover;
        object-position: center;
        height: 40vh;
        overflow: hidden;
    }
}

@media (min-width: 600px) {

    div.propertyDetailSwiper img,
    div.propertyIndexSwiper img {
        object-fit: cover;
        object-position: center;
        height: 500px;
        overflow: hidden;
    }
}

.propertyDetailSwiper .carousel-caption {
    margin-bottom: -20px;
}

.propertyDetailSwiper .carousel-caption>p>span {
    background-color: #212529;
    color: white;
    border-radius: 5px;
}

div.propertyDetailThumbSwiper div.swiper-slide:hover {
    cursor: pointer;
    border: 3px solid #F4E98C;
}

.propertyDetailThumbSwiper .swiper-slide {
    opacity: 0.4;
}

.propertyDetailThumbSwiper .swiper-slide-thumb-active {
    opacity: 1;
}

@media (max-width: 600px) {
    .propertyDetailThumbSwiper {
        height: 9vh;
        box-sizing: border-box;
        padding-top: 15px;
    }
}

@media (min-width: 600px) {
    .propertyDetailThumbSwiper {
        height: 110px;
        box-sizing: border-box;
        padding-top: 15px;
    }
}

/* section related */

section {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

/* tags related */

.notify-badge {
    position: absolute;
    right: 10px;
    top: 5px;
}

.badge.new {
    background-color: #0d6efd !important;
}

.badge.protected.tenant {
    background-color: #dc3545 !important;
}

.badge.price.drop {
    background-color: #ffc107 !important;
}

.badge.sold {
    background-color: #0dcaf0 !important;
}

.badge.opportunity {
    background-color: #198754 !important;
}

.badge.exclusive {
    background-color: #808080 !important;
}

.blue-asterisk {
    color: #0d6efd !important;
}

.blue-asterisk::before {
    content: "*";
    font-weight: bold;
}

.exchange-rate-note {
    font-size: 0.9rem;
}

/* filter related */

.noUi-connect {
    background: #007bff;
}

/* custom arrow styling on carousel navigation */

.custom-arrow-prev {
    height: 30px;
    width: 30px;
    background-size: 100%, 100%;
    background-color: whitesmoke;
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M12 0c6.623 0 12 5.377 12 12s-5.377 12-12 12-12-5.377-12-12 5.377-12 12-12zm0 1c6.071 0 11 4.929 11 11s-4.929 11-11 11-11-4.929-11-11 4.929-11 11-11zm3 5.753l-6.44 5.247 6.44 5.263-.678.737-7.322-6 7.335-6 .665.753z"/></svg>');
}

.custom-arrow-next {
    height: 30px;
    width: 30px;
    background-size: 100%, 100%;
    background-color: whitesmoke;
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M12 0c6.623 0 12 5.377 12 12s-5.377 12-12 12-12-5.377-12-12 5.377-12 12-12zm0 1c6.071 0 11 4.929 11 11s-4.929 11-11 11-11-4.929-11-11 4.929-11 11-11zm-3 5.753l6.44 5.247-6.44 5.263.678.737 7.322-6-7.335-6-.665.753z"/></svg>');
}

@media (min-width: 600px) {
    .custom-arrow-prev {
        margin-left: 20px;
    }

    .custom-arrow-next {
        margin-right: 20px;
    }
}

/* article */

section.article .author {
    color: #ffc107;
    font-size: 0.95rem;
}

section.article .author .date {
    color: #ffc107;
    font-size: 0.80rem;
}

/* newsletter */

#newsletter-signup-form {
    background: #ffc107;
    color: black;
    padding: 50px 0px;
}

#newsletter-signup-form .container {
    text-align: center;
}

/* animated counter */

.counters {
    background: #ffc107;
    color: black;
    padding: 20px 20px;
    scroll-margin-top: 60px;
}

.counters .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    text-align: center;
}

.counters .counter {
    font-size: 40px;
    margin: 10px 0;
}

.counter-symbol {
    font-size: 40px;
}

@media (max-width: 600px) {
    .counters .container {
        grid-template-columns: repeat(1, 1fr);
    }

    .counters .container>div:nth-of-type(1),
    .counters .container>div:nth-of-type(2) {
        border-bottom: 1px black solid;
        padding-bottom: 20px;
    }
}

/* footer related styles */

footer {
    padding: 2rem 0;
    background-color: #212529;
}

#main-footer a {
    color: #6c757d;
    text-decoration: none;
}

#main-footer a:hover {
    color: #ffc107;
    text-decoration: none;
}

#main-footer ::selection {
    background: #ffc107;
    text-shadow: none;
}

#main-footer .footer-column:not(:first-child) {
    padding-top: 2rem;
}

@media (min-width: 600px) {
    #main-footer .footer-column:not(:first-child) {
        padding-top: 0rem;
    }
}

#main-footer .footer-column {
    text-align: center;
}

#main-footer .footer-column .nav-item .nav-link {
    padding: 0;
}

#main-footer .footer-column .nav-item span.nav-link {
    color: #6c757d;
}

#main-footer .footer-column .nav-item span.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

#main-footer .footer-column .nav-item .fas {
    margin-right: 0.5rem;
}

#main-footer .footer-column ul {
    display: inline-block;
    line-height: 1.25;
}

#main-footer ul.social-buttons {
    margin-bottom: 0;
}

#main-footer ul.social-buttons li a:active,
#main-footer ul.social-buttons li a:focus,
#main-footer ul.social-buttons li a:hover {
    background-color: #ffc107;
}

#main-footer ul.social-buttons li a {
    font-size: 20px;
    line-height: 40px;
    display: block;
    width: 40px;
    height: 40px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    color: #fff;
    border-radius: 100%;
    outline: 0;
    background-color: #1a1d20;
}

#main-footer footer .quick-links {
    font-size: 90%;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#main-footer .copyright {
    color: white;
}

#main-footer .fa-ellipsis-h {
    color: white;
    padding: 0 0 0.5rem 0;
}

#main-footer address {
    margin-bottom: 0.5rem;
}

/* floating whatsapp icon styles */

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
}

.my-float {
    margin-top: 16px;
}

a.float:hover {
    color: white;
    text-decoration: none;
    filter: brightness(120%);
}

/* scroll down arrow style */

div.arrow.bounce a {
    color: whitesmoke;
    text-decoration: none;
}

.arrow {
    text-align: center;
    margin: 8% 0;
}

.bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

/* mapbox related style */

#property-map {
    width: 80%;
    height: 300px;
}

/* read more/read less button */

span[id^="more-about"] {
    display: none;
}

#investing-risks h6 {
    text-align: center;
    color: red;
    font-weight: bold;
}

#investing-risks img {
    filter: grayscale(100%) brightness(90%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(0.8);
}
.dropdown-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}
