﻿.map-label1, .map-label2, .map-label3, .map-label4, .map-label5,
.map-label6, .map-label7, .map-label8, .map-label9, .map-label10,
.map-label11, .map-label12, .map-label13, .map-label14, .map-label15,
.map-label16, .map-label17, .map-label18, .map-label19, .map-label20,
.map-label21, .map-label22, .map-label23, .map-label24, .map-label0 {
    width: 49px;
    height: 26px;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 26px;
}

footer {
    display: block;

}

/*#phover0:hover {border: solid 5px red;}*/
#phover0:hover ~ #phover1 {
    border: solid 5px red;
}

#list-view #phover0:hover ~ #map {
    border: solid 5px red;
}

#phover0:hover ~ .map.map-label0 {
    border: solid 5px red;
}

.map-label0:hover {
    border: solid 5px red;
}
/* ------------------------------------------------ */
/* add accesibility to Map since Google isn't accessible by default */
.gm-style {
    background: #2F3E52;
    color: white;
}

    .gmnoprint, .gm-control-active, .gm-style-cc, .gm-style a {
        color: #000;
        background: white;
    }


/* ------------------------------------------------ */
/* searchbar for spec search */

.searchQuickNav {
    overflow: hidden;
    background-color: #333;
}

    .searchQuickNav a {
        float: left;
        font-size: 16px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

.dropdown {
    float: left;
    overflow: hidden;
}

    .dropdown .dropbtn {
        font-size: 16px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

    .searchQuickNav a:hover, .dropdown:hover .dropbtn {
        background-color: red;
    }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}


/* ------------------------------------------------ */
/* add color before image load to ensure contrast on loading */
body.search {
    background: #2F3E52;
    color: white;
}

    body.search.special {
        background: white;
        color: black;
    }

.banner {
    background: none;
}

.search .page-header {
    background: #2F3E52;
    background: url(/images/bg-banner-searchMLS.jpg) no-repeat;
    color: white;
}

    .search .page-header.special {
        background-color: #2F3E52;
        background-color: rgba(50, 115, 220, 0);
        color: white;
    }


.page-header .page-header-content {
/*    background: white;
    background: rgba(255, 255, 255, 0.20);*/
    background: #273242;
    background: rgba(39, 50, 66, 0.90);
}

.form-search {
    margin-bottom: .1rem;
}

.compareBox {
    height: 16px;
    width: 16px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 5px 2px;
    cursor: pointer;
}


.compareLabel {
    font-size: .75rem;
    font-style: italic;
    color: #2F3E52;
    background: white;
    border: 1px #2F3E52 solid;
    padding: 2px;
    border-radius: 5px;
    margin-left: auto;
}

    .compareLabel.active {
        color: white;
        background: #2F3E52;
        cursor: pointer;
    }

.container .page-header {
    height: 200px;
}

.extraFeatures {
    display: flex;
}

.filterHide {
    overflow: hidden;
    max-height: 0;
}

.filterShow {
    max-height: 100%;
}

.fixCenter {
    padding: 30px;
}

h3 #search-additional {
    margin-left: 1rem;
}

a.img-caption-overlay {
    color: white;
    background: white;
}

.img-caption-overlay .figure-caption {
    padding: .5rem;
    min-height: 4rem;
    font-size: 100%;
    color: #000;
}

.li-footer {
    color: #fff;
}

#mapWrap {
    display: block;
}

.mintBox {
    line-height: 1.35;
    overflow: hidden;
    white-space: nowrap;
}

    .mintBox a img {
        height: 300px;
        width: auto;
    }

.searchPanelFooter {
    padding: .25rem;
    width: 300px;
    margin-left: auto;          /*button at right of map*/
    /*margin: 0 auto;*/         /*button at center*/
}

#searchWrap {
    display: none;
}

.swal-button, .swal-button:hover, .swal-button:focus, .swal-button:active, .swal-button:visited {
    background: #2F3E52;
    color: white;
}
    .swal-button:not([disabled]):hover {
        background: #000;
    }

/* Search Results */
/* page header - search panel */
.btn, #addressInput {
    padding: .25rem;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
}
#addressInput {
    cursor: text;
}
.page-header-content {
    margin-top: -6rem;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    z-index: 100;
    padding: .25rem;
}

.page-item.pageCornerLeft {
    border-radius: 15px;
}

.page-item.pageCornerRight {
    -moz-border-radius: 0 5px 5px 0;
    -webkit-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}

#propertyBanner {
    font-weight: bold;
    font-size: 30px;
    text-shadow: 1px 1px black;
}

.search .page-header {
    padding-bottom: .5rem;
}

.page-header h1 {
    margin-bottom: 0;
}

.page-link {
    line-height: .75;
}

.searchPanel {
    margin: 5rem auto 0 auto;
    padding: 0 1rem;
}

    .searchPanel > div {
        color: white;
    }

#searchResults_medium, #aspnav {
    font-size: smaller;
}

#searchBtns {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
}

    #searchBtns ul.nav {
        /*margin-left: 0;*/
        /*with New Search Button*/
        margin-left: -50px;
    }

#showAdvanced, #compareButton, #newSearch {
    margin-right: 6px;
    font-size: .85rem;
    cursor: pointer;
}

#compareButton:disabled {
    cursor: default;
}

#newSearch {
    margin-left: 50px;
}

#sortPrice, #sortPriceDesc {
    background-color: #fff;
    color: #2F3E52;
    border-color: #2F3E52;
    font-size: .85rem;
    margin-right: 0;
    cursor: pointer;
}

    #sortPrice:hover, #sortPriceDesc:hover {
        color: #fff;
        background-color: #000;
        border-color: #2F3E52;
    }

    #sortPrice:active, #sortPriceDesc:active {
        color: #fff;
        background-color: #2F3E52;
        border-color: #2F3E52;
    }

    #sortPrice:focus, #sortPriceDesc:focus {
        outline: 0;
        box-shadow: 0 0 0 2px rgba(26, 72, 108, 0.25);
    }


.page-item.active .page-link:hover {
    background-color: #000;
}


/* results panel */
#leftBarResult {
    display: block;
}

#listMapBtns {
    margin-left: auto;
    margin-right: auto;
}

#list-view {
    width: 100%;
}

#map {
    /*width: 80vw;*/
    /*float: right;*/
    display: none;
    visibility: hidden;
}

.mintImg {
    width: 225px;
    height: auto;
}

.property-list {
    padding: .5vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,400px));
    grid-auto-rows: auto;
    gap: 1em;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
}

    .property-list .property {
        width: 400px;
        background-color: white;
        padding: 5px;
        border-radius: 5px;
    }

        .property-list .property a {
            display: block;
        }

        .property-list .property img {
            padding-right: .25rem;
            padding-left: .25rem;
            width: 400px;
            overflow: hidden;
            max-height: 200px;
            min-height: 200px;
            object-fit: cover;
        }

    .property-list .property-details {
        font-size: .9rem;
        padding: 3px;
        position: relative;
        width: 100%;
    }

.redListing {
    border: 2px solid #9C1111 !important;
}

#showMapView, #showListView {
    margin-left: 5px;
    margin-right: 5px;
    background: white;
    color: #42617E !important;
}

    #showListView:hover, #showMapView:hover {
        color: #fff !important;
        background-color: #000;
        border-color: #2F3E52;
    }

    #showListView:active, #showMapView:active, #showListView.active, #showMapView.active {
        color: #fff !important;
        background-color: #2F3E52;
        border-color: #2F3E52;
    }

    #showListView:focus, #showMapView:focus {
        outline: 0;
        box-shadow: 0 0 0 2px rgba(26, 72, 108, 0.25);
    }

/* Open House Event Ticket */
.goldenkey {
    color: white;
    vertical-align: bottom;
    padding: 5px;
    margin-bottom: 4px;
    font-size: 14px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.goldenkey img {
    min-height: 50px !important;
    width: auto;
    vertical-align: middle;
    padding: .25rem;
}

/* Modal Styling */
.btn-info:focus, .btn-info.focus {
    box-shadow: 0 0 0 2px navy;
}

#Button9 {
    display: none;
}
.filterButton {
    margin-left: auto;
    margin-right: auto;
}

#currentSearch {
    font-weight: bold;
}

.custom-checkbox {
    min-height: 1rem;
}

.custom-control-indicator {
    border-radius: 5px !important;
}

.form-group {
    margin-bottom: .1rem;
}

input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block {
    width: 100%;
    padding: 1px;
    margin: 3px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#modalSearch {
    background: white;
    color: #42617E;
    border: 2px solid white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.modal-dialog {
    width: 95%;
    max-width: 700px;
}

    .modal-dialog > .nav-link:focus, .nav-link:hover {
        text-decoration: none;
        color: #fff;
        background-color: #102d43;
        border-color: #0e273b;
    }

    .modal-dialog > label {
        margin-bottom: 0;
    }

    .modal-dialog select {
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }

    .modal-dialog input {
        -moz-border-radius: 0 5px 5px 0;
        -webkit-border-radius: 5px;
        border-radius: 0 5px 5px 0;
    }

    .modal-dialog span {
        -moz-border-radius: 5px 0 0 5px;
        -webkit-border-radius: 5px 0 0 5px;
        border-radius: 5px 0 0 5px;
    }

.modalTopButtons {
    margin-bottom: 1.5rem;
}

.modal-close {
    width: 100%;
    padding: 1px;
    margin: 3px;
    background: #42617E;
    color: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.modal-filter-hide {
    width: 100%;
    padding: 1px;
    margin: 3px;
    background: #2F3E52;
    color: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.modal-filter-show {
    width: 100%;
    padding: 1px;
    margin: 3px;
    background: white;
    color: #2F3E52;
    border-color: #2F3E52;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.modal-header {
    border: none;
    padding-bottom: 0;
}

.modal-content {
    background: white;
    color: #42617E;
    border: 2px solid white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.modal-footer {
    justify-content: flex-start;
    border: none;
    padding-top: 0;
}

    .modal-footer button, .modal-header button {
        background: #42617E;
        color: white;
        border: 2px solid white;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }

.nav-pills .nav-link.active, .nav-pills .nav-item.show .nav-link, .nav-pills .nav-link {
    padding: 3px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#search-additional {
    margin-left: 1rem;
}

.searchFilterNote {
    padding-bottom: 1rem;
}


/* -------------- Media Adjustments -------------- */
/* IE 11 and earlier don't support ECMASCRIPT ES6 or modern styles */
@media all and (-ms-high-contrast:none) {
    figure img {
        width: 300px
    }
    /* IE10 */
    *::-ms-backdrop, figure img {
        width: 300px
    }
    /* IE11 */
}

.img-caption-overlay {
    display: block;
    margin-bottom: 2.5rem;
}
/* mint box format */
@media (max-width: 768px) {
    #list-view {
        /*width: 100%;
        max-width: 100vw;
        min-width: 100vw;
        height: auto;
        background: #fff;
        z-index: 5;*/
        display: block;
/*        position: relative;
        overflow-y: scroll;
        overflow-x: hidden;
        text-align: center;*/
    }

    #map {
        /*width: 100%;
        float: unset;*/
    }
}

@media (min-width: 769px) {
    #list-view {
        /*width: 40%;
        max-width: 575px;*/
/*        min-width: 575px;
        height: 1000px;
        background: #fff;
        z-index: 5;*/
        display: block;
/*        position: absolute;
        overflow-y: scroll;
        overflow-x: hidden;*/
    }

    #map {
        /*width: 80vw;
        float: right;*/
    }
}

@media only screen and (max-width: 976px) {
    .fixCenter {
        display: none;
        visibility: hidden;
    }
}

@media only screen and (max-width: 768px) {
    .brand {
        background-size: 125px;
        margin-left: 15px;
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 568px) {
    .brand {
        margin-top: 25px;
    }
}

/* New design media adjustments */

/* -------------- Media Adjustments -------------- */

@media only screen and (max-width: 1500px) {
    #searchBtns ul.nav {
        margin-left: -150px;
    }
    #newSearch {
        margin-left: 25px;
    }

}

@media only screen and (min-width: 1008px) and (max-width: 1253px) {
    /*#list-view {
        background: green;
    }*/

    .brand {
        top: 15px;
        left: 15px;
    }

    #searchBtns {
        display: block;
    }

    #searchBtns ul.nav {
        margin-left: 0;
    }
}

@media only screen and (min-width: 767px) and (max-width: 1024px) and (orientation: portrait) {
    #list-view {
        /*background: PaleGoldenRod;*/
        /*width: 30%;*/
    }

    #map {
        /*width: 80vw;
        float: right;*/
    }

    .brand {
        top: 15px;
        left: 15px;
    }

    #searchBtns {
        display: block;
    }

        #searchBtns ul.nav {
            margin-left: 0;
        }

    .property-list {
        padding-bottom: 5px;
        margin: 0 5px;
    }

        .property-list .property {
            width: 100%;
        }
}

@media only screen and (min-device-width : 768px) and (max-device-height : 1024px) and (orientation : portrait) {
    /* ipad portrait */
    #list-view {
        /*background: orange;
        width: 100%;*/
    }

    #map {
        /*width: 100%;
        float: unset;*/
    }

    .brand {
        top: 2px;
    }

    #searchBtns {
        display: block;
    }

        #searchBtns ul.nav {
            margin-left: 0;
        }

    #newSearch {
        margin-left: 10px;
    }

/*    .property-list .property {
        width: 33%;
    }
*/

}

@media only screen and (min-width: 660px) and (max-width: 767px) and (orientation: portrait) {
    #list-view {
        /*background: red;
        width: 100%;*/
    }

    #map {
        /*width: 100%;
        float: unset;*/
    }

/*    .property-list {
        padding-bottom: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin: 2px 0;
        width: 100%;
    }

        .property-list .property {
            width: 48%;
        }
*/
    .searchPanel {
        padding: 0;
    }
    #searchBtns {
        display: block;
    }

        #searchBtns ul.nav {
            margin-left: 0;
        }

    #newSearch {
        margin-left: 10px;
    }
}

@media only screen and (max-width: 665px) {
    #list-view {
        /*background: gray;
        width: 100%;*/
    }

    #map {
        /*width: 100%;
        float: unset;*/
    }

/*    .property-list {
        padding-bottom: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin: 2px 0;
        width: 100%;
    }

        .property-list .property {
            width: 48%;
        }
*/
    .searchPanel {
        padding: 15px 0 0 0;
        font-size: smaller;
    }

    #searchBtns {
        margin: 0 -10px;
    }

        #searchBtns ul.nav {
            margin-bottom: 3px;
            margin-left: 0;
            display: flex;
        }

    #newSearch {
        margin-left: 0;
    }
 
    #showAdvanced, #compareButton, #newSearch, #sortPrice, #sortPriceDesc, .input-group-btn:not(:first-child) > .btn, .input-group-btn:not(:first-child) > .btn-group {
        margin-right: 2px;
        font-size: 0.75rem;
        padding: 2px;
    }

    #showMapView, #showListView, #showListView:active, #showMapView:active, #showListView.active, #showMapView.active {
        margin-right: 2px;
        font-size: 1rem;
        padding: 2px;
    }

    .pagination {
        font-size: smaller;
    }
}

@media only screen and (max-width: 350px) {
    #addressSearch {
        margin-top: 5px;
    }

    #list-view {
        /*background: teal;
        width: 100%;*/
        overflow: hidden;
    }

    #map {
        /*width: 100%;
        float: unset;*/
    }

    .property-list {
        display: block;
        width: 100%;
    }

        .property-list .property {
            width: 300px !important;
        }

    .search .page-header .container {
        padding-right: 2px;
        padding-left: 2px;
    }

    .searchPanel {
        padding: 15px 0 0 0;
        font-size: smaller;
    }

    #searchBtns ul.nav {
        display: flex;
        flex-wrap: wrap;
    }

    #newSearch {
        visibility: hidden;
    }
 
    #showAdvanced, #compareButton, #newSearch, #sortPrice, #sortPriceDesc, .input-group-btn:not(:first-child) > .btn, .input-group-btn:not(:first-child) > .btn-group {
        margin-right: 4px;
        font-size: 0.75rem;
        padding: 2px;
    }

    #showMapView, #showListView, #showListView:active, #showMapView:active, #showListView.active, #showMapView.active {
        margin-right: 4px;
        font-size: 1rem;
        padding: 2px;
    }

    .input-group {
        display: block;
    }

    .pagination {
        display: flex;
        flex-wrap: wrap;
    }
}
