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

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

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

.ip-testi-section, .ip-testi-container {
    display: block;
    position: relative;
}

/*Section 1*/
.ip-testi-hero-container {
    display: block;
    position: relative;
    margin-bottom: 98px;
}

.ip-testi-hero-row {
    display: block;
    position: relative;
}

.ip-testi-hero-col {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 50%;
}

.ip-testi-hero-content-container {
    display: block;
    position: relative;
    padding: 30px 30px 0 215px;
}

.ip-testi-hero-content-container .global-title h2:before {
    position: absolute;
    content: '';
    top: 46%;
    left: -25px;
    width: 1px;
    height: 100%;
    background-color: #cdcdcd;
    -webkit-transform: rotate(25deg) translateY(-50%);
    -ms-transform: rotate(25deg) translateY(-50%);
    transform: rotate(25deg) translateY(-50%);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
}

.ip-testi-hero-content-container .global-highlight:before {
    width: 197px;
}

.ip-testi-hero-content-container .global-title {
    margin-bottom: 47px;
}

.ip-testi-hero-caption {
    display: block;
    position: relative;
    font-size: 48px;
    line-height: 1;
    color: #333333;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 27px;
}

.ip-testi-hero-caption em {
    font-style: normal;
}

.ip-testi-hero-caption em:before {
    background-image: url(../../images/sold-properties/highlight.png);
    width: 145px;
    height: 84px;
}

.ip-testi-hero-content {
    display: block;
    position: relative;
    margin-bottom: 67px;
    padding-right: 127px;
}

.ip-testi-hero-content p {
    display: block;
    font-size: 16px;
    line-height: 28px;
    color: #333333;
}

.ip-testi-hero-content p:not(:last-child) {
    margin-bottom: 20px;
}

.ip-testi-hero-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    max-width: 503px;
}

.ip-testi-hero-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

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

.ip-testi-hero-col:first-child {
    width: 62.349%;
}

.ip-testi-hero-col:last-child {
    width: 37.651%;
}

.ip-testi-hero-img-b canvas, .ip-testi-hero-img-a canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 646px;
}

.ip-testi-hero-img-a canvas {
}

.ip-testi-hero-img-a {
    display: inline-block;
    vertical-align: bottom;
    position: absolute;
    bottom: 0;
    z-index: 5;
    padding-bottom: 63px;
}

.ip-testi-hero-img-b {
    display: block;
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
    overflow: hidden;
}

.ip-testi-hero-grid-a {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 154px;
    height: 63px;
    background-color: #fff;
    z-index: 2;
    width: 25.84%;
    height: 9.753%;
}

.ip-testi-hero-grid-a:before, .ip-testi-hero-grid-a:after {
    position: absolute;
    content: '';
    bottom: 100%;
    right: 0;
    width: 30px;
    height: 100vh;
    background-color: #fff;
}

.ip-testi-hero-grid-a:after {
    right: 0;
    width: 100vw;
    height: 30px;
    bottom: calc(100% + 230px);
}

.ip-testi-hero-grid-b {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 457px;
    height: 218px;
    width: 74.6%;
    height: 33.747%;
}

.ip-testi-hero-grid-b:before, .ip-testi-hero-grid-b:after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    width: 100%;
    height: 30px;
    background-color: #fff;
}

.ip-testi-hero-grid-b:after {
    right: 109px;
    width: 30px;
    height: 100%;
    bottom: 0;
}

/*Section 2*/
.ip-testi-blck-container {
    display: block;
    position: relative;
    background-color: #000;
    padding: 90px 0 113px;
}

.ip-testi-blck-container.alter .ip-testi-blck-content-inner {
    min-height: 224px;
}

.ip-testi-blck-container.alter {
    padding: 91px 0 96px;
}

.ip-testi-blck-slide {
    display: block;
    position: relative;
    margin: 0 -35px;
}

.ip-testi-blck-slide:not(.slick-initialized) .ip-testi-blck-item:nth-child(n+3) ~ div {
    display: none;
}

.ip-testi-blck-item {
    display: inline-block;
    vertical-align: top;
    width: calc(100% / 2);
    position: relative;
    padding: 0 35px;
}

.ip-testi-blck-content {
    display: block;
    position: relative;
}

.ip-testi-blck-content p {
    font-size: 18px;
    line-height: 1.667;
    color: #a7a7a7;
    display: block;
    margin-bottom: 30px;
}

.ip-testi-blck-content span.ip-testi-blck-author {
    font-size: 18px;
    line-height: 1;
    color: var(--secondary-color);
    display: block;
    font-weight: 700;
}

.ip-testi-blck-content-inner {
    border-left: 5px solid #282828;
    padding: 26px 0 0 33px;
    position: relative;
    min-height: 250px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.ip-testi-blck-icon {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.ip-testi-blck-icon em.ai-icon-quote {
    background-image: url(../../images/ai-quote-icon.png);
    width: 43px;
    height: 38px;
}

.ip-testi-wht-container {
    display: block;
    position: relative;
    padding: 85px 0 103px;
}

.ip-testi-wht-slide {
    display: block;
    position: relative;
}

.ip-testi-wht-item {
    display: block;
    position: relative;
    width: 100%;
}

.ip-testi-wht-item:not(:last-child) {
    margin-bottom: 85px;
}

.ip-testi-wht-content {
    display: block;
    position: relative;
}

.ip-testi-wht-content p {
    font-size: 18px;
    line-height: 1.667;
    color: #333333;
    display: block;
    margin-bottom: 30px;
}

.ip-testi-wht-content span.ip-testi-wht-author {
    font-size: 18px;
    line-height: 1;
    color: var(--secondary-color);
    display: block;
    font-weight: 700;
}

.ip-testi-wht-content-inner {
    border-left: 5px solid #e7e7e7;
    padding: 26px 0 0 33px;
    position: relative;
}

.ip-testi-wht-icon {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.ip-testi-wht-icon em.ai-icon-quote {
    background-image: url(../../images/ai-quote-icon.png);
    width: 43px;
    height: 38px;
    -webkit-filter: invert(1) brightness(0);
    filter: invert(1) brightness(0);
}

/*Section 3*/
.ip-testi-zillow-container {
    display: block;
    position: relative;
    padding: 48px 0 57px;
}

.ip-testi-zillow-container .custom-container {
    padding: 0 15px;
    max-width: 1230px;
}

.ip-testi-zillow-main {
    display: block;
    position: relative;
}

.ip-testi-zillow-title {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 55px;
}

.ip-testi-zillow-title h2 {
    font-size: 48px;
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
}

.ip-testi-zillow-slide {
    display: block;
    position: relative;
    margin: 0 -15px;
}

.ip-testi-zillow-item {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    position: relative;
    padding: 0 15px 45px;
}

.ip-testi-zillow-content-inner {
    display: block;
    position: relative;
    padding: 30px 0 30px 30px;
}

.ip-testi-zillow-stars {
    display: block;
    position: relative;
    margin-bottom: 42px;
}

.ip-testi-zillow-stars ul {
    display: block;
    position: relative;
}

.ip-testi-zillow-stars ul li {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.ip-testi-zillow-stars ul li:not(:last-child) {
    margin-right: 3;
}

.ip-testi-zillow-stars ul li span.ai-icon-star {
    background-image: url(../../images/testimonials/ai-icon-star.png);
    width: 41px;
    height: 39px;
}

.ip-testi-zillow-content p {
    font-size: 16px;
    line-height: 28px;
    color: #333333;
    display: block;
    width: 98%;
}

.ip-testi-zillow-content span.ip-testi-zillow-author {
    font-size: 18px;
    line-height: 1;
    color: var(--secondary-color);
    display: block;
    font-weight: 700;
    margin-top: 35px;
}

.ip-testi-zillow-content-inner:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    background-color: #f9f9f9;
    pointer-events: none;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-testi-zillow-content-holder {
    display: block;
    position: relative;
    background-color: #fff;
    padding: 42px 64px;
    -webkit-box-shadow: 19px 23px 30px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 19px 23px 30px 0px rgba(0, 0, 0, 0.05);
    /* box-shadow: 8px 18px 11px 0px rgb(0 0 0 / 5%); */
    min-height: 414px;
}

.slick-slide.slick-current.slick-active + .slick-slide .ip-testi-zillow-content-inner:before, .ip-testi-zillow-item + .ip-testi-zillow-item .ip-testi-zillow-content-inner:before {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
}

.slick-slide.slick-current.slick-active + .slick-slide .ip-testi-zillow-content-inner, .ip-testi-zillow-item + .ip-testi-zillow-item .ip-testi-zillow-content-inner {
    padding: 30px 30px 30px 0;
}

.ip-testi-zillow-slide:not(.slick-initialized) .ip-testi-zillow-item:nth-child(n+2) ~ div {
    display: none;
}

/* Section 4 */
.ip-testi-footer-container {
    display: block;
    position: relative;
    padding: 57px 0 100px;
}

.ip-testi-footer-main {
    display: block;
    position: relative;
}

.ip-testi-footer-content {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.ip-testi-footer-content-btn a {
    margin: 0 auto;
}

.ip-testi-footer-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 55px;
    letter-spacing: 0.050em;
    color: #000;
    text-transform: uppercase;
}

.ip-testi-footer-content h2 span.is-blue {
    color: var(--secondary-color);
}

.ip-testi-footer-content .global-highlight.is-big:before {
    width: 247px;
    height: 80px;
}

/*Popup Form*/
.ip-testi-popup-container {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
    overflow: hidden;
}

.ip-testi-popup-container.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.ip-testi-popup-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 25px;
}

.ip-testi-popup-main {
    position: relative;
    width: 100%;
    max-width: 554px;
    margin: 0 auto 0;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    background: #fff;
    padding: 60px 40px 70px;
}

.ip-testi-popup-container.active .ip-testi-popup-main {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.ip-testi-popup-field {
    display: block;
    position: relative;
    width: 100%;
}

.ip-testi-popup-field textarea, .ip-testi-popup-field input:not([type=submit]) {
    width: 100%;
    height: 66px;
    border: none;
    border-bottom: 1px solid #a3a3a3;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    color: #333333;
    line-height: normal;
}

.ip-testi-popup-field textarea {
    height: 100px;
    resize: none;
    padding: 10px 0;
}

.ip-testi-popup-field.form-submit button {
    border: none;
    padding: 0;
    background-color: transparent;
    margin: 0 auto;
}

.ip-testi-popup-field.form-submit {
    margin: 56px auto 0;
}

.ip-testi-popup-field:not(:last-child) {
    margin-bottom: 15px;
}

.ip-testi-popup-main-title .global-title h2 span:before {
    left: -18px;
}

.ip-testi-popup-form-widget, .ip-testi-popup-form-widget form {
    display: block;
    position: relative;
}

.ip-testi-popup-form-widget div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.ip-testi-popup-form-widget .wpcf7 form .wpcf7-response-output {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    margin: 0 auto;
}

.ip-testi-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: none;
    background-color: transparent;
    font-weight: 700;
    font-size: 19px;
    padding: 0;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-testi-popup-close:hover {
    color: var(--secondary-color);
}

.page-numbers {
    font-size: 15px;
    padding: 10px;
}

.page-links {
    text-align: center;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1560px) {
    .ip-testi-hero-img-b canvas {
        /* min-height: 670px; */
    }

    .ip-testi-hero-content-container {
        padding: 30px 30px 80px 155px;
    }

    .ip-testi-hero-content {
        padding-right: 101px;
    }

    .ip-testi-hero-caption {
        font-size: 45px;
    }

    .ip-testi-cl-content-holder {
        padding: 0 85px 0 106px;
    }
}

@media only screen and (max-width: 1440px) {
    .ip-testi-hero-content {
        padding-right: 90px;
    }

    .ip-testi-hero-content-container {
        padding: 30px 30px 80px 120px;
    }
}

@media only screen and (max-width: 1366px) {
    .ip-testi-hero-content-container {
        padding: 30px 30px 50px 75px;
    }

    .ip-testi-hero-col:last-child {
        width: 37.124%;
    }

    .ip-testi-hero-col:first-child {
        width: 62.876%;
    }

    .ip-testi-hero-content {
        padding-right: 70px;
    }

    .ip-testi-hero-img-b canvas {
        min-height: 620px;
    }

    .ip-testi-hero-grid {
        width: 185px;
    }
}

@media only screen and (max-width: 1280px) {
    .ip-testi-hero-caption {
        font-size: 40px;
    }

    .ip-testi-hero-caption em:before {
        width: 140px;
        height: 75px;
    }

    .ip-testi-hero-content {
        padding-right: 25px;
    }

    .ip-testi-hero-img-b canvas {
        min-height: 610px;
    }

    .ip-testi-hero-content-container .global-title h2 {
        font-size: 70px;
    }

    .ip-testi-hero-btns {
        max-width: 420px;
    }

    .ip-testi-blck-container > .container, .ip-testi-wht-container > .container {
        width: 100%;
        max-width: 1060px;
    }

    .ip-testi-wht-content span.ip-testi-wht-author, .ip-testi-wht-content p, .ip-testi-blck-content span.ip-testi-blck-author, .ip-testi-blck-content p {
        font-size: 16px;
    }

    .ip-testi-blck-container.alter .ip-testi-blck-content-inner {
        min-height: 208px;
    }

    .ip-testi-blck-content-inner {
        min-height: 230px;
    }

    .ip-testi-zillow-container .custom-container {
        max-width: 1110px;
    }

    .ip-testi-zillow-content-holder {
        padding: 42px 43px;
    }

    .ip-testi-zillow-content p {
        width: 100%;
        font-size: 15px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .ip-testi-hero-content-container {
        padding: 30px 0 40px 42px;
    }

    .ip-testi-hero-content-container .global-title h2:before {
        left: -20px;
    }

    .ip-testi-hero-caption em:before {
        width: 130px;
        height: 65px;
    }

    .ip-testi-hero-caption {
        font-size: 35px;
        margin-bottom: 20px;
    }

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

    .ip-testi-hero-content-container .global-title {
        margin-bottom: 35px;
    }

    .ip-testi-hero-content p {
        font-size: 15px;
        line-height: 25px;
    }

    .ip-testi-hero-btns {
    }

    .ip-testi-hero-img-a {
        width: 100%;
        max-width: 185px;
    }

    .ip-testi-hero-grid {
        width: 155px;
        height: 280px;
    }

    .ip-testi-hero-img-b canvas {
        min-height: 515px;
    }

    .ip-testi-hero-content {
        margin-bottom: 38px;
    }

    .ip-testi-hero-container {
        margin-bottom: 50px;
    }

    .ip-testi-blck-item {
        padding: 0 20px;
    }

    .ip-testi-blck-slide {
        margin: 0 -20px;
    }

    .ip-testi-blck-container > .container, .ip-testi-wht-container > .container {
        max-width: 920px;
    }

    .ip-testi-blck-content-inner, .ip-testi-wht-content-inner {
        padding: 20px 0 0 24px;
    }

    .ip-testi-blck-container {
        padding: 70px 0;
    }

    .ip-testi-wht-container {
        padding: 70px 0;
    }

    .ip-testi-wht-item:not(:last-child) {
        margin-bottom: 50px;
    }

    .ip-testi-blck-container.alter {
        padding: 70px 0;
    }

    .ip-testi-blck-container.alter .ip-testi-blck-content-inner {
        min-height: 200px;
    }

    .ip-testi-zillow-content-holder {
        padding: 40px 30px;
        min-height: 388px;
    }

    .ip-testi-zillow-content-inner {
        padding: 20px 0 20px 20px;
    }

    .slick-slide.slick-current.slick-active + .slick-slide .ip-testi-zillow-content-inner, .ip-testi-zillow-item + .ip-testi-zillow-item .ip-testi-zillow-content-inner {
        padding: 20px 20px 20px 0;
    }

    .ip-testi-zillow-content-inner:before {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }

    .ip-testi-zillow-stars {
        margin-bottom: 25px;
    }

    .ip-testi-zillow-stars ul li span.ai-icon-star {
        width: 35px;
        height: 34px;
    }

    .ip-testi-footer-content h2 {
        font-size: 40px;
    }

    .ip-testi-footer-content .global-highlight.is-big:before {
        width: 210px;
        height: 72px;
    }

    .ip-testi-footer-container {
        padding: 50px 0 70px;
    }

    .ip-testi-footer-content {
        margin-bottom: 40px;
    }

    .ip-testi-zillow-container {
        padding: 45px 0 50px;
    }
}

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

    .ip-testi-hero-col {
        display: block;
        width: 100%!important;
    }

    .ip-testi-hero-content-container {
        padding: 20px 20px 50px;
    }

    .ip-testi-hero-content-container .global-title {
        text-align: center;
    }

    .ip-testi-hero-content-container .global-title h2 {
        display: inline-block;
        position: relative;
        font-size: 42px;
    }

    .ip-testi-hero-content {
        text-align: center;
        padding: 0;
        margin-bottom: 30px;
    }

    .ip-testi-hero-caption {
        text-align: center;
    }

    .ip-testi-hero-btn a {
        margin: 0 auto;
    }

    .ip-testi-hero-img-a {
        position: relative;
        display: block;
        max-width: 516px;
        margin: 0 auto;
        padding: 20px;
    }

    .ip-testi-hero-img-b canvas {
        min-height: 250px;
        height: auto;
    }

    .ip-testi-hero-img-b {
        width: 100%;
        margin: 0 auto;
        max-width: 556px;
    }

    .ip-testi-hero-grid {
        height: 220px;
    }

    .ip-testi-hero-grid:before, .ip-testi-hero-grid:after {
        width: 20px;
    }

    .ip-testi-hero-grid:after {
        width: 100vw;
        height: 20px;
        bottom: 55%;
    }

    .ip-testi-hero-btns {
        margin: 0 auto;
    }

    .ip-testi-blck-item {
        padding: 0;
        display: block;
        width: 100%;
    }

    .ip-testi-blck-slide {
        margin: 0;
    }

    .ip-testi-blck-item:not(:last-child) {
        margin-bottom: 50px;
    }

    .ip-testi-blck-content-inner {
        display: block;
        min-height: 0!important;
    }

    .ip-testi-blck-container > .container, .ip-testi-wht-container > .container {
        max-width: 568px;
        padding: 0 20px;
    }

    .ip-testi-zillow-item {
        width: 100%;
        padding: 0 0 30px;
    }

    .ip-testi-zillow-slide {
        margin: 0 auto;
        width: 100%;
        max-width: 567px;
        margin: 0 auto;
    }

    .ip-testi-footer-content h2 {
        font-size: 35px;
    }

    .ip-testi-footer-content .global-highlight.is-big:before {
        width: calc(100% + 31px);
    }

    .ip-testi-zillow-title h2 {
        font-size: 40px;
    }

    .ip-testi-wht-content span.ip-testi-wht-author, .ip-testi-wht-content p, .ip-testi-blck-content span.ip-testi-blck-author, .ip-testi-blck-content p {
        font-size: 14px;
    }

    .ip-testi-wht-content span.ip-testi-wht-author, ip-testi-blck-content span.ip-testi-blck-author {
        line-height: 1.2;
    }

    .ip-testi-wht-content p, .ip-testi-blck-content p {
        margin-bottom: 20px;
    }

    .ip-testi-blck-icon em.ai-icon-quote, .ip-testi-wht-icon em.ai-icon-quote {
        width: 34px;
        height: 29px;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-testi-hero-caption {
        font-size: 25px;
    }

    .ip-testi-hero-btns {
        display: block;
        text-align: center;
        max-width: 100%;
    }

    .ip-testi-hero-btn {
        display: block;
        text-align: center;
    }

    .ip-testi-hero-btn:not(:last-child) {
        margin: 0 0 15px;
    }

    .ip-testi-hero-caption em:before {
        width: 115px;
        height: 50px;
    }

    .ip-testi-footer-content h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .ip-testi-popup-main {
        padding: 50px 30px;
        max-width: 420px;
    }

    .ip-testi-popup-field.form-submit {
        margin: 30px auto 0;
    }

    .ip-testi-popup-field textarea, .ip-testi-popup-field input:not([type=submit]) {
        height: 37px;
        font-size: 12px;
    }

    .ip-testi-popup-field textarea {
        height: 80px;
    }

    .ip-testi-popup-field:not(:last-child) {
        margin-bottom: 5px;
    }

    .ip-testi-popup-caption {
        margin-bottom: 18px;
        padding: 0;
    }

    .ip-testi-popup-close {
        font-size: 14px;
    }

    .ip-testi-popup-form-widget .wpcf7 form .wpcf7-response-output {
        font-size: 11px;
        bottom: -41px;
    }

    .ip-testi-popup-form-widget .use-floating-validation-tip .wpcf7-not-valid-tip {
        font-size: 11px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .ip-testi-hero-content-container .global-title h2:before {
        left: -20px;
    }

    .ip-testi-hero-content-container .global-title h2 {
        font-size: 35px;
    }

    .ip-testi-hero-grid {
        width: 50%;
        height: 138px;
    }

    .ip-testi-sl-content p span:before {
        bottom: -2px;
    }

    .ip-testi-sl-main .global-title {
        margin-bottom: 35px;
    }

    .ip-testi-zillow-content-inner {
        padding: 10px 0 10px 10px;
    }

    .slick-slide.slick-current.slick-active + .slick-slide .ip-testi-zillow-content-inner, .ip-testi-zillow-item + .ip-testi-zillow-item .ip-testi-zillow-content-inner {
        padding: 10px 10px 10px 0;
    }

    .ip-testi-zillow-content-holder {
        padding: 40px 20px;
        min-height: 0;
    }

    .ip-testi-zillow-content-inner:before {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    .ip-testi-zillow-content p {
        line-height: 1.6;
    }

    .ip-testi-zillow-content-holder {
        text-align: center;
    }

    .ip-testi-zillow-content span.ip-testi-zillow-author {
        font-size: 16px;
        margin-top: 20px;
    }

    .ip-testi-footer-content h2 {
        font-size: 24px;
    }

    .ip-testi-zillow-container {
        padding: 30px 0 50px;
    }

    .ip-testi-zillow-title h2 {
        font-size: 35px;
    }

    .ip-testi-blck-content-inner, .ip-testi-wht-content-inner {
        padding: 16px 0 0 17px;
    }

    .ip-testi-hero-grid-a:before {
        width: 20px;
    }

    .ip-testi-hero-grid-a:after {
        height: 20px;
        bottom: calc(100% + 130px);
    }

    .ip-testi-hero-grid-b:before {
        height: 20px;
    }

    .ip-testi-hero-grid-b:after {
        width: 20px;
        right: 62px;
    }

    .ip-testi-footer-content {
        width: 100%;
        max-width: 365px;
        margin: 0 auto 40px;
    }

    .ip-testi-footer-content .global-highlight.is-big:before {
        height: 36px;
    }

    .ip-testi-footer-container {
        padding: 30px 0 70px;
    }

    .ip-testi-popup-main {
        padding: 50px 20px;
    }

    .ip-testi-popup-wrapper {
        padding: 25px 20px;
    }
}

@media only screen and (max-height: 650px) {
    .ip-testi-popup-wrapper {
        display: block;
    }

    .ip-testi-popup-main {
        margin: 40px auto;
    }
}
