/* jquery ui autocomplete */
.ui-menu {
    list-style:none;
    padding: 0;
    margin: 0;
    display:block;
    width:227px;
    box-shadow: 2px 3.5px 8px rgba(0,0,0,.35);
    background: #fff;
    border-radius: 2px;
}
.ui-menu .ui-menu-item {
    margin:0;
    padding: 9px 30px;
    width: 100%;
    font-size: 11px;
    line-height: 30px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid transparent;
    border-bottom: 1px solid #E6E6E6;
}
.ui-menu .ui-menu-item:nth-child(2n){
    background-color: #EFEFEF;
}
.ui-menu .ui-menu-item.ui-state-focus {
    background: #00aeef;
}

.recTagLeft {
    width: 60px;
    padding: 5px;
}
.listings .figure .recommend.recommendedTag {
    display: table;
    background: #de2028;
}
.isACI {
    position: absolute;
    top: 12px;
    left: 0;
    width: 119px;
    height: 24px;
    display: table;
    background: #f6931e;
}
.isACIRecommendedTag {
    top: 50px;
}
.recTagLeft, .recTagRight {
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    font-size: 7px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}
.recTagRight {
    padding: 1px 2px;
}
.recMarina {
    font-size: 14px;
    line-height: 14px;
}
.mapIcon {
    position: fixed;
    right: 15px;
    bottom: 120px;
    background: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 36px;
    border-radius: 30px;
    font-size: 30px;
    display: none;
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    z-index: 99999;
    cursor:pointer;
}
.mapIcon:hover {
    color: #de3032;
}
.filterCls-btn {
    display:none;
    position: absolute;
    right: 20px;
    top: 20px;
    color: #000;
}
.mapTrigger.actMap .fa-map-marker::before {
    content: "\f00d";
}
@media (max-width:767px) {
    .filterOpen .filters-form {
        display: block;
        position: fixed;
        z-index: 999;
        background: #fff;
        padding: 20px 15px 10px;
        bottom: 0;
        overflow-y: auto;
        overflow-x: hidden;
        top: 0;
        left: 0;
        right: 0;
    }
    .filterCls-btn {
        display:block;
    }
    .mapIcon {
        bottom:60px;
    }
    .filters-box.hiddenSMDevice {
        display: none;
    }


}
@media (max-width:1248px) {
    .mapIcon {
        display:block;
    }
    #main .map-box {
        /* display: none; */
        width: 100%;
        padding: 0;
        -webkit-transform: translate(100%, 0);
        transform: translate(100%, 0);
        -webkit-transition: all 300ms ease-in-out 0s;
        transition: all 300ms ease-in-out 0s;
        top:0;
        height:100vh;
    }
    #main .map-box.openMap {
        /* display: block; */
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    #main .main-box {
        flex-basis: 100%;
    }

    #header .input-holder {
        margin: 0 auto;
    }
    #header .input-holder input#search-box {
        text-align: center;
        border:1px solid #ccc;
        color:#666;
    }
    #header .search-box {
        opacity: 0;
        position: fixed;
        background: #fff;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        overflow-y: auto;
        padding:50px 30px 10px;
        -webkit-transform: translate(-100%,0);
        transform: translate(-100%,0);
        -webkit-transition: all 300ms ease-in-out 0s;
        transition: all 300ms ease-in-out 0s;
    }
    #header.actFullSearch .search-box {
        opacity: 1;
        -webkit-transform: translate(0%,0);
        transform: translate(0%,0);
    }
    #header .input-holder .search-icon {
        background: url(../images/search-2.svg) no-repeat;
        top:17px;
        pointer-events: none;
    }
    .searchTrigger {
        font-size: 14px;
    }
    #header .input-holder input#search-box::-webkit-input-placeholder{color:#999}
    #header .input-holder input#search-box::-moz-placeholder{opacity:1;color:#999}
    #header .input-holder input#search-box:-moz-placeholder{color:#999}
    #header .input-holder input#search-box:-ms-input-placeholder{color:#999}
    #header .input-holder input#search-box.placeholder{color:#999}

    #header .input-holder input#search-box:focus::-webkit-input-placeholder{color:#fff}
    #header .input-holder input#search-box:focus::-moz-placeholder{opacity:0;color:#fff}
    #header .input-holder input#search-box:focus:-ms-input-placeholder{color:#fff}
    .map-box {
        z-index: 999;
    }
}
@media screen and (min-width:1249px) {
    .searchTrigger, .closeSearchTrigger {
        display: none;
    }
}
@media screen and (max-height: 1024px) and (min-width: 768px) {
    .footer-mobile {
        /*display: block; */
    }
}
@media screen and (max-height: 603px) and (max-width: 797px) {
    .footer-mobile {
        display: block;
    }
}



.searchTrigger .search-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    background: url(../images/search.svg) no-repeat;
}
.searchTrigger {
    padding: 15px 0 15px 5px;
    color: #fff;
    border-left:1px solid #e9e9e9;
    -webkit-box-flex: 1;
    flex-grow: 1;
}


.closeSearchTrigger {
    position: fixed;
    right: 15px;
    top: 8px;
    color: #666;
    cursor: pointer;
    z-index: 9;
    font-size: 28px;
}

.mapTriggerText {
    display:none;
}

@media screen and (max-width:767px) {
    .mapTriggerText {
        display: inline-block;
        font-size: 16px;
    }
    .mapIcon {
        width: auto;
        border-radius: 0;
        bottom: 0;
        right: 0;
        left: 50%;
        height: 38px;
        line-height: 34px;
        font-size: 20px;
        box-shadow: none;
    }
    .filters-info .filter-btn-holder {
        padding: 0;
        left: 0;
        right: 50%;
        z-index: 9999;
    }
    .mapTrigger > i {
        min-width: 20px;
    }
    .filters-info .filter-btn {
        min-width: auto;
    }
    .filters-info .filter-btn, .mapIcon {
        background: #fff;
        color: #444;
        border: 1px solid #ccc;
        min-height: 40px;
    }
    .filters-info .filter-btn:hover {
        text-decoration: none;
        background: #fff;
        color:#de3032;
    }
    #wrapper > #header.actFullSearch {
        z-index: 999999;
    }
}
