@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Rubik", sans-serif;
    font-size: 15px;
}

@media screen and (min-device-width: 992px) and (max-device-width: 1200px) {
    .nav-item a {
        font-size: 14px;
    }

    .broker-card button {
        font-size: small;
    }
}

.nav-item a {
    color: #3a3939;
    font-weight: 500;
    border-radius: 10px;
}

.nav-item a:hover {
    color: #3a3939;
    font-weight: 500;
    background-color: rgb(248, 245, 245);
    border-radius: 10px;
    transition: 0.5s ease;
}

.sign-up-btn {
    background-color: transparent;
    border: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 5px;
}

.sign-up-btn a {
    text-decoration: none;
}

.join-btn {
    border: none;
    background-color: red;
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
}

.join-btn a {
    color: white;
    text-decoration: none;
}

.navbar-brand {
    color: red;
    font-weight: 600;
}

.navbar-brand span {
    color: rgb(0, 0, 0);
    font-weight: 600;
    text-transform: uppercase;
}

.search-section-wrapper {
    position: relative;
}

.search-card-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
}

/* stroke */
.tab-list .tab-list-link button,
nav.fill .tab-list-link button {
    position: relative;
}
.tab-list .tab-list-link button:after,
nav.fill .tab-list-link button:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: ".";
    color: transparent;
    background: #aaa;
    height: 1px;
}
.tab-list .tab-list-link button:hover:after {
    width: 100%;
}

nav.fill .tab-list-link button {
    transition: all 2s;
}

nav.fill .tab-list-link button:after {
    text-align: left;
    content: ".";
    margin: 0;
    opacity: 0;
}
nav.fill .tab-list-link button:hover {
    color: #fff;
    z-index: 1;
}
nav.fill .tab-list-link button:hover:after {
    z-index: -10;
    animation: fill 1s forwards;
    -webkit-animation: fill 1s forwards;
    -moz-animation: fill 1s forwards;
    opacity: 1;
}

.tab-list-link-btn {
    border: none;
    background-color: transparent;
    padding: 5px 45px;
    transition: border-bottom 0.3s ease;
}

.tab-list-link-btn.active {
    border-bottom: 3px solid red;
}

/* .tab-list-link-btn:hover {
    border: none;
    background-color: transparent;
    padding: 5px 45px;
} */

.tab-list {
    display: flex;
    justify-content: space-around;
}

.search-input-feild {
    border: 1px solid rgb(230, 230, 230);
    padding: 10px 100px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.search-input-feild:focus {
    border: none !important;
}

.search-btn i {
    background-color: red;
    padding: 15px 20px;
    color: white;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.search-btn button {
    border: none;
}

@media only screen and (max-width: 600px) {
    .search-card-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgb(255, 255, 255);
        border-radius: 15px;
    }
    .tab-list-link-btn {
        border: none;
        background-color: transparent;
        padding: 5px 5px;
        border-bottom: 2px solid transparent;
    }

    .tab-list-link-btn:hover {
        border: none;
        background-color: transparent;
        padding: 5px 5px;
        border-bottom: 2px solid red;
    }

    .tab-list {
        display: flex;
        justify-content: space-around;
    }

    .search-input-feild {
        border: 1px solid grey;
        padding: 10px 50px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .search-input-feild:focus {
        border: none !important;
    }

    .search-btn i {
        background-color: red;
        padding: 15px 20px;
        color: white;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .search-btn button {
        border: none;
    }

    .search-section img {
        height: 250px;
        transition: 0.5s ease;
    }

    .explore-card-wrapper {
        display: flex;
    }

    .explore-card-content {
        padding-left: 5px;
    }

    .slick-next {
        position: absolute;
        background-color: red;
        color: red;
        left: 90%;
        z-index: 20000;
        border: 1px solid white;
    }

    .slick-next .slick-arrow {
        position: absolute;
        background-color: red;
        color: red;
        right: 10px;
        z-index: 20000;
        border: 1px solid white;
        visibility: hidden !important;
    }

    .search-results-img img {
        height: 250px;
    }
}

.search-results-images {
    position: relative;
}
.menu-btn {
    border: none;
    background-color: transparent;
}

/* Mobile Nav */

.mobile-navbar {
    list-style: none;
}

.mobile-navbar li a {
    text-decoration: none;
    color: white;
    transition: 0.5s ease-in-out;
}

.mobile-navbar-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.2s;
    padding-top: 60px;
}

.close-btn a i {
    color: white;
}

.mob-nav-link a:hover {
    color: red;
    padding-left: 5px;
}

.explore-btn button {
    border: 2px solid rgb(145, 143, 143);
    padding: 8px 20px;
    border-radius: 20px;
    background-color: transparent;
}

/* Tab Content */
.tabcontent {
    display: none;
}
.tabcontent.active {
    display: block;
}
.tablinks.active {
    background-color: #000000;
    color: white;
    border: 2px solid rgb(0, 0, 0);
}

.tablinks {
    color: black;
}

.tablinks {
    padding: 5px 10px;
    border-radius: 15px;
}

.explore-card-wrapper {
    border: 1px solid rgb(226, 223, 223);
    border-radius: 15px;
}

.explore-card-link a {
    color: rgb(8, 79, 121);
    text-decoration: none;
}
/* */

.latest-property-image img {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

/* */

.property-news-header p {
    text-align: start;
    font-weight: 500;
}

.property-news-header-wrapper {
    line-height: 20px;
}

/* Broker Cards */

.brokers-wrapper {
    cursor: grab;
}

.broker-card {
    border-radius: 10px;
    border: 1px solid rgb(240, 240, 240);
}
.broker-header {
    background-color: rgb(10, 36, 15);
    color: white;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.broker-name {
    line-height: 3px;
}

.broker-card button {
    font-size: small;
}

/* Search */

.search-results-section-wrapper {
    background-color: #ffffff;
}

.search-results-wrapper {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 10px;
}

.search-results-wrapper-header {
    background-color: rgb(255, 255, 255);
    height: 65px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: rgb(0, 0, 0);
}

.search-results-broker-image img {
    position: relative;
    bottom: -20px;
    border: 2px solid white;
    z-index: 1000;
}

.broker-name p {
    font-weight: 500;
}

.search-results-img img {
    z-index: -1;
}

.property-details-wrapper-bg {
    background-color: rgb(255, 255, 255) !important;
    position: relative;
}

#property {
    position: relative;
}

.property-details-wrapper a {
    color: black;
    text-decoration: none;
}

.property-details-wrapper a:hover {
    text-decoration: none;
    color: #444242;
}

.search-results-wrapper:hover .search-results-wrapper-header {
    background-color: rgb(172, 58, 58) !important;
    transition: 0.5s ease-in-out;
    color: white;
}
a:hover {
    color: rgb(48, 47, 47);
}
.slick-next {
    position: absolute;
    background-color: red;
    color: red;
    left: 92%;

    border: 1px solid white;
}

.slick-prev {
    position: absolute;
    background-color: red;
    color: red;
    right: 95%;
    z-index: 20000;
    border: 1px solid white;
}

/* Search Filters */

.filter-btn {
    background-color: transparent;
    border: 1px solid rgb(192, 190, 190);
    padding: 8px 18px;
    border-radius: 15px;
    transition: 0.5s;
}

.filter-btn:hover {
    background-color: rgb(0, 0, 0);
    border: 1px solid black;
    padding: 8px 18px;
    border-radius: 15px;
    color: rgb(255, 255, 255);
}

.filter-input {
    border: 1px solid rgb(231, 231, 231);
}

.filter-content-wrapper {
    border: 1px solid rgb(255, 255, 255);
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 10px;
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}
#no-results-message {
    display: none;
}

/* Property Details */

.top-ribbon {
    background-color: rgb(160, 13, 13);
    height: 50px;
}

.property-details-bg-wrapper {
    background-color: #ffffff;
}

.related-properties-wrapper {
    background-color: #ffffff;
}
.last-image {
    position: relative;
}

.image-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-count h1 {
    color: rgb(255, 254, 254);
}

.mobile-main-imge {
    position: relative;
}

.image-count h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    font-size: 50px;
}

.other-image,
.main-image,
.mobile-main-imge {
    cursor: pointer;
}

.other-image img:hover,
.main-image img:hover,
.mobile-main-imge img:hover {
    opacity: 90%;
}

.social-network-links a i {
    color: grey;
}

.broker-email-request-form-wrapper {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 15px;
}

.sticky-form {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
}

.related-properties-card-img img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.related-property-details-wrapper {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.related-property-details {
    line-height: 8px;
}

/* public/css/custom.css */
/* Override the default pagination link colors */
.pagination .page-link {
    color: #fdfcfc; /* Text color */
    background-color: #eb7e53; /* Background color */
    border-color: #f09680; /* Border color */
}

/* Override active page link */
.pagination .page-item.active .page-link {
    background-color: #fa0909; /* Active background color */
    border-color: #f51606; /* Active border color */
}

/* Hover effect for pagination links */
.pagination .page-link:hover {
    background-color: #e74809; /* Active background color */
    border-color: #f51606; /* Hover border color */
    color: #fff; /* Hover text color */
}

.property-img-mobile-view {
    position: relative;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100000000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    border: 1px solid #888;
    width: 400px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.footer-link {
    text-decoration: none;
    color: #000000;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: #555;
}

.login-section-wrapper {
    position: relative;
}

.login-bg-img {
    position: absolute;
    z-index: -1;
}

.login-card-wrapper {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
}

.login-card-wrapper .card {
    width: 100%;
}
