.ce-portfolio-style-beas{
    .ce-portfolio-item{
        text-align:left;
        h3{
            font-size:20px;
            line-height:32px;
            color:#fff;
        }

        .entry-media{
            position:relative;
        }
        position:relative;
    }
    .image-link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }
    .entry-media{
        display:block;
    }
    .portfolio-categories{
        text-align:left;
    }
    .entry-wrapper-content{
        padding:0 20px;
        display:block;
        position:relative;
        max-width:570px; 
        margin:0 auto;
        width:100%;
        left:0;
        margin-top:-58px;
        z-index:9999;
        
        .entry-content{
            background:#000; 
            padding:32px 30px;
            height:116px;
            h5{
                color:#fff;
            }
            h6{
                color:#fff;
            }
        }
    }

    &.ce-portfolio-carousel[data-center="1"]{
        .ce-portfolio-item{
            
            .grid-holder{
                display:flex;
                @media (min-width:1024px){
                    min-height:630px;
                    align-items:flex-end;
                }
            }
            .grid-holder-inner{
                display: inline-block;
                margin: 0 auto;
                max-width:100%;
            }

            .entry-content{
                @media (min-width:1024px){
                    opacity:0;
                    @include transform(translateY(10px));  
                    @include transition(all 0.3s);
                }
            }
            .entry-media{
                position:relative;
                overflow:hidden;
            }
            .post-thumbnail{
                position:relative;
                @media (min-width:1024px){
                    width:570px;
                    height:380px;
                    max-width:100%
                }
                overflow:hidden;
                @include transition( all 0.3s );
                img{
                    width:100%;
                    height:100%;
                    object-fit:cover;
                    position:relative;
                }
            }
            .entry-wrapper-content{
                
            }
            &.centered{
                .entry-content{
                    opacity:1;
                    @include transform(translateY(0px)); 
                } 
                .post-thumbnail{
                    @media (min-width:1024px){
                        width:770px;
                        height:514px;

                    }
                }
                .entry-wrapper-content{
                   
                }
            }

            .ce-portfolio-carousel-controls{
                position:absolute;
                top:50%;
                @include transform(translateY(-50%));
                right:30px;
                a{
                    padding:0 8px;
                    &.ce-next{
                        padding-right:0px;
                    }
                }
                color:#fff;
                @media (min-width:767px) and (max-width:1023px){
                    display:none;
                }
            }
        }
    }
}

.ce-portfolio-style-jasper{
    .ce-portfolio-item{
        .entry-media{
            .post-thumbnail{
                display:inline-block;
                position:relative;
                @media (max-width:991px){
                    width:100%;

                    img{
                        max-width:none;
                        width:100%;
                    }
                }
                h5{
                    position:absolute;
                    bottom:37px;
                    left:0;
                    width:100%;
                    font-size:48px;
                    font-weight:400;
                    line-height:60px;
                    letter-spacing: -0.04em;
                }

                h6{
                    margin-top:12px;
                }
                
            }

            
            
        }
        .image-link{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 999;
        }
    }
}

.ce-portfolio-style-ishmi{
    .entry-media{
        position:relative;
        .post-thumbnail{
            display:inline-block;
            position:relative;
            overflow:hidden;
            .wrapper{
                @include transform( translate(0, 100%) scale(1));
                @include transition(all 1s);
                overflow:hidden;
            }

            &:before{
                content:"";
                background:#F8DED2;
                position:absolute;
                left:0;
                top:0;
                width:100%;
                height:100%;
            }
        }
        img{
            margin:0px;
            @include transform(scale(1));
            @include transition(all 1s);
        }
    }
    .ce-portfolio-item:hover{
        .post-thumbnail{
            .wrapper{
                
                @include transform(scale(var(--image-ratio-x), var(--image-ratio-y)));
                
                
                img{
                    @include transform(scale(1.3));
                }
            }
        }
    }
    .ce-portfolio-item.ce-animation-start{
        .post-thumbnail:before{
            @include transform(translate(0, 0%));
        }
        .wrapper{
            @include transform( translate(0, 0) scale(1));
            
            
        }
        
    }
    .image-link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }
    .data{
        margin-top:64px;
        display:flex;
        max-width:300px;
        justify-content: space-between;
        font-weight: 500;
        font-size: 14px;
        line-height: 24px;
        .excerpt{
            
        }
        .categories{
            padding-left:30px;
            text-transform: uppercase;
        }
    }

    .title{
        position:relative;
        display:flex;
        align-items:center;
        height:100px;
        margin-top:24px;
        .number{
            position:absolute;
            left:0;
            top:0;
            font-weight: 100;
            font-size: 120px;
            line-height: 100px;
            letter-spacing:-0.04em;
            color: #FFFFFF;
            z-index:0;
        }
        a{
            position:relative;
            z-index:9;
        }
    }

    &.ce-portfolio-predefined--block_2{
        .ce-portfolio-item{
            &:nth-child(9n + 8){
                .title{
                    margin-left:100px;
                }
            }
            &:nth-child(3n + 3){
                .grid-holder-inner{
                    .entry-wrapper-content{
                        .title{
                            margin-left:70px;
                        }
                    }
                }
            }
        }
    }

    .ce-animation{
        .entry-content{
            @include transform(translate(0, 30px));
            opacity:0;
            @include transition(all 0.4s);
            animation-delay:0.6s;
        }

        &.ce-animation-start{
            .entry-content{
                @include transform(translate(0, 0px));
                opacity:1;
            }
        }
    }
}

.ce-portfolio-style-amber{
    .portfolio-title{
        margin-top:24px;     
    }

    .image-link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }

    .portfolio-categories{
        margin-top:8px;
    }

    .entry-media{
        position:relative;
    }

    .post-thumbnail{
        display:inline-block;
        position:relative;
        overflow:hidden;
        .wrapper{
                @include transform( translate(0, 100%) scale(1));
                @include transition(all 1s);
                overflow:hidden;
        }

        &:before{
                content:"";
                background:#F8DED2;
                position:absolute;
                left:0;
                top:0;
                width:100%;
                height:100%;
        }

        img{
            margin:0px;
            @include transform(scale(1));
            @include transition(all 1s);
        }
    }

    .ce-portfolio-item:hover{
        .post-thumbnail{
            .wrapper{
                
                @include transform(scale(var(--image-ratio-x), var(--image-ratio-y)));
                
                
                img{
                    @include transform(scale(1.3));
                }
            }
        }
    }
    .ce-portfolio-item.ce-animation-start{
        .post-thumbnail:before{
            @include transform(translate(0, 0%));
        }
        .wrapper{
            @include transform( translate(0, 0) scale(1));
            
            
        }
        
    }
}

.ce-portfolio-style-erzen{
    .entry-wrapper-content{
        display:none;
    }

    .post-thumbnail{
        display:inline-block;
        position:relative;
        overflow:hidden;
        .wrapper{
                @include transform( translate(0, 100%) scale(1));
                @include transition(all 1s);
                overflow:hidden;
        }

        &:before{
                content:"";
                background:#F8DED2;
                position:absolute;
                left:0;
                top:0;
                width:100%;
                height:100%;
        }

        img{
            margin:0px;
            @include transform(scale(1));
            @include transition(all 1s);
        }
    }

    .ce-portfolio-item:hover{
        .post-thumbnail{
            .wrapper{
                
                @include transform(scale(var(--image-ratio-x), var(--image-ratio-y)));
                
                
                img{
                    @include transform(scale(1.3));
                }
            }
        }
    }
    .ce-portfolio-item.ce-animation-start{
        .post-thumbnail:before{
            @include transform(translate(0, 0%));
        }
        .wrapper{
            @include transform( translate(0, 0) scale(1));
            
            
        }
        
    }
    .image-link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }
    .grid-holder{
        @media (max-width:991px){
            width: 100%;
            display: flex;
            justify-content: center;
        }
    }
}
body.ce-portfolio-follow-erzen .ce-fixed-follow{
    .portfolio-title{
        font-weight: 500;
        font-size: 32px;
        line-height: 36px;
        letter-spacing:0;
        text-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
        @include transform( translateY(20px) );
        opacity:0;
    }
    &.is-active{
        .portfolio-title{
            @include transform( translateY(0px) );
            opacity:1;
            transition: transform .5s cubic-bezier(.165,.84,.44,1), opacity .5s cubic-bezier(.165,.84,.44,1);
        }
    }
    .portfolio-categories{
        font-weight: 500;
        font-size: 16px;
        line-height: 16px;
        margin-top:8px;
        letter-spacing:0;
        text-transform: uppercase;
        @include transform( translateY(20px) );
        
        opacity:0;
    }
    .image-link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }
    &.is-active{
        .portfolio-categories{
            @include transform( translateY(0px) );
            opacity:1;
            transition: transform .5s cubic-bezier(.165,.84,.44,1), opacity .5s cubic-bezier(.165,.84,.44,1) .25ms;
        }
    }
}


.ce-portfolio-style-alder {
	position: relative;
	margin-bottom: 0px;
	.inner-box {
		position: relative;
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0px 10px 20px rgba(0,0,0,0.05);
		.image {
			position: relative;
			img {
				position: relative;
				width: 100%;
				display: block;
			}
			.overlay-box {
				position: absolute;
				left: 0px;
				top: 0px;
				width: 100%;
				height: 100%;
				display: block;
				padding: 20px 20px;
				text-align: center;
				-webkit-transition: -webkit-transform 0.4s ease;
				transition: -webkit-transform 0.4s ease;
				transition: transform 0.4s ease;
				transition: transform 0.4s ease, -webkit-transform 0.4s ease;
				opacity: 0;
				-webkit-transform-origin: left center;
				-ms-transform-origin: left center;
				transform-origin: left center;
				&:before {
					position: absolute;
					content: '';
					left: 0px;
					top: 0px;
					width: 100%;
					height: 100%;
					opacity: 0.5;
					display: block;
					transition: all 500ms ease;
					-moz-transition: all 500ms ease;
					-webkit-transition: all 500ms ease;
					-ms-transition: all 500ms ease;
					-o-transition: all 500ms ease;
					background-color: rgba(29,43,54,0.50);
				}
				.overlay-inner {
					position: relative;
					height: 100%;
                     i:before{
                        font-size:30px;
                        color:#ffffff;
                    }
				}
                
				h6 {
                    font-size:18px;
					position: absolute;
					left: 0px;
					bottom: 0px;
					right: 0px;
					color: #ffffff;
					font-weight: 500;
					line-height: 1.3em;
					a {
						position: relative;
						color: #ffffff;
					}
				}
				.plus {
					position: absolute;
					left: 50%;
					top: 50%;
					margin-left: -12px;
					margin-top: -12px;
					transition: all 500ms ease;
					-moz-transition: all 500ms ease;
					-webkit-transition: all 500ms ease;
					-ms-transition: all 500ms ease;
					-o-transition: all 500ms ease;
				}
			}
		}
		&:hover {
			.image {
				.overlay-box {
					opacity: 1;
					-webkit-transform-origin: right center;
					-ms-transform-origin: right center;
					transform-origin: right center;
				}
			}
		}
	}
}


.ce-portfolio-style-simple{
    h4{
        margin-top:16px;
    }
    .image-link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }
}


.ce-portfolio-style-remake{
    
    .post-thumbnail{
    
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.02);
        border-radius: 10px;
        @include transition(all 0.3s);
        img{
            border-radius: 10px;
        }
    }
    .entry-media{
        position:relative;
    }
    .overlay{
        background:rgba(255,255,255,0.8);
        border-radius:10px;
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        z-index:9999;
        opacity:0;
        @include transition(all 0.3s);
        
        a{
            position:absolute;
            left:0;
            top:0;
            width:100%;
            height:100%;
            display:flex;
            align-items:center;
            text-align:center;
            justify-content: center;
            svg{
                margin-top: 2px;
                margin-left: 8px;
            }
        }
    }

    .ce-portfolio-item:hover{
        .post-thumbnail{
            box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
        }
        .overlay{
            opacity:1;
        }
    }

    .entry-wrapper-content{
        margin-top:40px;
        .entry-content{
            display:flex;
        }
        h6{
            font-size:16px;
            line-height:28px;
            color:#000;
            opacity:0.5;
            text-transform: capitalize;
            letter-spacing:0;
            font-weight:400;
            width:100px;
        }
        h3{
            font-size: 36px;
            line-height: 48px;
            /* identical to box height, or 133% */

            letter-spacing: -0.04em;

            color: #000000;
        }
    }

    #ce-portfolio-item-2674 .overlay, #ce-portfolio-item-2677 .overlay, #ce-portfolio-item-2676 .overlay, #ce-portfolio-item-2673 .overlay{
        background:rgba(0,0,0,0.8);
        a{
            color:#fff;
        }
        svg{
            fill:#fff;
            stroke:#fff;
        }
    }
}

