.ig-feed-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.ig-img-container {
  height: auto;
  width: calc(calc(100% - 24px) / 6);
  overflow: hidden;
}

.ig-img-container a {
  height: calc(calc(100vw - 32px) / 6);
  display: block;
  position: relative;
 }

 .ig-img {
  max-width: inherit !important;    
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
 }

.ig-hover {
  background-color:rgba(0, 0, 0, 0.7);
  z-index: 9;
  opacity: 0;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  transition: .5s ease;
  display: flex;
  justify-content: space-between;
  padding-left: 4em;
  padding-right: 4em;
}

.ig-hover:hover {
  opacity: 1;
}

.ig-hover-element {
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 30px;
}

.ig-hover-element img{
  margin-right: 5px;
}

@media (min-width: 961px) {
  .ig-hidden-desktop {
    display: none;
  }
}

@media (max-width: 960px) {
  .ig-hover {
    display: none;
  }

  .ig-img-container {
    width: calc(100% / 3);
  }

  .ig-img-container a {
    /*height: calc(calc(100vw - 32px) / 3);*/
    height: calc(calc(100vw) / 3);
  }

  .ig-img {
    width: 100%;
  }
}

/**For desktop lower scren resolution */
@media (max-width: 1366px) {
  .ig-hover {
    padding-left: 2.5em;
    padding-right: 2.5em;
  }

  .ig-hover-element {
    font-size: 20px;
  }

  .ig-hover-element img{
    max-width: 20px;
    height: auto;
  }
}
