.custom-image-grid-widget .row {
  display: flex;
  gap: 0px;
}

.custom-image-grid-widget .col-1,
.custom-image-grid-widget .col-2 {
  width: 50%;
}
.custom-image-grid-widget .row{
	margin: 0;
}

.custom-image-grid-widget .active-image {
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  transition: background-image 0.8s eas;
}

.custom-image-grid-widget .image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
}

.custom-image-grid-widget .grid-item {
  position: relative;
  height: 210px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.custom-image-grid-widget .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  border: 3px solid #FFF;
}

.custom-image-grid-widget .grid-item:hover .overlay {
  opacity: 1;
}

.custom-image-grid-widget .grid-item.active .overlay {
  opacity: 1;
}

.grid-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

span.eye-icon {
  display: flex;

  img {
    width: 100%;
    max-width: 24px
  }
}


@media(max-width: 768px) {
  .custom-image-grid-widget .row {
    flex-direction: column;

    &>div {
      width: 100%;
    }

    div.active-image {
      min-height: 300px;
    }

    .grid-item {
      height: 100px;
    }
  }


  .custom-image-grid-widget .overlay {
    border-width: 2px;
  }

  span.eye-icon {
    img {
      max-width: 18px;
    }
  }

}