.gallery-title {
    font-size: 36px;
    color: #42B32F;
    text-align: center;
    font-weight: 500;
    margin-bottom: 70px;
    width: 100%;
}

.gallery-title:after {
    content: "";
    position: absolute;
    width: 7.5%;
    left: 46.5%;
    height: 45px;
    border-bottom: 1px solid #5e5e5e;
}

.filter-button {
    font-size: 18px;
    border: 1px solid #42B32F;
    border-radius: 5px;
    text-align: center;
    color: #42B32F;
    margin-bottom: 30px;

}
#cats {
    width : 100%;
    display: flex;
}

#cats-1,#cats-2,#cats-3 {
    min-width: 20%;
    margin-right: 10px;
	/* the font size of the Alle */
    font-size: 14px !important;
    line-height: 40px;
    padding: 0px 32px 0 10px;
}

div#cats select option {
    /* the font size of the options */
    font-size: 14px !important;
	padding: 0px 10px !important;
}

.port-image {
    width: 100%;
}

.all_items{
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: -14px;
}
.all_items .filter{
    color: #030002;
    display: inline-block;
    width: calc(26% - 32px);
    margin: 0 19px 32px 0;
    position: relative;
    vertical-align: top;
    line-height: 25px;
}

.all_items .filter figure {
    margin: 0;
    height: 270px;
}
.all_items .filter .title{
    text-align: center;
    padding: 20px 10px;
    min-height: 100px;

}
.all_items .filter a{
    color:#030002;
    text-decoration: none;
    box-shadow:none;
}


.hover-ref {
    display: block;
    content: "";
    position: absolute;
    height: 100%;
    z-index: 1;
    background-color: transparent;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0px;
    -webkit-transition: all 0.1s linear 0s;
    -khtml-transition: all 0.1s linear 0s;
    -moz-transition: all 0.1s linear 0s;
    -ms-transition: all 0.1s linear 0s;
    transition: all 0.1s linear 0s;
    opacity: 0;

}
.filter:hover .hover-ref{
   opacity: 1;
}
.refer-text-wrapper {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    width: 270px;
    height: 170px;
    margin-top: -90px;
    margin-left: -135px;
    z-index: 2;
}
.refer-text-title {
    font-family: Calibri, Arial !important;
    font-size: 18px !important;
    color: transparent;
    font-weight: bold;
    margin-top:18%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.refer-text-description {
    font-family: Calibri, Arial !important;
    font-size: 16px !important;
    color: transparent;
    font-weight: 400;
}
.filter:hover .refer-text-title,.filter:hover .refer-text-description {
    color: #fff;
}
.refer-text-wrapper span {
    width: 29px;
    height: 29px;
    padding: 10px;
    z-index: 2;
    background-color: transparent;
    border: 1px solid transparent;
    -webkit-transition: all 0.3s linear 0s;
    -khtml-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    margin: 0 auto;
    display: block;
    color: transparent;
    margin-top: 10px;
    font-size: 30px !important;
}
.filter:hover .refer-text-wrapper span{
    color: #fff;
    border-color: #fff;
}


@media only screen and (max-width:1023px) { 
	.all_items .filter:nth-child(2n+1) {width: 48.5% !important;margin:0 1.5% 3% 0 !important;}
	.all_items .filter:nth-child(2n) {width: 48.5% !important;margin:0 0 3% 1.5% !important;}
	.all_items {margin-right:7px !important;}	
	.all_items .filter figure, .all_items .filter figure img {height: 330px;}
}



@media only screen and (max-width: 767px) {
	.all_items .filter:nth-child(2n+1) {width: 100% !important;margin: 0 0% 3% 0 !important;}
	.all_items .filter:nth-child(2n) {width: 100% !important;margin: 0 0 3% 0% !important;}
	.all_items {margin-right: 0 !important;}
}


 .all_items .filter .object-fit-ie11{
     opacity :0;
   }
   .all_items .filter .img-responsive{
    width: 100%;
    height: 270px;
    object-fit: cover;
    opacity :1;
    }
