/* ============================================================
   Premier Properties of Charleston — IDX Frame Styles (Map)
   premier_properties_frame_map_03.css
   Target: https://premier-properties.idxframes.com  (map layout)
   Framework: Dynamic IDX / Bootstrap 3.3
   ============================================================

   Color Palette:
     Primary Green   : #4b5e2e   (olive — buttons, badges, headings)
     Dark Green      : #3a4a22   (hover states)
     Accent Gold     : #c9b600   (highlights, links)
     Light Green bg  : #f4f6f0   (subtle section bg)
     White           : #ffffff
     Body text       : #333333
     Muted text      : #777777
     Border          : #dde3d4

   Font: Source Sans Pro (loaded by Dynamic IDX platform)

   v01 (map variant):
     Cloned from premier_properties_frame_05.css.
     Body max-width and side padding removed so the map widget
     expands edge-to-edge. Footer negative margins removed
     accordingly (no body padding to counteract).

   v02 changes:
     - Hide body > h1 (the layout-injected page title sits above
       the map widget and is not needed here).
     - Added 15px left/right padding to body so content has
       breathing room on each side.
   ============================================================ */


/* ============================================================
   BASE / BODY — full width, small side padding
   ============================================================ */
html, body {
    background: #ffffff;
    font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    max-width: none;
    margin: 0;
    padding: 10px 15px 0;
}

/* Hide the layout-injected page title — not needed above the map */
body > h1 { display: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    font-weight: 600;
}

a {
    color: #4b5e2e;
    text-decoration: none;
}
a:hover, a:focus {
    color: #c9b600;
    text-decoration: none;
}

img { max-width: 100%; height: auto; }


/* ============================================================
   LAYOUT
   ============================================================ */
.section { padding: 20px 0; }
.section__spacer { padding: 24px 0; }
.main-content { background: #ffffff; }

.container-fluid-fixed {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .section, .section__spacer { padding: 14px 0; }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-weight: 600;
    border-radius: 3px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary,
.btn-primary:visited {
    background-color: #4b5e2e;
    border-color: #3a4a22;
    color: #ffffff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #3a4a22;
    border-color: #2c3819;
    color: #ffffff;
}

.btn-default {
    color: #4b5e2e;
    border-color: #dde3d4;
    background-color: #ffffff;
}
.btn-default:hover,
.btn-default:focus {
    background-color: #f4f6f0;
    border-color: #4b5e2e;
    color: #4b5e2e;
}

.btn-success {
    background-color: #4b5e2e;
    border-color: #3a4a22;
    color: #ffffff;
}
.btn-success:hover,
.btn-success:focus {
    background-color: #3a4a22;
    border-color: #2c3819;
    color: #ffffff;
}

.btn-link {
    color: #4b5e2e;
    font-weight: 600;
}
.btn-link:hover { color: #c9b600; }


/* ============================================================
   FORM CONTROLS
   ============================================================ */
.form-control:focus {
    border-color: #4b5e2e;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px rgba(75,94,46,.4);
    outline: 0;
}

.input-group-btn .btn-default {
    background-color: #4b5e2e;
    border-color: #3a4a22;
    color: #ffffff;
}
.input-group-btn .btn-default:hover {
    background-color: #3a4a22;
    color: #ffffff;
}


/* ============================================================
   NAV TABS
   ============================================================ */
.nav-tabs > li > a {
    color: #4b5e2e;
    background-color: #f4f6f0;
    border-color: #dde3d4 #dde3d4 transparent;
    margin-right: 4px;
    font-weight: 600;
}
.nav-tabs > li > a:hover {
    background-color: #e4eada;
    border-color: #c5d0b0 #c5d0b0 transparent;
    color: #3a4a22;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    color: #ffffff;
    background-color: #4b5e2e;
    border-color: #4b5e2e #4b5e2e transparent;
    cursor: default;
    top: 0;
}


/* ============================================================
   LISTING GRID VIEW
   ============================================================ */
.myrsol-search-controls,
.myrsol-sort-bar,
.listings-toolbar,
.search-toolbar {
    margin-bottom: 16px;
    border-bottom: 1px solid #dde3d4;
    padding-bottom: 10px;
}

.main-content h1,
.main-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-variant: small-caps;
    letter-spacing: 1px;
}

.main-content a[href*="criteria"],
.search-criteria-link,
.modify-search-link {
    color: #4b5e2e;
    font-size: 14px;
    font-weight: 600;
}
.main-content a[href*="criteria"]:hover { color: #c9b600; }

.myrsol-idx-summary,
.listing-card,
.prop-wrap {
    background: #ffffff;
    border: 1px solid #dde3d4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.15s ease;
}
.myrsol-idx-summary:hover,
.listing-card:hover,
.prop-wrap:hover {
    box-shadow: 0 3px 12px rgba(75,94,46,0.15);
}

.has-ribbon:before,
.ribbon,
.badge-featured,
span.featured-badge {
    background-color: #4b5e2e !important;
    color: #ffffff !important;
}

.grid_view .has-ribbon:before {
    background-color: #4b5e2e;
    color: #ffffff;
}
.grid_view .has-ribbon:after {
    border-top-color: #3a4a22;
    border-left-color: #3a4a22;
}

.myrsol-idx-summary .listing-img,
.glider-pic,
.prop-img,
.listing-photo {
    position: relative;
    overflow: visible;
    height: auto !important;
}

.myrsol-idx-summary .listing-img img,
.glider-pic img,
.prop-img img,
.listing-photo img,
.grid_view img {
    width: 100%;
    height: auto !important;
    display: block;
    object-fit: unset !important;
}

.myrsol-idx-summary .price,
.listing-price,
.glider-content .price {
    color: #ffffff;
    background-color: rgba(75, 94, 46, 0.88);
    font-weight: 700;
}

.myrsol-idx-summary h3,
.myrsol-idx-summary .address,
.listing-address {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: 8px;
    margin-bottom: 4px;
}

.myrsol-idx-summary .text-muted,
.listing-sub,
.listing-mls {
    color: #777;
    font-size: 13px;
}

.text-danger,
.price-reduced {
    color: #b94a00;
    font-weight: 600;
}

.myrsol-idx-summary .listing-details,
.lowbig ul li,
.listing-stats li {
    font-size: 13px;
    color: #555;
}

.myrsol-idx-summary .btn,
.listing-card .btn,
.ftr-vd,
a.ftr-vd {
    background-color: #4b5e2e;
    border-color: #3a4a22;
    color: #ffffff;
    font-weight: 600;
    border-radius: 0 0 3px 3px;
    text-align: center;
    display: block;
    padding: 7px 14px;
    transition: background-color 0.15s ease;
}
.myrsol-idx-summary .btn:hover,
.listing-card .btn:hover,
.ftr-vd:hover,
a.ftr-vd:hover {
    background-color: #3a4a22;
    border-color: #2c3819;
    color: #ffffff;
    text-decoration: none;
}

.btn-save-listing,
.save-listing-btn,
.wishlist-btn { color: #4b5e2e; }
.btn-save-listing:hover,
.save-listing-btn:hover { color: #c9b600; }

.pagination > li > a,
.pagination > li > span {
    color: #4b5e2e;
    border-color: #dde3d4;
}
.pagination > li > a:hover,
.pagination > li > span:hover {
    background-color: #f4f6f0;
    border-color: #4b5e2e;
    color: #4b5e2e;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background-color: #4b5e2e;
    border-color: #3a4a22;
    color: #ffffff;
}


/* ============================================================
   LISTING DETAIL VIEW
   ============================================================ */
.listings_view .myrsol-idx-common span,
.listings_view .details-onecol-grouped p strong,
.myrsol-idx-common div span {
    color: #4b5e2e;
    font-weight: 600;
}

.listings_view .details-onecol-grouped h4 {
    font-size: 17px;
    font-weight: 700;
    color: #4b5e2e;
    border-bottom: 1px solid #dde3d4;
    padding-bottom: 4px;
    margin-bottom: 8px;
    display: block;
}

.listings_view .remarks p { color: #484848; }


/* ============================================================
   SEARCH / ADVANCED SEARCH HIGHLIGHT
   ============================================================ */
#property_search .ms-choice span:not([class="placeholder"]),
#property_search .selectize-input .item[data-value]:not([data-value=""]),
#property_search .select2-container .select2-selection__rendered[title]:not([title="Any"]),
#property_search .multiselect.dropdown-toggle[title]:not([title="None selected"]),
#property_search input:not(:placeholder-shown) {
    color: #4b5e2e;
    font-weight: bold;
    border: 2px solid #4b5e2e;
    padding: 0 5px;
    display: inline-block;
}

.select2-container--bootstrap .select2-results > .select2-results__options {
    max-height: 250px;
}

.search-criteria .criteria-item {
    padding: 2px 5px;
    border: 1px solid #dde3d4;
    margin-bottom: 8px;
    border-radius: 3px;
}
.search-criteria .criteria-item span {
    color: #4b5e2e;
    font-weight: 700;
}


/* ============================================================
   MAP / VIEW TOGGLES
   ============================================================ */
.view-toggle .btn.active,
.view-toggle .btn:focus,
.listing-view-toggle .active {
    background-color: #4b5e2e;
    border-color: #3a4a22;
    color: #ffffff;
}


/* ============================================================
   FOOTER
   No negative margins needed — body has no padding to counteract.
   ============================================================ */
.pp-footer {
    background-color: #4b5e2e;
    color: #ffffff;
    padding: 32px 24px 20px;
    font-family: 'Libre Baskerville', Georgia, serif;
    margin-top: 40px;
}

.pp-footer *,
.pp-footer *::before,
.pp-footer *::after {
    box-sizing: border-box;
}

.pp-footer-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 30px;
}

.pp-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    margin-bottom: 16px;
}

.pp-footer-logo img {
    max-height: 105px;
    width: auto;
    background: #ffffff;
    padding: 4px 6px;
    display: block;
}

.pp-footer-info p { margin: 4px 0; color: #ffffff; }

.pp-footer-tagline {
    font-size: 15px;
    font-variant: small-caps;
    letter-spacing: 1.5px;
    margin-bottom: 8px !important;
    color: #c9b600 !important;
}

.pp-footer-phone-line {
    font-size: 18px;
    font-variant: small-caps;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.pp-footer-phone-line a { color: #ffffff; text-decoration: none; }
.pp-footer-phone-line a:hover { color: #c9b600; }

.pp-footer-nav ul { list-style: none; margin: 0; padding: 0; }
.pp-footer-nav ul li { margin-bottom: 6px; }

.pp-footer-nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-variant: small-caps;
    font-size: 14px;
    letter-spacing: 1.5px;
    transition: color 0.2s ease;
}

.pp-footer-nav ul li a:hover { color: #c9b600; }

.pp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
}

.pp-footer-eho {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
}

.pp-footer-eho-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    opacity: 0.7;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    html, body { font-size: 14px; }

    .main-content h1,
    .main-content h2 { font-size: 18px; }

    .myrsol-idx-summary,
    .listing-card,
    .prop-wrap { margin-bottom: 14px; }

    .btn-group-custom > div {
        display: block !important;
        width: 100% !important;
    }
    .btn-group-custom > div a {
        margin: 0 0 5px 0 !important;
        border-radius: 3px !important;
        display: block;
        text-align: center;
    }

    .pp-footer-inner { padding: 0 15px; }
    .pp-