.grid-item {
display: inline-block;
    height: 259px;

    overflow: hidden;
    text-align: center;
    width: 400px;
}
.grid-item img{
	width:100%;
	height:300px;
	filter: url(filters.svg#grayscale);
    filter: gray;
   /* -webkit-filter: grayscale(1);*/
    transition: 0.9s;
	    object-fit: cover;
    object-position: bottom;
}
.grid-item img:hover{
    filter: none;
}

.isotope-pager .pager {
  display: inline-block;
    margin: 40px 5px;
}
.filters {
	width: 100%;
	text-align: center;
	padding-bottom: 35px;
	padding-top:20px;
	
}

.filters ul {
	list-style: none;
    padding: 20px 10px;
    margin: 0 40px;
    border-radius: 30px;
}

.filters li {
	display: inline-flex;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.filters li a{
	color: #5d5d5d;
	text-decoration: none;
}
.filters li a:hover{
	color:#000;
    border: 1px solid #39b82c;
}

.filters li:hover a{
	/*box-shadow: -1px 1px 11px rgba(0,0,0,.4);
	border-radius: 15px;*/
    border: 1px dotted #e3ca66;
}

.filters li.active a,.filters li a:hover{
	color: #000;
	border: 1px solid #39b82c;
	border-radius: 15px;
	/*box-shadow: -1px 1px 11px rgba(0,0,0,.4);*/
	padding: 10px 25px;
	
}
.isotope-pager{position:relative;}


.isotope-pager a{
  margin: 6px 1px;
    display: inline-block;
    width: 50px;
    /* height: 60px; */
    line-height: 31px;
    color: #b6b6b6;
    font-weight: 600;
    transition: 0.3s;
    /* position: relative; */
    /* padding-right: 26px; */
    border-radius: 25px;
    border: 1px solid #39b82c;
	text-decoration:none;
}

.isotope-pager a:hover{
  color: #fff;
  background: #39b82c;
  box-shadow: -1px 1px 10px 3px rgba(0,0,0,.1);
}

.isotope-pager .active{
  color: #fff !important;
    border-radius: 25px;
    background-color: #39b82c;
    border: 1px dotted #e3ca66;
}

.isotope-pager .prev{
  border-radius: 30px 0 0 30px;
}

.isotope-pager .next{
  border-radius: 0 30px 30px 0;
}

.isotope-pager a::before,.isotope-pager a:after{
  content: "";
  position: absolute;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
}
.isotope-pager .num::before,.next::before{
  border-right: 20px solid #2c3e50;
  right: 100%;
}

.isotope-pager .num:after,.prev:after{
  border-right: 20px solid #f1f1f1;
  right: 0;
}

.isotope-pager{position: relative;}



.overlay {
  position: absolute; 
  bottom: 0; 
  background: rgb(0, 0, 0);
  background: #47820f; /* Black see-through */
  color: #f1f1f1; 
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 10px 20px;
  text-align: center;
}

.grid-item:hover .overlay {
  opacity: 1;
}
.isotope{margin: 0px auto;}.about_section{padding-top: 15px;padding-bottom: 0px;}
.testimonial{padding-top: 2%;}
.about_section::before{top: -5%;}
@media (max-width:991px){.isotope{width:100% !important;}.grid-item{width:48%;}
    .filters{padding-bottom: 15px;}}
@media (max-width:767px){.grid-item{height:255px;}.isotope-pager .pager{margin:5px;}}
@media (max-width:540px){.grid-item{height:240px;}.filters ul{margin: 0px;}}
@media (max-width:520px){.grid-item{height:230px;}}
@media (max-width:520px){.grid-item{    width: 100%;
    padding: 0px 10%;}}
@media (max-width:480px){.grid-item{    width: 100%;
    padding: 0px 5%;}}
@media (max-width:400px){.about_section{padding-top: 0px;}}
