/* Florida Mobile Homes - Listings Directory Styles (based on original phpMyDirectory template) */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
    background: #fff;
}

#header {
    background: #448686;
    padding: 5px 0;
}

#status-line {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
}

#status-line a { color: #ecb9b9; text-decoration: none; }
#status-line a:hover { text-decoration: underline; }

#logo { max-width: 100%; height: auto; }

.ads-wrap {
    max-width: 1000px;
    margin: 10px auto;
    text-align: center;
    clear: both;
}

.ads-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.ads-row-squares .ads-cell {
    flex: 0 0 300px;
    min-height: 250px;
}

.ads-row-banner {
    width: 100%;
    min-height: 90px;
    margin: 15px 0;
}

#container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    display: grid;
    grid-template-columns: 180px 1fr 200px;
    grid-template-areas: "left center right";
    gap: 15px;
    align-items: start;
}

#left  { grid-area: left; }
#center { grid-area: center; min-width: 0; }
#right { grid-area: right; }

.column { min-width: 0; }

.box {
    border: 1px solid #ccc;
    margin-bottom: 15px;
    background: #fff;
}

.box-header {
    background: #5aadad;
    color: #fff;
    padding: 8px 12px;
    font-weight: bold;
}

.box-header h1 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.box-body { padding: 12px; }
.box-footer { height: 5px; }

.menu { list-style: none; padding: 0; margin: 0; }
.menu li { padding: 4px 0; border-bottom: 1px solid #eee; }
.menu a { color: #448686; text-decoration: none; }
.menu a:hover { text-decoration: underline; }

.category_list, .location_list { list-style: none; padding: 0; }
.category_list li, .location_list li { margin-bottom: 12px; }
.category a, .location a { font-size: 15px; font-weight: bold; color: #448686; }
.subcategories a, .sublocations a { font-size: 13px; font-weight: normal; color: #5aadad; }

.listing_results {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.listing_results tr {
    display: table-row;
}

.listing_results td {
    vertical-align: top;
    padding: 12px 8px;
    border-bottom: 1px solid #e0e0e0;
}

.listing_results td:first-child {
    width: 120px;
    padding-right: 15px;
}

.listing_results img {
    display: block;
    max-width: 100px;
    height: auto;
}

.listing_results_title { margin-bottom: 6px; }
.listing_results_title a { font-size: 15px; font-weight: bold; color: #448686; text-decoration: none; }
.listing_results_title a:hover { text-decoration: underline; }
.listing_results_description { color: #666; margin: 5px 0; line-height: 1.4; }
.listing_results_price { color: #c00; font-weight: bold; margin: 5px 0; }
.listing_results_location { color: #888; font-size: 12px; }
.listing_sidebox_title { font-weight: bold; color: #448686; }
.listing_sidebox_description { font-size: 11px; color: #666; }

.listing_options { list-style: none; padding: 0; }
.listing_options li { padding: 8px 0 8px 25px; border-bottom: 1px solid #eee; }
.listing_options a { color: #448686; }

.border { border-left: 1px solid #ccc; padding-left: 15px; }

.form-container fieldset { border: 1px solid #ccc; padding: 15px; }
.form-container ul { list-style: none; padding: 0; }
.form-container li { margin-bottom: 10px; }
.form-container label { display: inline-block; width: 120px; font-weight: bold; }
.form-container .text, .form-container .select, .form-container textarea {
    width: 300px; padding: 5px; border: 1px solid #ccc;
}
.form-container .submit {
    background: #5aadad; color: #fff; border: none;
    padding: 8px 20px; cursor: pointer; font-weight: bold;
}
.form-container .submit:hover { background: #448686; }

.pagination { margin: 20px 0; text-align: center; }
.pagination a, .pagination .current {
    padding: 5px 10px; margin: 0 2px;
    border: 1px solid #ccc; text-decoration: none; color: #448686;
}
.pagination .current { background: #5aadad; color: #fff; border-color: #5aadad; }

#footer {
    text-align: center;
    padding: 20px;
    background: #448686;
    color: #fff;
    margin-top: 20px;
}
#footer a { color: #ecb9b9; }

.success { color: green; font-weight: bold; }
.error { color: red; font-weight: bold; }

.listing-gallery .gallery-item { margin-bottom: 15px; }
.listing-gallery img { max-width: 100%; border: 1px solid #ccc; }

.clear { clear: both; }

@media (max-width: 768px) {
    #container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "center"
            "left"
            "right";
    }
}
