
#content-full {
    margin-top: 0;
}

.entry-title {
    display: none;
}

div#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

section.get-in-touch-area {
    display: none;
}

.ip-banner {
    /*display: none;*/
}

.banner-title {
    font-size: 40px;
    color: #fff;
    font-family: var(--font-family-secondary)!important;
}

.ip-banner canvas{
    min-height: 800px;
}

p#breadcrumbs {
    color: #fff;
}

#breadcrumbs {
    /*display: none;*/
}

.ip-pd-description-content {
    padding: 0 15px 0;
    margin-top: 99px;
}

.ip-pd-description-content-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.ip-pd-description-text h2 {
    /*font-size: 50px !important;*/
    font-size: 30px !important;
    color: #262626;
    font-weight: 800 !important;
    letter-spacing: -2.2px;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 30px !important;
    margin-top: 0 !important;

    text-transform: capitalize;
    line-height: 1;
}
.ip-pd-description-text h2 span {
	font-size: 20px;
	letter-spacing: .01em;
}

.ip-pd-description-text p {
    font-size: 15px;
    color: #262626;
    font-family: 'Manrope', sans-serif;
    letter-spacing: .15px;
    line-height: 2.2;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.ip-pd-description-text p.full {
    display: none;
}

.ip-pd-description-text h3 {
    font-size: 30px !important;
    color: #996d5d;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 26px !important;
    letter-spacing: .5px;
    line-height: normal;
}

.ip-pd-description-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.ip-pd-description-row > div {
    width: 50%;
}
.ip-pd-description-row > div.ip-pd-description-photo {
    width: 30%;
}

.ip-pd-description-text {
    display: flex;
    align-items: center;
}

.ip-pd-description-text-inner.ip-pd-long-text {
    padding-right: 0;
    max-width: 605px;
    margin: 0 auto 0 0;
}

.ip-pd-description-text-inner.ip-pd-short-text {
    max-width: 550px;
    /*margin: 0 0 0 115px;*/
    margin: 0 auto;
}

#3rd-desc .ip-pd-description-text p {
    width: 100%;
    padding: 0;
}

.ip-pd-description-photo.ip-pd-2-photo {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
}

.ip-pd-description-photo.ip-pd-2-photo > span:nth-child(1) {
    padding-right: 15px;
}

.ip-pd-description-photo.ip-pd-2-photo > span:nth-child(2) {
    padding-left: 15px;
}

.ip-pd-description-photo.ip-pd-2-photo span {
    /*width: 50%;*/
}

.ip-pd-description-photo canvas {
    display: block;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /*height: 400px;*/
    height: 100%;
}

.ip-pd-description-photo.ip-pd-last-photo {
    padding-left: 30px;
}

.ip-pd-description-text.ip-pd-full-text {
    width: 100%;
}

.ip-pd-description-text.ip-pd-full-text h3 {
    display: none;
}

.ip-pd-desc-col {
    display: flex;
    position: relative;
    /* margin: 0 -15px; */
}

.ip-pd-desc-col {
    font-size: 15px;
}

.ip-pd-desc-col p {
/*
    width: 50%;
    padding: 0 15px;
*/

    width: 100%;
    padding: 0;
}

.ip-pd-description-row.ip-pd-equal-photo {
    position: relative;
    margin: 0 -15px 30px;
}

.ip-pd-description-row.ip-pd-equal-photo .ip-pd-description-photo {
    padding: 0 15px;
}

.ip-pd-description-row.ip-pd-3-photo .ip-pd-description-photo {
    padding: 15px;
}

.ip-pd-description-row.ip-pd-3-photo {
    margin: 0 -15px;
}

.ip-pd-description-row.ip-pd-3-photo .ip-pd-description-photo-col:nth-child(1) {
    width: 30%;
}

.ip-pd-description-row.ip-pd-3-photo .ip-pd-description-photo-col:nth-child(2) {
    width: 70%;
}

.ip-pd-description-row.ip-pd-3-photo .ip-pd-description-photo-col:nth-child(1) canvas {
    height: 200px;
}

.ip-pd-description-row.ip-pd-3-photo .ip-pd-description-photo-col:nth-child(2) canvas {
    height: 430px;
}

.ip-map-legend-content {
    background: #fff;
    position: relative;
    padding: 70px 15px;
}

.map-legend-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-legend-inner iframe {
    width: 100%;
}

.map-legend-holder {
    width: 100%;
    /*padding: 7.5px 0;*/
    margin: 7.5px 0;
    position: relative;
    /*max-height: 445px;*/
    overflow: scroll;
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
}

.map-legend-holder::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.ip-map-legend-content-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    /*padding: 95px 0 70px;*/
}

.map-legend-inner {
/*    display: none;*/
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    /*height: 600px;*/
}

.map-legend-box-content-inner {
    overflow-y: auto;
    background: #fff;
}

.aiosp-iframe-holder .aiosp-content{
  max-width: 1400px !important;
}

.ip-pd-description-photo a {
    display: block;
    position: relative;
}

.ip-pd-description-photo a span {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    bottom: 0;
    right: 0;
    margin: auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.ip-pd-description-photo a:hover span {
    opacity: 1;
}

.ip-pd-description-photo a:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: #996d5d;
    opacity: 0;
}

.ip-pd-description-photo a:hover:before {
    opacity: .7;
}

.ip-pd-play-icon{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 52px;
    height: 52px;
    background: url(../../images/property-details/vid-play-icon.png) no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .75;
    margin: auto;
    z-index: 5;
}

.aiosp-wrap .aiosp-container.aiosp-ref-\#popup-gallery .aios-popup-body {
    padding: 60px 0;
    background: transparent;
    width: 1140px;
    margin: 0 auto;
    max-width: 90%;
    min-height: auto;
}
#popup-gallery {
    position: relative;
    padding-top: 66.6%;
}
    #popup-gallery canvas {
        display: block;
        width: 100%;
        background-position: center;
        background-size: contain!important;
        background-repeat: no-repeat;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }


    /*arrow style 2(from aios popup)*/
    #popup-gallery button {
        overflow: visible;
        cursor: pointer;
        background: 0 0;
        border: 0;
        -webkit-appearance: none;
        display: block;
        outline: 0;
        padding: 0;
        z-index: 1046;
        box-shadow: none;
        touch-action: manipulation;
        position: absolute;
        opacity: .65;
        margin: -55px 0 0;
        top: 50%;
        width: 90px;
        height: 110px;
        -webkit-tap-highlight-color: transparent;
    }
    #popup-gallery button:after,
    #popup-gallery button:before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        position: absolute;
        left: 0;
        top: 0;
        margin-top: 35px;
        margin-left: 35px;
        border: inset transparent;
    }
        #popup-gallery button:before {
            border-top-width: 21px;
            border-bottom-width: 21px;
            opacity: .7;
        }
        #popup-gallery button:after {
            border-top-width: 13px;
            border-bottom-width: 13px;
            top: 8px;
        }
    #popup-gallery button.popup-slideshow-prev {
        left: 0;
    }
        #popup-gallery button.popup-slideshow-prev:before {
            margin-left: 25px;
            border-right: 27px solid #3F3F3F;
        }
        #popup-gallery button.popup-slideshow-prev:after {
            border-right: 17px solid #FFF;
            margin-left: 31px;
        }
    #popup-gallery button.popup-slideshow-next {
        right: 0;
    }
        #popup-gallery button.popup-slideshow-next:before {
            border-left: 27px solid #3F3F3F;
        }
        #popup-gallery button.popup-slideshow-next:after {
            border-left: 17px solid #FFF;
            margin-left: 39px;
        }


    /*close button*/
    .aiosp-container.aiosp-ref-\#popup-gallery button.aiosp-close {
        top: 10px!important;
        right: 0;
    }
        .aiosp-container.aiosp-ref-\#popup-gallery button.aiosp-close::before {
            top: 0;
            right: 0;
            display: block;
            color: #fff;
        }
        .aiosp-counter{
            top: unset !important;
        }

        button.aiosp-close {
            font-size: 0px;
            color: #fff !important;
        }

        .aiosp-close::before {
            content: "\b0241";
            font-family: 'agentimage';
            font-size: 30px;
            z-index: -1;
            position: relative;
            color: #ffffff;
            top: 6px;
            right: 0;
        }

/*contact form*/
.ip-contact-us-wrap {
    font-size: 0;
}

/* Top : START */

.ip-contact-us-main {
    position: relative;
    background: url(../../images/contact-us/main-bg.jpg) #cccccc no-repeat center center / cover;
    padding: 98px 0 110px;
}

.ip-contact-us-main::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f7f7f7;
    opacity: 0.96;
}

.ip-contact-us-top {
    position: relative;
}

.ip-contact-us-top-title {
    font-size: 50px;
    font-weight: 900;
    color: #333333;
    line-height: 1.1;
    letter-spacing: -0.05em;
    text-align: center;
}

#content .ip-contact-us-top p {
    font-size: 20px;
    font-weight: 300;
    color: #333333;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-align: center;
}


/* Top : END */


/* Form : START */

.ip-contact-us-form {
    position: relative;
    margin-top: 42px;
}

.ip-contact-us-form-legend {
    font-size: 16px;
    font-weight: 300;
    color: #996d5d;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: right;
    max-width: 1112px;
    margin: 0 auto 12px;
}

.ip-contact-us-form .wpcf7 {
    max-width: 1112px;
    margin: 0 auto;
}

.ip-contact-us-form-col {
    display: block;
    width: 100%;
    /*display: inline-block;*/
    /*vertical-align: top;*/
    /*width: calc( 50% - 4px );*/
    /*margin-right: 8px;*/
}

.ip-contact-us-form-wrapper {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.ip-contact-us-form-col + .ip-contact-us-form-col {
    margin-right: 0;
}

.ip-contact-us-form .form-input {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 8px;
}

.ip-contact-us-form .form-lg {
    width: 100%;
}

.form-input.form-lg.form-radio-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 20px 0;
}

.ip-contact-us-form .form-sm {
    width: calc( 50% - 4px);
    margin-right: 8px;
}

.ip-contact-us-form .form-sm:nth-child(even) {
    margin-right: 0;
}

.ip-contact-us-form .form-input input[type="text"],
.ip-contact-us-form .form-input input[type="email"],
.ip-contact-us-form .form-input input[type="tel"],
.ip-contact-us-form .form-input textarea {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    outline: none;
    font-size: 16px;
    color: #000000;
    letter-spacing: 0.01em;
    width: 100%;
    height: 88px;
    padding: 0 30px;
    background: #eaeaea;
}

.ip-contact-us-form .form-input textarea {
    height: 202px;
    padding-top: 32px!important;
    resize: none;
    display: block;
}

.ip-contact-us-form .form-radio-label {
    font-size: 25px;
    font-weight: 900;
    color: #262626;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin: 25px 0 22px;
}

.form-input.form-lg.form-radio-flex .form-radio-label {
    margin: 0;
    padding-right: 15px;
}

.method-of-contact .wpcf7-radio,
.interested-in .wpcf7-radio {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.method-of-contact .wpcf7-list-item,
.interested-in .wpcf7-list-item {
    font-size: 13px;
    font-weight: 300;
    color: #000000;
    line-height: 1;
    letter-spacing: 0.1em;
    /*margin: 0 0 10px;*/
    margin: 0 20px 0 0;
}

.method-of-contact .wpcf7-list-item label,
.interested-in .wpcf7-list-item label {
    display: flex;
    align-items: center;
}

.method-of-contact .wpcf7-list-item input,
.interested-in .wpcf7-list-item input {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #c0c0c0;
    background: #ffffff;
    margin: 0 10px 0 0;
}

.method-of-contact .wpcf7-list-item input:checked,
.interested-in .wpcf7-list-item input:checked {
    background: #996d5d;
    border-color: #996d5d;
}

.ip-contact-us-form .form-button {
    width: 100%;
    /* height: 61px; */
    position: relative;
    bottom: 0;
    right: 0;
    margin: -4px 0 0;
    background: #eaeaea;
    padding: 15px 32px 30px;
}

.ip-contact-us-form .form-button input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    outline: none;
    width: 130px;
    height: 60px;
    background: #000000;
    font-size: 17px;
    color: #ffffff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.35s ease-in-out;
    margin: 0 0 0 auto;
    display: block;
}

.ip-contact-us-form .form-button input[type="submit"]:hover {
    background: #996d5d;
}

.ip-contact-us-form .wpcf7-form-control-wrap {
    display: block;
}

.ip-contact-us-form .use-floating-validation-tip .wpcf7-not-valid-tip {
    font-size: 12px;
}

.ip-contact-us-form div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: 0;
    left: -20px;
}

.ip-contact-us-form .wpcf7 form .wpcf7-response-output {
    font-size: 12px;
    text-align: center;
    margin: 0;
}


/* Form : END */

#inner-page-wrapper {
    margin-bottom: 0;
}

.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item .wpcf7-list-item-label {
    font-size: initial;
}

.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item {
    margin-right: 10px;
}

@media screen and (max-width: 1366px){
    .map-legend-box-content-inner {
        height: 367px !important;
    }
}

@media screen and (max-width: 991px){
    
}

@media only screen and (max-width: 1440px) {
    .ip-pd-label {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .ip-pd-address {
        font-size: 13px;
        margin-bottom: 15px;
    }
    .ip-pd-address span {
        font-size: 16px;
        margin-top: 4px;
    }
    .ip-pd-price {
        font-size: 30px;
        margin-bottom: 5px;
    }
    .ip-pd-est-pay {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .ip-pd-specs-title {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .ip-pd-specs span {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .ip-pd-specs {
        margin-bottom: 10px;
    }
    .ip-pd-cta a {
        height: 45px;
        font-size: 14px;
    }
    .ip-pd-gallery-photo canvas {
        min-height: 660px;
    }
    .ip-pd-cta {
        margin-bottom: 25px;
    }
    /*.ip-pd-description-text p {
        font-size: 13px;
    }*/
    .ip-pd-description-text h2 {
        font-size: 45px;
    }
    .ip-pd-description-text h3 {
        font-size: 25px;
    }
    .ip-pd-3d-title {
        font-size: 40px;
    }
    /*.map-legend-list {
        height: 180px;
    }*/
    .ip-pd-form-title {
        font-size: 40px;
    }
    .ip-pd-agent-contact-inner {
        margin-left: 4.75vw;
    }
    .ip-pd-np-address span {
        font-size: 18px;
    }
    .ip-pd-np-price {
        font-size: 16px;
    }
    .page-template-property-details-new .aiosp-content.aios-popup-body button.aiosp-close {
        right: -40px;
    }
    .neighborhoodPopup-title {
        font-size: 60px;
    }
    .neighborhoodPopup-text p {
        font-size: 13px;
    }
    .ip-pd-np-title,
    .neighborhoodPopup-details-title,
    .neighborhoodPopup-map-title {
        font-size: 35px;
    }
    .neighborhoodPopup-schools table th:nth-child(1) {
        width: 70px;
    }
    .neighborhoodPopup-schools table th:nth-child(3) {
        width: 100px;
    }
    .neighborhoodPopup-schools table th:nth-child(4) {
        width: 80px;
    }
    .neighborhoodPopup-details > .container,
    .neighborhoodPopup-photos > .container,
    .neighborhoodPopup-map-holder > .container {
        width: 100%;
    }
    .neighborhoodPopup-schools table th:nth-child(2) {
        width: calc(100% - 250px);
    }
    span.neighborhoodPopup-photo-prev {
        left: -10px;
    }
    span.neighborhoodPopup-photo-next {
        left: 10px;
    }
    .neighborhoodPopup-photo-slider {
        padding: 0 40px;
    }
}

@media only screen and (max-width: 1360px) {
    .ip-neigh-title {
        font-size: 40px;
        margin-bottom: 20px;
    }
    .ip-neigh-text h3 {
        font-size: 25px;
        margin-bottom: 10px;
    }
    .ip-neigh-text p {
        font-size: 13px;
    }
    .ip-neigh-text a {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 1199px) {
    .ip-pd-gallery-photo canvas {
        min-height: 650px;
    }
    .ip-pd-description-text-inner.ip-pd-short-text {
        padding: 0 15px;
    }
    /*.ip-pd-description-text p {
        font-size: 12px;
        letter-spacing: 0;
    }*/
    .ip-pd-description-text h2 {
        margin-bottom: 30px;
        font-size: 40px;
    }
    /* .ip-pd-description-photo canvas {
        height: 300px;
    } */
    .ip-pd-3d-title {
        font-size: 30px;
    }
    .ip-pd-3d-title-text {
        font-size: 12px;
    }
    .map-legend-list-holder {
        padding: 0 10px;
    }
    .map-legend-list {
        letter-spacing: 0;
    }
    .ip-neigh-title {
        font-size: 30px;
    }
    .ip-neigh-text h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .ip-neigh-text p {
        font-size: 12px;
        letter-spacing: 0;
        line-height: 1.8;
    }
    .ip-neigh-text a {
        margin-top: 25px;
    }
    .ip-pd-form-title,
    .ip-pd-agent-name {
        font-size: 35px;
    }
    .neighborhoodPopup-overview-title {
        font-size: 16px;
    }
    .neighborhoodPopup-schools table {
        font-size: 13px;
    }
    .neighborhoodPopup-schools table th,
    .neighborhoodPopup-schools table tr td {
        padding: 15px 5px;
    }
    .ip-pd-links {
        width: 255px;
    }

    .ip-pd-agent-details.index-1g .ip-pd-agent-contact-inner {
        margin-left: 0;
    }

    .ip-pd-agent-details.index-1g .ip-pd-agent {
        margin: 0 0 0 auto;
        max-width: 188px;
    }
    #ihf-mortgage-calculator-tab-content > div > div > div > div.row.mb-25 > div > div > div > div:nth-child(1) > div.mc-total > span.mc-amount{
        font-size: 20px;
    }
    #ihf-mortgage-calculator-tab-content > div > div > div > div.row.mb-25 > div > div > div > div > .mc-payments-table > tbody > tr,
    #ihf-mortgage-calculator-tab-content > div > div > div > div.row.mb-25 > div > div > div > div:nth-child(1) > div.mc-total > span.mc-amount > span.mc-total-payment-subline{
        font-size: 15px;
    }
}

@media only screen and (max-width: 991px) {
	.ip-pd-gallery-slider > .ip-pd-gallery-arrow-holder {
		display: flex;
		position: absolute;
	}
	.ip-pd-overlay-content .ip-pd-gallery-arrow-holder {
		display: none;
	}

    .map-legend-box-close{
        display: block;
    }

    .map-legend-list-inner {
        margin: 0px auto;
    }
    
    .ip-pd-gallery-photo canvas {
        background: #000;
        position: relative;
        z-index: 2;
        opacity: .2;
        height: 450px !important;
        min-height: 450px !important;
    }
    .ip-pd-overlay-content {
        position: relative;
        width: 100%;
        background: rgb(51 51 51 / 1);
        text-align: center;
        flex-direction: column;
    }
    .ip-pd-gallery-arrow-holder {
        position: relative;
        right: 0;
        margin-top: 25px;
        left: 0;
        margin: auto;
        margin-top: 25px;
    }
    .ip-pd-description-row > div {
        width: 100%;
    }

    .ip-pd-description-photo.ip-pd-last-photo{
        padding-left: 0;
    }
    .ip-pd-description-text-inner.ip-pd-long-text {
        max-width: 100%;
        padding: 0;
        margin-bottom: 0;
        text-align: center;
    }
    /*.ip-pd-description-text p {
        font-size: 13px;
    }*/
    .ip-pd-description-text-inner.ip-pd-short-text {
        max-width: 100%;
        text-align: center;
        margin-top: 30px;
        margin: 30px auto 0;
    }
    .ip-pd-description-photo.ip-pd-2-photo > span {
        width: 100%;
        padding: 5px !important;
        margin-bottom: 0;
    }
    .ip-pd-description-photo.ip-pd-2-photo {
        flex-wrap: wrap;
        /*max-width: 300px;*/
        margin: 0 auto;
    }
    .ip-pd-description-photo canvas {
        /* height: 250px !important; */
        max-width: 500px;
        margin: 20px auto 0;
    }
    .ip-pd-description-text.ip-pd-full-text {
        margin-top: 10px;
        text-align: center;
    }
    .ip-pd-desc-col {
        margin: 0 0;
        flex-direction: column;
    }
    .ip-pd-desc-col p {
        width: 100%;
        padding: 0 0;
    }
    .ip-pd-description-row.ip-pd-equal-photo .ip-pd-description-photo {
        padding: 15px 0;
        /*max-width: 400px;*/
        margin: 0 auto;
    }
    .ip-pd-description-row > div {
        width: 100% !important;
    }
    .ip-pd-description-row.ip-pd-3-photo .ip-pd-description-photo-col:nth-child(2) .ip-pd-description-photo {
        max-width: 100%;
    }
    .ip-pd-description-content {
        margin-top: 50px;
        padding: 0 15px 20px;
    }
    .ip-pd-description-row.ip-pd-equal-photo {
        margin: 0 0 0;
    }
    .ip-pd-3dtour-content {
        padding: 55px 15px;
    }
    .ip-pd-3d-head {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-bottom: 30px;
        display: none;
    }
    .ip-pd-3d-video {
        width: 100%;
    }
    .ip-pd-3dtour-360-holder {
        width: 100%;
        flex-wrap: wrap;
    }
    .ip-pd-3dtour-360-holder .ip-pd-3d-head {
        align-items: center;
        width: 100%;
    }
    .ip-pd-3d-360 {
        width: 100%;
    }
    .ip-pd-3d-360 a {
        max-width: 320px;
        margin: 0 auto;
    }
    .ip-pd-3dtour-floor-holder {
        width: 100%;
    }
    .ip-pd-3dtour-floor-holder .ip-pd-3d-head {
        width: 100%;
        margin-bottom: 0;
    }
    .ip-pd-3d-floor {
        width: 100%;
    }
    .ip-3d-floor-slick-slider {
        max-width: 260px;
        margin: 0 auto;
    }
    .ip-3d-floor-arrow-holder {
        position: relative;
        bottom: 0;
        left: 0;
        margin: auto;
        padding-bottom: 30px;
    }
    .map-legend-list-holder {
        padding: 30px 0px;
        width: 100%;
    }
    .map-legend-holder {
        width: 100%;
    }
    .ip-neigh-content {
        padding: 30px 15px 40px;
    }
    .ip-neigh-text-content-inner {
        max-width: 100%;
        padding: 25px 0 30px;
    }
    .ip-neigh-text a {
        margin-top: 25px;
        margin: 0 auto 0;
    }
    .ip-neigh-text p {
        font-size: 13px;
    }
    .ip-neigh-photo-slider {
        width: 100%;
        display: none;
    }
    .ip-neigh-photo-slick-slider {
        max-width: 500px;
        margin: 0 auto;
    }
    .ip-neigh-photo-arrow-holder {
        position: relative;
        padding-top: 25px;
        left: 0;
        margin: auto;
    }
    span.ip-neigh-photo-prev, span.ip-neigh-photo-next {
        display: flex !important;
    }
    .ip-pd-form-holder {
        width: 100%;
    }
    .ip-pd-form-inner {
        padding: 25px 0 0;
        margin: 0 auto;
    }
    .ip-pd-form-title,
    .ip-pd-agent-name {
        text-align: center;
        font-size: 27px
    }

    .ip-pd-agent-name{
        text-align: left;
        margin-bottom: 10px;
    }

    .ip-pd-agent-info span {
        margin-bottom: 0;
    }

    .ip-pd-agent-contact .ip-pd-agent-contact-link {
        display: none;
    }

    .ip-pd-agent-details > .ip-pd-agent-contact-link {
        display: block !important;
        width: 100%;
    }
    .ip-pd-agent-details.index-1g {
        max-width: 329px;
        margin: 0 auto;
    }
    .pd-fields.pd-fields-half {
        width: 100%;
    }
    .ip-pd-agent {
        margin: 0 auto;
    }
    .pd-fields.pd-btn {
        margin: 0 auto;
    }
    .ip-pd-agent-details {
        width: 100%;
    }
    .ip-pd-description-row.ip-pd-3-photo .ip-pd-description-photo-col:nth-child(1) .ip-pd-description-photo {
        max-width: 400px;
        margin: 0 auto;
    }
    .ip-neigh-text-content {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
    .ip-pd-agent-contact-inner {
        margin: 0 auto;
    }
    .ip-pd-nearby-property {
        padding: 60px 15px 25px;
    }
    .ip-pd-np-title {
        margin-bottom: 30px;
    }
    .ip-pd-np-slick-slider {
        max-width: 390px;
        margin: 0 auto;
    }
    .page-template-property-details-new .aiosp-content.aios-popup-body button.aiosp-close {
        right: 0;
        top: 0;
    }
    .neighborhoodPopup-title {
        font-size: 40px;
        margin-bottom: 20px;
    }
    .neighborhoodPopup-content-inner {
        margin: -60px auto 0;
        padding: 35px 15px 0;
    }
    .neighborhoodPopup-property {
        margin: 40px auto;
    }
    .neighborhoodPopup-overview-list {
        width: 100%;
        text-align: center;
    }
    .neighborhoodPopup-overview-item {
        margin: 0 auto 10px;
    }
    .neighborhoodPopup-details {
        margin-bottom: 40px;
    }
    .neighborhoodPopup-photos {
        margin-bottom: 55px;
    }
    .neighborhoodPopup-property-slick-slider {
        max-width: 390px;
        margin: 0 auto;
    }
    .ip-pd-agent-info {
        margin-right: 0;
        text-align: left;
    }

    .ip-pd-description-text h2 {
        font-size: 35px !important;
        line-height: 1;
    }


    /* .map-legend-box-content-inner{
        height: auto !important
    } */

    .map-legend-holder{
        max-height: unset;
    }

    /*Open House*/
    .ip-pd-open-house-wrapper{
        right: 10px;
        bottom: 30px;
    }

    .ip-pd-open-house-holder{
        font-size: 15px;
    }

    .ip-pd-description-content .ip-pd-open-house-holder{
        text-align: center;
    }

    /*Open House*/



    /*Video Banner*/
    .ip-pd-video-slider.ip-pd-with-video {
        position: relative;
        overflow: hidden;
        padding-top: 56.25%;    
        display: none;   
    }

    .ip-pd-video-slider{
        display: none !important;
    }

    .ip-pd-video-slider.ip-pd-with-video iframe,
    .ip-pd-video-slider.ip-pd-with-video > div:first-child {
        min-height: unset;
        min-width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border: 0;
        width: 100%;
        height: 100%;
    }
	
	.ip-pd-video-slider.ip-pd-with-video > div:first-child {
		height: 100% !important;	   
	}
	
	body .aiosp-container {		
		top: 50%;		
		transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-o-transform: translateY(-50%);
	}
	
	body .ip-pd-gallery-photo a:hover span {
		opacity: 0;
	}

    .ip-pd-gallery-slider {
        display: flex;
        flex-direction: column-reverse;
    }

    .ip-pd-gallery-photo-slider{
        order: 2;
        margin-left: 0;
        margin-right: 0;
    }

    .ip-pd-overlay-content{
        order: 1;
        padding-bottom: 40px;
    }

    /*Gallery Popup*/
    .aiosp-gallery .aiosp-content{
        width: 100%;
    }
    .aiosp-gallery button.aiosp-arrow::before {
        border: none !important;
        font-family: agentimage!important;
        font-size: 20px;
        color: #fff;
        position: absolute;
        opacity: 1;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        width: auto;
        height: auto;
    }

    .aiosp-gallery button.aiosp-arrow.aiosp-arrow-right::before{
        content: "\b0002";
    }

    .aiosp-gallery button.aiosp-arrow.aiosp-arrow-left::before{
        content: "\b0001";
    }

    .aiosp-gallery button.aiosp-arrow.aiosp-arrow-right::after,
    .aiosp-gallery button.aiosp-arrow.aiosp-arrow-left::after{
        display: none;
    }
    .aiosp-gallery .aiosp-arrow-left{
        left: 6px;
    }
    .aiosp-gallery .aiosp-arrow-right{
        left: 37px;
    }

    .aiosp-gallery .aiosp-container{
        height: auto;
    }

    .aiosp-gallery button.aiosp-arrow {
        display: inline-block;
        vertical-align: middle;
        width: 30px;
        height: 30px;
        font-size: 30px;
        background: #996d5d;
        text-align: center;
        position: absolute;
        top: unset;
        transform: none;
        bottom: 8px;
        margin: 0;
    }



    .ip-pd-links{
        margin: 0 auto;
    }


    /*4 Boxes*/
    .map-legend-list{
        height: 160px;
    }

    .map-legend-box{
        width: calc(100% / 2);
    }



    .ip-map-legend-content.ip-map-legend-content-with-community{
        padding-bottom: 0;
        padding-top: 25px;
    }

    .ip-pd-agent-contact{
        position: relative;
    }

    .ip-pd-agent-details-inner {
        align-items: center;
        display: flex;
        justify-content: center;
        /*flex-direction: column;*/
        align-content: center;
    }

    .ip-pd-agent-details.index-1g .ip-pd-agent{
        order: 1;
        max-width: 145px;
    }
    .ip-pd-agent-details.index-1g .ip-pd-agent-contact{
        order: 2;
    }   
    .ip-pd-agent-details.index-1g .ip-pd-agent-contact-inner {
        margin: 0 0;
        padding-left: 20px;
        
    }

    .ip-pd-agent-details-inner > div {
        margin: 5px auto !important;
    }

    .ip-pd-form-holder{
        order: 2;
    }

    .ip-pd-agent-details.index-1g{
        order: 1;
        padding: 50px 0 25px;
    }

    .ip-pd-gallery-photo-slider .ip-pd-gallery-arrow-holder {
        position: absolute;
        width: 100%;
        display: flex !important;
        justify-content: space-between;
        margin: auto;
        height: 50px;
        top: 0;
    }

    .ip-pd-gallery-arrow-holder span{
        background: #996d5d !important;
        margin-top: 50px;
    }

    .ip-pd-gallery-photo-slick-slider ul.custom_paging {
        display: block !important;
        position: absolute;
        bottom: 0;
        right: 23px;
        color: #fff;
        font-size: 17px;
    }

    .ip-pd-gallery-photo-slick-slider ul.custom_paging li {
        display: none;
    }

    .ip-pd-gallery-photo-slick-slider ul.custom_paging li.slick-active {
        display: block;
    }

    .ip-pd-links a {
        font-size: 12px;
    }

    .ip-pd-specs span {
        width: auto;
        padding: 0 10px;
        position: relative;
        /* margin: 0 0; */
    }

    .ip-pd-specs span::after {
        content: '';
        position: absolute;
        top: 6px;
        right: 0;
        width: 1px;
        height: 11px;
        background: #fff;
    }

    .ip-pd-specs span:last-child::after{
        display: none;
    }

    .ip-pd-specs > div:nth-child(2) {
        justify-content: center;
    }

    .ip-pd-3d-video a span img, .ip-pd-3d-360 a span img {
        max-width: 25px;
        margin-bottom: 5px;
    }

    .ip-pd-3d-video a span, .ip-pd-3d-360 a span {
        font-size: 8px;
    }

    .ip-pd-description-text p,
    .ip-pd-desc-col{
        text-align: justify;
    }

    .ip-pd-specs span i {
        display: none;
    }

    .ip-pd-description-photo {
        /*display: none !important;*/
    }

    .ip-pd-description-text-inner.ip-pd-short-text {
        padding: 0 0;
        margin: 0 auto 0;
    }

    .ip-pd-description-text-inner h2:empty,
    .ip-pd-description-text-inner h3:empty {
        display: none;
    }

    .ip-pd-description-row {
        margin-bottom: 0;
    }






    /*Mobile Edits*/
    .grecaptcha-badge{
        z-index: -1;
    }

    .grecaptcha-badge.scrolled{
        z-index: 999;
    }

    .fixed-header{
        background: rgba(0,0,0,0);
        box-shadow: none;
    }
    .fixed-header.scrolled{
        background: rgba(0,0,0,1);
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    }

    .ip-pd-est-pay,
    .ip-pd-specs .ip-pd-specs-title{
        display: none;
    }
    .ip-pd-specs span{
        font-size: 15px;
    }


    .ip-pd-3d-video-holder{
        margin: 0 -20px;
    }

    .ip-pd-agent-email-desktop{
        display: none;
    }
    .ip-pd-agent-email-mobile{
        display: inline-block;
    }

    .aiosp-wrap.aiosp-gallery.aiosp-close-btn-in .aiosp-close{
        top: 0;
        right: 0;
    }




    .ip-pd-form{
        margin-left: 0;
    }

    .pd-fields{
        padding: 0px;
    }
    .ip-pd-agent-details.index-1g .ip-pd-agent-contact{
        width: 60%;
    }
    .ip-pd-agent-contact-link a{
        max-width: 100%;
    }
    .ip-pd-agent-details.index-1g .ip-pd-agent{
        /*max-width: 300px;*/
        max-width: 40%;
    }

    .ip-pd-agent-details.index-1g{
        /*max-width: 100%;*/
        max-width: 650px;
    }


    .ip-contact-us-form-col {
        width: 100%;
        margin-right: 0;
    }
    .ip-contact-us-main {
        padding: 50px 0;
    }
    .ip-contact-us-form .form-radio-label {
        font-size: 20px;
    }
    .method-of-contact .wpcf7-list-item,
    .interested-in .wpcf7-list-item {
        margin: 0 10px 0 0;
    }

    .ip-banner canvas {
        min-height: 500px;
    }

    .banner-title {
        font-size: 30px;
        text-align: center;
    }

    .ip-pd-description-photo a {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

    .ip-pd-description-photo {
        padding: 5px !important;
    }
}

@media only screen and (max-width: 767px) {
    .map-legend-box {
        width: calc(100% / 2);
    }
    .ip-pd-np-title,
    .neighborhoodPopup-details-title,
    .neighborhoodPopup-map-title {
        font-size: 30px;
        letter-spacing: 3px;
    }

    #ihf-mortgage-calculator-tab-content > div > div > div > div.row.mb-25 > div > div > div > div > .mc-payments-table > tbody{
        flex-direction: column;
        align-items: start;
        align-content: start;
    }

    .aios-mortgage-calculator-standalone form .aios-mortgage-calculator-standalone-calculate {
        margin-top: 10px;
    }

    .form-input.form-lg.form-radio-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-input.form-lg.form-radio-flex .form-radio-label {
        margin-bottom: 20px;
    }
    .method-of-contact .wpcf7-list-item,
    .interested-in .wpcf7-list-item {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .map-legend-box {
        width: calc(100% / 2);
    }
    .ip-neigh-text a {
        font-size: 14px;
        letter-spacing: 1px;
    }
    .ip-pd-agent-contact {
        padding: 125px 0 0;
    }
    .neighborhoodPopup-banner canvas {
        height: 200px;
    }

    div#ihf-mortgage-calculator-tab-content form .col-xs-12.col-sm-3{
        width: calc(50% - 5px);
    }

    .fixed-header {
        padding: 16px 15px;
    }

    .ip-pd-form-title, .ip-pd-agent-name {
        font-size: 27px;
    }

    .ip-pd-agent-info span a {
        font-size: 13px;
        letter-spacing: 0;
    }

    .ip-pd-agent-details.index-1g .ip-pd-agent {
        /*max-width: 100px;*/
    }

    .ip-pd-form-details {
        padding: 0 15px 20px;
    }

    .ip-contact-us-main {
        padding: 50px 0;
    }
    .ip-contact-us-top-title {
        font-size: 35px;
    }
    #content .ip-contact-us-top p {
        font-size: 16px;
    }
    .ip-contact-us-form .form-sm {
        width: 100%;
        margin-right: 0;
    }
    .ip-contact-us-form .form-input input[type="text"],
    .ip-contact-us-form .form-input input[type="email"],
    .ip-contact-us-form .form-input input[type="tel"],
    .ip-contact-us-form .form-input textarea {
        padding-left: 15px;
        padding-right: 15px;
    }
    .ip-contact-us-form .form-radio-label {
        font-size: 20px;
    }
    .method-of-contact .wpcf7-radio,
    .interested-in .wpcf7-radio {
        flex-direction: column;
        align-items: flex-start;
    }
}

#content-sidebar #content {
    width: 100% !important;
}

header.main-header ul.nav, .fixed-header ul.nav2 {
    font-size: 0;
    position: relative;
    z-index: 5;
}

.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}