.cat_geral{
	display:table;
	width:100%;
	text-align:center;
	background: linear-gradient(to bottom, #FBFBFB 0.0, #FBFBFB 30.99%, #EFEFEF 31%, #EFEFEF 79.99%, #FBFBFB 40%, #FBFBFB 100%)
}
.cat{
  display: block;
  max-width: 90%;
  margin: 0 auto;
}
.categories {
  margin: 2% 1.5%;
  z-index: 5;
}
.categories button {
  border: 2px solid #ddd;
  z-index: 5;
  border-radius: 3px;
  min-width: 80px;
  min-height: 37px;
  padding: 10px;
  background-color: #fff;
  font-weight: 600;
  color: #ccc;
  outline: none;
  -webkit-transition: all ease 0.3s;
  -moz-transition: all ease 0.3s;
  -ms-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
  cursor: pointer;
}
.categories button:hover {
  border: 2px solid #aaa;
  color: #999;
}
.categories button:focus {
  border: 2px solid #3498ff;
  color: #3498ff;
}
.image-gallery {
  z-index: 5;
  width: 100%;
  height: auto;
  background-color: transparent;
}
.image-card {
  display: inline-block;
  width: 24.7%;
  padding-top: 21%;
  border-radius: 3px;
  background-color: #FFF;
  position: relative;
  -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,0.4);
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.13);
  overflow: hidden;
  cursor: pointer;
  height: 400px;
}
.image-card_txt {
  background-color: #00000091;
  width: 100%;
  height: 150%;
  overflow: hidden;
  opacity: 0;
  position: absolute;
  z-index: 2;
  top: 0;
  color: #fff;
  display: grid;
  place-items: center;
}
.image-card_txt:hover{
  opacity:1;
}
.image-card:hover {
  -webkit-box-shadow: 0 0 4px 0 #3498ff;
  box-shadow: 0 0 4px 0 #3498ff;
}
.no-event {
  position: absolute;
  top: 0px;
  left: 0px;
  width: auto;
  height: 130%;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 1225px) {
  .image-card {
    width: 23%;
	height: 380px;
  }
}
@media screen and (max-width: 1125px) {
  .image-card {
	height: 370px;
  }
}
@media screen and (max-width: 1068px) {
  .image-card {
    width: 33%;
	height: 360px;
  }
}
@media screen and (max-width: 972px) {
  .image-card {
    width: 47%;
	height: 430px;
  }
}
@media screen and (max-width: 962px) {
  .image-card {
	height: 410px;
  }
}
@media screen and (max-width: 952px) {
  .image-card {
	height: 400px;
  }
}
@media screen and (max-width: 942px) {
	.categories {
	  text-align: center;
	}
	.image-gallery {
		display: grid;
		place-items: center;
	}
  .image-card {
	width: 40%;
    height: 380px;
    margin: 4px 10%;
  }
}
@media screen and (max-width: 842px) {
  .image-card {
	width: 45%;
	height: 390px;
  }
}
@media screen and (max-width: 742px) {
  .image-card {
	width: 50%;
	height: 360px;
  }
}
@media screen and (max-width: 642px) {
  .image-card {
	width: 60%;
	height: 340px;
  }
}
@media screen and (max-width: 542px) {
  .image-card {
	width: 70%;
	height: 320px;
  }
}
@media screen and (max-width: 480px) {
	.image-card {
		width: 88%;
		height: 300px;
	}
  .categories {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }
  .categories button {
    width: 47.5%;
    float: none;
    display: inline-block;
    margin-top: 5px;
    font-size: 3vmin;
  }
}
@media screen and (max-width: 460px) {
  .image-card {
	width: 98%;
	height: 280px;
  }
}
@media screen and (max-width: 320px) {
  .categories button {
    width: 80%;
    float: none;
    display: block;
    margin: 0px auto 7px auto;
    font-size: 5vmin;
  }
}