.page-template-template-testimonials .inner-page-banner {
    display: none;
}

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

.ip-testi {
    overflow: hidden;
}

.ip-testi .ip-testi-wrap #content .ip-testi-wrap-inner .ip-testi-top {
    background: #000 url("../../images/about-bg-a.png") no-repeat;
    background-position: bottom center;
    background-size: cover;
    padding-bottom: 31.6rem; /** used rem instead of using percentage so that the height of the container doesn't extend */
    position: relative;
}

.ip-testi .ip-testi-wrap #content .ip-testi-wrap-inner .ip-testi-top:before {
    content: '';
    position: absolute;
    top: 169px;
    left: calc( (100vw - 1140px ) / 2 - 9.7% - 15px);
    width: 9.7%;
    height: 100%;
    background: transparent url("../../images/about-bg-overlay-b-copper.png") no-repeat;
    background-position: center center;
    background-size: auto 100%;
}

.ip-testi .ip-testi-wrap #content .ip-testi-wrap-inner .ip-testi-main {
    padding: 23px 0 135px;
    background: #000 url("../../images/about-bg-b.jpg") no-repeat;
    background-position: center center;
    background-size: cover;
}

.ip-testi .ip-testi-wrap #content .ip-testi-title {
    margin: 264px 0 0 0;
    font-size: 60px;
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.ip-testi .ip-testi-wrap #content .ip-testi-photo {
    margin: -130% 0 0 0;
    padding-left: 7%;
}

.ip-testi .ip-testi-wrap #content .ip-testi-photo img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.ip-testi .ip-testi-wrap #content .ip-testi-list-wrap,
.ip-testi .ip-testi-wrap #content .ip-testi-list {
    position: relative;
}

.ip-testi .ip-testi-wrap #content .ip-testi-item {
    margin-top: 72px;
    padding-top: 62px;
    border-top: 1px solid #383838;
}

.ip-testi .ip-testi-wrap #content .ip-testi-item:nth-child(1) {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.ip-testi .ip-testi-wrap #content .ip-testi-list-left {
    margin-top: -74%;
}

.ip-testi .ip-testi-wrap #content .ip-testi-list-right {
    margin-top: 10px;
}

.ip-testi .ip-testi-wrap #content .ip-testi-content,
.ip-testi .ip-testi-wrap #content .ip-testi-author-name,
.ip-testi .ip-testi-wrap #content .ip-testi-author-position {
    font-size: 18px;
    font-weight: 100;
    line-height: 1.388;
    letter-spacing: 0.36px;
    color: #fff;
}

.ip-testi .ip-testi-wrap #content .ip-testi-list-left .ip-testi-content,
.ip-testi .ip-testi-wrap #content .ip-testi-list-left .ip-testi-author-info {
    padding-right: 7%;
}

.ip-testi .ip-testi-wrap #content .ip-testi-list-right .ip-testi-content,
.ip-testi .ip-testi-wrap #content .ip-testi-list-right .ip-testi-author-info {
    padding-left: 8%;
}

.ip-testi .ip-testi-wrap #content .ip-testi-content p {
    margin: 0 !important;
    line-height: inherit !important;
}

.ip-testi .ip-testi-wrap #content .ip-testi-author-info {
    margin-top: 27px;
}

.ip-testi .ip-testi-wrap #content .ip-testi-author-name {
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.ip-testi .ip-testi-wrap #content .ip-testi-author-name:hover {
    /*color: #a17a65;*/
}

/**  Media Queries */
@media only screen and (max-width: 1199px) {
    .ip-testi .ip-testi-wrap #content .ip-testi-wrap-inner .ip-testi-top:before {
        left: calc( (100vw - 940px ) / 2 - 9.7% - 15px);
    }
}

@media only screen and (max-width: 991px) {
    .ip-testi .ip-testi-wrap #content .ip-testi-wrap-inner .ip-testi-top:before {
        top: 0;
        left: 0;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-title {
        margin-top: 100px;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-list-left {
        margin-top: -28rem;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-list-left .ip-testi-content,
    .ip-testi .ip-testi-wrap #content .ip-testi-list-left .ip-testi-author-info,
    .ip-testi .ip-testi-wrap #content .ip-testi-list-right .ip-testi-content,
    .ip-testi .ip-testi-wrap #content .ip-testi-list-right .ip-testi-author-info {
        padding: 0;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-photo {
        margin: 30px 0;
        padding: 0;
        float: right;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-photo img {
        max-height: 625px;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-title {
        font-size: 50px;
    }
}

@media only screen and (max-width: 767px) {
    
    .ip-testi .ip-testi-wrap #content .ip-testi-wrap-inner .ip-testi-top:before {
        display: none;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-photo {
        margin: 75px 0 50px;
        float: none;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-title {
        font-size: 40px;
    }
    
    .ip-testi .ip-testi-wrap #content .ip-testi-content,
    .ip-testi .ip-testi-wrap #content .ip-testi-author-name,
    .ip-testi .ip-testi-wrap #content .ip-testi-author-position {
        font-size: 16px;
        font-weight: 300;
    }
}

@media only screen and (max-width: 480px) {
    .ip-testi .ip-testi-wrap #content .ip-testi-title {
        font-size: 35px;
    }
}
