/* CSS Document */
    * {
        box-sizing: border-box;
    }
    body {
        margin: 0;
        font-family: Arial, sans-serif;
        color: #333;
        line-height: 1.6;
        background-color: #5A001E;
    }
    .maxW {
        max-width: 1000px;
        margin: 0 auto;
        width: 100%;
        background-color: #fff;
    }
    .main-content-wrapper {
        padding: 30px;
    }
    .content-layout {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    .main-column {
        flex: 1;
        min-width: 0; /* Prevents text overflow issues in flexbox */
    }
    .sidebar-column {
        width: 293px;
        flex-shrink: 0;
    }
	
	/* Header Layout Styles */
.site-header {
    width: 100%;
    background-color: #fff;
}

.header-top {
    display: flex;
    align-items: center;          /* Vertically centers logo and nav */
    justify-content: space-between; /* Pushes logo left and nav right */
    padding: 15px ;
    gap: 10px;
}

.logo {
    flex-shrink: 0;               /* Prevents the logo from shrinking */
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Navigation Menu */
.main-nav {
    display: flex;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;     /* Aligns links to the right */
    gap: 8px;
	font-size:12px;
}

.main-nav li + li::before {
    content: "|";
    color: #ccc;
    margin-right: 8px;
	
}

/* Responsive Main Banner Image */
.header-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer Layout Styles */
.site-footer {
    background-color: #F0F0F0;
    width: 100%;
    padding:  20px;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo-left img,
.footer-logo-right img {
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-content {
    flex: 1;
    min-width: 280px;
    text-align: center;
	font-size: 12px;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 15px 0;
}

.footer-link {
    margin-top: 10px;
    text-align: center;
}

/* Sidebar Layout Styles */
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.sidebar-header-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Individual Featured Cards */
.featured_box {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-text {
    font-size: 0.9em;
    line-height: 1.4;
}

.featured-text .featured {
    font-weight: bold;
}

.featured-link {
    margin-top: 5px;
}

/* Auction Callout Button */
.sidebar-action-button {
    margin-top: 10px;
}

.sidebar-action-button .button-link {
    display: block;
    background-color: #004080; /* Adjust to match your brand color */
    color: #ffffff;
    text-align: center;
    padding: 12px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sidebar-action-button .button-link:hover {
    background-color: #002B55;
}

a:link{
	color: #950037;
	text-decoration: none;
}
a:visited{
	color: #950037;
	text-decoration: none;
}
a:hover{
	color: #6F0029;
	text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

 /* Modern Form Styling */
    .search-form {
        background: #fafafa;
        border: 1px solid #e0e0e0;
        padding: 25px;
        border-radius: 6px;
        max-width: 600px;
    }
    .form-group {
        margin-bottom: 20px;
    }
    .form-group label.form-label {
        display: block;
        font-weight: bold;
        margin-bottom: 8px;
    }
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 1em;
        background-color: #fff;
    }
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border: 0;
        padding: 0;
        margin: 0;
    }
    .radio-group label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-weight: normal;
    }
    .submit-btn {
        background-color: #004080;
        color: #ffffff;
        border: none;
        padding: 12px 20px;
        font-size: 1em;
        font-weight: bold;
        border-radius: 4px;
        cursor: pointer;
        width: 100%;
        transition: background-color 0.2s ease;
    }
    .submit-btn:hover {
        background-color: #002B55;
    }
	
		/* END FORM */
		
		 
    /* Search Results Card Styling */
    .property-card {
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 20px;
        margin-bottom: 20px;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
    }
    .property-card.tableborderW { background-color: #ffffff; }
    .property-card.tableborderG { background-color: #fafafa; }
    
    .property-details {
        flex: 1;
        min-width: 260px;
    }
    .property-action {
        text-align: right;
        flex-shrink: 0;
    }
    .property-description {
        width: 100%;
        margin-top: 15px;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
    .empty-state {
        text-align: center;
        padding: 40px 20px;
    }
    .action-link-container {
        text-align: center;
        margin: 20px 0;
    }
	
	/* Modern CSS Request Details Button */
.btn-more-details {
    display: inline-block;
    background-color: #d9534f; /* Modern warm accent color (or match your brand red: #cc0000) */
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

/* Hover & Active States */
.btn-more-details:hover {
    background-color: #c9302c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-more-details:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
	
	/* END Search Results Card Styling */
	
	
	/* Modern CSS-Only Modal System using :target */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Display modal when anchor ID matches URL target */
.modal-overlay:target {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-content {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25em;
    color: #333;
}

.modal-close-btn {
    font-size: 1.8em;
    line-height: 1;
    color: #888;
    text-decoration: none;
    font-weight: bold;
}

.modal-close-btn:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 0.95em;
    line-height: 1.6;
}

.modal-pdf-body {
    padding: 0;
    height: 500px;
}

.modal-list {
    padding-left: 20px;
    margin-top: 15px;
}

.modal-list li {
    margin-bottom: 10px;
}

.pdf-fallback {
    padding: 30px 20px;
    text-align: center;
}

.modal-footer {
    padding: 12px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

.btn-close-modal {
    display: inline-block;
    padding: 8px 16px;
    background-color: #6c757d;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
}

.btn-close-modal:hover {
    background-color: #5a6268;
}


/* Modern Cookie Banner Styling */
.cookiemessage {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a252f; /* Sleek dark background for high contrast */
    color: #ffffff;
    padding: 18px 25px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    box-sizing: border-box;
}

.cookiemessage p {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookiemessage a {
    color: #4da6ff; /* Bright blue link for visibility on dark bg */
    text-decoration: underline;
}

.cookiemessage a:hover {
    color: #ffffff;
}

.cookiemessage button {
    background-color: #004080; /* Brand accent color */
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.cookiemessage button:hover {
    background-color: #002b55;
    transform: translateY(-1px);
}

/*  END COOKIE STYES*/

@media (max-width: 576px) {
    .modal-dialog {
        padding: 0 10px;
    }
    .modal-pdf-body {
        height: 350px;
    }
}
	
		/* END Modern CSS-Only Modal System using :target */
	
	
	/* Mobile Breakpoint */
@media (max-width: 900px) {
   .header-top {
        flex-direction: column;    /* Stacks logo on top of nav */
        align-items: center;       /* Centers both elements */
        text-align: center;
        padding: 15px;
    }

    
    .main-nav ul {
        justify-content: center;   /* Centers navigation items when stacked */
        gap: 10px;
		
    }

    .main-nav li + li::before {
        margin-right: 10px;
    }
}
    
    /* Mobile Responsive Breakpoint */
    @media (max-width: 768px) {
        .content-layout {
            flex-direction: column;
        }
        .sidebar-column {
            width: 100%;
        }
        .main-content-wrapper {
            padding: 15px;
        }
		.footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-logo-left,
    .footer-logo-right {
        margin: 0 auto;
    }
	
	.btn-more-details {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }
	.cookiemessage {
        padding: 15px;
    }
    .cookiemessage p {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookiemessage button {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}
