.noscroll {
    overflow-x: hidden !important;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.tx-tf-portfolio {
    white-space: nowrap;
}

.portfolio-sizer,
.portfolio {
    width: 48%;
    margin-bottom: 4%;
    display: inline-flex;
    white-space: normal;
    cursor: pointer;
}

.portfolio-gutter {
    width: 4%;
}

.portfolio > div {
    width: 100%;
    background-color: #f2f2f2;
    padding: 5px;
}

.portfolio > div > div:first-child {
    background-color: white;
    height: 80px;
    text-align: center;
}
.portfolio > div > div img {
    max-width: 72%;
    height: auto;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
.portfolio:hover > div > div img {
    -webkit-filter: none;
    filter: none;
}
@media only screen and (min-width: 500px) {
    .portfolio > div > div:first-child {
        height: 100px;
    }
    .portfolio > div > div img {
        max-width: 68%;
    }
}
@media only screen and (min-width: 600px) {
    .portfolio > div > div:first-child {
        height: 120px;
    }
}
.portfolio > div > div:first-child img {
    vertical-align: middle;
}


.img-align-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.portfolio > div > div:last-child {
    /*padding-top: 10px;*/
    padding-left: 25px;
    padding-right: 25px;
}

.portfolio-action {
    -webkit-transition: background-color 0.2s, color 0.2s;
    -moz-transition: background-color 0.2s, color 0.2s;
    transition: background-color 0.2s, color 0.2s;
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 5px;
    background: #EEEEEE;
    border-radius: 5px;
    color: #595959;
    text-transform: uppercase;
    display: block;
    font-size: 11px;
    text-align: center;
    letter-spacing: 1px;
}

.portfolio-action:hover {
    background-color: #595959;
    color: white;
    text-decoration: none!important;
}

.quote {
    background-color: white;
    position: relative;
}

.quote p {
    padding: 36px 30px 35px 105px;
    font-style: italic;
    margin-bottom: 0;
}

.down-arrow {
    width: 0;
    height: 0;
    margin-left: 37px;
    border-style: solid;
    border-width: 15px 12.5px 0 12.5px;
    border-color: #EBEEEF transparent transparent transparent;
}

.person {
    font-size: 12px;
    margin-left: 105px;
    min-height: 60px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.person img {
    height: 60px;
    width: 60px;
    float: left;
    margin-left: -85px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.person strong {
    font-size: 18px;
}

/* Phones */
@media only screen and (max-width: 699px) {

    .tx-tf-portfolio {
        white-space: normal;
    }

    .portfolio > div {
        padding: 5px;
    }

    .quote p {
        padding: 23px 15px 27px 15px;
        font-style: italic;
        margin-bottom: 0;
    }

    .portfolio-action {
        padding-top: 17px;
        padding-bottom: 18px;
    }

    .person {
        font-size: 12px;
        margin-left: 82px;
        min-height: 60px;
        padding-top: 12px;
        padding-bottom: 10px;
    }

    .person img {
        height: 45px;
        width: 45px;
        margin-left: -67px;
    }

    .down-arrow {
        margin-left: 65px;
        border-width: 10px 7.5px 0 7.5px;
    }

    .portfolio > div > div:last-child {
        padding-left: 10px;
        padding-right: 10px;
    }
    
}

/* Tablet portrait */
@media only screen and (min-width: 700px) and (max-width: 999px) {

    .tx-tf-portfolio {
        white-space: normal;
    }
    
    .portfolio-sizer,
    .portfolio {
        width: 32%;
        margin-top: 0;
        margin-bottom: 2%;
    }

    .portfolio-gutter {
        width: 2%;
    }
    
    .quote:before {
        content: '„';
        font-size: 144px;
        position: absolute;
        left: 19px;
        top: -95px;
        color: #d5d5d5;
    }

    .quote p {
        padding: 23px 30px 27px 105px;
        font-style: italic;
        margin-bottom: 0;
    }
    
}

/* Tablet landscape */
@media only screen and (min-width: 1000px) and (max-width: 1199px) {


    .portfolio > div > div:last-child {
        padding-top: 0;
    }

    .quote p {
        padding: 23px 20px 25px;
    }
    
    .portfolio-sizer,
    .portfolio {
        width: 32%;
        margin-top: 0;
        margin-bottom: 2%;
    }

    .portfolio-gutter {
        width: 2%;
    }
    

}

/* Desktop */
@media only screen and (min-width: 1200px) {

    .portfolio-sizer,
    .portfolio {
        width: 32%;
        margin-top: 0;
        margin-bottom: 1%;
    }

    .portfolio-gutter {
        width: 1%;
    }
    .quote:before {
        content: '„';
        font-size: 144px;
        position: absolute;
        left: 19px;
        top: -95px;
        color: #d5d5d5;
    }
}





.company-link,
.person,
.quote,
.portfolio-text,
.company-logo img.for-popup,
.company-name {
    display: none;
}
body .mfp-bg {
    background: #EBEEEF;
    opacity: 0.95;
}
body .mfp-wrap {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    position: fixed!important;
    top: 0!important;
    left: 0!important;
}
body .mfp-wrap .mfp-container {
    padding: 0;
    margin: 0;
}
body .mfp-wrap .mfp-container .mfp-content {
    vertical-align: top;
    height: 100%;
    overflow: hidden;
}
body .mfp-wrap .mfp-container .mfp-content .topline {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-top: 0;
    height: 1px;
    z-index: 900;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
}
body .mfp-wrap .mfp-container .bottomline {
    bottom: 9em;
    display: none;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup {
    height: 100%;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-header {
    position: absolute;
    height: 7em;
    width: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    z-index: 1000;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-body {
    position: absolute;
    width: 100%;
    top: 100px;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    /*overflow-y: scroll;*/
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    height: 30em;
    box-sizing: border-box;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-header .header-overlay {
    display: none;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper,
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-portrait-wrapper {
    text-align: center;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-portrait-wrapper {
    float: left;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper.mobile,
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-portrait-wrapper.mobile {
    display: block;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper img {
    width: auto;
    height: 15em;
    overflow: hidden;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-portrait-wrapper img {
    width: 45px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-logos.mobile {
    display: block;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-logos {
    display: none;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-logos ul li {
    font-size: 1em;
    text-align: center;
    width: 9em;
    margin: 0 auto 3em;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-logos ul li img {
    width: 100%;
    height: auto;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper,
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-quote,
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text,
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-cv {
    margin: 0 2em 3em;
    text-align: left;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text,
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-companylink {
    margin: 0 2em 50px;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper {
    margin: 1em 2em 50px;
    padding-left: 30px;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personname,
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personrole {
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 70px;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personname {
    margin-top: 4px;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personrole {
    font-size: 11px;
    letter-spacing: 1px;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-quote {
    font-style: italic;
    margin-bottom: 0;
}
body .mfp-arrow-right:before,
body .mfp-arrow-right:after,
body .mfp-arrow-left:before,
body .mfp-arrow-left:after {
    border-left: none;
    border-right: none;
    border-width: 0;
    margin: 0;
    padding: 0;
    opacity: 1;
}
body .mfp-wrap .mfp-container .mfp-arrow {
    font-size: 24px;
    width: 2em;
    height: 2em;
    top: 0.5em;
    color: #595959;
    opacity: 0.3;
    -webkit-transition: all 0.2s;
    margin: 0;
}
body .mfp-wrap .mfp-container .mfp-arrow:hover {
    opacity: 1;
}
body .mfp-arrow-left {
    left: 1em;
}
body .mfp-arrow-right {
    right: 1em;
}
body .mfp-arrow-right:before,
body .mfp-arrow-left:before {
    line-height: 2em;
}
body .mfp-arrow-left:before {
    padding-left: 0.5em;
}
body .mfp-arrow-right:before {
    padding-left: 0.7em;
}
body .mfp-close-btn-in .mfp-close,
body .mfp-close {
    font-size: 24px;
    left: 0;
    right: 0;
    top: 0.5em;
    color: #595959;
    margin: 0 auto;
    width: 2em;
    height: 2em;
    opacity: 0.3;
}
body .mfp-close:hover {
    opacity: 1;
}

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}


@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@-moz-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@-o-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.mfp-open .mfp-content {
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    -o-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .5s;
    -moz-animation-duration: .5s;
    -ms-animation-duration: .5s;
    -o-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-quote p {
    background: #EBEEEF;
    padding: 1em;
    margin-bottom: 0;
    color: white;
    border-radius: 5px;
}
body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper img {
    max-width: 200px;
    height: auto;
}


@media only screen and (min-width: 700px ) {
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personname {
        margin-top: 8px;
    }
    body .mfp-wrap .mfp-container .mfp-content .topline,
    body .mfp-wrap .mfp-container .bottomline {
        opacity: 0.5!important;
    }
    body .mfp-wrap .mfp-container .mfp-content .topline {
        top: 80px;
    }
    body .mfp-wrap .mfp-container .bottomline {
        display: block;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-header {
        height: 80px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-body {
        top: 80px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-header .header-overlay {
        display: block;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+67,0+100 */
        background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 80%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 80%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
        width: 90%;
        height: 9.5em;
        top: 8.5em;
        position: absolute;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-name.mobile {
        display: none;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-name {
        text-align: left;
        display: block;
        margin: 1.9em 0 0 1.2em;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper img {
        max-width: 280px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-portrait-wrapper img {
        width: 70px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper.mobile,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-portrait-wrapper.mobile {
        display: none;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-portrait-wrapper {
        
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-companylink,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-companylink,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-personname,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-personrole,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-quote,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .down-arrow-wrapper,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-cv {
        max-width: 580px;
        margin: 0 auto;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personrole {
        font-size: 14px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .down-arrow-wrapper .down-arrow {
        margin-left: 40px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper {
        margin-top: 20px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personname,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper .mfp-personrole {
        padding-left: 100px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .down-arrow {
        margin-left: 30%;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-logos.mobile {
        display: none;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-logos {
        display: block;
        width: 25%;
        float: left;
    }
    body .mfp-arrow-left:before {
        padding-left: 0.55em;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-companylink {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-name {
        margin: 1.2em 0 0 1.2em;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-quote p {
        padding-left: 120px;
        padding-top: 40px;
        padding-right: 70px;
        padding-bottom: 40px;
        position: relative;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-quote p::before {
        content: "„";
        font-size: 144px;
        position: absolute;
        left: 40px;
        top: -95px;
        color: white;
    }
    body .mfp-close-btn-in .mfp-close, body .mfp-close,
    body .mfp-wrap .mfp-container .mfp-arrow {
        top: 15px;
    }
    .portfolio-action {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1000px) {
    body .mfp-wrap .mfp-container .mfp-arrow {
        border: none;
        top: 45%;
        bottom: auto;
        background: #EBEEEF;
    }
    body .mfp-wrap .mfp-container .mfp-arrow:hover {
        border: none;
        background-color: #595959;
        color: white;
    }
    body .mfp-arrow-left {
        left: 0;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    body .mfp-arrow-right {
        right: 0;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    body .mfp-close-btn-in .mfp-close,
    body .mfp-close {
        right: 1.25em;
        top: 1.25em;
        left: auto;
        border: none;
        border-radius: 0;
    }
    body .mfp-close:hover {
        background: none;
        border: none;
        color: #595959;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .person-wrapper,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .down-arrow-wrapper,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-companylink,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-personname,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-personrole,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-quote,
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text {
        max-width: 780px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text {
        margin-top: 6em;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text p {
        max-width: 100%;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-companylink {
        margin-top: -6em;
        text-align: right;
    }
    .portfolio-action {
        display: inline-block;
        padding: 18px 20px;
    }
    body .mfp-wrap .mfp-container .mfp-content .topline {
        display: none;
    }
    body .mfp-wrap .mfp-container .mfp-arrow {
        width: 40px;
        height: 60px;
    }
    body .mfp-arrow-right:before,
    body .mfp-arrow-left:before {
        line-height: 2.5em;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper img {
        width: 320px;
        max-width: 320px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-company-wrapper {
        margin-top: 0;
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 1000px) and (max-height: 800px) {
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-header {
        height: 0;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-body {
        top: 40px;
    }
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .mfp-text {
        margin-top: 40px;
    }
}
@media only screen and (min-width: 1000px) and (min-height: 1000px) {
    body .mfp-wrap .mfp-container .mfp-content .portfolio-popup .portfolio-body {
        top: 140px;
    }
}
/*
@media only screen and (min-width: 1200px) {
    body .mfp-wrap {
        box-shadow: 0px 20px 25px 0px rgba(0,0,0,0.10);
        border-radius: 3px;
        width: 95%;
        height: 95%;
        top: 2.5%!important;
        left: 2.5%!important;
    }
}
@media only screen and (min-width: 1600px) {
    body .mfp-wrap {
        width: 80%;
        height: 95%;
        top: 2.5%;
        left: 10%!important;
    }
}
*/
.pastPortfolio {
    display: none;
}