.cp_portfolio_item {
	display: inline-block;
	vertical-align: top;
	margin-right: -4px;
	padding: 10px;
	box-sizing: border-box;
}
.cp_portfolio_image {
	width: 100%;
	height: 250px;
	border-radius: 5px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
	overflow: hidden;
}
.cp_portfolio_overlay {
	position: absolute;
	top: -100%;
	bottom: 100%;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.4);
	transition: .3s;
}
.cp_portfolio_item:hover .cp_portfolio_overlay {
	top: 0;
	bottom: 0;
}
.cp_portfolio_overlay .cp_portfolio_actions {
	text-align: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
.cp_portfolio_overlay .cp_portfolio_actions .cp_portfolio_action {
	display: inline-flex;
    align-items: center;
  	justify-content: center;
	width: 50%;
	height: 100%;
	color: #FFF!important;
	transition: .3s;
}
.cp_portfolio_overlay .cp_portfolio_actions .cp_portfolio_action span.dashicons {
	margin-right: 5px;
}
.cp_portfolio_overlay .cp_portfolio_actions .cp_portfolio_action:hover {
	transform: scale(1.2);
	text-decoration: none!important;
}
.cp_portfolio_title {
	margin-top: 25px;
}
.cp_portfolio_category {
	margin-top: 0;
}
.cp_columns-1 {
	width: 100%;
}
.cp_columns-2 {
	width: 50%;
}
.cp_columns-3 {
	width: 33%;
}
.cp_columns-4 {
	width: 25%;
}
.cp_columns-5 {
	width: 20%;
}
@media screen and (min-width: 1000px) {
	.cp_columns-1 .cp_portfolio_image {
		height: 650px;
	}
}
@media screen and (min-width: 712px) {
	.cp_columns-1 .cp_portfolio_image {
		height: 450px;
	}
}
@media screen and (max-width: 1000px) {
	.cp_portfolio_image {
		height: 150px;
	}
	.cp_portfolio_title {
		font-size: 1.5em;
	}
	.cp_columns-1 {
		width: 100%;
	}
	.cp_columns-2 {
		width: 50%;
	}
	.cp_columns-3 {
		width: 50%;
	}
	.cp_columns-4 {
		width: 50%;
	}
	.cp_columns-5 {
		width: 50%;
	}
}
@media screen and (max-width: 800px) {
	.cp_portfolio_image {
		height: 300px;
	}
	.cp_columns-1 {
		width: 100%;
	}
	.cp_columns-2 {
		width: 100%;
	}
	.cp_columns-3 {
		width: 100%;
	}
	.cp_columns-4 {
		width: 100%;
	}
	.cp_columns-5 {
		width: 100%;
	}
}
@media screen and (max-width: 450px) {
	.cp_portfolio_image {
		height: 150px;
	}
}