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

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

.ip-banner {
    display: none;
}

/*Custom Banner*/
.ip-custom-banner, .ip-custom-banner-img, .ip-custom-banner-img canvas {
    display: block;
    position: relative;
}

.ip-custom-banner-img {
    background-color: var(--secondary-color);
}

.ip-custom-banner-img canvas {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .72;
    min-height: 300px;
}

.ip-custom-banner-title {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    display: block;
    text-align: center;
    z-index: 10;
}

.ip-custom-banner-title h1 {
    font-size: 72px;
    font-family: var(--title-font);
    color: #fff;
    text-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
    display: block;
    font-weight: 500;
    line-height: 1;
}

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

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

/*Section 1*/

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

.ip-testi-content-item {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    position: relative;
}

.ip-testi-author h2 {
    font-size: 48px;
    line-height: 1;
    font-family: var(--title-font);
    color: #bba68d;
    font-weight: 500;
}

.ip-testi-content p {
    font-size: 22px;
    line-height: 1.875;
    color: var(--secondary-color);
    display: block;
}

.ip-testi-content p.content-full {
    display: none;
}



.ip-testi-content-inner {
    background-color: #fff;
    padding: 60px 70px 50px;
    height: 100%;
    min-height: 347px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

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

.ip-testi-tag {
    width: 136px;
    height: 54px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.ip-testi-tag span {
    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;
    font-size: 24px;
    font-family: var(--title-font);
    color: #bba68d;
    width: 100%;
    height: 100%;
    padding: 0 7px 0 29px;
    z-index: 2;
    position: relative;
    font-weight: 500;
}

.ip-testi-tag span:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url(../../images/testimonials/ai-chat-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.ip-testi-content-item:nth-child(2) .ip-testi-content-inner, .ip-testi-content-item:nth-child(3) .ip-testi-content-inner, .ip-testi-content-item:nth-child(6) .ip-testi-content-inner, .ip-testi-content-item:nth-child(7) .ip-testi-content-inner, .ip-testi-content-item:nth-child(9) .ip-testi-content-inner, .ip-testi-content-item:nth-child(10) .ip-testi-content-inner {
    background-color: #f7f3ee;
}

.ip-testi-content-item:nth-child(2) .ip-testi-tag span:before, .ip-testi-content-item:nth-child(3) .ip-testi-tag span:before, .ip-testi-content-item:nth-child(6) .ip-testi-tag span:before, .ip-testi-content-item:nth-child(7) .ip-testi-tag span:before, .ip-testi-content-item:nth-child(9) .ip-testi-tag span:before, .ip-testi-content-item:nth-child(10) .ip-testi-tag span:before {
    -webkit-filter: brightness(0) invert(1);
            filter: brightness(0) invert(1);
}

.ip-testi-content-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    position: relative;
}

.ip-testi-name-holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    margin-bottom: 20px;
    position: relative;
}

.ip-testi-content.active p.content-less {
    display: none;
}

a.toggle-content {
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    color: #bba68d;
    display: inline-block;
    position: relative;
    margin-top: 22px;
    z-index: 5;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

a.toggle-content:hover {
    opacity: .75;
}

a.toggle-content span {
    display: inline-block;
    position: relative;
}

a.toggle-content:before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d6cabb;
}

a.toggle-content:after {
    position: absolute;
    content: '';
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(0deg);
        -ms-transform: translateY(-50%) rotate(0deg);
            transform: translateY(-50%) rotate(0deg);
    left: calc(100% + 10px);
    background-image: url(
    ../../images/testimonials/ai-caret-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 17px;
    height: 10px;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    -webkit-transform-origin: center;
        -ms-transform-origin: center;
            transform-origin: center;
}

a.toggle-content.active:after {
    -webkit-transform: translateY(-50%) rotate(180deg);
        -ms-transform: translateY(-50%) rotate(180deg);
            transform: translateY(-50%) rotate(180deg);
}

.ip-testi-content.active p.content-full {
    display: block;
}

.ip-global-pagination {
    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;
    margin: 30px auto 0;
}

.ip-testi-content-container {
    padding: 0 0 0;
}

.ip-global-pagination button {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    font-size: 20px;
    line-height: 1;
    color: var(--primary-color);
    border: none;
    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;
    background-color: transparent;
    font-weight: 700;
}

.ip-global-pagination ul {
    display: block;
    position: relative;
    margin: 0 29px;
}

.ip-global-pagination ul li {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 32px;
    height: 32px;
}

.ip-global-pagination ul li a {
    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%;
    height: 100%;
    background-color: transparent;
    font-size: 24px;
    line-height: 1;
    color: #534741;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-global-pagination ul li:not(:last-child) {
    margin-right: 5px;
}

.ip-global-pagination ul li.active a {
    pointer-events: none;
}
/**/
.ip-global-pagination .page-numbers li span.current {
    pointer-events: none;
    font-size: 24px;
    padding:5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.ip-global-pagination ul li.active a,.ip-global-pagination ul li:hover a {
    background-color: var(--primary-color);
    color: #fff;
}
/**/
.ip-global-pagination .page-numbers li span.current, .ip-global-pagination ul li:hover a {
    background-color: var(--primary-color);
    color: #fff;
    
}
.ip-global-pagination button:hover {
    color: var(--secondary-color);
}


/* Section 3 */

.ip-testi-cta-container, .ip-testi-cta-main, .ip-testi-cta-btn {
    display: block;
    position: relative;
}

.ip-testi-cta-main {
    z-index: 5;
    text-align: center;
    width: 100%;
    max-width: 74%;
    margin: 0 auto;
}

.ip-testi-cta-container {
    padding: 125px 0 136px;
}

.ip-testi-cta-bg canvas {
    opacity: .30;
}

.ip-testi-cta-bg {
    background-color: #fff;
}

.ip-testi-cta-container .custom-container {
    max-width: 1170px;
}

.ip-testi-cta-main h2 {
    font-size: 48px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.030em;
    color: var(--secondary-color);
    font-family: var(--title-font);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding: 0 10px 10px;
    font-weight: 500;
}

.ip-testi-cta-main p {
    font-size: 20px;
    line-height: 1.5;
    color: var(--secondary-color);
    display: block;
}

.ip-testi-cta-main h2:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
}

.ip-testi-cta-btn {
    margin-top: 30px;
}

.ip-testi-cta-btn a {
    margin: 0 auto;
    max-width: 220px;
    background-color: var(--secondary-color);
    color: #fff;
    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%;
    height: 62px;
    border: 2px solid var(--secondary-color);
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.200em;
    text-transform: uppercase;
    padding: 0 10px;
    text-align: center;
    -webkit-transition: 0.4s all ease-in-out;
    -o-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.ip-testi-cta-btn a:hover, .ip-testi-cta-btn a:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 1560px) {
    .ip-testi-content-inner {
        padding: 50px 50px 50px;
    }
    
    .ip-testi-content p {
        /* font-size: 15px; */
    }
}


@media only screen and (max-width: 1366px) {
    .ip-testi-author h2 {
        font-size: 40px;
    }
    
    .ip-testi-content-inner {
        padding: 50px 40px 50px;
        min-height: 330px;
    }
}
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .ip-testi-content p {
    font-size: 18px;
    line-height: 1.7;
}

.ip-testi-content-inner {
    padding: 40px 30px 30px;
    min-height: 285px;
}

.ip-testi-tag span {
    font-size: 18px;
    padding: 0 7px 0 26px;
}

.ip-testi-tag {
    width: 125px;
    height: 45px;
}

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

a.toggle-content {
    font-size: 18px;
}

a.toggle-content:after {
    width: 14px;
    height: 10px;
    left: calc(100% + 5px);
}

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

.ip-global-pagination ul li a {
    font-size: 20px;
}

.ip-testi-cta-container {
    padding: 90px 0;
}

.ip-testi-cta-main p {
    font-size: 17px;
}

.ip-testi-cta-main h2 {
    font-size: 40px;
}

.ip-testi-cta-btn a {
    max-width: 200px;
}

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ip-testi-content-main {
    display: block;
}

.ip-testi-content-item {
    width: 100%;
    display: block;
}

.ip-testi-content-inner {padding: 40px 30px;}

.ip-testi-content-item:nth-child(even) .ip-testi-content-inner {
    background-color: #f7f3ee!important;
}

.ip-testi-content-item:nth-child(odd) .ip-testi-content-inner {
    background-color: #fff!important;
}

.ip-testi-content-item:nth-child(odd) .ip-testi-tag span:before {
    -webkit-filter: none!important;
            filter: none!important;
}

.ip-testi-content-item:nth-child(even) .ip-testi-tag span:before {
    -webkit-filter: brightness(0) invert(1)!important;
            filter: brightness(0) invert(1)!important;
}

.ip-global-pagination {
    margin: 40px auto 0;
}

.ip-testi-content-container {
    padding: 0 0 40px;
}

.ip-testi-content p {
    font-size: 17px;
}

    a.toggle-content {
    font-size: 17px;
}

    .ip-custom-banner-title h1 {
        font-size: 50px;
    }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-custom-banner-title h1 {
        font-size: 45px;
    }

    .ip-testi-cta-main p br {
        display: none;
    }
}

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

    .ip-testi-content-inner {
        padding: 30px 15px 40px;
        min-height: 295px;
    }
    
    .ip-testi-author h2 {
        font-size: 27px;
    }
    
    .ip-testi-tag span {
        font-size: 16px;
        padding: 0 7px 0 20px;
    }
    
    .ip-testi-tag {
        width: 100px;
        height: 40px;
    }
    
    .ip-testi-content p {
        /* line-height: 1.5; */
    }
    
    .ip-testi-name-holder {
        margin-bottom: 15px;
    }
    
    .ip-testi-cta-main {
        max-width: 100%;
    }
    
    .ip-testi-cta-main h2 {
        font-size: 30px;
        padding: 0 0 10px;
    }
    
    .ip-testi-cta-main p {
        font-size: 16px;
    }
    
    .ip-testi-cta-container {
        padding: 70px 0;
    }
    
    .ip-custom-banner-title h1 {
        font-size: 40px;
    }

}
