#mainContentRow {
    padding-bottom: 200px;
}
#mainContentRow .container {
    padding-top: 50px;
}
.clientTitle {
    padding-bottom: 25px;
    border-bottom: 2px solid var(--pink);
}
.clientDescription {
    margin-top: 2em;
    font-weight: 300;
}
.clientPageTestimonial {
    display: flex;
    flex-direction: column;
}
.headshotContainer {
    width: 80%;
    max-width: 120px;
}
.headshot {
    width: 100%;
    padding-top: 100%;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    border: 2px solid var(--white);
}
.textContainer {
    padding-top: 1rem;
}
.textContainer .name {
    font-weight: 600;
    fonts-size: 1rem;
    margin-bottom: .35em;
}
.textContainer .description {
    font-size: .78rem;
    line-height: 1.25;
    font-weight: 300;
}
.serviceHighlight {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    color: var(--white);
    padding-left: 60px;
    text-decoration: none;
    margin: 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
}
.serviceIcon {
    position: absolute;
    width: 45px;
    height: 45px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0 auto auto;
}
#clientWorkSectionRow {
    margin-top: -200px;
}
.clientWorkSection {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.clientWorkSection .grouping {
    width: 100%;
}
.clientWorkSection .workItem {
    position: relative;
    width: 100%;
}
.clientWorkSection .workItemImage {
    position: absolute;
    width: calc(100% - 15px);
    height: calc(100% - 15px);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.clientWorkSection .workItemImage.hasVideo {
    cursor: pointer;
}
.clientWorkSection .workItem:before,
.clientWorkSection .workItemImage.hasVideo:after {
    content: "";
    display: block;
    position: relative;
}
.clientWorkSection .workItem:before {
    width: 100%;
    padding-top: 100%;
}
.clientWorkSection .workItemImage.hasVideo:after {
    position: absolute;
    left: 0;
    /* make the top edge of .inner appear in the vertical center of .outer */
    top: 50%;
    left: 50%;
    /* move .inner up by half of its height so that its middle is in the middle of .outer */
    transform: translate(-50%, -50%);
    width: 45%;
    height: 45%;
    background-image: url(images/playbutton.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index:2
}

@media(min-width: 992px) {
    .clientPageTestimonial {
        flex-direction: row;
        align-items: center;
    }
    .clientPageTestimonial .headshotContainer {
        padding-right: 1rem;
        margin: 0 auto;
    }

    .headshotContainer {}
    .clientPageTestimonial .textContainer {
        padding-top: 0;
    }
    .clientWorkSection .grouping {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        max-height: 650px;
    }
    .clientWorkSection .workItem {
        width: 33.33%;
    }
    .clientWorkSection .grouping:nth-child(3n + 1) .workItem:nth-child(1),
    .clientWorkSection .grouping:nth-child(3n + 3) .workItem:nth-child(3) {
        width: 66.66%;
    }
    .clientWorkSection .grouping:nth-child(3n + 2) .workItem:nth-child(1),
    .clientWorkSection .grouping:nth-child(3n + 2) .workItem:nth-child(2) {
        width: 50%;
    }
}
@media(min-width: 1200px) {
    .clientWorkSection .grouping {
        max-height: 1000px;
    }
}

