/* Neighborhood Map */

.interactive-map { position: relative;}
@media only screen and (min-width: 64.063em) {
    .interactive-map {
        padding-top: 40px;
    }
}
    .interactive-map::after {
        display: block;
        width: 100%;
        height: 1px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 2px;
        content: '';
        background-color: #ccc;
    }
@media only screen and (min-width: 40.063em) and (max-width: 1024px) {
    .interactive-map::after {
        bottom: 0px;
    }
}

@media only screen and (min-width: 64.063em) {
    .interactive-map::after {
        bottom: 1px;
    }
}


.interactive-map .interactive-map-inner {
    position: relative;
    width: 100%;
    margin: 0 auto 50px;
}

@media only screen and (min-width: 40.063em) and (max-width: 1024px) {
    .interactive-map.shadow .interactive-map-inner::after {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 2;
    }
}

.interactive-map .interactive-map-inner svg {
    font-family: 'Brown-Regular', Arial !important;
}

.interactive-map .interactive-map-inner path.cls-8:hover,
.interactive-map .interactive-map-inner path.st8:hover,
.interactive-map .interactive-map-inner path[rel~="active"],
.interactive-map .interactive-map-inner polygon:hover,
.interactive-map .interactive-map-inner polygon[rel~="active"] {
    cursor: pointer;
    fill: #db852e !important;
    color: #fff;
}

.interactive-map .interactive-map-inner .cls-3,
.interactive-map .interactive-map-inner .cls-10,
.interactive-map .interactive-map-inner .cls-99,
.interactive-map .interactive-map-inner .cls-100,
.interactive-map .interactive-map-inner .st-100,
.interactive-map .interactive-map-inner polygon.cls-13,
.interactive-map .interactive-map-inner text { pointer-events: none; }

@media only screen and (max-width: 40em) {
    .interactive-map .interactive-map-inner polygon,
    .interactive-map .interactive-map-inner path,
    .interactive-map .interactive-map-inner text { pointer-events: none; }
}

.interactive-map .interactive-map-inner text.white-text { fill: #fff !important; }

.interactive-map .interactive-map-content {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.interactive-map .interactive-map-popups .popup {
    display: none;
    position: absolute;
    max-width: 420px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0px 2px 12px 1px rgba(0, 0, 0, 0.2);
}
@media only screen and (min-width: 64.063em) {
    .interactive-map .interactive-map-popups .popup {
        display: none;
        position: absolute;
        max-width: 414px;
        width: auto;
        top: 60%;
        right: 50%;
        left: initial;
        transform: translateY(-50%);
    }
}

.interactive-map .interactive-map-popups .close-btn {
    position: absolute;
    top: -18px;
    right: -27px;
    width: 40px;
    height: 40px;
}

.interactive-map .interactive-map-popups .close-btn:after {
    content: "";
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: block;
    background-image: url(/includes/public/assets/images/listings/close.svg);
    background-repeat: no-repeat;
    margin: 0;
    z-index: 2;
    position: relative;
}


.interactive-map .interactive-map-popups .image { position: relative; }
.interactive-map .interactive-map-popups .image a,
.interactive-map .interactive-map-popups .image img {
	display: block;
	width: 100%;
}


.interactive-map .interactive-map-popups .img-details .img-title {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    padding: 10px 20px;
    font-family: 'Knockout', Arial;
    font-size: 33px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.interactive-map .interactive-map-popups .img-details .img-title a,
.interactive-map .interactive-map-popups .img-details .img-title a:hover {color: #fff;}

.interactive-map .interactive-map-popups .details,
.interactive-map .interactive-map-popups .description {
    font-family: 'Brown-Regular', Arial;
    font-size: 13px;
    color: #2f292b;
    letter-spacing: 0.03em;
}
.interactive-map .interactive-map-popups .details .col-left,
.interactive-map .interactive-map-popups .details .col-right {
    float: left;
    width: 50%;
    min-height: 175px;
    padding: 20px 10px;
}
.interactive-map .interactive-map-popups .description {
	min-height: 175px;
	padding: 20px 10px;
	flex: 1;
}
.interactive-map .interactive-map-popups .details .col-left,
.interactive-map .interactive-map-popups .description {
    background-color: #fff;
}
.interactive-map .interactive-map-popups .details .col-right {
    background-color: #f6f3e5;
}
.interactive-map .interactive-map-popups .details .col-right:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    left: 80%;
    background-color: #434750;
}
.interactive-map .interactive-map-popups .details .bullets ul,
.interactive-map .interactive-map-popups .details ul.bullets { list-style: disc; }
.interactive-map .interactive-map-popups .details .bullets ul li,
.interactive-map .interactive-map-popups .details ul.bullets li {
    line-height: 1.2;
    margin-bottom: 8px;
}

.interactive-map .feature {
    display: block;
    width: 100%;
    line-height: 1.6;
}
.interactive-map .feature .icon,
.interactive-map .feature .title,
.interactive-map .feature .rating {
    display: inline-block;
    margin-right: 5px;
    font-size: 10px;
    text-transform: uppercase;
    vertical-align: middle;
}

.interactive-map .feature .icon {
    text-align: center;
    width: 24px;
    height: 22px;
    vertical-align: middle;
    line-height: 22px;
}

.interactive-map .feature a { color: #313131; }

.interactive-map .feature .title {
    width: 35px;
    text-align: right;
}

.interactive-map .feature .rating {
    width: 100px;
    margin-right: 0;
}

.interactive-map .feature .rating > div {
    background-color: #0087a4;
    color: #fff;
    padding: 3px 5px;
    box-sizing: content-box;
}
.interactive-map .feature:nth-of-type(2n) .rating > div { background-color: #58c7cf; }
.interactive-map .feature .rating-1 { width: 15%; }
.interactive-map .feature .rating-2 { width: 20%; }
.interactive-map .feature .rating-3 { width: 30%; }
.interactive-map .feature .rating-4 { width: 40%; }
.interactive-map .feature .rating-5 { width: 50%; }
.interactive-map .feature .rating-6 { width: 60%; }
.interactive-map .feature .rating-7 { width: 70%; }
.interactive-map .feature .rating-8 { width: 80%; }
.interactive-map .feature .rating-9 { width: 90%; }
.interactive-map .feature .rating-10 { width: 100%; }

/* Introduction Pop-Up */

.interactive-map .interactive-map-popups .popup.intro .details { display: none; }

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .interactive-map .interactive-map-popups .popup.intro { display: none !important; }
}

/* Neighborhood Map Bottom Listings - This is a collection */

.map-neighborhoods,
.map-neighborhoods .map-neighborhood-item {
    position: relative;
    overflow: hidden;
    transition: 0.3 ease-in all;
}
.map-neighborhoods .map-neighborhoods-inner { padding-top: 40px; }

.map-neighborhoods .map-neighborhood-item .image,
.map-neighborhoods .map-neighborhood-item .image .img-inner {
    position: relative;
}

.map-neighborhoods .map-neighborhood-item .image img {
    display: block;
}

.map-neighborhoods .map-neighborhood-item .image .title {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    padding: 10px 20px;
    font-family: 'Knockout', Arial;
    font-size: 33px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.map-neighborhoods .map-neighborhood-item .image .title .sub-title { font-size: 24px; }

.map-neighborhoods .map-neighborhood-item .content {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-right: 1px solid #f6f3e5;
    border-left: 1px solid #f6f3e5;
    border-bottom: 1px solid #f6f3e5;
}

@media only screen and (min-width: 64.063em) {
	.map-neighborhoods .map-neighborhoods-inner { padding-top: 0px; }
    .map-neighborhoods .map-neighborhood-item .content{ min-height: 250px;}
}

.map-neighborhoods .map-neighborhood-item .content .bullet-cont {
    display: inline-block;
    margin: 0 auto 10px;
    text-align: left;
    border-bottom: 1px solid #f6f3e5;
}
.map-neighborhoods .map-neighborhood-item .content .bullets ul,
.map-neighborhoods .map-neighborhood-item .content ul.bullets {
    list-style: disc;
}
.map-neighborhoods .map-neighborhood-item .content .bullets ul li,
.map-neighborhoods .map-neighborhood-item .content ul.bullets li {
    font-family: 'Brown-Regular', Arial;
    font-size: 14px;
    color: #2f292b;
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.map-neighborhoods .map-neighborhood-item .feature {
    display: block;
    line-height: 1.6;
    width: 100%;
}
.map-neighborhoods .map-neighborhood-item .feature a { color: #313131; }

.map-neighborhoods .map-neighborhood-item .feature .title,
.map-neighborhoods .map-neighborhood-item .feature .rating {
    display: inline-block;
    margin-right: 5px;
    font-size: 10px;
    text-transform: uppercase;
    vertical-align: middle;
}

.map-neighborhoods .map-neighborhood-item .feature .title {
    width: 35px;
    text-align: right;
    color: #2f292b;
}

.map-neighborhoods .map-neighborhood-item .feature .rating {
    width: 55%;
    margin-right: 0;
}
.map-neighborhoods .map-neighborhood-item .feature .rating > div {
    background-color: #0087a4;
    color: #fff;
    padding: 3px 5px;
    box-sizing: content-box;
}
.map-neighborhoods .map-neighborhood-item .rating-cont .row div {
    margin-bottom: -2px;
}
.map-neighborhoods .map-neighborhood-item .rating-cont .row div:first-child .feature .rating > div,
.map-neighborhoods .map-neighborhood-item .rating-cont .row div:nth-of-type(4) .feature .rating > div,
.map-neighborhoods .map-neighborhood-item .rating-cont .row div:nth-of-type(5) .feature .rating > div { background-color: #58c7cf; }
.map-neighborhoods .map-neighborhood-item .feature .rating-1 { width: 15%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-2 { width: 20%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-3 { width: 30%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-4 { width: 40%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-5 { width: 50%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-6 { width: 60%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-7 { width: 70%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-8 { width: 80%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-9 { width: 90%; }
.map-neighborhoods .map-neighborhood-item .feature .rating-10 { width: 100%; }

@media only screen and (max-width: 1024px) {
    .map-neighborhoods .map-neighborhood-item {
        display: flex;
        width: 100%;
    }

    .map-neighborhoods .map-neighborhood-item a{
    	display: inherit;
    	width: 100%;
    }

    .map-neighborhoods .map-neighborhood-item .image img {width: 100%;}

    .map-neighborhoods .map-neighborhood-item .image,
    .map-neighborhoods .map-neighborhood-item .content {
        display: inline-block;
        width: 50%;
    }

    .map-neighborhoods .map-neighborhood-item .content{height: auto !important;}

    .map-neighborhoods .map-neighborhood-item .content .bullet-cont,
    .map-neighborhoods .map-neighborhood-item .content .rating-cont { display: block; }

    .map-neighborhoods .map-neighborhood-item .content .bullet-cont {
        padding-bottom: 20px;
        margin: 0 auto 30px;
    }

    .map-neighborhoods .map-neighborhood-item .feature .rating {
        margin-right: 0;
    }
}

@media only screen and (min-width: 40.063em) and (max-width: 1024px) {
    .map-neighborhoods .map-neighborhood-item img{min-height: 272px;}
    .map-neighborhoods .map-neighborhood-item .content {
        border-bottom: 1px solid #f6f3e5;
        border-top: 1px solid #f6f3e5;
        border-left: 0px;
        border-right: 1px solid #f6f3e5;
        padding: 30px;
        min-height: 272px;
        height: auto !important;
    }
}

@media only screen and (max-width: 740px) {
	.map-neighborhoods .map-neighborhood-item .content .rating-cont .columns { width: 100% !important; }
	.map-neighborhoods .map-neighborhood-item .rating-cont .row div:nth-of-type(3n) .feature .rating > div{ background-color: #58c7cf; }
    .map-neighborhoods .map-neighborhood-item .rating-cont .row div:nth-of-type(4) .feature .rating > div { background-color: #0087a4; }
}

@media only screen and (max-width: 40em) {
    .map-neighborhoods .map-neighborhood-item { display: block; }

    .map-neighborhoods .map-neighborhood-item .image,
    .map-neighborhoods .map-neighborhood-item .content {
        display: block;
        width: 100%;
    }

    .map-neighborhoods .map-neighborhood-item .content .rating-cont .columns { padding: 0; }

    .map-neighborhoods .map-neighborhood-item .content .bullet-cont {
        margin: 0 auto 20px;
        padding-bottom: 10px;
    }
    .map-neighborhoods .map-neighborhood-item .content .rating-cont .columns:last-of-type{
        padding-bottom: 20px;
    }

}

/* Map Neighborhood Item Hover Overlay */

.map-neighborhoods .map-neighborhood-item .map-neighborhood-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(51, 51, 51, 0.96);
    width: 100%;
    height: 100%;
    color: #fff;
    margin: 0 auto;
    -webkit-transition-property: top, bottom;
    -webkit-transition-duration: 0.5s;
}
.map-neighborhoods .map-neighborhood-item .map-neighborhood-overlay.active {
    top: 0;
    transition: 0.3 ease-in all;
}
@media screen and (min-width: 1025px) {
    .map-neighborhoods .map-neighborhood-item:hover .map-neighborhood-overlay {
        top: 0;
        transition: 0.3 ease-in all;
    }
}
.map-neighborhoods .map-neighborhood-item .map-neighborhood-overlay .overlay-inner {
    padding: 15px 60px;
    margin: 0 auto;
}

.map-neighborhoods .map-neighborhood-item .map-neighborhood-overlay .map-overlay-close {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    color: #fff;
    font-size: 1.3rem;
    border: 2px solid #fff;
    border-radius: 50%;
    text-align: center;
    padding-left: 1px;
    cursor: pointer;
    z-index: 99;
}

.map-neighborhood-item .map-neighborhood-overlay .title {
    font-family: 'Knockout', Arial;
    font-size: 33px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.map-neighborhood-item .map-neighborhood-overlay .title a:hover { color: #84dde3; }
.map-neighborhood-item .map-neighborhood-overlay .title .sub-title { font-size: 24px; }
.map-neighborhood-item .map-neighborhood-overlay .sep-line {
    background-color: #fff;
    display: block;
    width: 70px;
    height: 1px;
    text-align: center;
    margin: 15px auto 20px;
}
.map-neighborhood-item .map-neighborhood-overlay .desc {
    font-family: 'Brown-Regular', Arial;
    font-size: 12px;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.03em;
    margin-bottom: 60px;
}
.map-neighborhood-item .map-neighborhood-overlay .more-btn {
    text-align: center;
    margin: 0 auto 30px;
}
.map-neighborhood-item .map-neighborhood-overlay .more-btn button {
    line-height: 32px;
    padding: 5px 40px 3px 18px;
    margin: 0 auto;
}
.map-neighborhood-item .map-neighborhood-overlay .more-btn button:after {
    font-size: 20px;
    right: 15px;
}

.map-neighborhood-item .map-neighborhood-overlay .action-links {
    margin: 0 auto;
    text-align: center;
}
.map-neighborhood-item .map-neighborhood-overlay .action-links .link {
    display: inline-block;
    width: auto;
    line-height: 1.4;
    margin-right: 50px;
    margin-bottom: 10px;
}
.map-neighborhood-item .map-neighborhood-overlay .action-links .link:nth-of-type(3n),
.map-neighborhood-item .map-neighborhood-overlay .action-links .link:last-child { margin-right: 0; }
.map-neighborhood-item .map-neighborhood-overlay .action-links .link a {
    font-family: 'Brown-Regular', Arial;
    font-size: 10px;
    color: #fff;
    text-align: center;
    letter-spacing: 0.08em;
}
@media only screen and (max-width: 1024px) {
    .map-neighborhoods .map-neighborhood-item .map-neighborhood-overlay .map-overlay-close { display: block; }
    .map-neighborhood-item .map-neighborhood-overlay .desc { margin-bottom: 30px; }
    .map-neighborhood-item .map-neighborhood-overlay .action-links .link,
    .map-neighborhood-item .map-neighborhood-overlay .action-links .link:nth-of-type(3n) {
        margin-right: 0;
        text-align: center;
        width: 15%;
    }
}


/* Listings Colletion - This is a collection that can be it's own template */

.listings-collection {}
.listings-collection .listings-collection-item {}
.listings-collection .listings-collection-item .image {
    position: relative;
    margin-bottom: 10px;
}

.listings-collection .listings-collection-item .image .listing-count {display: none;}

.listings-collection .active .listings-collection-item .image .listing-count {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: #0087a4;
    width: 70px;
    height: 70px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 100px;
    padding-top: 10px;
    display: block;
}
.listings-collection .listings-collection-item .image .listing-count .num {
    font-family: 'Knockout', Arial;
    font-size: 33px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.listings-collection .listings-collection-item .image .listing-count .text {
    font-family: 'Brown-Regular', Arial;
    font-size: 10px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}
.listings-collection .listings-collection-item .content {
    padding-bottom: 20px;
    margin: 0 auto;
    text-align: center;
}
.listings-collection .listings-collection-item .content .title {
    margin-bottom: 10px;
    text-align: left;
}
.listings-collection .listings-collection-item .content .title a:hover {
	color: #86e4ee;
}
.listings-collection .listings-collection-item .content .description p {
    font-size: 14px;
    text-align: left;
}
.listings-collection .listings-collection-item .content .more-link {
    display: inline-block;
    width: auto;
    border: 2px solid #0087a4;
    padding: 12px 25px 10px;
    margin: 10px auto 0;
    text-align: center;
    font-family: 'Brown-Regular', Arial;
    font-size: 18px;
    color: #009999;
    line-height: 1.3;
    text-transform: uppercase;
}

@media only screen and (min-width: 40.063em) and (max-width: 1024px) {
    .listings-collection .listings-collection-item .image,
    .listings-collection .listings-collection-item .content {
        float: left;
        width: 50%;
    }
    .listings-collection .listings-collection-item .content {
        padding: 40px 0px 0 40px;
    }
}

@media only screen and (max-width: 40em) {
    .listings-collection .listings-collection-item .content .more-link { font-size: 14px; }
}
