body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.42857143;
  background: #11172A;
  color:#EDEFF7;

}



h1,h2,h3,h4 {
    color:#2579f3;
}

h3 {font-size:20px;}

a {color:#2579F3;}
a:hover {text-decoration:none;color:#6CA7FC;}


.page-header {border-bottom:0;}
/*
table tbody > tr:nth-child(2n+1) > th,table tbody > tr:nth-child(2n+1) > td {
    background:#40424D;
    color:#ccc;
    border:0;
}

.listing-details-table th,.listing-details-table td, .table > tbody > tr > th,.table > tbody > tr > th:hover,.table > tbody > tr:hover,.table > tbody > tr > td, .listing-details-table th:hover,.listing-details-table td:hover {
    background:#6E7180;
    color:#ccc !important;
    border:0 !important;
}
    */
.listing-wrapper {padding:2%;background:#EDEFF7;box-shadow: 0 0 15px rgba(0,0,0,0.05);border-radius: 0 25px 0 0;color:#1E1E24;}

.listing-details-table td,.listing-details-table th{border:0 !important;}

 
.listing-title {margin:0;padding:10px;}

.pricebadge {position:absolute;top:0;right:0;background:#11172A;color:#fff;margin:5px 5px 0 0;padding:2px 8px;border-radius:5px;font-size:140%;font-weight:600;}


#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    font-size:15px;
    height:50px;
    line-height:50px;
    font-weight: bold !important; /* stronger */
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item:hover > a.mega-menu-link {
    border-bottom:10px solid #ccc;
    height:50px;
    line-height:50px;
    color:#2579F3;
    background:#fff;
    font-weight: bold;
    transition: 0.3s;
}


#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
    background:#fff;
    border:1px solid #ccc;
}


/* Grid for listings */
.listing-container {
    margin: 2rem auto;
    max-width: 1150px;
}
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}
.listing-item {
    border: 1px solid #000000;
    padding: 0 0px;
    text-align: center;
    transition: .2s;
    background:#1E1E24;
    overflow: hidden;
    color:#9DA2B3;
    border-radius:0 13px 0 0;
}
.listing-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    background:#18181c;
    color:#fff;
}

.listing-item .btn {display:block;}

.listing-item img {
    width: 100%;
    height: 250px;   /* or adjust to your preferred height */
    object-fit: cover;
    display: block;
    filter: opacity(0.8);

    transition: transform 0.3s ease, filter 0.3s ease;
}

.listing-item:hover img {
    transform: scale(1.05);
    filter: opacity(1);
}

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-secondary:focus, .btn-secondary:active {
    padding: 8px 12px;
    background: #2579f3;
    border: 1px solid #2579f3;
    color: #fff;
}
.btn-primary:hover, .btn-secondary:hover {
    background: #6CA7FC;
    border: 1px solid #6CA7FC;
    color: #fff;
    transition: transform 1.5s;
}




/* Filter layout */
.listing-filter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1150px;
    margin: 2rem auto;
}

.listing-filter > div:last-child {
    grid-column: 1 / -1; /* span all columns */
    display: flex;
    justify-content: center;
}

.listing-filter select,
.listing-filter input {
    padding: 8px;
    box-sizing: border-box;
    background: #BCBFCC;
    border-radius: 5px;
    border: 0;
}

/* Row 1 - Sector / Tenant / Location */
.listing-filter .row-1 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Row 2 and Row 3 - Price, Cap Rate, NOI, Lease */
.listing-filter .row-2,
.listing-filter .row-3 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Responsive layout: 2 items per row on small screens */
@media (max-width: 600px) {
    .listing-filter .row-1 {
        grid-template-columns: 1fr;
    }

     .listing-filter {padding:3%}

    .listing-filter .row-2,
    .listing-filter .row-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}




input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea
{border:0;}

/* Multiselect buttons */
.btn-group > .multiselect, .form-control {
    background: #BCBFCC;
    border: 0px solid #11172a;
    color: #11172a;
    border-radius: 4px;
    min-height: 48px;
    padding: 6px 10px;
    text-align: left;
    width: 100%;
}
.btn-group.open > .multiselect,
.btn-group.show > .multiselect {
    background: #f9f9f9;
    border-color: #11172a;
}

.form-control::placeholder, input::placeholder {color:#000;}

/* Dropdown container */
.multiselect-container.dropdown-menu {
    display: none;
    padding: 6px;
    width: 100% !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #ccc;
    /*max-height:120px;
    overflow:auto;*/
}
.btn-group.open.show > .dropdown-menu,
.btn-group.open .dropdown-menu,
.btn-group.show .dropdown-menu {
    display: block;
}

/* Each option */
.multiselect-container .dropdown-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border: 0;
    width: 100%;
    background: none;
    font-size: 14px;
}
.multiselect-container .multiselect-option.dropdown-item:hover {
    background: #f2f2f2 !important;
}

/* Checkboxes & labels */
.multiselect-container .form-check {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding:0 !important;
}
.multiselect-container .form-check-input {
    margin-right: 8px;
    transform: scale(1);
    vertical-align: middle;
}
.multiselect-container .form-check-label {
    display: inline-block;
    margin: 0;
    font-size: 14px;
    color: #11172a;
    vertical-align: middle;
}
.multiselect-container .multiselect-all .form-check-label {
    font-weight: bold;
}

/* Search box */
.multiselect-container .multiselect-search {
    font-size: 14px;
    padding: 4px 8px;
}
.fa-search {
    display: none;
}

/* Fine tune multiselect spacing */
.multiselect-container .multiselect-option .form-check,
.multiselect-container .multiselect-group .form-check,
.multiselect-container .multiselect-all .form-check {
    padding: 0 5px 0 0;
}
.multiselect-container .multiselect-filter > input.multiselect-search {
    margin: 0;
}
[type=button], [type=submit], button {
    font-size: 1.5rem;
}

#load-more-listings,
#load-more-listings:active,
#load-more-listings:focus,
#load-more-listings.active {
    background-color: darkred;
    color: white;
    border-color: darkred;
}

#load-more-listings:hover {
background:#000;
transition: 0.5s;
}




.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.pagination .nav-links a,
.pagination .nav-links span {
    display: inline-block;
    padding: 0.6rem 1rem;
    text-decoration: none;
    font-weight: 500;
    color: #ccc; /* Text */
    background-color: #40424D;
    border: 2px solid #11172A;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .nav-links a:hover {
    background-color: #1E1E24; /* Secondary on hover */
    color: #ffffff;
    border-color: #11172A;
}

.pagination .nav-links .current {
    background-color: #2579F3; /* Primary for current */
    color: #ffffff;
    border-color: #11172A;
}

.pagination .nav-links a:focus {
    outline: 2px solid #11172A; /* Accent focus ring */
    outline-offset: 2px;
}


.listing-details-table th,
.listing-details-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.listing-details-table th {
    text-align: left;
    font-weight: 600;
    color: #333;
}
.listing-details-table td {
    text-align: right;
    color: #555;
}
.listing-details-table tr:hover {
    background: #fafafa;
}
.listing-taxonomies .listing-badge {
    display: inline-block;
    background: #1E1E24;
    color: #BCBFCC;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.85em;
    margin-right: 5px;
    transition: background 0.3s;
}
.listing-taxonomies .listing-badge a {
    text-decoration: none;
    color: inherit;
}
.listing-taxonomies .listing-badge:hover {
    background: #40424D;
}

.taxonomy-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 5px;
    font-size: 0.95em;
}

.taxonomy-link a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: #FAFBFF;
}

.term-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.term-count {
    background-color: #2579F3;
    color: #FAFBFF;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.8em;
    margin-left: 8px;
    min-width: 24px;
    text-align: center;
}

.taxonomy-link:hover {
    background-color: #FAFBFF;
    border-radius: 6px;
    color:#11172A !important;
}
.taxonomy-link a:hover {
 color:#11172A !important;
}
table tbody > tr:nth-child(2n+1) > th,table tbody > tr:nth-child(2n+1) > td {background:none;}


.modern-listing-table tr,
.modern-listing-table tr:nth-child(odd),
.modern-listing-table tr:nth-child(even),
.modern-listing-table tr:hover,
.modern-listing-table tr:nth-child(odd):hover,
.modern-listing-table tr:nth-child(even):hover,
.modern-listing-table tr:hover th,
.modern-listing-table tr:hover td,
.modern-listing-table th,
.modern-listing-table td {
    background: none !important;
}
.modern-listing-table-wrapper {
    background: #ffffff;
    border-radius: 0 0 13px 13px;
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.modern-listing-table {
    width: 100%;
    font-size: 16px;
    color: #1E1E24;
    border-collapse: collapse;
}

.modern-listing-table tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #F2F2F2;
}

.modern-listing-table tr:last-child {
    border-bottom: none;
}

.modern-listing-table th,
.modern-listing-table td {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.modern-listing-table th {
    font-weight: 500;
    color: #40424D;
    text-align: left;
}

.modern-listing-table td {
    text-align: right;
    color: #6E7180;
}

.pt-2 {padding-top:10px;} 
.pb-3 {padding-bottom:10px;} 