.portfolio-img{
    max-width: 100%;
    display: block;
    height: auto;
}


.grid-sizer,.grid-item{
	width:100%;
	margin: 0px;
	padding:0px;
	vertical-align: center;
	padding: 0px !important;
	margin-bottom:0px;
}

@media only screen and (min-width:580px){
	.grid-sizer,.grid-item{
	width:50%;
	margin: 0px;
	padding:0px;
	vertical-align: center;
	padding: 10px;
	margin-bottom:0px;
}

}

@media only screen and (min-width:767px){
	.grid-sizer,.grid-item{
	width:33.3%;
	margin: 0px;
	padding:0px;
	vertical-align: center;
	padding: 10px;
	margin-bottom:0px;
}

}

/*Gradient & Caption*/

.hvr-services  {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .3s ease;
	background: -webkit-radial-gradient(rgba(255, 96, 96, 0.5), rgb(255, 0, 0, 0.5) 50%);
    background: -moz-radial-gradient(rgba(255, 96, 96, 0.5), rgb(255, 0, 0, 0.5) 50%);
    background: -o-radial-gradient(rgba(255, 96, 96, 0.5), rgb(255, 0, 0, 0.5) 50%);
    background: radial-gradient(rgba(255, 96, 96, 0.5), rgb(255, 0, 0, 0.5) 50%);
  }
  
  .grid-item:hover .hvr-services {
	opacity: 1;
  }
  
  .text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
  }

  .gallery-btn {
	border: none;
	outline: none;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 18px;
  }
  
  /* Style the active class, and buttons on mouse-over */
  .active, .gallery-btn:hover {
	background-color: transparent;
	color: #ff0000 !important;
  }


  .btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: none;
}