:root {
    --brand-color: #6c9896;
}

.apex27-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1366px;
    width: calc(100% - 4rem);
}

.apex27-container h2 {
    margin-top: 6rem;
    margin-bottom: 2rem;
}

.apex27-container h1,
.apex27-container h3 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.apex-container h2 {
    font-size: 32px;
}

.apex-container h3 {
    font-size: 28px;
}

.apex27-container h4 {
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 24px;
}

ul.apex27-media-list, ol.apex27-media-list {
    margin-bottom: 3rem;
}

@media (min-width: 700px) {
    .apex27-container {
        width: calc(100% - 8rem);
    }

    ul.apex27-media-list, ol.apex27-media-list {
        margin-bottom: 4rem;
    }

}

.apex27-footer {
    text-align: center;
    line-height: 32px;
    margin-top: 48px;
    margin-bottom: 32px;
}

.apex27-footer img {
    vertical-align: middle;
}

.sr-only {
    display: none;
}

.d-flex {
    display: flex!important;
}

.d-inline {
    display: inline!important;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-fill {
    flex: 1 1 auto!important;
}

.px-3 {
    padding-left: 16px;
    padding-right: 16px;
}

.mb-0 {
    margin-bottom: 0!important;
}

.my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
}

.my-5 {
    margin-top: 48px;
    margin-bottom: 48px;
}

.mt-0 {
    margin-top: 0!important;
}

.btn {
    font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
    padding: 8px 16px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    background-color: #6c9896; /* Apply the brand color */
    color: white; /* Text color */
    border-radius: 4px; /* Optional: rounded corners */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #000000!important;
    text-decoration: none;
}

.btn-brand {
    background-color: #6c9896 !important;
    color: white !important;
}

.btn-brand:hover {
    background-color: #000000; !important;
    color: white !important;
}

.text-brand {
    color: #6c9896 !important;
}

.text-center {
    text-align: center!important;
}

.text-right {
    text-align: right!important;
}

.lead {
    font-size: 24px;
}

.featured-badge {
    display: inline-block;
    background: rgba(255, 0, 0, .75);
    padding: 0 0.5rem;
    font-weight: bold;
}

#property-search-form .d-flex > * {
    margin-bottom: 6px;
    margin-right: 8px;
    /*width: 200px;*/
}

#property-search-form button {
    padding: 0 16px;
    height: 45px;
    background: #6c9896;
    color: white;
    border: 0;
    text-transform: uppercase;
}

#property-search-form select {
    padding: 8px;
    border-radius: 4px;
}

.card > .card-body {
    padding: 16px;
    line-height: 1.5;
}

/* Property Card */

.card.property-card > .card-body {
    background: rgba(0, 0, 0, 0.05);
}

.card.property-card.featured > .card-body {
    background: darkslategrey;
    color: white;
}

.card.property-card img {
    height: 256px;
    object-fit: cover;
}

.card.property-card > .card-body > .d-flex {
    flex-direction: column;
}

.card.property-card .property-card-image {
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
}

.property-card-details {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media screen and (min-width: 768px) {

    .card.property-card > .card-body > .d-flex {
        flex-direction: row;
    }

    .card.property-card .property-card-image {
        width: 30%;
        margin-bottom: 0;
    }

    .property-card-details {
        width: 70%;
    }
}

/* Property Details */

span.property-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 16px;
    background: rgba(255, 0, 0, .75);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

span.property-banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .25);
    padding: 8px 16px;
    color: white;
    text-align: center;
}

.property-details-status, .property-details-banner {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 0, 0, .75);
    color: white;
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
    letter-spacing: 0;
}

.property-details-banner {
    background: rgba(0, 0, 0, .75);
}

.mt-1 {
    margin-top: 8px;
}

.mb-2 {
    margin-bottom: 12px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 48px;
}

.img-fluid {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
	gap: 4rem;
}

.row > div {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}
@media and screen (max-width: 600px) {
	.row > div {
    width: 100%;
    margin-left: 0px!important;
    margin-right: 0px!important;
}
}

.row > div:first-child {
    margin-left: 0;
}

.row > div:last-child {
    margin-right: 0;
}

@media (min-width: 1200px) {

    .mt-xl-0 {
        margin: 0!important;
    }

    .col-xl-4 {
        flex: 4;
    }

    .col-xl-8 {
        flex: 8;
    }

}

ul.property-details-bullets-list {
    color: var(--brand-color);
    list-style-type: square;
}

ul.property-details-bullets-list > li {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

span.bullet-text {
    color: black;
}

.form-group {
    margin-bottom: 8px;
}

#property-details-thumbnails {
    white-space: nowrap;
    overflow: auto;
    margin-bottom: 16px;
    position: relative;
}

#property-details-thumbnails img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    display: inline-block;
    opacity: 0.5;
    cursor: pointer;
}

#property-details-thumbnails img:hover {
    opacity: 0.75;
}

#property-details-thumbnails img.active {
    opacity: 1;
}

#property-details-slider {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

#property-details-slider img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: inline-block;
}

#property-details-slider video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: inline-block;
}

#property-details-slider-prev, #property-details-slider-next {
    position: absolute;
    display: inline-block;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    top: 226px;
    line-height: 48px;
    text-align: center;
}

#property-details-slider-prev:hover,
#property-details-slider-next:hover {
    background: rgba(0, 0, 0, 0.75);
}

#property-details-slider-prev {
    left: 0;
}

#property-details-slider-next {
    right: 0;
}

#property-details-media-buttons .btn {
    margin-bottom: 16px;
}

/* Contact Form 

#apex27-contact-form label {
    display: inline-block;
}

#apex27-contact-form input[type=text],
#apex27-contact-form input[type=tel],
#apex27-contact-form input[type=email],
#apex27-contact-form textarea,
#apex27-contact-form select
{
    display: block;
    width: 100%;
    padding: 15px 18px;
}

#apex27-contact-form input,
#apex27-contact-form textarea {
    font-family: "Nunito Sans", Helvetica, "Segoe UI", Arial, sans-serif;
}

*/

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1366px;
    margin: 0 auto;
	padding: 0px!important;
}

.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.property-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.property-info {
    padding: 15px;
}

.property-price {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
    margin: 10px 0;
	display: none;
}

.property-subtitle {
    color: #555;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.property-location {
    color: #888;
    font-size: 0.8em;
}

/* Property Page Layouts */
.property-details-layout {
    display: flex;
    gap: 20px;
    max-width: 1366px;
    margin: 0 auto;
}

.property-details-main {
    flex: 2;
    padding-right: 20px;
}

.property-sidebar {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style tweaks for other elements */
#property-details-slider img {
    width: 100%;
	border-radius: 4px;
}

#property-details-thumbnails img {
    width: 60px;
    margin: 5px;
}

.property-details-bullets-list {
    list-style: none;
    padding: 0;
}

#property-details-thumbnails {
    display: flex;
    overflow-x: auto; /* Enables horizontal scrolling */
}

#property-details-thumbnails img {
    flex: 0 0 auto; /* Prevents images from shrinking */
    width: calc(100% / 6); /* Adjust width per image for initial layout */
    max-width: 120px; /* Sets a maximum width to keep thumbnails uniform */
    border-radius: 4px;
}

/* nw form */

/* General Form Styling */
#apex27-contact-form {
    background-color: #ffffff; /* Form background */
    border-radius: 12px; /* Rounded corners for form container */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 24px; /* Padding inside the form */
    max-width: 400px; /* Max width of the form */
    margin: 0;
	margin-top: 2rem;
}

/* Input Fields */
#apex27-contact-form input[type="text"],
#apex27-contact-form input[type="tel"],
#apex27-contact-form input[type="email"],
#apex27-contact-form textarea {
    width: 100%;
    padding: 10px 10px; /* Padding inside input fields */
    border: 1px solid #dddddd; /* Light grey border */
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 8px; /* Space between fields */
    font-size: 16px;
    color: #333333; /* Text color */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); /* Inner shadow */
    transition: border-color 0.3s ease;
}

#apex27-contact-form input[type="text"]:focus,
#apex27-contact-form input[type="tel"]:focus,
#apex27-contact-form input[type="email"]:focus,
#apex27-contact-form textarea:focus {
    border-color: var(--brand-color); /* Border color on focus */
    outline: none;
}

/* Textarea */
#apex27-contact-form textarea {
    resize: vertical; /* Allow vertical resize */
    min-height: 100px; /* Minimum height */
}

/* Radio Buttons */
#apex27-contact-form .radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

#apex27-contact-form .radio-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}

#apex27-contact-form .radio-group input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--brand-color); /* Radio button color */
}

/* Submit Button */
#apex27-contact-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--brand-color); /* Primary color */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
	text-align: center;
}

#apex27-contact-form button[type="submit"]:hover {
    background-color: #555555; /* Darker shade on hover */
    transform: translateY(-2px); /* Slightly raise button on hover */
}

#apex27-contact-form button[type="submit"]:active {
    transform: translateY(0); /* Reset position on click */
}

ul.property-details-bullets-list {
    padding-left: 15px;
}

#property-search-form .d-flex > * {
    margin-bottom: 6px;
    margin-right: 8px;
    width: 200px;
    height: auto;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

#property-search-form {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

#property-search-form .d-flex > * {
    width: 160px;
    height: auto;
    padding: 2px;
	font-size: 14px;
}

@media only screen and (max-width: 600px) {
#property-search-form .d-flex > * {
    width: 160px;
    height: auto;
    padding: 2px;
    width: 100%;
	min-height: 40px;
	justify-content: center;
}
}

@media only screen and (max-width: 600px) {
#property-search-form {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
}