// main: ../main.less, out: false, compress: false, sourceMap: false
// main: ../theme.less, out: false, compress: false, sourceMap: false

/* Portfolio single
/******************************/
.portfolio-single {
    height: 90vh;
    padding: 0;
}
.portfolio-info {
    //background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
	padding: 80px 0;
	.ckav-post-meta {
		color: #fff;
		[class*="col-"]:after {
			border-color: rgba(255, 255, 255, 0.5);
		}
	}
}

/* Portfolio box
/******************************/

.portfolio-box {
    background-color: #fff;
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
    .transition(0.3s);
	position: relative;
	top: 0;

    .portfolio-img {
		position: relative;
		img {
			opacity: 0;
		}
        a {
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            left: 0;
            top: 0;
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            font-size: 60px;
            display: flex;
            opacity: 0;
            .transition(0.3s);
        }
    }
    figcaption {
        padding: 15px 20px;
        .content-title {
            margin: 0;
        }
    }
    &:hover {
        //top: -3px;
        .portfolio-img {
            a {
                opacity: 1;
            }
        }
	}
	
	
}

.masonry-grid {
	&.square {
		.portfolio-img {
			width: 100%;
			height: 0;
            padding-bottom: 100%;
            overflow: hidden;
		}
	}
	&.ratio-3x4 {
		.portfolio-img {
			width: 100%;
			height: 0;
            padding-bottom: calc(~"3/4 * 100%");
            overflow: hidden;
		}
	}
}
.light.masonry-wrp {
    color: #fff;
    .filter-wrp {
        border-color: rgba(255, 255, 255, 0.25);
    }
    .portfolio-box {
        background-color: rgba(255, 255, 255, 0.2);
        .content-title {
            color: inherit;
            opacity: 0.75;
        }
    }
}