html {
    overflow-y: scroll
}

#topmenu,
body {
    padding: 0;
    margin: 0
}

#Christies,
#LoginForm,
#Social-Buttons {
    float: right;
    clear: right
}

.found,
body {
    font-weight: 400
}

body {
    font-size: 14px;
    font-family: Sans-Serif, Arial;
    color: #000;
    background-color: #fbf8f1 !important
}


/* BS5 override: remove default link underlines (BS3 had none) */
a {
    text-decoration: none
}
a:hover {
    text-decoration: underline
}

/* BS5 pagination compat: style BS3 markup (li/a without .page-item/.page-link) */
.pagination > li {
    display: inline
}
.pagination > li > a {
    position: relative;
    display: inline-block;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    border: 1px solid #3f302b
}
.pagination > .active > a,
.pagination > .active > a:hover {
    z-index: 2;
    color: #fff;
    cursor: default
}
.pagination > .disabled > a,
.pagination > .disabled > a:hover {
    color: #999;
    cursor: not-allowed;
    opacity: 0.65
}

#topmenu {
    display: block;
    height: 150px;
    top: 0;
    left: 0
}

.topmenuindex {
    display: block;
    height: 211px !important;
    background-image: url(../maui-sunset.jpg);
    background-position: 50% 50% !important;
    background-repeat: no-repeat;
    overflow: visible
}

@media (max-width:1100px) {
    .TopCenteringDiv-index #HansenOhanaPhoto {
        width: 1px !important;
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important
    }

    table.newlistings td {
        font-size: .7em !important
    }

    .th-headers,
    .th-new {
        font-size: .8em !important
    }
}

@media (max-width:930px) {
    .nonmobile {
        visibility: hidden !important
    }

    #TopCenteringDiv #HansenOhanaPhoto {
        margin: 0 !important;
        padding: 0 !important;
        width: 1px !important;
        visibility: hidden !important
    }
}

@media (max-width:710px) {
    .nontablet {
        visibility: hidden !important
    }

    #TopCenteringDiv #RightWrapper {
        margin: 0 !important;
        padding: 0 !important;
        min-width: 1px !important;
        max-width: 1px !important;
        visibility: hidden !important
    }
}

@media (max-width:810px) {
    .TopCenteringDiv-index .RightWrapper-index {
        visibility: hidden !important;
        min-width: 1px !important;
        max-width: 1px !important;
        margin: 0 !important;
        padding: 0 !important
    }
}

#HansenOhanaPhoto,
#HansenOhanaText {
    padding: 0;
    float: left;
    display: block
}

#TopMenuItems {
    width: 100%;
    height: 118px;
    top: 0;
    position: relative;
    display: block;
    overflow: hidden;
    text-align: center
}

.TopMenuItems-index {
    height: 212px !important
}

#TopCenteringDiv {
    margin: 0 auto;
    height: 118px;
    display: inline-block
}

.TopCenteringDiv-index {
    height: 212px !important
}

#HansenOhanaText {
    top: 15px;
    position: relative;
    background-image: url(../HansenOhanaText2.png);
    width: 351px;
    height: 84px;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin: 0
}


#HansenOhanaPhoto {
   /*  background-image: url(../HansenOhana.png); */
    height: 105px;
    width: 150px;
    margin: 12px 0 0 47px
}

.HansenOhanaPhoto-index {
  /*  background-image: url('../HansenOhana-index.png') !important; */
    height: 200px !important;
    width: 244px !important;
    margin: 25px 45px 0 0 !important
}

#RightWrapper {
    display: block;
    position: relative;
    top: 0;
    float: left;
    height: 150px;
    padding: 0 0 0 40px
}

.RightWrapper-index {
    height: 210px !important;
    padding: 0 0 0 50px !important
}

#LoginForm {
    display: block;
    min-width: 290px;
    overflow: hidden;
    padding: 5px 15px 0;
    height: 61px;
    background: #d3d0c8;
    border-bottom-right-radius: .5em;
    -webkit-border-bottom-right-radius: .5em;
    border-bottom-left-radius: .5em;
    -webkit-border-bottom-left-radius: .5em;
    font-size: .85em
}

.LoginForm-index {
    background: #fbf8f1 !important;
    background: rgba(255, 255, 255, .3) !important
}

#LoginForm-index a {
    color: #424242;
    text-decoration: none
}

#LoginForm a {
    color: #6c5d58;
    text-decoration: none
}

.page-grid .MauiFoundGrid .div-list p,
.page-list .div-list p {
    color: #FFF;
    font-family: arial;
    font-size: .9em;
    text-shadow: 2px 2px #000
}

#LoginForm a:hover,
#LoginForm-index a:hover {
    text-decoration: underline
}

#LoginForm input,
#LoginForm-index input {
    width: 110px;
    height: 26px
}

#LoginForm input[name=pass],
#LoginForm-index input[name=pass] {
    width: 95px !important
}

#Christies {
    margin: 12px 0 20px;
    width: 239px;
    height: 65px
}

#Social-Buttons {
    display: block;
    width: 210px;
    margin: 16px 0 0
}

.Social-Buttons-index {
    margin: 5px 0 0 !important
}

#Mobile-Buttons {
    display: block;
    width: 76px;
    height: 50px;
    padding-bottom: 0;
    margin: 12px 0 0;
    bottom: 16px;
    position: absolute
}

.Mobile-Buttons-index {
    bottom: -9px !important
}

#navmenu {
    position: absolute;
    background-color: #1C1C1C;
    width: 100%;
    height: 34px;
    left: 0;
    top: 116px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}

.navmenuindex {
    top: 211px !important
}

#PropertyDetails {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 150px;
    bottom: 0
}

.SearchResults {
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    top: auto;
    bottom: auto
}

.SearchResults {
    left: 0;
    padding: 0;
    position: relative
}

.SearchResults .btn-group {
    position: relative;
    z-index: 3
}

.SearchResults .modal {
    position: fixed
}

.SearchResults .pagination {
    justify-content: center
}

.SearchResults-Split {
    width: 306px;
    float: left;
    min-height: 400px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.SearchResults-Grid {
    width: 100%
}

#PropertyDetails {
    margin: 0 0 0 200px;
    left: 107px;
    right: 0
}

.page-list .div-list {
    position: relative;
    padding: 0;
    margin: 10px;
    text-align: left;
    width: 270px
}

.page-list .div-list p {
    margin: 0;
    padding: .6em 0 .6em .8em;
    height: auto;
    width: 269px;
    position: absolute;
    left: 0;
    bottom: 1px;
    background: rgba(0, 0, 0, .5);
    border-bottom-right-radius: .7em;
    -webkit-border-bottom-right-radius: .7em;
    border-bottom-left-radius: .7em;
    -webkit-border-bottom-left-radius: .7em
}

.page-list .div-list .img-thumb {
    width: 270px;
    min-height: 175px;
    background-image: url(//www.mauirealestate.net/NoPhotoSmall.jpg);
    background-size: 100% 100%;
    -webkit-border-radius: .7em;
    border-radius: .7em;
    border: 1px solid #000;
    -moz-box-shadow: 0 0 9px #111;
    -webkit-box-shadow: 0 0 9px #111;
    box-shadow: 0 0 9px #111
}

.page-list .div-list .img-thumb:hover {
    -webkit-box-shadow: 0 0 12px #3cf;
    -moz-box-shadow: 0 0 12px #3cf;
    box-shadow: 0 0 12px #3cf
}

@media (min-width:13em) {
    .page-grid .MauiFoundGrid .div-list {
        width: 96%;
        margin: 1.25em 2%
    }
}

@media (min-width:35em) {
    .page-grid .MauiFoundGrid .div-list {
        width: 48%;
        margin: .625em 1%
    }
}

@media (min-width:50em) {
    .page-grid .MauiFoundGrid .div-list {
        width: 30.9333%;
        margin: .5625em 1.2%
    }
}

@media (min-width:80em) {
    .page-grid .MauiFoundGrid .div-list {
        width: 23%;
        margin: .625em 1%
    }
}

@media (min-width:115em) {
    .page-grid .MauiFoundGrid .div-list {
        width: 18%;
        margin: .625em 1%
    }
}

.page-grid .MauiFoundGrid .div-list {
    height: 232px;
    float: left;
    position: relative;
    padding: 0;
    text-align: left !important
}

.page-grid,
.page-grid .MauiFoundGrid {
    width: auto;
    height: auto;
    display: block
}

.page-grid .MauiFoundGrid .div-list p {
    margin: 0;
    padding: .6em 0 .6em .8em;
    height: auto;
    position: absolute;
    right: -1px;
    left: 0;
    bottom: -1px;
    background: rgba(0, 0, 0, .5);
    border-bottom-right-radius: .7em;
    -webkit-border-bottom-right-radius: .7em;
    border-bottom-left-radius: .7em;
    -webkit-border-bottom-left-radius: .7em
}

.div-list .FeaturedListing,
.div-list .NewListing {
    font-family: arial;
    font-size: .9em;
    color: #000 !important;
    text-shadow: 1px 1px 2px #FFF !important
}

.div-list .NewListing {
    background: #ff0 !important;
    background: rgba(255, 225, 0, .8) !important
}

.HawaiiFeaturedListings {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background-image: none !important
}

.div-list .FeaturedListing {
    position: absolute;
    padding: 3px 9px 4px 8px;
    min-height: 0;
    left: 0;
    top: 0;
    -webkit-border-top-left-radius: .7em;
    border-top-left-radius: .7em;
    -webkit-border-bottom-right-radius: .7em;
    border-bottom-right-radius: .7em;
    background: #ff0 !important;
    background: rgba(255, 225, 0, .8) !important
}

.div-list .ohana,
.div-list .pending {
    position: absolute;
    padding: 3px 9px 4px 8px;
    min-height: 0;
    color: #FFF;
    font-family: arial;
    font-size: .9em
}

.div-list .pending {
    right: 1px;
    top: 1px;
    background: red;
    background: rgba(255, 0, 0, .7);
    -webkit-border-top-right-radius: .7em;
    border-top-right-radius: .7em;
    -webkit-border-bottom-left-radius: .7em;
    border-bottom-left-radius: .7em;
    text-shadow: 2px 2px #000
}

.div-list .ohana {
    left: 0;
    top: 0;
    background: #000;
    background: rgba(0, 0, 0, .7);
    -webkit-border-top-left-radius: .7em;
    border-top-left-radius: .7em;
    -webkit-border-bottom-right-radius: .7em;
    border-bottom-right-radius: .7em;
    text-shadow: 2px 2px #000
}

.page-grid .MauiFoundGrid .div-list .img-thumb {
    width: 100%;
    height: 100%;
    background-image: url(//www.mauirealestate.net/NoPhotoSmall.jpg);
    background-size: 100% 100%;
    -webkit-border-radius: .7em;
    border-radius: .7em;
    border: 1px solid #000;
    -webkit-box-shadow: 0 0 9px #111;
    -moz-box-shadow: 0 0 9px #111;
    box-shadow: 0 0 9px #111
}

.page-grid .MauiFoundGrid .div-list .img-thumb:hover {
    -webkit-box-shadow: 0 0 12px #3cf;
    -moz-box-shadow: 0 0 12px #3cf;
    box-shadow: 0 0 12px #3cf
}

.mapthumb {
    border: 1px solid #000;
    border-radius: .5em;
    -moz-border-radius: .5em;
    -webkit-border-radius: .5em;
    background-image: url(//www.mauirealestate.net/NoPhotoSmall.jpg);
    height: 75px;
    width: 100px;
    -moz-box-shadow: 0 0 4px #111;
    -webkit-box-shadow: 0 0 4px #111;
    box-shadow: 0 0 4px #111
}

.mapthumb:hover {
    -webkit-box-shadow: 0 0 6px #3cf;
    -moz-box-shadow: 0 0 6px #3cf;
    box-shadow: 0 0 6px #3cf
}

.found {
    text-align: center;
    font-family: Sorts Mill Goudy;
    font-size: 17px;
    color: #60625f
}

#details-table,
.details,
.remarks {
    font-family: Sans-Serif;
    font-size: .9em
}

.PropPhotos {
    max-width: 640px !important;
    max-height: 480px !important
}

.details {
    text-align: left
}

#details-table {
    width: 100%;
    margin: 15px 0 0
}

#details-table td {
    width: 50%;
    text-align: left;
    vertical-align: top;
    display: table-cell
}

.remarks {
    text-align: justify
}

.detail-links {
    font-weight: 700 !important
}

#fullName {
    text-align: center;
    font-family: Verdana;
    font-weight: 400;
    font-size: 14px
}

#ListingCourtesy {
    font-size: .8em;
    text-align: center;
    font-family: Sans-Serif
}

.Comparables-th {
    font-size: .9em;
    text-align: center;
    font-family: Sans-Serif;
    background: rgba(0, 0, 0, .1)
}

#footer,
.Comparables-td {
    font-size: .85em;
    text-align: center;
    font-family: Sans-Serif
}

.Comparables-td {
    background: rgba(255, 255, 255, .3)
}

#footer {
    width: 560px;
    margin-left: auto;
    margin-right: auto;
    color: #6c5d58;
    font-weight: 700
}

.map,
.popup_back {
    width: 100%;
    height: 100%
}

.map {
    border: 1px solid #000;
    margin-bottom: 20px
}

.map p {
    margin: 10px;
    color: #333
}

.popup_back {
    left: 0;
    position: fixed;
    top: 0;
    z-index: 100;
    cursor: pointer;
    background-color: #222
}

.popup_cont {
    position: fixed;
    z-index: 102
}

.popup_close {
    color: #888;
    cursor: pointer;
    position: absolute;
    padding: 5px;
    right: 5px;
    top: 0
}

.popup_close:hover {
    color: #111
}

div.popup {
    background: #fff;
    padding: 25px;
    box-shadow: 0 3px 10px #222
}

.preloader {
    z-index: 101;
    left: 50%;
    margin: -10px 0 0 -25px;
    position: fixed;
    top: 50%
}

#IndexContainer,
.dropdown-submenu {
    position: relative
}

.fa-circle.fa-hansen,
.fa-mobile.fa-hansen,
.fa-tablet.fa-hansen {
    color: #1C1C1C
}

.fa-facebook:hover {
    background-color: #3c5a96
}

.fa-twitter:hover {
    background-color: #5ea9dd
}

.fa-pinterest:hover {
    background-color: #cd2228
}

.fa-youtube:hover {
    background-color: #cf3326
}

.fa-google-plus:hover {
    background-color: #d85131
}

.fa-mobile:hover,
.fa-tablet:hover {
    color: #cd2228
}

.navbar-inverse .navbar-nav>li>a,
.navbar-dark .navbar-nav>li>a,
.navbar-dark .navbar-nav .nav-link,
.pagination>li>a,
.page-link {
    color: #fbf8f1 !important
}

.fa-tablet.fa-hansen {
    margin: 0 0 0 10px !important
}

.fa-tablet {
    line-height: 14px !important
}

.fa-mobile {
    line-height: 2px !important
}

.pagination>li>a {
    background-color: #6c5d58 !important;
    border-color: #3f302b !important
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover,
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    background-color: #3f302b !important
}

.dropdown-submenu,
.dropdown-submenu>.dropdown-menu,
.navbar-inverse,
.navbar-dark {
    background-color: #1C1C1C !important
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block !important
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent transparent transparent #ccc;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    margin-top: 5px;
    margin-right: -10px
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff
}

.dropdown-submenu.pull-left {
    float: none
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px
}

.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover,
.navbar-dark .navbar-nav>li>a:focus,
.navbar-dark .navbar-nav>li>a:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #000 !important;
    background-color: #fbf8f1 !important
}

.navbar {
    min-height: 33px !important;
    max-height: 33px !important;
    height: 33px !important;
    margin-bottom: 2px !important
}

.navbar-nav>li>a {
    padding-top: 6px !important;
    padding-bottom: 6px !important
}

.navbar-collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
    border-top: 0
}

.navbar-toggle {
    display: none
}

.navbar-brand {
    margin-left: -15px
}

.navbar-nav {
    float: left;
    margin: 0
}

.navbar-nav>li {
    float: left
}

.navbar-nav>li>a {
    padding: 15px
}

.navbar-nav.navbar-right {
    float: right
}

.dropdown-menu>li>a {
    color: #fbf8f1 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important
}

.dropdown-menu {
    background-color: #1C1C1C !important
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    color: #000 !important;
    background-color: #fbf8f1 !important
}

   .btn-warning {
    --bs-btn-color: #FFFFFF;
    --bs-btn-bg: #6c5d58;
    --bs-btn-border-color: #000;
    --bs-btn-active-color: #E0E0E0;
    --bs-btn-active-bg: #3f302b;
    --bs-btn-active-border-color: #000;
    --bs-btn-hover-bg: #4F3F39;
    --bs-btn-hover-border-color: #000;
   }

/*
.btn-warning {
    color: #fbf8f1 !important;  
    background: linear-gradient(to bottom, #9F8F8A 1%, #5D4037 100%) !important;
    border-color: #3f302b !important; 
    }

.btn-warning.active,
.btn-warning:active,
.btn-warning:focus,
.btn-warning:hover,
.open .dropdown-toggle.btn-warning {
    color: #fff !important; 
    background-color: #3f302b !important;
    border-color: #000 !important;
    text-decoration: none !important;
    box-shadow: 0 0 0 .2rem #000 !important; 
}

*/

.btn-primary {
    color: #fbf8f1 !important;
    background-color: #4965b0 !important;
    border-color: #3c579e !important;
}

.btn-primary.active,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open .dropdown-toggle.btn-primary {
    color: #fff !important;
    background-color: #334d8f !important;
    border-color: #000 !important;
    text-decoration: none !important;
}

.bnt-new-listing {
    background-color: #ff0 !important;
    border-color: #000 !important;
    font-size: .8em !important;
    font-weight: 700 !important;
    -webkit-border-radius: .9em !important;
    -moz-border-radius: .9em !important;
    border-radius: .9em !important
}

.images-print {
    width: 400px;
    height: 267px;
    margin: 2px;
    border: 1px solid #000
}

.bxslider {
    vertical-align: baseline;
    margin: 0;
    padding: 0
}

#PropertyDetailsTable {
    min-width: 815px;
    max-width: 1025px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    border-spacing: 0
}

#TD-content {
    width: 100%;
    min-width: 660px;
    max-width: 660px;
    vertical-align: top
}

#TD-sidebar {
    max-width: 365px;
    min-width: 365px;
    vertical-align: top
}

#MapViewContainer {
    padding: 15px 0 0;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto
}

.adbox {
    width: 350px;
    margin: 20px 0 0 15px;
    padding: 5px 15px;
    border: 2px solid #6c5d58;
    font-family: Sans-Serif;
    background-image: url(../background-fade.png);
    background-repeat: repeat-x;
    background-position: left top
}

/* Quick Search component */
.qs-radio-label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px
}

/* Hide radio circles inside toggle buttons (BS5 doesn't auto-hide like BS3) */
.qs-radio-label > input[type="radio"],
.btn-group .btn > input[type="radio"] {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important
}

.qs-checkbox-grid {
    margin: 5px auto;
    border-collapse: collapse;
    text-align: left
}

.qs-checkbox-grid td {
    border: none;
    padding: 2px 8px
}

.qs-checkbox-grid label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer
}

.adbox label {
    vertical-align: middle
}

.adbox input[type="checkbox"] {
    vertical-align: middle;
    margin: 0
}

.qs-multiselect {
    font-size: 1em !important;
    height: 7.5em !important
}

.qs-multiselect option {
    padding: 4px 2px;
    line-height: 2
}

.SalesHistory,
.newlistings,
.stats {
    padding: 0 !important;
    background-image: none !important
}

.newlistings {
    width: 100% !important;
    margin: 0 !important
}

.stats {
    width: auto !important;
    margin-top: 25px !important;
    margin-left: auto;
    margin-right: auto
}

.SalesHistory {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important
}

#DetailedSearch,
#details-container {
    background-image: url(../background-fade.png);
    background-repeat: repeat-x;
    background-position: left top
}

.QuickSearchDialog {
    margin: 0 !important;
    border: 3px solid #000 !important;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px
}

#AgentRotator-Table {
    width: 100%;
    font-family: Sans-Serif
}

#AgentRotator-Table-Right {
    width: auto;
    vertical-align: top;
    text-align: left;
    font-size: .9em
}

#AgentRotator-Table-Left {
    width: 85px;
    text-align: left;
    vertical-align: top
}

#AgentRotator-Table-Bottom {
    text-align: justify;
    font-size: .85em;
    padding-bottom: 10px
}

#DetailedSearch,
#bx-pager,
#property-details,
.center,
.th-new {
    text-align: center
}

#Agent-Photo {
    width: 75px
}

#details-container {
    border: 2px solid #6c5d58;
    padding: 10px;
    margin: 20px 0 0
}

#slider-container {
    width: 100%;
    margin: 0;
    padding: 0 0 0 10px
}

#property-details {
    width: 100%;
    padding: 0;
    margin: 0
}

#bx-pager {
    margin-top: -30px
}

#bx-pager a {
    margin: 1px
}

#bx-pager a img {
    padding: 3px;
    border: 1px solid #ccc
}

#bx-pager a.active img,
#bx-pager a:hover img {
    border: 1px solid #5280DD
}


@media(max-width:1025px) {
    #TD-sidebar {
        display: none
    }

    #TD-content {
        min-width: 660px
    }

    #PropertyDetailsTable {
        min-width: 660px;
        max-width: 660px
    }
}

@media(max-width:660px) {

    #PropertyDetailsTable,
    #TD-content {
        min-width: 450px
    }
}

.form-group-sm {
    margin-top: 8px !important;
    margin-bottom: 8px !important
}

@-moz-document url-prefix() {
    .QuickSelect {
        padding: 6px 4px !important
    }
}

.center {
    margin: auto
}

a.fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none
}

#DetailedSearch {
    border: 2px solid #6c5d58;
    padding: 20px;
    margin: 20px 25px 0;
    min-width: 550px
}

#QuickSearchDialog .modal-dialog {
    width: 350px
}

#ImageModal .modal-dialog {
    width: 800px
}

#IndexContainer {
    top: 35px
}

table.newlistings td {
    padding: 2px 4px !important;
    font-size: .9em
}

.Agent-Thumb {
    float: left;
    width: 100px;
    height: 150px;
    padding: 0;
    margin: 5px 6px;
    border: 1px solid #6c5d58;
    border-radius: 4px
}

/* Agent card "Make X My Agent" buttons */
#MyAgent {
    color: #fff;
    background-color: #6c5d58;
    border: 1px solid #6c5d58;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: .85em;
    margin-top: 4px;
    transition: background-color .2s, border-color .2s
}

#MyAgent:hover {
    background-color: #5a4d48;
    border-color: #5a4d48
}

.PhotosBI {
    width: 640px;
    height: 427px
}

.featured .div-list {
    margin: 0 0 20px 20px;
    width: 290px;
    height: 220px;
    float: right;
    position: relative;
    padding: 0;
    text-align: left !important
}

.featured .div-list p {
    margin: 0;
    padding: .6em 0 .6em .8em;
    height: auto;
    width: 289px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    border-bottom-right-radius: .7em;
    -webkit-border-bottom-right-radius: .7em;
    border-bottom-left-radius: .7em;
    -webkit-border-bottom-left-radius: .7em;
    color: #FFF;
    font-family: arial;
    font-size: .9em;
    text-shadow: 2px 2px #000;
    right: -1px
}

.featured .div-list .img-thumb {
    height: 100%;
    width: 290px;
    min-height: 175px;
    background-image: url(//www.mauirealestate.net/NoPhotoSmall.jpg);
    background-size: 100% 100%;
    -webkit-border-radius: .7em;
    border-radius: .7em;
    border: 1px solid #000;
    -moz-box-shadow: 0 0 7px #111;
    -webkit-box-shadow: 0 0 7px #111;
    box-shadow: 0 0 7px #111
}

.featured .div-list .img-thumb:hover {
    -webkit-box-shadow: 0 0 12px #3cf;
    -moz-box-shadow: 0 0 12px #3cf;
    box-shadow: 0 0 12px #3cf
}

.table-hover>tbody>tr:hover>td,
.table-hover>tbody>tr:hover>th {
    background-color: #f9f0db !important
}

/* Fix navbar dropdown z-index: menus must appear above page content */
#topmenu {
    position: relative;
    z-index: 1000
}

.topmenuindex {
    overflow: visible !important
}

#navmenu {
    z-index: 1000
}

.dropdown-menu {
    z-index: 1001;
    background-color: #1C1C1C !important
}

/* Ensure BS5 modals appear above everything */
.modal {
    z-index: 12000 !important
}

.modal-backdrop {
    z-index: 11999 !important
}

/* Bootstrap 5 navbar/button/form compat overrides */
.navbar {
    --bs-navbar-padding-y: 0 !important
}

.navbar-nav,
.navbar-nav ul,
.dropdown-menu,
.dropdown-menu ul {
    list-style: none !important;
    padding-left: 0;
    margin: 0
}

.navbar-nav>li>a,
.navbar-nav .nav-link {
    padding: 6px 14px !important;
    text-decoration: none;
    font-size: 13px
}

/* BS3 .caret class (removed in BS5) — the HTML has <b class="caret"> so restore it */
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent
}

/* Hide BS5 auto-generated ::after caret since HTML already has .caret element */
.dropdown-toggle::after {
    display: none !important
}

.navbar .dropdown-menu {
    display: none !important;
    position: absolute !important;
    min-width: 220px;
    padding: 6px 0;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .3)
}

.navbar .dropdown:hover>.dropdown-menu {
    display: block !important
}

.dropdown-menu>li>a,
.dropdown-menu .dropdown-item {
    display: block;
    padding: 5px 20px 5px 16px !important;
    color: #fbf8f1 !important;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    text-align: left
}

.dropdown-menu>li>a:hover,
.dropdown-menu .dropdown-item:hover {
    color: #000 !important;
    background-color: #fbf8f1 !important
}

/* Submenu: right-arrow caret, positioning, non-clickable parent */
.dropdown-submenu {
    position: relative
}

.dropdown-submenu>a:after {
    display: block;
    content: "";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent transparent transparent #ccc;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    margin-top: 6px;
    margin-right: -5px
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff
}

.dropdown-submenu>a {
    padding-right: 28px !important;
    pointer-events: none;
    cursor: default
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block !important
}

/* BS5 login form compat: restore BS3 form-inline + help-block layout */
.form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start
}

.form-inline .form-control {
    display: inline-block;
    width: auto
}

.form-inline>div {
    margin-right: 5px
}

.help-block {
    display: block;
    margin-top: 2px;
    font-size: .85em
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.input-sm,
.form-control.input-sm {
    height: 26px;
    padding: 2px 8px;
    font-size: .85em
}

.btn-xs {
    padding: 1px 5px;
    font-size: .8em;
    line-height: 1.5
}

/* BS3 btn-default compat (removed in BS5 — alias to btn-light) */
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad
}

#LoginForm {
    position: relative
}

#LoginForm .btn {
    font-size: .85em;
    padding: 2px 10px
}

#LoginForm input {
    border: 1px solid #999
}

/* Fix social icons visibility: ensure header content above navbar */
#Social-Buttons {
    z-index: 1002
}

#Mobile-Buttons {
    z-index: 1002
}

#RightWrapper {
    z-index: 1002
}

/* Touch targets + contrast for login form links */
#LoginForm .help-block a {
    min-height: 24px;
    min-width: 48px;
    display: inline-block;
    padding: 2px 4px;
    color: #4a3f3b
}

#footer a {
    text-decoration: none;
    border: none !important;
    outline: none
}

/* WCAG AA contrast fixes - 4.5:1 min ratio on #fbf8f1 cream background */
#IndexContainer a,
#footer a {
    color: #1a5276
}

#IndexContainer a:hover,
#footer a:hover {
    color: #0d3b5c
}

.found {
    color: #6c5d58 !important
}

#footer {
    color: #4a3f3b
}

#footer a.footer {
    color: #1a5276
}