/*Bootstrap 4 CSS
------------------*/
@import url('main.css');


/* CUSTOM CSS 
------------------*/
.images-feature .fas {
    border: 2px solid #54585a;
    /*background-color:#FBDADC;*/
    color: #54585a;
}
.images-feature .fas {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    padding: 35px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    width: 104px;
}

.service-photo img{
    width:100%;
    max-width: 512px;
}
.service-photo{
    display: -ms-flexbox; /* IE10 */
    display: flex;
}

/*Photo grid
-----------------------------------------*/
#photo-grid.grid-row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    margin-left:40px;
}
#photo-grid.grid-row:after, #photo-grid.grid-row:before{
    display: flex;
    display: -ms-flexbox; /* IE10 */
}

/* Create four equal columns that sits next to each other */
#photo-grid .column {
    -ms-flex: 33.33%; /* IE10 */
    flex: 33.33%;
    max-width: 33.33%; /*33.33% for 3 colums*/
    padding: 0px;
}
#photo-grid .column img {
    vertical-align: middle;
    cursor:pointer;
}
#photo-grid img.flip-in-hor-bottom {
    -webkit-animation: flip-in-hor-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
    animation: flip-in-hor-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
}
@-webkit-keyframes flip-in-hor-bottom {
    0% {
        -webkit-transform: rotateX(80deg);
        transform: rotateX(80deg);
        opacity: 0;
    }
    100% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
        opacity: 1;
    }
}
@keyframes flip-in-hor-bottom {
    0% {
        -webkit-transform: rotateX(80deg);
        transform: rotateX(80deg);
        opacity: 0;
    }
    100% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
        opacity: 1;
    }
}
#photo-grid img.flip-in-ver-right {
    -webkit-animation: flip-in-ver-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
    animation: flip-in-ver-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
}
@-webkit-keyframes flip-in-ver-right {
    0% {
        -webkit-transform: rotateY(-80deg);
        transform: rotateY(-80deg);
        opacity: 0;
    }
    100% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
        opacity: 1;
    }
}
@keyframes flip-in-ver-right {
    0% {
        -webkit-transform: rotateY(-80deg);
        transform: rotateY(-80deg);
        opacity: 0;
    }
    100% {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
        opacity: 1;
    }
}


#photo-grid .zoom {
    overflow: hidden;
}
#photo-grid .zoom img{
    transition: all 0.3s;
    transform: scale(1);
}
#photo-grid .zoom:hover img{
    transform: scale(1.1);
}



/* MODAL CONTENT 
--------------------------------------*/
/* Modal Content (image) */
#big-modal-display img.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-height: 78vh;
    border: none;
    vertical-align: middle;
}
/* Caption of Modal Image */
#big-modal-display #caption {
    margin: auto;
    display: block;
    max-width: 100%;
    text-align: center;
    color: #dbdbdb;
    padding: 10px 0;
    height: 150px;
}
/* Add Animation */
#big-modal-display img.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}




/*Before and after
-----------------------------------------*/

.down{
    margin-top: 50px;
}

#sec1 {
    display: block;
}

.ba-section {
    overflow: none;
    padding-top: 20px;
    display: none;
}

.imgstrip{
    padding: 10px 0 0 0;
    margin-right: auto;
    margin-left: auto;
    max-width: 1170px;
}
.imgstrip img{
    width: 100%;
}


/* Before and after images */
/* width and height for the block */
.beforeafter{
    width: 1170px;
    height: 773px;
    margin-right: auto;
    margin-left: auto;
    margin-top:0;
    margin-bottom:0;
    display: block;
    background-color: #fff;
    position: relative;
}

.beforeafter img{
    width: inherit;
    height: inherit;
}

/* mandatory style for the plugins */
.ba-mask { /* first image */
    cursor: ew-resize;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    border-right: 1px solid #fff;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.6);
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
}
.ba-bg { /* second image */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
}
.ba-caption { /* caption  */
    /* mandatory */
    position: absolute;
    bottom: 5px;
    left: 5px;
    z-index: 120;
    /* customizable styling */
    background: #000;
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    font-family: 'PT Sans', arial;
    filter:alpha(opacity=80);-moz-opacity: 0.8;-khtml-opacity: 0.8;opacity: 0.8;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}




#teaser .divider-img{
    background: url(../img/photo/passion-softdrinks-3d.png) top right no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 48px;

}
#teaser .divider-col-text{
    padding-top:120px;
    padding-bottom:120px;
}

.design-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 512px;
}


/* RESPONSIVE CSS
=================================================== */

@media screen and (max-width: 800px) {
    /* Responsive layout - makes a two column-layout instead of four columns */
    #photo-grid .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}
@media screen and (max-width: 767px) {
    #photo-grid.grid-row {
        margin-left: 0px;
    }
    #big-modal-display img.modal-content {
        max-width: 90%;
    }
    .beforeafter{
        width: 750px;
        height: 486px;
        margin-right: auto;
        margin-left: auto;
    }
    #teaser .row{
        margin-right: 15px;
        margin-left: 15px;
    }

    #teaser .divider-col-text{
        padding-top:60px;
        padding-bottom:0px;
    }
    #teaser .divider-img{
        padding-bottom: 200px;
    }
}
@media only screen and (max-width: 700px){
    /* 100% Image Width on Smaller Screens */
    #big-modal-display img.modal-content {
        width: 100%;
    }
}
@media screen and (max-width: 576px) {
    .beforeafter{
        width: 576px;
        height: 381px;
        margin-right: auto;
        margin-left: auto;
    }
    #teaser .row{
        margin-right: 0;
        margin-left: 0;
    }
}
@media screen and (max-width: 414px) {
    .beforeafter{
        width: 414px;
        height: 274px;
        margin-right: auto;
        margin-left: auto;
    }
}
@media screen and (max-width: 375px) {
    #photo img{
        width: 310px;
    }
    .beforeafter{
        width: 375px;
        height: 248px;
        margin-right: auto;
        margin-left: auto;
    }
}
@media screen and (max-width: 320px) {
    #photo img{
        width: 280px;
    }
    .beforeafter{
        width: 320px;
        height: 211px;
        margin-right: auto;
        margin-left: auto;
    }
}
