
.image-side {
    padding: 33px;
    background: rgba(0,0,0,0.2);
    border-right:4px solid #fff;
}

section.testimonials {
    background: rgba(0,0,0,0.2);
}

.testimonial .effect-portfolio, .testimonial .effect-portfolio p, .testimonial .category {
    background: rgba(0,0,0,0.5);
}

.testimonial.grid {
    display: table;
}

.grid {
    margin: 0 auto;
    padding: 1em 0 1em;
     list-style: none;
    text-align: center;
}

.grid .effect-portfolio {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 320px;
    max-width: 480px;
    max-height: 360px;
    width: 48%;
    height: auto;
    background: rgba(0,0,0,0.5);
    text-align: center;
    cursor: default;
}

.effect-portfolio .portfolio-img {
    max-width: none;
    height: 275px;
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid .effect-portfolio .portfolio-img {
    background-size: cover;
    background-position: 50%;
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid .effect-portfolio figcaption, .grid .effect-portfolio figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid .effect-portfolio h2.testih {
    word-spacing: 0em !important;
    padding-top: 0px;
}

.effect-portfolio .hider {
    position: absolute;
    bottom: 0;
    right: 0;
}

.effect-portfolio p:first-child {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

.effect-portfolio p {
    opacity: 0;
    display: inline-block;
    margin: 0 0 0.25em;
    padding: 0.4em 1em;
    background: rgba(255,255,255,0.9);
    color: #2f3238;
    text-transform: none;
    font-weight: 500;
    font-size: 75%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-360px,0,0);
    transform: translate3d(-360px,0,0);
}

.testimonial .category {
    position: absolute;
    bottom: calc(100% - 100%);
    padding: 0 5%;
    right: 0;
    font-size: 0.6em;
    text-align: right;
    width: 100%;
}

.effect-portfolio:hover .portfolio-img {
    opacity: 0.4;
    -webkit-transform: scale3d(1.1,1.1,1);
    transform: scale3d(1.1,1.1,1);
}

.effect-portfolio:hover h2, .effect-portfolio h2, .testimonial .effect-portfolio:hover .category, .testimonial .effect-portfolio .category {
    transition: ease all 1.5s;
}
.effect-portfolio:hover h2 {
    opacity: 0.1;
}

.effect-portfolio:hover p:first-child {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.effect-portfolio:hover p:nth-of-type(2) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

.effect-portfolio:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.testimonial .effect-portfolio:hover .category {
    bottom: calc(0% - 3.3em);
}

.effect-portfolio figcaption {
    text-align: right;
}

.grid .effect-portfolio figcaption {
    padding: 2em;
}

.effect-portfolio.odd {
    margin-left: 0;

}

.content-columns {
  align-items: stretch;
}

.image-side.span4, .text-side.span8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  padding: 1em 0 1em;
}

.image-side.span4>img {
    max-width: 80%;
    max-height: 80%;
}

@media(min-width:768px) {
 section.fullwidth-content-card .content-columns {
    display:flex;
 
}
}

@media(max-width:991px) {
    .text-side.span8.row-fluid {
    padding: 5%;
}
    .card__wrapper,
    .card__wrapper.five-col,
    .card__wrapper.four-col,
    .card__wrapper.three-col,
    .card__wrapper.two-col,
    .card__wrapper.one-col {
        width: 100%
    }
   .three-col-wrapper, .two-col-wrapper {
  width: calc(100% + 32px);
 margin-left: -10px;
    margin-right: -10px;
}
}
