/*******************************************************
 *
 * Communities Map
 *
 *******************************************************/
#inner-page-wrapper {
    margin-bottom: 0;
    z-index: auto;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

.footer-container {
    z-index: auto;
    padding: 150px 0 0;
}

.footer-container .global-accent-bg.top-right {
    top: 0;
}

#ip-communities-map {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
}

.cm-map-container {
    display: block;
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: 125px 0 111px;
}

.cm-map-container .global-accent-bg.top-left {
    top: -14%;
    width: 635px;
    height: 767px;
}

.cm-map-container .global-accent-bg.top-left canvas {
    background-size: contain;
}

.cm-map-bg {
    top: auto;
    bottom: 0;
    height: 39.441%;
}

.cm-map-bg:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(244,243,239,1)),color-stop(15%, rgba(244,243,239,1)),to(rgba(244,243,239,0.5)));
    background: -o-linear-gradient(top, rgba(244,243,239,1) 0%,rgba(244,243,239,1) 15%,rgba(244,243,239,0.5) 100%);
    background: linear-gradient(to bottom, rgba(244,243,239,1) 0%,rgba(244,243,239,1) 15%,rgba(244,243,239,0.5) 100%);
}

.cm-map-wrapper {
    display: block;
    position: relative;
    width: 100%;
    max-width: 1297px;
    margin: 0 auto;
    z-index: 5;
}

.cm-comm-areas {
    display: inline-block;
    position: relative;
    padding-left: 92px;
}

.cm-map-transparent {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

.cm-map-main {
    position: relative;
    width: 1297px;
    margin: 0 auto;
}

.cm-map-hovers {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cm-map-img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
    pointer-events: auto;
    z-index: 4;
}

.cm-map-pin {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    z-index: 5;
    display: block;
    text-align: center;
}

.cm-map-pin span {
    font-size: 11px;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: inline-block;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    text-shadow: 0 1px 1px rgba(0,0,0,.90);
}

.cm-map-content {
    position: absolute;
    top: 120px;
    left: 128px;
    z-index: 5;
}

.cm-map-hovers > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cm-map-hovers > div.active .cm-map-img {
    opacity: 1;
    visibility: visible;
}

/*hovers*/
.cm-map-hovers > div.wilshire-corridor .cm-map-pin {
    -webkit-transform: rotate(-29deg);
        -ms-transform: rotate(-29deg);
            transform: rotate(-29deg);
}

.cm-map-hovers > div.sunset-strip .cm-map-pin {
    -webkit-transform: rotate(-27deg);
        -ms-transform: rotate(-27deg);
            transform: rotate(-27deg);
}

.cm-map-list {
    display: none;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
    .cm-map-wrapper {
        max-width: 81.063vw;
    }

    .cm-map-main {
        width: 81.063vw;
    }

    .cm-map-container {
        padding: 7.813vw 0 6.938vw;
    }

    .cm-map-container .global-accent-bg.top-left {
        width: 39.688vw;
        height: 47.938vw;
    }
}

@media only screen and (max-width: 1440px) {
    .cm-map-wrapper {
        max-width: 90%;
    }

    .cm-map-main {
        width: 1297px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .cm-map-container {
        padding: 50px 0;
    }

    .cm-map-wrapper {
        max-width: 100%;
        padding: 0 30px;
    }

    .cm-map-link a {
        position: relative;
        font-size: 11px;
        line-height: 1;
        letter-spacing: 0.020em;
        font-weight: 400;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        width: 100%;
        max-width: 100%;
        height: 40px;
        background-color: #153e35;
        color: #fff;
        text-align: center;
        padding: 5px 7px;
        -webkit-transition: 0.3s all ease-in-out;
        -o-transition: 0.3s all ease-in-out;
        transition: 0.3s all ease-in-out;
    }

    .cm-map-link a:hover {
        background-color: #205449;
    }

    .cm-map-link {
        display: inline-block;
        vertical-align: top;
        width: 50%;
        position: relative;
        padding: 3px;
    }

    .cm-map-list {
        margin: 40px auto 0;
        max-width: 340px;
        display: block;
        text-align: center;
    }

    .cm-map-link a:before {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 3px;
        border: 1px solid var(--secondary-color);
    }

    .footer-container {
        padding: 77px 0 0;
    }

    .cm-map-outer {
        display: none!important;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .cm-map-wrapper {
        padding: 0 15px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
}