@-webkit-keyframes ku {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes ku {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}


#ig.gridbox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
}

#ig.gridbox.subcolor_6::before {
    z-index: 101;
    cursor: pointer;
}

#ig .instagram-link {
  display: block;
}

#ig.gridbox .box1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    flex: none;
    z-index: 100;
}

#ig.gridbox .header {
    color: #606060;
    background: rgba(255, 255, 255, .9);
}

.loading {
    border-bottom: 6px solid rgba(0, 0, 0, .1);
    border-left: 6px solid rgba(0, 0, 0, .1);
    border-right: 6px solid rgba(0, 0, 0, .1);
    border-top: 6px solid rgba(144, 26, 30, 1);
    border-radius: 100%;
    height: 50px;
    width: 50px;
    -webkit-animation: ku .6s infinite linear;
    animation: ku .6s infinite linear;
    overflow: auto;
    position: absolute;
    top: 37%;
    left: 40%;
}

#imageBox * {
    box-sizing: border-box;
}

#imageBox {
    width: 100%;
    height: 185px;
    position: relative;
    overflow: hidden;
}

#imageBox .batch img {
    margin: 0 auto;
    height: 100%!important;
    width: auto!important;
    -o-object-fit: cover;
    object-fit: cover;
}

#imageBox .batch {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#imageBox .batch a {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

#imageBox .batch .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

#imageBox .batch .inner a {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

#imageBox .batch .inner img {
  min-width: 120%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

@media screen and (min-width: 500px) {
  #imageBox .batch .inner a img {
    height: 112% !important;
    min-width: none;
    width: 100%;
    border: 1px solid #fff
  }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
   .instagram-box .batch .inner a img {
     width: auto;
     max-width: none;
   }
}

@media screen and (max-width: 500px) {
  #imageBox .batch .inner {
    display: block;
  }
  #imageBox .batch .inner a {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
  }
  #imageBox .batch .inner a img {
    height: 100%;
  }
}
