.images-box {
  font-size: 0;
  margin: 0 -2px 20px; }

.images-box__item {
  font-size: 15px;
  font-weight: 300;
  display: inline-block;
  width: 100%;
  position: relative;
  height: 280px;
  padding: 2px; }
  .images-box__item--small {
    width: 33.3333%; }
  .images-box__item--medium {
    width: 50%; }
  .images-box__item--large {
    width: 66.6667%; }

.images-box__item_last img {
  -webkit-filter: blur(3px);
  filter: blur(3px); }

.images-box__body {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1); }

#  .images-box__body img {
#    min-height: 100%;
#    max-height: 240%;
#    min-width: 100%;
#    max-width: 240%;
#    vertical-align: top;
#    position: relative;
#    top: 50%;
#    left: 50%;
#    -webkit-transform: translate(-50%, -50%);
#    -ms-transform: translate(-50%, -50%);
#    transform: translate(-50%, -50%); }
  .images-box__body:hover .images-box__bot {
    opacity: 1;
    bottom: 0; }

@media (max-width: 900px) {
  .images-box__item--small,
  .images-box__item--large {
    width: 50%; } }

@media (max-width: 800px) {
  .images-box__item {
    width: 100%;
    height: 200px; } }

.images-box__bot {
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  opacity: 0;
  cursor: pointer;
  height: 60px;
  padding: 20px 45px 10px 48px;
  line-height: 30px;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(0, 0, 0, 0.6)), to(transparent));
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.6) 30%, transparent 100%);
  background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.6) 30%, transparent 100%);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 30%, transparent 100%); }

.images-box__avatar {
  position: absolute;
  top: 20px;
  left: 10px;
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  overflow: hidden;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  margin-right: 6px; }
  .images-box__avatar img {
    vertical-align: top;
    width: 100%;
    height: 100%; }

.images-box__name {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  padding: 2px 4px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s; }
  .images-box__name:hover {
    background: rgba(255, 255, 255, 0.15); }

.images-box__fav {
  position: absolute;
  top: 21px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid #C6C6C6;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
  line-height: 28px;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s; }
  .images-box__fav .icon {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    background: none; }
  .images-box__fav .shape {
    fill: transparent;
    stroke: #C6C6C6;
    stroke-width: 2px;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s; }
  .images-box__fav:hover {
    border-color: #fff; }
    .images-box__fav:hover .shape {
      stroke: #fff; }
  .images-box__fav:active .shape {
    fill: white; }
  .images-box__fav.active .icon {
    -webkit-animation: scaling .5s 1;
    animation: scaling .5s 1; }
  .images-box__fav.active {
    border-color: #777; }
    .images-box__fav.active .shape {
      fill: #E02B4E;
      stroke: #E02B4E; }

@keyframes scaling {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0); }
  30% {
    -webkit-transform: scale(1.25);
    transform: scale(1.25); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1); } }

@-webkit-keyframes scaling {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0); }
  30% {
    -webkit-transform: scale(1.25);
    transform: scale(1.25); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1); } }
