/*--------------------------------------------------------------
POST CAROUSEL
----------------------------------------------------------------
# Carousel Style
# Blog
# Portfolio
# Service
--------------------------------------------------------------*/
.swiper-filter-active {
	.pxl-swiper-slide {
		//@include transition(all .3s cubic-bezier(.645,.045,.355,1));
	}
	.non-swiper-slide {
		display: none;
	}
}

.pxl-swiper-sliders .pxl-item--image img {
	width: 100%;
}
@-webkit-keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 1;
	}
}
@keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 1;
	}
}
.pxl-portfolio-flex {
	.item-number {
		width: 50px;
		height: 50px;
		line-height: 50px;
		@include border-radius(50%);
		background-color: #fff;
		color: #000;
		font-weight: bold;
		font-size: 14px;
		display: flex;
		align-items: center;
		justify-content: center;
		@include transition(all 220ms linear 0ms);
		@include transform(rotate(180deg) scaleX(0));
		writing-mode: vertical-rl;
		position: absolute;
		top: 30px;
		left: 30px;
	}
	.pxl-item--title {
		font-size: 24px;
		@include transform(rotate(180deg));
		writing-mode: vertical-rl;
		text-align: start;
		display: flex;
		align-items: center;
		margin-bottom: 0;
		a {
			color: $secondary_color;
		}
	}
	.btn-link {
		position: absolute;
		top: 50%;
		left: 50%;
		@include transform( translate(-50%, -50%) scaleX(0) );
		width: 70px;
		height: 70px;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: $primary_color;
		@include border-radius(50%);
		color: #000;
		opacity: 0;
		i {
			font-size: 22px;
			line-height: 1;
		}
	}
	.pxl-item--category {
		@include transition(all 220ms linear 0ms);
		@include transform(rotate(180deg) scaleX(0));
		writing-mode: vertical-rl;
		text-align: start;
		display: flex;
		align-items: center;
		padding: 15px 8px;
		background-color: $primary_color;
		@include border-radius(35px);
		position: absolute;
		left: 30px;
		opacity: 0;
		a {
			color: #000;
		}
	}
	.pxl-item--date {
		@include transform(rotate(180deg));
		writing-mode: vertical-rl;
		text-align: start;
		display: flex;
		align-items: center;	
		color: $third_color;
	}
	.pxl-item--meta {
		display: flex;
		margin-top: auto;
		align-items: flex-end;
		justify-content: end;
		padding: 30px;
		height: 100%;
		position: relative;
	}
	.pxl-grid-item {
		flex: 1;
		transition: .8s cubic-bezier(.29,0,.2,1);
		min-height: 470px;
		display: flex;
		flex-direction: column;
		position: relative;
		will-change: flex;
		justify-content: end;
		overflow: hidden;
		z-index: 1;
		@media #{ $min-lg} {
			margin-right: 5px;
			margin-left: 5px;
		}
		@media #{ $max-md} {
			min-width: 50%;
			max-width: 50%;
		}
		@media #{ $max-sm} {
			min-width: 100%;
			max-width: 100%;
			margin-bottom: 30px;
		}
		&:before {
			position: absolute;
			top: 50%;
			left: 50%;
			z-index: -1;
			display: block;
			content: '';
			width: 100%;
			height: 100%;
			background: rgba(0,0,0,0.7);
			@include transform(translate(-50%, -50%) scale(0));
		}
		&.active {
			flex: 2;
			&:before {
				@include transform(translate(-50%, -50%) scale(1));
				-webkit-animation: circle .75s;
				animation: circle .75s;
			}
			.pxl-item--category {
				opacity: 1;
				@include transform(rotate(180deg) scaleX(1));
			}
			.pxl-item--title {
				a {
					
				}
			}
			.btn-link {
				opacity: 1;
				@include transform(translate(-50%, -50%) scaleX(1));
			}
			.item-number {
				background-color: $primary_color;
				@include transform(rotate(180deg) scaleX(1));
			}
		}
		&:hover {

		}
	}
	.pxl-portfolio-inner {
		display: flex;
		@media #{ $min-lg} {
	  		flex-wrap: nowrap;
			margin-left: -5px;
			margin-right: -5px;
		}
		@media #{ $max-md} {
			flex-wrap: wrap;
			padding-left: 15px;
			padding-right: 15px;
		}
	}
}
.pxl-portfolio-info {
	background: #272727;
	border: 1px solid #3D3D3D;
	.pxl-box--label {
		padding: 20px;
		background-color: $primary_color;
		color: #fff;
		text-align: center;
		font-size: 20px;
		font-weight: bold;
		@extend .ft-theme-default;
		label {
			max-width: 180px;
			display: inline-block;
		}
	}
	.row-item {
		padding: 15px 0;
		+ .row-item {
			border-top: 1px solid #3D3D3D;
		}
		.pxl-label {
			color: $fourth_color;
			font-size: 14px;
			margin-right: 5px;
			font-weight: 600;
		}
		.item-text {
			color: #9A9A9A;
		}
		.pxl-item--star {
			position: relative;
			top: 2px;
		}
	}
	.pxl-item--price {
		font-size: 36px;
		font-weight: 600;
		line-height: 1;
		color: $fourth_color;
	}
	.box-item-left, .box-item-right {
		text-align: center;
		max-width: 50%;
		min-width: 50%;
		label {
			color: #9A9A9A;
		}
	}
	.box-item-left {
		border-right: 1px solid #3D3D3D;	
	}
	.row-box-botton {
		padding: 25px 15px;
		background-color: #161616;
		display: flex;
		align-items: center;
		img {
			max-height: 38px;
		}
	}
	.content-inner {
		padding: 20px 25px;
	}
}
.pxl-portfolio-recent {
	.pxl-wrapper-heading {
		max-width: 300px;
        margin-bottom: -135px;
		position: relative;
		z-index: 2;
        @media #{ $max-md } {
            max-width: 100%;
            margin-bottom: 60px;
        }
        .el--title {
            font-size: 52px;
        }
        .el--subtitle {
            margin-bottom: 15px;
            img {
                max-height: 18px;
                margin-bottom: 5px;
            }
            span {
                display: inline-block;
                font-size: 19px;
                font-weight: 500;
                text-transform: uppercase;
            }
        }
	}
	.pxl-item--title {
		max-width: 50%;
		min-width: 50%;
		text-align: center;
		font-size: 52px;
		@include transition(all .5s cubic-bezier(.645,.045,.355,1));
		@media #{ $max-md } {
			max-width: 100%;
			min-width: 100%;
			font-size: 35px;
		}
		a {
			color: #fff;
		}
	}
	.pxl-item--image {
		overflow: hidden;
		@media #{ $min-lg } {
			position: absolute;
			width: 526px;
			height: 100%;
			top: 50px;
			left: 50%;
			opacity: 0;
			@include transition(all .5s cubic-bezier(.645,.045,.355,1));
			@include transform(translateX(-50%));
			a.bg-image {
	            @include transition(all .5s cubic-bezier(.645,.045,.355,1));
	            @include transform(scale(1.1)); 
				display: block;
			}
			img {
				opacity: 0;
			}
		}
		@media #{ $max-md } {
			text-align: center;	
		}
	}
	.pxl-grid-item {
		+ .pxl-grid-item {
			margin-top: 25px;
			@media #{ $max-md } {
				margin-top: 45px;
			}
		}
		.pxl-item-inner {
			@media #{ $min-lg } {
				display: flex;	
			}
		}
		&:nth-child(1), &:nth-child(2), &:nth-child(3) {
			.pxl-item-inner {
				@media #{ $min-lg } {
					justify-content: end;
				}
			}
		}
		&.active {
			.pxl-item--title {
				position: relative;
				z-index: 2;
				a {
					color: $primary_color;
				}
			}
			@media #{ $min-lg } {
				.pxl-item--image {
					top: 0;
					opacity: 1;
					a.bg-image {
			            @include transform(scale(1)); 
					}
				}
			}
		}
	}
	.pxl-grid-inner {
		position: relative;
		padding-top: 50px;
		padding-bottom: 50px;
	}
}
// Start Portfolio
//--------------------------------------------------
.pxl-portfolio-grid1, .pxl-portfolio-carousel1 {
	.pxl-load-more {
		margin-top: 45px;
		&.pxl-loadmore-style2 {
			.btn {
				background-color: transparent;
				color: $primary_color;
				letter-spacing: 5px;
			}
		}
	}
	.pxl-swiper-dots {
		margin-top: 50px;
		@media #{ $max-md } {
			margin-top: 30px;
		}
	}
	.pxl-grid-filter {
		.filter-item {
			color: #fff;
			font-weight: 600;
			&.active, &:hover {
				color: #000;
			}
		}
	}
	.item--featured {
		position: relative;
		overflow: hidden;
		img {
			width: 100%;
			@include transition(all 300ms linear 0ms);
			@include transform(scale(1.05));
		}
	}
	a.bg-holder {
        @include transition(all 0.3s ease-in);
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        @include background-gradient-top(#{'rgba(var(--primary-color-rgb), 0.8)'} 10%, #{'rgba(var(--secondary-color-rgb), 0.5)'} 80%);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
       	z-index: -1;
        opacity: 0;
	}
	.item--category {
		font-size: 24px;
		font-weight: 600;
		@include transform(translateY(50px));
		@include transition(all 0.15s ease-in);
		opacity: 0;
		a {
			text-transform: uppercase;
			display: inline-block;
			color: #fff;
			&:hover {
				text-decoration: underline;
			}
		}
	}
	.pxl-item--title {
		@include transform(translateY(70px));
		@include transition(all 0.20s ease-in);
		font-size: 36px;
		margin-bottom: 5px;
		color: #fff;
		font-weight: 600;
		opacity: 0;
		a {
			color: #fff;
		}
	}
	a.btn-link {
		width: 40px;
		height: 40px;
		color: #fff;
		font-size: 50px;
		position: absolute;
		z-index: 2;
		top: 70%;
		left: 30px;
		@include transition(all 200ms linear 0ms);
		opacity: 0;
		@media #{ $min-xl } {
			left: 50px;
		}
		@media #{ $max-md } {
			font-size: 23px;
		}
		i {
			line-height: 1;
			@include transition(all 200ms linear 0ms);
		}
		&:hover {
			i {
			 	@include transform(rotate(45deg));
			}
		}
    }
	.pxl-item-holder {
        position: absolute;
        bottom: 0px;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        padding: 30px 20px;
        z-index: 1;
        @media #{ $min-xxl } {
            padding: 30px 40px 40px 60px;
        }
	}
	.pxl-item--inner {
        position: relative;
        overflow: hidden;
        z-index: 1;
        &:hover {
            a.bg-holder {
                opacity: 1;
                @include background-gradient-top(#{'rgba(var(--primary-color-rgb), 0.8)'} 30%, #{'rgba(var(--secondary-color-rgb), 0.5)'} 80%);
            }
        	.item--featured {
        		img {
					@include transform(scale(1.0));
        		}
        	}
    		a.btn-link {
				opacity: 1;
				top: 50px;
		    	transition-delay: 0.2s;
				-webkit-transition-delay: 0.2s;
    		}
			.item--category {
				@include transform(translateY(0));
		    	transition-delay: 0.23s;
				-webkit-transition-delay: 0.23s;	
				opacity: 1;			
			}
    		.pxl-item--title {
    			opacity: 1;
    			@include transform(translateY(0));
		    	transition-delay: 0.3s;
				-webkit-transition-delay: 0.3s;
    		}
        }
	}
}
.pxl-portfolio-grid1 {
	.pxl-pagination-links {
		margin-top: 25px;
	}
	.pxl-grid-item{
		float: left;
	}
	.container-custom {
		max-width: 1300px;
		margin: 80px auto 0;
		@media #{ $max-sm } {
			margin-top: 50px;
		}
	}
}
