.category-testimonials #inner-page-wrapper{
    overflow: hidden;
}
.category-testimonials #content .archive-title {
    display: none;
}
.category-testimonials #content-full {
    margin-top: 0;
}
.category-testimonials section#content {
    position: relative;
}
    .category-testimonials #content p#breadcrumbs {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

.category-testimonials div#hp-testi {
    padding: 152px 0 110px;
    background: url(images/bg-testimonials.jpg) center center/cover no-repeat;
    margin: 0 calc( (1140px - 100vw) / 2 );
}
    .category-testimonials .testi-wrapper {
        max-width: 650px;
    }
        .category-testimonials .testi-wrapper .testi-top {
            margin-bottom: 32px;
        }
            .category-testimonials #content .testi-wrapper .testi-top h2 {
                font-size: 31px;
                letter-spacing: 0.200em;
                font-weight: 400;
                margin: 0;
            }
        .category-testimonials .testi-slide ul {
            margin: 0!important;
        }
            .testi-stars {
                font-size: 18px;
                color: #000;
                display: flex;
                margin: 33px 0 0;
            }
                .testi-stars i {
                    font-style: normal!important;
                    margin-right: 12px;
                }
            .category-testimonials #content .testi-slide h3 {
                font-size: 20px;
                margin: 16px 0 0;
                font-weight: 500;
            }
        .category-testimonials .akg-vm {
            margin-top: 57px;
        }
            .category-testimonials .akg-vm a {
                line-height: 1;
                font-weight: 400;
            }


.testimonials-section-1 {
    padding: 100px 0 104px;
}
    #content h2.testimonials-section-title {
        font-weight: 400;
        font-size: 45px;
        letter-spacing: 0.15em;
        color: #000;
        text-transform: uppercase;
        text-align: center;
        margin: 0;
    }
    .testimonials-third-party-list {
        width: 780px;
        max-width: 100%;
        margin: 45px auto 0;
        display: flex;
        flex-flow: row wrap;
    }
        .testimonials-third-party {
            width: 50%;
            padding: 0 15px;
        }
            .testimonials-third-party-inner {
                position: relative;
                background: #373737;
                padding: 77px 0 76px;
            }
                .testimonials-third-party-inner:before {
                    content: '';
                    position: absolute;
                    top: 10px;
                    left: 10px;
                    right: 10px;
                    bottom: 10px;
                    margin: auto;
                    border: 1px solid #fff;
                }
                .testimonials-third-party-inner  .testi-stars {
                    justify-content: center;
                    color: #fff;
                    margin: 0;
                }
                    .testi-stars i.ai-font-star-fill:last-child {
                        margin-right: 0;
                    }
                .testimonials-third-party-logo {
                    position: relative;
                    text-align: center;
                    margin-top: 30px;
                    display: flex;
                    flex-flow: row wrap;
                    align-items: center;
                    justify-content: center;
                    min-height: 42px;
                }
                    .testimonials-third-party-logo img {
                        display: block;
                        max-width: 100%;
                        margin: 0 auto;
                    }

.testimonials-row {
    /*display: flex;
    flex-wrap: wrap;
    justify-content: space-between;*/
    margin-top: 45px;
    margin: 45px -28px 0;
}
    .testimonials-row[data-columns]::before {
        content: '2 .column.size-1of2';
    }
    .testimonials-row:after {
        content: '';
        display: table;
        clear: both;
    }
    .grid-sizer {
        width: 50%;
    }
    .testimonial-row-two{
        /*flex-basis: calc(50% - 28px);*/
        margin-bottom: 49px;
        width: 50%;
        padding: 0 28px;
    }
    .testimonial-row-two:nth-child(odd) {
        float: left;
    }

    .testimonial-row-two:nth-child(even),
    .testimonial-row-two:nth-child(odd):last-child {
        float: right;
    }
        .testi-item {
            text-align: justify;
        }
        #content .testi-item p {
            margin: 0;
        }
        #content .testi-item p.testimonials-content {
            font-size: 15px;
            letter-spacing: 0.03em;
            line-height: 29px;
            color: #504f4f;
        }
        #content .testi-item p.testimonials-title {
            font-weight: 500;
            font-size: 20px;
            letter-spacing: 0.05em;
            line-height: 1;
            color: #000;
            margin: 27px 0 0;
        }

.show-more {
    text-align: center;
    margin-bottom: 60px;
}
    a.show-more-testimonials {
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0.200em;
        text-transform: uppercase;
        display: inline-block;
        /* background: url(images/akg-arrow.png) right center no-repeat; */
        /* background: url(images/neigh-arrow.png) right center no-repeat; */
        padding: 0 44px 0 0;
        color: #2e2e2e;
        opacity: 1;
        transition: all ease .4s;
        -moz-transition: all ease .4s;
        -webkit-transition: all ease .4s;
        position: relative;
        line-height: 1;
    }
        a.show-more-testimonials::before {
            position: absolute;
            background: url(../../images/spritesheet.png)no-repeat;
            content: '';
            right: 0;
            width: 33px;
            height: 9px;
            background-position: -48px -36px;
            top: 2px;
        }


/*Contact Section*/
.testimonials-contact-section {
    margin: 0 calc( (1140px - 100vw) / 2 );
    overflow: hidden;
    background: #000;
    /*background: url('images/testi-contact-bg.jpg');
    background-size: cover;
    background-position: left center;*/
}

.testimonials-contact-section-wrapper {
    position: relative;
}

.testimonials-contact-section-accent {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 25vw;
    background: url(images/testi-contact-bg.jpg);
    background-size: cover;
    background-position: 0 0;
    transform: scaleX(-1);
}

.testimonials-contact-section-accent::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 25vw;
    height: 75px;
    background: #000;
    content: '';
}

.testimonials-contact-section-main {
    width: calc(100% - 25vw);
    background: #fff;
    margin-left: auto;
}

.testimonials-contact-section-main-container {
    display: block;
    max-width: 40vw;
    margin: 0 auto 0 15vw;
    padding: 7vw 0;
}

.testimonials-contact-section-agent {
    position: absolute;
    bottom: 0;
    display: flex;
    left: 10vw;
    width: 30vw;
}

.testimonials-contact-section-agent img {
    width: 100%;
}

#testimonials-contact-section .testimonials-contact-section-main-container h2{
    font-size: 70px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #171717;
}

#testimonials-contact-section .testimonials-contact-section-main-container p {
    font-size: 16px;
    font-weight: 500;
    color: #171717;
    letter-spacing: 0.5px;
}

.testi-contact-form {
    padding-top: 40px;
    margin: 0 -10px;
}

#testimonials-contact-section .testi-contact-form form {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    margin: 0
}

#testimonials-contact-section .testi-contact-fields {
    width: 100%;
    display: block;
    margin-bottom: 12px;
    position: relative;
    padding: 0 5px
}

#testimonials-contact-section .testi-contact-small {
    width: 50%;
}

#testimonials-contact-section .testi-contact-form input[type=text],
#testimonials-contact-section .testi-contact-form input[type=email],
#testimonials-contact-section .testi-contact-form textarea {
    font-size: 14px;
    width: 100%;
    font-weight: 300;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: 0 0;
    height: 50px;
    color: #636363;
    padding: 0;
    border-radius: 0;
    resize: none;
    border: none;
    border-bottom: solid 1px #a5a5a5;
    outline: 0;
    text-transform: uppercase;
}

#testimonials-contact-section .testi-contact-fields.testi-contact-textarea textarea {
    padding-top: 16px;
    height: 75px
}

#testimonials-contact-section .testi-contact-fields.testi-contact-textarea {
    height: 75px;
    position: relative;
    margin-bottom: 10px;
    width: 100%
}

#testimonials-contact-section .testi-contact-fields.testi-contact-submit {
    width: 100%;
    margin-top: 30px
}

#testimonials-contact-section .testi-contact-fields input[type=submit] {
    -webkit-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    display: block;
    margin: 0 auto;
    padding: 0;
    width: auto;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
    background: 0 0;
    padding-right: 50px;
    background: url(images/spritesheet.png) no-repeat 40px center;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

#testimonials-contact-section .testi-contact-fields.testi-contact-textarea input.wpcf7-form-control.wpcf7-submit:hover {
    color: var(--primary-color)
}

#testimonials-contact-section .testi-contact-form div.wpcf7 .ajax-loader {
    margin: 0 auto!important;
    display: block
}

#testimonials-contact-section .testi-contact-form span.wpcf7-not-valid-tip {
    font-size: 12px
}

#testimonials-contact-section .testi-contact-form span.wpcf7-form-control-wrap {
    display: block
}

#testimonials-contact-section .testi-contact-form div.wpcf7-response-output {
    margin: 0;
    position: absolute;
    width: 100%;
    bottom: -28px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    background: #fff;
    padding: 0;
}

#testimonials-contact-section .testi-contact-form .label-hide{
    display: none;
}

.testimonials-contact-info {
    background: #161616;
    position: absolute;
    width: 100%;
    max-width: calc(100% - 80vw);
    bottom: 0;
    right: 0;
    height: calc(7.4vw + 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.testimonials-contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-contact-logo img {
    width: auto;
    margin: 0 2%;
    max-height: 55px;
}


#testimonials-contact-section .testimonials-contact-info ul {
    padding: 0 20px;
    margin: 20px 0 0;
}

.testimonials-contact-info li {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.testimonials-contact-info li:last-child {
    align-items: flex-start;
}

.testimonials-contact-info li span {
    font-size: 14px;
    color: #ffffff;
    margin-right: 15px;
}

.testimonials-contact-info li span.ai-font-envelope {
    font-size: 10px;
}

.testimonials-contact-info li span.ai-font-location-c {
    font-size: 18px
}

.testimonials-contact-info li a {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.100em;
    position: relative;
}

.testimonials-contact-info li em a{
    color: #ffffff;
}

/*Contact Section*/
@media only screen and (min-width: 1200px) {
    .testimonials-contact-logo img {
        max-height: min(2.9vw,55px);
    }
}
@media only screen and (max-width: 1600px) {
    .testimonials-contact-section-agent{
        left: 7vw;
        width: 33vw;
    }
}

@media only screen and (max-width: 1440px) {
    .testimonials-contact-info li a{
        font-size: 12px;
        letter-spacing: unset;
    }
    .testimonials-contact-info{
        height: calc(7.5vw + 100px);
    }
}
@media only screen and (max-width: 1199px) {
    .category-testimonials div#hp-testi,
    .testimonials-contact-section {
        margin: 0 calc( (940px - 100vw) / 2 );
    }

    #testimonials-contact-section .testimonials-contact-section-main-container h2{
        font-size: 45px;
    }
    #testimonials-contact-section .testimonials-contact-section-main-container p{
        font-size: 13px;
    }
    #testimonials-contact-section .testimonials-contact-section-main-container p br{
        display: none;
    }

    .testimonials-contact-section-main-container{
        margin: 0 auto 0 10vw;
    }

    .testimonials-contact-section-agent{
        left: 5vw;
        width: 33vw;
    }
    .testimonials-contact-info{
        height: 100%;
        max-width: calc(100% - 75vw);
        max-height: calc(7.5vw + 102px);
    }

    .testimonials-contact-logo img{
        max-height: 35px;
    }

    #testimonials-contact-section .testimonials-contact-info ul{
        margin: 5px 0;
    }
}
@media only screen and (max-width: 991px) {
    .category-testimonials div#hp-testi,
    .testimonials-contact-section{
        margin: 0 calc( (720px - 100vw) / 2 );
    }
    .testimonials-row {
        margin: 45px -15px 0;
    }
        .grid-size,
        .testimonial-row-two {
            width: 100%;
            padding: 0 15px;
        }

    .testimonials-contact-section,
    .testi-contact-form{
        margin: 0;
    }
    .testimonials-contact-section{
        background: #fff;
    }
    .testimonials-contact-section-accent{
        display: none;
    }

    .testimonials-contact-section-main{
        width: 100%;
    }

    .testimonials-contact-section-main-container {
        width: 100%;
        margin: 0 auto;
        max-width: 500px;
    }

    .testimonials-contact-section-agent {
        left: 0;
        width: 100%;
        position: relative;
        max-width: 300px;
        margin: 0 auto;
    }

    .testimonials-contact-info {
        height: 100%;
        max-width: 300px;
        max-height: unset;
        position: relative;
        margin: 0 auto;
        padding: 20px 0;
    }
    .testimonials-contact-logo img{
/*        max-height: 55px;*/
        max-height: 40px;
    }
    #testimonials-contact-section .testimonials-contact-info ul{
        margin: 20px 0;
    }
    .testimonials-contact-info li a{
        font-size: 13px;
    }
}
@media only screen and (max-width: 767px) {
    .category-testimonials div#hp-testi {
        margin: 0 -15px;
    }
    #content h2.testimonials-section-title {
        font-size: 30px;
    }
    .testimonials-third-party {
        width: 100%;
        margin: 15px 0;
    }
}
@media only screen and (max-width: 480px) {
    .category-testimonials #content h2.testimonials-section-title {
        font-size: 26px;
    }
    .category-testimonials .akg-vm a,
    .category-testimonials a.show-more-testimonials {
        font-size: 14px;
    }
}