body .container-portfolio {
    display: flex;
    width: 100%;
	height: auto;
	max-height: auto !important;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
}

.container-portfolio .gallery-title:after {
    content: "";
    position: absolute;
    width: 7.5%;
    left: 46.5%;
    height: 45px;
    border-bottom: 1px solid #5e5e5e;
}
.container-portfolio .filter-button {
    font-size: 18px;
    border: 1px solid #42B32F;
    border-radius: 5px;
    text-align: center;
    color: #42B32F;
    margin-bottom: 30px;

}
.container-portfolio .filter-button:hover {
    font-size: 18px;
    border: 1px solid #42B32F;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
    background-color: #42B32F;
}
.container-portfolio .btn-default {
    background: none;
	color: #333;
    position: relative;
    padding: 0px;
    line-height: 21px;
    font-size: 15px;
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    box-sizing: border-box;
    transition: all .2s;
    text-transform: none;	
    margin: 5px;
}
.container-portfolio .btn-default:hover {
    color: #0094FF;
}

.container-portfolio .portfolio-center {
    border: 1px solid #E8F5FF;
    padding: 10px;
    text-align: center;
    background: #F4FAFF;
    min-width: fit-content;
}

.container-portfolio .btn-default:active .filter-button:active {


    width: auto;
	height: auto;
	max-height: auto;
	display: inline-block;	
}

.container-portfolio .port-image {
    width: 100%;
}

.container-portfolio .gallery_product {
    position: relative;
	overflow: hidden;
    text-align: center;
	display: inline-block;
	margin: 1px;
	z-index: 1;
}

.container-portfolio .gallery_product img {
    display: flex;
	overflow: hidden;
	width: 260px;
	min-height: 260px;
	height: 100%;
	object-fit: cover;
    object-position: 50% 50%;
}
.container-portfolio .gallery_product:hover > .port-bg {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    text-shadow: -1px 0 black, 0 1px black, 2px 0 black, 0 -2px black;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
}

.container-portfolio .port-bg {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
	width: 260px;
	height: 260px;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    text-shadow: -1px 0 black, 0 1px black, 2px 0 black, 0 -2px black;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: slideOutDown;
    animation-name: slideOutDown;
}

.container-portfolio .port-bg:hover > a {
	color: #eee;
	font-size: 18px;
	font-weight: 700;
    position: static;
	padding: 10px;
    top: 0;
    left: 0;
    text-align: center;
	width: 260px;
	height: 260px;
    text-shadow: -1px 0 black, 0 1px black, 2px 0 black, 0 -2px black;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;	
	
}
.container-portfolio .port-bg a {
	color: #eee;
	font-size: 1px;
	font-weight: 700;	
	padding: 10px;
    position: relative;
	transform: rotate(-90deg);
    top: 0;
    left: 0;
    text-align: center;
	width: 260px;
	height: 260px;
    text-shadow: -1px 0 black, 0 1px black, 2px 0 black, 0 -2px black;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation-name: zoomOut;
    animation-name: zoomOut;
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;	
	
}

.container-portfolio .port-bg hr {
    width: 40px;
}

@media screen and (max-width: 500px) {
	.portfolio-center {	
        display: none;
	}
	
	body .container-portfolio {
	    display: inline-block;	
	}
	.container-portfolio .port-bg a {
        transform: rotate(0deg);
	}
}