.image-hover.CustomHover {
    height: 350px;
  width:100%;
  margin-left:2%;
  margin-top:10px;
}
.img-hover-wrapper {
    padding: 40px 0;
}
.image-hover.CustomHover .content {
  position: relative;
/*   width: 90%;
  max-width: 400px; */height: 100%;
  margin: auto;
  overflow: hidden;
}

.image-hover.CustomHover .content .content-overlay {
  background: rgba(0,0,0,0.5);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity:0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;

  
}

.image-hover.CustomHover .content:hover .content-overlay{
    background: transparent linear-gradient(180deg, #A52F7D 0%, #53183F 100%) ;
  opacity: 0.9;
}

.image-hover.CustomHover .content-image{
  width: 100%;
  height: 100%;
    display: block;
      object-fit: cover;
}

.image-hover.CustomHover.CustomHover .content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 40%;
/*   left: 50%; */
  opacity: 0;
/*   -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s; */
/*   transition: all 0.3s ease-in-out 0s; */
}

.image-hover.CustomHover .content:hover .content-details{
  top: 40%;
/*   left: 50%; */
  opacity: 1;
}

.image-hover.CustomHover .content-details h5 {
    color: #fff;
   
    font-size: 20px;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.image-hover.CustomHover .content-details p {
      margin-bottom: 10px;
    color: #FFFFFF;
   
}

.image-hover.CustomHover .fadeIn-top{
  top: 80%;
}
.img-hover-wrapper .dis-flex {
    justify-content: center;
}
.outer-content {
    position: absolute;
    top: 50%;
    color: #fff;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.image-hover.CustomHover .content:hover .outer-content{
opacity:0;
}

.image-hover.CustomHover:first-child {
    margin-left: 0;
}
@media(max-width:1280px){
.image-hover.CustomHover .content-details p{font-size:16px;}
}
@media(max-width:1024px){
  .image-hover.CustomHover .content-details p{font-size:14px;}
}
@media (max-width: 767px) {
  .image-hover.CustomHover {
    padding: 10px;
    width:100%;
}

}