/*******************************************************
 *
 * Neighborhoods Alternate
 *
 *******************************************************/
#inner-page-wrapper {
    margin-bottom: 0;
    margin-top: 180px;
}

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

.custom-breadcrumbs {
    display: block;
    position: relative;
    margin-bottom: 80px;
}

#ip-neighborhoods {
    font-size: 0;
}

#ip-neighborhoods .global-title {
    margin-bottom: 45px;
}

#ip-neighborhoods .custom-container {
    max-width: 1340px;
    padding: 0 15px;
}

.ip-nh-main, .ip-nh-container {
    display: block;
    position: relative;
}

.ip-nh-main-title {
    display: block;
    position: relative;
    margin-bottom: 50px;
}

.ip-nh-main-title .global-title h2:before {
    position: absolute;
    content: '';
    top: 46%;
    left: -45px;
    width: 1px;
    height: calc(100% + 17px);
    background-color: #bfbfbf;
    -webkit-transform: rotate(20deg) translateY(-50%);
    -ms-transform: rotate(20deg) translateY(-50%);
    transform: rotate(20deg) translateY(-50%);
}

.ip-nh-subtitle.global-title h2:before,
.ip-nh-subtitle.global-title span:before{
    display: none;
}

.ip-nh-subtitle {
    margin-top: 45px;
    text-align: center;
}

.ip-nh-tagline {
    display: block;
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 775px;
    margin: 0 auto;
}

.ip-nh-tagline p {
    font-size: 16px;
    line-height: 28px;
    color: #333333;
}

.ip-nh-row {
    display: block;
    position: relative;
    margin: 0 -5px;
}

.ip-nh-item, .ip-nh-item a {
    display: block;
    position: relative;
}

.ip-nh-item {
    padding: 12px;
}

.ip-nh-img {
    overflow: hidden;
}

.ip-nh-img:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
}

.ip-nh-item.size-lg .ip-nh-img canvas {
    min-height: 480px;
}

.ip-nh-item.size-xs-a .ip-nh-img canvas {
    min-height: 279px;
}

.ip-nh-item.size-sm .ip-nh-img canvas {
    min-height: 398px;
}

.ip-nh-item.size-xs .ip-nh-img canvas {
    min-height: 297px;
}

.ip-nh-img:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    pointer-events: none;
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),to(rgba(0,0,0,0.65)));
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    z-index: 2;
}

.ip-nh-col {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: calc(100% / 4);
}

.ip-nh-logo {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%) scale(0.8);
    -ms-transform: translateY(-50%) scale(0.8);
    transform: translateY(-50%) scale(0.8);
    margin: 0 auto;
    display: block;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    -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: 2;
}

.ip-nh-logo img {
    max-width: 100%;
    height: auto;
}

.ip-nh-title {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    padding: 0 0 20px 20px;
}

.ip-nh-title span {
    font-size: 18px;
}

.ip-nh-item a:hover .ip-nh-logo {
    -webkit-transform: translateY(-50%) scale(1);
    -ms-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.ip-nh-item a:hover .ip-nh-img img {
    opacity: 0.50;
}

.ip-nh-item a:hover .ip-nh-title span {
    color: #fff!important;
}

.ip-nh-item a:hover .ip-nh-title span:before {
    width: 100%!important;
}

.ip-nh-list {
    margin: -12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ip-nh-item a:hover .ip-nh-img img {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.ip-nh-item .ip-nh-img img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.ip-nh-lg-list {
    display: block;
    position: relative;
    margin: 0 -7px;
}

.ip-nh-lg-list .ip-nh-item {
    display: inline-block;
    vertical-align: top;
    width: calc(100% / 4);
    padding: 7px;
}

.ip-nh-container {
    padding-bottom: 137px;
}

.ip-ng-lg-content {
    display: block;
    position: relative;
    text-align: center;
    padding: 119px 0 59px;
    width: 100%;
    max-width: 775px;
    margin: 0 auto;
}

.ip-ng-lg-content .global-line {
    line-height: 1;
}

.ip-ng-lg-content .global-line:before {
    background-size: cover;
    bottom: -7px;
}

.ip-ng-lg-content p {
    font-size: 16px;
    line-height: 28px;
    color: #333333;
}

.ip-nh-lg-list .ip-nh-title span {
    font-size: 22px;
}

.ip-nh-lg-list .ip-nh-title span em {
    font-size: 15px;
}

.ip-nh-lg-list .ip-nh-title {
    padding: 0 0 30px 30px;
}

.ip-nh-col:first-child .ip-nh-item:nth-child(2) .ip-nh-title span {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.ip-nh-col:first-child .ip-nh-item:nth-child(2) .ip-nh-title span em {
    padding-bottom: 3px;
}

.ip-nh-cta-holder .ip-nh-item {
    width: 50%;
}

.ip-nh-cta-holder {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 60px;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1560px) {
    #ip-neighborhoods .custom-container {
        max-width: 1280px;
    }
}

@media only screen and (max-width: 1440px) {
}

@media only screen and (max-width: 1366px) {
    #ip-neighborhoods .custom-container {
        max-width: 1200px;
    }

    .ip-nh-title span {
        font-size: 16px;
    }

    .ip-nh-item {
        padding: 10px;
    }

    .ip-nh-list {
        margin: -10px;
    }

    .ip-nh-item.size-xs-a .ip-nh-img canvas {
        min-height: 281px;
    }

    .ip-nh-item.size-sm .ip-nh-img canvas {
        min-height: 399px;
    }
}

@media only screen and (max-width: 1280px) {
    #ip-neighborhoods .custom-container {
        max-width: 1170px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    #ip-neighborhoods .custom-container {
        max-width: 970px;
    }

    .ip-nh-item.size-lg .ip-nh-img canvas {
        min-height: 345px;
    }

    .ip-nh-item.size-xs-a .ip-nh-img canvas {
        min-height: 198px;
    }

    .ip-nh-item.size-sm .ip-nh-img canvas {
        min-height: 283px;
    }

    .ip-nh-item.size-xs .ip-nh-img canvas {
        min-height: 0;
    }

    .ip-nh-logo img {
        max-width: 50px;
    }

    .ip-nh-title {
        padding: 0 0 20px 15px;
    }

    .ip-nh-title span {
        font-size: 13px;
    }

    .ip-nh-lg-list .ip-nh-title {
        padding: 0 0 25px 25px;
    }

    .ip-nh-lg-list .ip-nh-title span {
        font-size: 20px;
    }

    .ip-nh-container {
        padding-bottom: 100px;
    }

    .ip-ng-lg-content {
        padding: 75px 0 50px;
    }

    #inner-page-wrapper {
        margin-top: 150px;
    }

    .ip-nh-tagline p, .ip-ng-lg-content p {
        font-size: 15px;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ip-nh-main-title .global-title h2:before {
        left: -25px;
        height: calc(100% + 8px);
    }

    #inner-page-wrapper {
        margin-top: 110px;
    }

    .ip-nh-col {
        width: calc(100% / 2);
    }

    .ip-nh-list {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        width: 100%;
        max-width: 567px;
        margin: 0 auto;
    }

    .ip-nh-item.size-xs-a .ip-nh-img canvas {
        min-height: 221px;
    }

    .ip-nh-item .ip-nh-img canvas {
        min-height: 0!important;
    }

    .ip-nh-item {
        padding: 3px;
    }

    .ip-nh-item.size-xs-a .ip-nh-img canvas {
        height: 252px;
    }

    .ip-nh-tagline p, .ip-ng-lg-content p {
        /* font-size: 14px; */
    }

    .ip-nh-lg-list .ip-nh-item {
        width: calc(50% - 10px);
        padding: 0;
    }

    .ip-nh-lg-list {
        margin: 0 auto;
        width: 100%;
        max-width: 567px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .ip-nh-lg-list .ip-nh-item:not(:last-child) {
        margin-bottom: 20px;
    }

    .ip-ng-lg-content {
        padding: 60px 0;
    }

    .ip-nh-item.size-xs-a .ip-nh-img canvas {
        height: 176px;
    }

    .ip-nh-item.size-xs .ip-nh-img canvas {
        height: 220px;
    }

    .ip-nh-item.size-sm .ip-nh-img canvas {
        height: 356px;
    }

    .ip-nh-item.size-lg .ip-nh-img canvas {
        height: 222px;
    }

    .ip-nh-cta-holder .ip-nh-item {
        width: 100%!important;
    }

    .ip-nh-cta-holder .ip-nh-item .ip-nh-img canvas {
        height: auto!important;
    }
    
    
    .ip-nh-cta-holder .ip-nh-lg-list .ip-nh-title span {
        font-size: 14px;
    }
    
    .ip-nh-cta-holder .ip-nh-lg-list .ip-nh-item:not(:last-child) {
        margin-bottom: 20px;
    }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    #ip-neighborhoods .global-title {
        margin-bottom: 35px;
    }

    .ip-nh-main-title {
        margin-bottom: 40px;
    }

    #ip-neighborhoods .global-title h2 {
        font-size: 27px;
    }

    .ip-nh-tagline p, .ip-ng-lg-content p {
        font-size: 14px;
        line-height: 25px;
    }

    .ip-nh-title span {
        font-size: 11px;
        display: block;
    }

    .ip-nh-title {
        padding: 0 0 14px 10px;
    }

    .ip-nh-title span em {
        margin-left: 8px;
        font-size: 10px;
        vertical-align: baseline;
    }

    .ip-nh-lg-list .ip-nh-title span em {
        margin-left: 14px;
        font-size: 14px;
    }

    .ip-nh-item.size-xs-a .ip-nh-img canvas {
        height: 127px;
    }

    .ip-nh-item.size-xs .ip-nh-img canvas {
        height: 139px;
    }

    .ip-nh-item.size-sm .ip-nh-img canvas {
        height: 179px;
    }

    .ip-nh-item.size-lg .ip-nh-img canvas {
        height: 220px;
    }

    .ip-nh-container {
        padding-bottom: 70px;
    }

    .ip-ng-lg-content {
        padding: 55px 0 45px;
    }

    .custom-breadcrumbs {
        margin-bottom: 60px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .ip-nh-title {
        padding: 0 0 14px 9px;
    }

    .ip-nh-title span {
        font-size: 10px;
        letter-spacing: normal;
    }

    .ip-nh-list .ip-nh-logo img {
        max-width: 30px;
    }

    .ip-ng-lg-content .global-line {
        line-height: 1;
    }

    .ip-ng-lg-content .global-line:before {
        bottom: -6px;
    }

    .ip-nh-title span em {
        margin-left: 5px;
    }

    .ip-nh-main-title .global-title h2:before {
        left: -20px;
    }

    .ip-nh-lg-list .ip-nh-item .ip-nh-img canvas {
        height: 250px;
    }

    .ip-nh-lg-list .ip-nh-item {
        width: calc(50% - 1.5px);
        padding: 0;
    }

    .ip-nh-lg-list {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .ip-nh-lg-list .ip-nh-item:not(:last-child) {
        margin-bottom: 3px;
    }

    .ip-nh-lg-list .ip-nh-title span{
        font-size: 10px;
    }
}
