@charset 'UTF-8';

.instagram-profile {
  position: relative;
  height: 92px;
  margin-bottom: 3px;
  padding-top: 25px;
  padding-left: 86px;
  box-sizing: border-box;
  background: #FAFAFA;
}
.instagram-profile_picture {
  position: absolute;
  top: 14px;
  left: 6px;
  width: 64px;
  height: 64px;
}
.instagram-profile_picture a {
  display: block;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.instagram-profile_picture a:hover {
  opacity: 0.8;
}
.instagram-username {
  font-size: 24px;
  line-height: 30px;
  font-weight: 200;
}
.instagram-username:before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background: url('../images/icon/glyph-logo_May2016.png') center center no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.instagram-status {
  margin: 5px 0 0;
  font-size: 13px;
}
.instagram-status li {
  display: inline-block;
  margin-right: 10px;
}
.instagram-status li:last-child {
  margin-right: 0;
}

.instagram-list-wrapper {
  height: 565px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.instagram-list {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  zoom: 1;
}
.instagram-item {
  float: left;
  width: 33.333%;
  padding: 0;
  box-sizing: border-box;
}
.instagram-item:nth-child(3n+1) {
  clear: left;
  padding-right: 2px;
}
.instagram-item:nth-child(3n+2) {
  padding-left: 1px;
  padding-right: 1px;
}
.instagram-item:nth-child(3n+3) {
  padding-left: 2px;
}
.instagram-item:nth-child(n+4) {
  padding-top: 3px;
}
.instagram-item img {
  display: block;
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 767px) {
  
  .instagram-list-wrapper {
    height: calc(100vw - 20px);
  }
  .instagram-list {
    width: auto;
    margin: 0 10px;
  }

  .instagram-profile {
    height: 70px;
    margin: 0 10px 3px;
    padding-top: 16px;
    padding-left: 75px;
  }
  .instagram-profile_picture {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
  }
  .instagram-username {
    font-size: 18px;
    line-height: 24px;
  }
  .instagram-username:before {
    position: relative;
    top: -2px;
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }
  .instagram-status {
    margin: 0 0 0;
    font-size: 11px;
  }
  .instagram-status li {
    margin-right: 5px;
  }
}