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

.page-template-testimonials #inner-page-wrapper {
    margin-bottom: 0;
}

.page-template-testimonials .ip-banner canvas {
    min-height: 542px;
}

.ip-banner-logos {
	display: block !important;
}

.testi-custom-container {
	max-width: 1478px;
	margin: 0 auto;
	padding: 0 15px;
}

p#breadcrumbs {
    max-width: 1478px;
    padding: 0 15px;
}

.testi-head {
    text-align: center;
    margin: 0 0 28px;
}

.page-template-testimonials .global-site-head {
    text-align: left;
}

.testi-section1 {
	position: relative;
	margin: 117px 0 0;
}

.testi-s1-text {
    max-width: 1294px;
    margin: 0 auto;
    text-align: center;
}

.testi-s1-text p {
    font-size: 18px;
    font-weight: 400;
    color: #454545;
    letter-spacing: .9px;
    line-height: 1.9;
    display: block;
    margin: 0 0 33px;
}

.testi-s1-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../images/testimonials/s1-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    opacity: .5;
    pointer-events: none;
}

.testi-section1 .testi-custom-container {
    position: relative;
    z-index: 5;
}

.testi-s1-inner {
    padding: 15px 0 75px;
    background: rgb(255 255 255 / 86%);
}

.testi-section1::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    pointer-events: none;
}

.testi-s1-bg::after, .testi-s1-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    min-height: 204px;
}

.testi-s1-bg::after {
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
}

.testi-s1-bg::before {
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}

/*section2*/
.testi-section2 {
    position: relative;
}

.testi-s2-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 0 0 70px;
}

.testi-s2-col1 {
    width: 48.011%;
}

.testi-s2-col2 {
    width: 51.989%;
    position: relative;
    z-index: 1;
}

.testi-s2-photo-holder {
    position: relative;
    padding: 0 0 70px 77px;
    background: url(../../images/testimonials/testi-accent1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.testi-s2-row:nth-child(even) .testi-s2-photo-holder {
    background: url(../../images/testimonials/testi-accent2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0 77px 70px 0;
}

.testi-s2-photo-inner {
    position: relative;
}

.testi-s2-photo-inner canvas {
    display: block;
    width: 100%;
}

.testi-s2-photo-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testi-s2-content-holder {
    position: relative;
    padding: 0 77px 0 0;
    margin-left: -83px;
}

.testi-s2-content {
    background: #fff;
    padding: 15px;
    min-height: 453px;
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testi-s2-content::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100%;
    height: 100%;
    border: 1px solid #c1c1c1;
    z-index: -1;
    pointer-events: none;
}

.testi-s2-text {
    max-width: 645px;
    margin: 0 auto;
}

.testi-s2-text p {
    display: block;
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 400;
    color: #454545;
    line-height: 1.75;
    letter-spacing: .9px;
}

.testi-s2-text p.testi-s2-text-em {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    letter-spacing: .1px;
    line-height: 1.9;
}

.testi-s2-name {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-family-title);
    letter-spacing: 1px;
    padding: 20px 0;
}

.testi-s2-row:nth-child(even) {
    flex-flow: row-reverse;
}

.testi-s2-row:nth-child(even) .testi-s2-content-holder {
    padding: 0 0 0 77px;
    margin-left: 0;
    margin-right: -83px;
}

.testi-s2-row:nth-child(even) .testi-s2-content::after {
    right: auto;
    left: -40px;
}

.testi-s2-pagination {
    max-width: 345px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 0;
}

.testi-s2-pagination button {
    border: none;
    background: transparent;
    font-size: 16px;
    color: #000;
    -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;
}

.testi-s2-pagination button:hover {
    opacity: .7;
}

.testi-page ul > li,
ul.page-numbers > li{
    display: inline-block;
    padding: 0 5px;
    font-size: 20px;
    font-weight: 400;
    color: #b5b5b5;
}

.testi-page ul > li.active > a, .testi-page ul > li.last-page > a,
ul.page-numbers  span.current {
    color: #000;
}

.testi-page ul > li > a,
ul.page-numbers > a {
    padding: 3px;
    color: #b5b5b5;
    -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;
}

.testi-page ul > li > a:hover, 
ul.page-numbers > a:hover {
    color: #000;
}

.testi-page {
    margin: 0 25px;
}


/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1440px) {
    .testi-s2-content {
        min-height: 400px;
    }
} 

@media only screen and (max-width: 1366px) {
    .testi-s2-photo-holder {
        padding: 0 0 60px 67px;
    }

    .testi-s2-content-holder {
        padding: 0 67px 0 0;
        margin-left: -73px;
    }

    .testi-s2-row:nth-child(even) .testi-s2-photo-holder {
        padding: 0 67px 60px 0;
    }

    .testi-s2-row:nth-child(even) .testi-s2-content-holder {
        padding: 0 0 0 67px;
        margin-right: -73px;
    }

    .testi-s2-content {
        min-height: 350px;
    }

    .testi-s2-text p {
        font-size: 15px;
        line-height: 1.6;
    }

    .testi-s2-text p.testi-s2-text-em {
        font-size: 17px;
        line-height: 1.7;
    }
} 
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
    .testi-s2-photo-holder {
        padding: 0 0 30px 30px;
    }

    .testi-s2-content-holder {
        padding: 0 30px 0 0;
        margin-left: -63px;
    }

    .testi-s2-row:nth-child(even) .testi-s2-photo-holder {
        padding: 0 30px 30px 0;
    }

    .testi-s2-row:nth-child(even) .testi-s2-content-holder {
        padding: 0 0 0 30px;
        margin-right: -63px;
    }

    .testi-s2-content {
        min-height: 300px;
    }

    .testi-s2-text p.testi-s2-text-em {
        font-size: 15px;
        line-height: 1.5;
    }

    .testi-s2-text p {
        font-size: 14px;
        line-height: 1.4;
        margin: 0 0 10px;
    }

    .testi-s2-name {
        font-size: 17px;
        padding: 10px 0;
    }

    .testi-s2-content::after {
        top: -20px;
        right: -20px;
    }

    .testi-s2-row:nth-child(even) .testi-s2-content::after {
        left: -20px;
    }
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    .testi-s1-text p {
        font-size: 17px;
        line-height: 1.5;
        margin: 0;
    }

    .testi-section1 {
        margin: 75px 0 0;
    }

    .testi-s2-row > div {
        width: 100%;
        padding: 0 15px;
    }

    .testi-s2-content-holder {
        padding: 0;
        margin-left: 0;
    }

    .testi-s2-content::after {
        display: none;
    }

    .testi-s2-text p.testi-s2-text-em {
        font-size: 17px;
    }

    .testi-s2-text p {
        font-size: 16px;
    }

    .testi-s2-row:nth-child(even) {
        flex-flow: wrap;
    }

    .testi-s2-row:nth-child(even) .testi-s2-content-holder {
        padding: 0;
        margin-right: 0;
    }

    .testi-s2-pagination {
        max-width: 345px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px 0;
    }
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
    .testi-s2-photo-holder {
        padding: 0 0 15px 15px;
    }

    .testi-s2-row:nth-child(even) .testi-s2-photo-holder {
        padding: 0 15px 15px 0;
    }

    .testi-page ul > li {
        padding: 0 3px;
        font-size: 17px;
    }

}