.igc-media {
  background-size: cover;
  background-position: center center;
  padding-bottom: 100%;
  display: block
}
.igc-profile-header.igc-loading .igc-profile-pic,
.igc-profile-header.igc-loading .igc-profile-info,
.igc-loading>span {
  animation: igc-flash 4s ease-in-out infinite alternate
}

@keyframes igc-flash {
  50%,from,to {
    opacity: .3
  }
  25%,75% {
    opacity: .15
  }
}
.igc-type-icon {
  position:absolute;
  top:5%;
  right:5%;
  width:12%;
  height:12%;
  max-width:32px;
  max-height:32px
}
.igc-type-icon path {
  fill:#fff;
  opacity:.9
}
.igc-type-icon svg.svg-shadow {
  -webkit-filter:drop-shadow( 0 0 1px rgba(0, 0, 0, .5));
  filter:drop-shadow( 0 0 1px rgba(0, 0, 0, .5))
}

.igc-overlay {
  background: rgba(0,0,0,.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: igc-open-lb 450ms ease-in-out 1 forwards
}
@keyframes igc-open-lb {
  from {
    opacity: 0
  }
  to {
    opacity: 1
  }
}
.igc-overlay >.igc-top-right {
  display: grid;
  grid-template-columns: repeat(auto-fit,48px);
  position: absolute;
  top: 12px;
  right:12px;
  width: 96px;
  justify-content: flex-end;
}
.igc-prev, .igc-next,
.igc-close, .igc-link {
  cursor: pointer;
  transition: opacity 300ms ease;
  opacity: 0.66;
}
.igc-prev:hover:not(:active), .igc-next:hover:not(:active),
.igc-close:hover:not(:active), .igc-link:hover:not(:active) {
  opacity: 1;
}
.igc-single .igc-prev, .igc-single .igc-next {
  display: none !important;
}
.igc-type-icon svg,
.igc-prev svg, igc-next svg,
.igc-overlay > .igc-top-right svg {
  display: block;
  pointer-events: none;
}
.igc-link svg {
  width: 32px;
  margin: 8px 0px 8px 16px;
}
.igc-close svg {
  width: 44px;
  margin: 2px;
}
.igc-prev, .igc-next {
  position: absolute;
  width: 48px;
  height: 48px;
  left: 12px;
  top: 50%;
  transform: translate(0,-50%);
  z-index: 1;
}
.igc-next {
  left: auto;
  right: 12px;
}

.igc-content,
.igc-content > *,
.igc-content .igc-carousel video,
.igc-content .igc-carousel img {
  width: calc(100vw - 144px);
  height: calc(100vh - 144px);
  object-fit: scale-down;
}
.igc-content video,
.igc-content .igc-carousel video {
  object-fit: contain;
}
.igc-content {
  position: absolute;
  left: 72px;
  top: 72px;
}
.igc-content > div {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.igc-carousel {
  overflow: hidden;
  position: relative;
}
.igc-content .igc-carousel video,
.igc-content .igc-carousel img {
  /* height: calc(100vh - 144px - 36px); */
}

.igc-carousel-images {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(10px,1fr));
  justify-items: center;
  align-items: center;
  height: 100%;
}
.igc-carousel-images .igc-carousel-item {
  transition: transform .3s ease;
  display: grid;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
   background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

ul.igc-pagination {
  display: flex;
  justify-content: center;
  list-style-type: none;
  justify-content: center;
  margin: 0;
  padding: 0px 0 0 0;
  max-width: calc(100vw - 24px);
  grid-gap: 4px;
  height: 36px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  align-items: center;
}

.igc-media .igc-carousel,.igc-media img,.igc-media ul.igc-pagination {
  display: none
}

ul.igc-pagination li {
  width: 15px;
  height: 15px;
  padding: 1px;
  margin: 0px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50px;
  cursor: pointer;
  transition: background .3s ease;
  justify-self: center
}

ul.igc-pagination ul li:hover {
  border-color: rgba(255,255,255,.5)
}

ul.igc-pagination .circle {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0);
  border-radius: 50px
}

ul.igc-pagination li.igc-pag-active .circle {
  background: rgba(255,255,255,.3)
}

ul.igc-pagination .circle:hover {
  background: rgba(255,255,255,.5)
}

.igc-overlay .igc-caption {
  position: absolute;
  top: calc(100% + 12px);
  height: auto;
  left: 0px;
  right: 0px;
  left: calc((100vw - 660px)/2);
  right: calc((100vw - 660px)/2);
  width: auto;
  transition: all 300ms ease;
  padding: 12px 12px;
}
.igc-overlay .igc-caption p {
  text-align: center;
  line-height: 24px;
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto !important;
  overflow: hidden;
  user-select: none;
}
.igc-overlay .igc-caption.igc-longer-caption.igc-reveal-caption {
  height: auto;
  top: 100%;
  z-index: 3;
  transition: transform 300ms ease,background 300ms ease;
  transform: translate(0,calc(-100% + 60px));
  mask-image: linear-gradient(to bottom,
                              rgba(0, 0, 0, 1) 32px,
                              rgba(0, 0, 0, 1) 60px
              );

}
.igc-overlay .igc-caption.igc-long-caption {
  top: 100%;
}
.igc-overlay .igc-caption.igc-longer-caption {
  top: 100%;
  mask-image: linear-gradient(to bottom,
                              rgba(0, 0, 0, 1) 32px,
                              rgba(0, 0, 0, 0) 60px
              );
  cursor: pointer;
}
.igc-overlay .instaPlayBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -50px -50px;
  background-size: 100%;
  width: 100px;
  height: 100px;
  cursor: pointer
}

@media all and (max-width: 768px) {
  .igc-content,
  .igc-content > *,
  .igc-content .igc-carousel video,
  .igc-content .igc-carousel img {
    width: calc(100vw - 24px);
    object-fit: scale-down;
  }
  .igc-content {
    left: 12px;
  }
  .igc-prev, .igc-next {
    top: auto;
    bottom: 12px;
    transform: translate(0,0);
  }
  .igc-overlay .igc-caption {
    left: 48px;
    right: 48px;
  }
  .igc-overlay .igc-caption p {
    font-size: 14px;
  }
  ul.igc-pagination {
    grid-gap: 6px;
    height: auto;
    bottom: 12px;
  }

  ul.igc-pagination li {
    width: 100%;
    max-width: 20px;
    height: 100%;
    max-height: 20px;
    aspect-ratio: 1;
    padding: 0px;
  }
}
.igc-profile-header {
  display: grid;
  grid-template-columns: 42px max-content 1fr auto;
  grid-gap: 6px;
  align-items: center;
  padding: 12px 0;
}
.igc-profile-header .igc-profile-pic {
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,0.15);
}
.igc-profile-header .igc-profile-info {
  display: grid;
  align-items: center;
}
.igc-profile-header .igc-profile-info strong {
  color: #000;
  font-weight: bold;
  font-size: 18px;
  line-height: 20px;
  display: block;
}
.igc-profile-header .igc-profile-info span {
  color: #999;
  font-weight: 200;
  font-size: 12px;
  line-height: 14px;
  display: block;
}
.igc-profile-header .igc-profile-info span:nth-child(2),
.igc-profile-header .igc-profile-info span:nth-child(3),
.igc-profile-header .igc-profile-info strong:nth-child(2) {
  display: none;
}
