/* Filter section */
.filter-section.bg-overlay:before {
    background-color: rgba(92, 98, 146, 0);/*original 0.5*/
}
.filter-section video {
    /*opacity: 0.5;*/
}
.filter-section .container-fluid > .row > div {
    max-width: 855px;
    min-width: 270px;
}

.filter-section select {
    display: none;
}

/*.filter-section .nice-select {
    display: inline;
    float: none;
    padding: 0;
    background: none;
    border: none;
    font-weight: 300;
}*/

/*.filter-section .nice-select:after {
    content: none;
}*/

.filter-section .nice-select .list {
    background-color: rgba(255, 255, 255, 0.7);
}

.filter-section .neighborhoods .nice-select .list {
    overflow-y: scroll;
    height: 200px;
}

.filter-section  .nice-select .list li {
    display: list-item;
    line-height: 25px;
    min-height: 25px;
}

.filter-section .nice-select .list::-webkit-scrollbar {
    width: 12px;
}

.filter-section .nice-select .list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.filter-section .nice-select .list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

/* Featured Properties */

/* Carousel */

.carousel-item {
    -webkit-perspective: none;
    perspective: none;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    background-color: #939598;
}

.carousel-indicators .active {
    background-color: #333;
}

.carousel-control-prev,
.carousel-control-next {
    top: auto;
    bottom: -40px;
    align-items: flex-end;
    width: auto;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-control-prev .bm-icon-arrow-left,
.carousel-control-next .bm-icon-arrow-right{
    color: #939393;
    width: 28px;
    height: 28px;
}

/* Property container */

.index-featured-row {
    margin-left: -5px;
    margin-right: -5px;
}

.index-featured-outer-div {
    max-width: 632px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 5px;
    padding-left: 5px;
}

.index-featured-image-div {
    position: relative;
    width: 100%;
    background-color: lightgrey;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: 50% 65%;
    background-size: cover;
}

.index-featured-link {
    z-index: 1;
}

.index-featured-image {
    width: 100%;
}

.index-featured-caption {
    position: absolute;
    width: 87px;
    height: 99px;
    top: 6%;
    left: 50%;
    margin-left: -45px;
    background-image: url('/elements/images/sign-bg-light.svg');
}

.label-bg-blue {
    display: none;
}

.index-featured-label {
    position: absolute;
    top: 30%;
    left: 53%;
    margin-left: -26px;
    text-align: center;
    padding-top: 8%;
    font-weight: 400;
    /*font-size: 24px;*/
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.1rem;
}

.index-featured-outer-div:hover .index-featured-caption {
    background-image: url('/elements/images/sign-bg-dark.svg');
}

.index-featured-outer-div:hover .label-bg-blue {
    display: block;
}

.index-featured-outer-div:hover .label-bg-white {
    display: none;
}

.index-featured-outer-div:hover .index-featured-label {
    color: white !important;
}

.opacity-0-9 {
    opacity: 0.9;
}

.open-house-div {
    position: absolute;
    bottom: 8%;
    left: 5%;
    width: 90%;
}

.open-house-sign {
    position: absolute;
    width: 49px;
    height: 59px;
    background-image: url('/elements/images/open-house-sign.svg');
    background-position: right;
    background-repeat: no-repeat;
}

.open-house-inner-div {
    width: 98%;
    height: 40px;
    margin-top: 1.5%;
    margin-left: 3%;
    background-color: rgba(220,220,220,0.8);
    border-radius: 5px;
}

.open-house-datetime {
    float: left;
    margin-left: 40px;
    line-height: 16px;
}

.open-house-date {
    margin-top: 5px;
    font-weight: 600;
}

.open-house-time {
    font-size: 11px;
    color: black;
    font-weight: 500;
}

.open-house-add-to-calendar {
    width: 155px;
    float: right;
    margin-top: 7px;
    margin-right: 8px;
}

.open-house-add-to-calendar a {
    position: absolute;
    z-index: 1;
    font-size: 13px;
    text-decoration: underline;
}

.open-house-add-to-calendar .icon {
    width: 18px;
    height: 20px;
    margin-top: -3px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

.hovered .fa-heart {
    color: #ff00ff;
}

.hovered .fa-share-alt {
    color: #6ab51a;
}

.hovered .fp-property-details-box {
    background-image: none;
    background-color: #91a5b3;
}

.hovered .featured-icons-div {
    background-color: #617d92;
    -webkit-transition: all 0s ease-in-out 0s;
    -moz-transition: all 0s ease-in-out 0s;
    -ms-transition: all 0s ease-in-out 0s;
    -o-transition: all 0s ease-in-out 0s;
    transition: all 0s ease-in-out 0s;
    color: #2d536e;
}

.hovered .fp-property-address {
    color: white !important;
}

.property-social-icons {
    position: absolute;
    z-index: 1;
    text-align: right;
    padding-right: 30px;
}

.featured-icons-div .fa {
    width: 14px;
    text-align: center;
}

.fp-property-address,
.fp-property-neighborhood {
    text-align: left;
}

/* Neighborhood */
.neighborhood-outer-div {
    width: 100%;
    padding-bottom: 67%;
}

.on-circle-button {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-border-radius: 75px;
    -moz-border-radius: 75px;
    border-radius: 70px;
    width: 140px;
    height: 140px;
    line-height: 20px;
}
.neighborhood-item:hover .on-circle-button {
    background-color: rgba(253, 76, 0, 0.9);
    color: white;
}
.neighborhood-item:hover .on-circle-button i{
    color: white;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.on-circle-button i {
    color: #637f93;
    font-size: 20px;
    -webkit-transition: -webkit-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
    display: block;
}
.on-circle-button .arrow-right {
    bottom: 10px;
}

.neighborhood-image {
    background-position: 50% 50%;
    background-size: cover;
    opacity: 0.7;
}

@media (max-width: 767px) {
    /* Filter section */

    .html-bg-image {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;/*
        background-image: url('/elements/images/williamsburg.jpg');
        background-size: auto 167%;
        background-position: 37% 72%;*/
        opacity: 0.3;
    }

    .filter-section .bm-blue-gray-color-bg-transparent,
    .filter-section .bm-gray-color-bg {
        background: transparent;
    }

    .filter-section .mobile-row {
        line-height: 2.5;
    }

    .filter-section div.btn-group {
        height: 36px;
    }

    .font-mobile {
        font-size: 20px;
        top: -5px;
    }

    .font-mobile-2 {
        font-size: 20px;
        font-family: 700;
        text-decoration: underline;
    }

    .desktop-search-bg {
        min-width: 100% !important;
    }

    .filter-section .neighborhoods .nice-select .list {
        left: -37px;
    }

    footer.bm-footer-bg {
        background-position: -121px 29px;
        background-size: 190% 110%;
    }

    /* Featured properties */

    .carousel-indicators {
        bottom: -35px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        bottom: -25px;
        align-items: flex-end;
    }
}

@media (max-width: 575px) {

}

@media (max-width: 415px) {
    .open-house-date {
        font-size: 12px;
    }

    .open-house-add-to-calendar {
        width: 132px;
    }

    .open-house-add-to-calendar a {
        padding-top: 4px;
        font-size: 11px;
    }

    .fp-property-address {
        font-size: 17px;
    }
}