

/* ============================================================
  IMG OVERLAY
============================================================ */


.effects {
    padding-left: 0;
}

.effects .img {
    position: relative;
    float: left;
    overflow: hidden;
    /*width: 100%;*/

}

.effects .img img {
    margin: 0;
}

.img-center-wrap {
    width: 310px;
    height: 310px;
}

.img-center-wrap-home {
    width: 230px;
    height: 230px;
}

.overlay {
    display: block;
    position: absolute;
    z-index: 20;

    /*20170529*/
    /*background: rgba(255, 255, 255, 0.60);*/
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
    background: -moz-linear-gradient(top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.45) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.45) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a8000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */

    overflow: hidden;
    transition: all 0.3s ;
}

a.close-overlay.hidden {
    display: none;
}

/* projekte thumbnail overlays ////////////////////////////////////////////////////// */

.effect-2 .overlay {
    padding-bottom: 10px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%; /* 20170529 > Starting Point for Overlay Animation*/
    opacity: 0;
}

.effect-2 .img.hover .overlay {
    height: 100%;
    opacity: 1;
}

/*.effect-2 div:nth-child(4n) {
    margin-right: 0;
}
*/

/* projekte & home thumbnail overlays ////////////////////////////////////////////////////// */

.overlay-headline {
    display: block;
    font-size: 22px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.02em;
    color: #EB552C;
    margin-left: 20px;
    margin-top: 20px;
    width: 200px;
    height: 80px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    word-wrap: break-word;  /* break-all keep-all initial inherit; */
}

.overlay-headline.big {
    width: 270px;
    height: 105px;
    color: #eb652c;
    /*color: #eb752c;*/
    font-size: 32px;
    line-height: 33px;
    /*font-size: 30px;
    line-height: 33px;*/
    font-weight: 450;
    letter-spacing: 1.1px;
    /*text-shadow: 0px 1px 34px #000000;*/
}

.overlay-text {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #fff;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 35px;
    width: 190px;
    height: 80px;
    bottom:0px;
    overflow: hidden;

    /*20170529*/
    /*background-image: url(../../images/arrow_white.svg);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: auto 70%;*/

    padding-right: 32px;
    -webkit-line-clamp: 4;

/*    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 3px solid #FFF;
*/
}

.overlay-text.big {
    background-position: 100% 50%;
    width: 280px;
    height: 120px;
    bottom:0px;
    -webkit-line-clamp: 6;
}

.overlay-text p{
    margin: 0;
}


/* --- ////////////////////////////////////////////////////////////////////////// */
/* MEDIA QUERIES - desktop ////////////////////////////////////////////////////// */
/* --- ////////////////////////////////////////////////////////////////////////// */

@media screen and (min-width:960px){
    .overlay-headline {
        width: 190px;
        height: 80px;
        font-size: 22px;
        line-height: 26px;
        margin: 20px;
        -webkit-line-clamp: 3;
    }

    .overlay-headline.big {
        width: 280px;
        height: 105px;
    }

    .overlay-text {
        font-size: 14px;
        width: 190px;
        height: 80px;
    }

    .overlay-text.big {
        font-size: 14px;
        width: 280px;
        height: 120px;
        background-position: 100% 50%;
        padding-right: 32px;
    }

}

/* MEDIA QUERIES - tablet //////////////////////////////////////////////////////*/

@media screen and (max-width:959px){
    .overlay-headline {
        width: 96px;
        height: 40px;
        font-size: 18px;
        line-height: 20px;
        margin: 14px;
        -webkit-line-clamp: 2;
    }

    .overlay-headline.big {
        width: 142px;
        height: 62px;
        font-size: 18px;
        line-height: 20px;
        margin-left: 14px;
        margin-top: 14px;
    }

    .overlay-text {
        font-size: 14px;
        width: 112px;
        height: 40px;
        margin: 14px;
        background-position: 90% 50%;
        padding-right: 24px;
    }

    .overlay-text.big {
        width: 156px;
        height: 62px;
        margin-left: 14px;
        margin-top: 14px;
        background-position: 95% 50%;
        padding-right: 24px;
    }
}

/* MEDIA QUERIES - smartphone ////////////////////////////////////////////////////// */

@media screen and (max-width:580px){
    .overlay-headline {
        width: 58px;
        height: 24px;
        font-size: 12px;
        line-height: 12px;
        margin: 8px;
        -webkit-line-clamp: 2;
    }

    .overlay-headline.big {
        width: 70px;
        height: 38px;
        font-size: 11px;
        letter-spacing: 0;
        line-height: 12px;
        margin-left: 10px;
        margin-top: 10px;
        /*margin-right: 10px;*/
        margin-bottom: 20px;
    }

    .overlay-text {
        font-size: 9px;
        line-height: 10px;
        width: 70px;
        height: 30px;
        margin: 8px;
        background-position: 95% 50%;
        padding-right: 10px;
    }

    .overlay-text.big {
        width: 90px;
        height: 40px;
        margin-left: 10px;
        margin-top: 10px;
        padding-right: 12px;
        background-position: 95% 50%;
    }
}
