.cd-ig-images {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.cd-ig-images * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

.cd-ig-img-wrap a {
  cursor: pointer;
  display: block;
  text-decoration: none;
  position: relative;
}

.cd-ig-img-wrap a,
.cd-ig-img-wrap a:active,
.cd-ig-img-wrap a:focus,
.cd-ig-img-wrap a:visited,
.cd-ig-img-wrap a img {
  outline: 0 !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: 0 none !important;
}

.cd-ig-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.cd-ig-img {
  margin-top: 0;
  margin-bottom: 0;
}

.cd-ig-data {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  bottom: .3em;
  left: 0;
  color: #fff;
  z-index: 20;
  -webkit-transition: all ease .3s;
  transition: all ease .3s;
  opacity: 0;
}

.cd-ig-data>div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: .35em;
  padding-right: .35em;
}

.cd-ig-img-likes i {
  color: #ed4956;
}

.cd-ig-img-comments i {
  color: #fff;
  position: relative;
  top: -.15em;
}

.cd-ig-counter {
  padding-left: 0.35em;
}

.cd-ig-link-mask {
  background: #ccc;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  -webkit-transition: all ease .3s;
  transition: all ease .3s;
  opacity: 0;
}

.cd-ig-img-wrap a:hover .cd-ig-link-mask {
  opacity: .4;
}

.cd-ig-img-wrap a:hover .cd-ig-data {
  opacity: 1;
}

.cd-ig-follow-bt {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  margin-top: 1em;
}

.cd-ig-images .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}