.pix-galley-grid {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.pix-galley-grid .item {
  flex-basis: 20%;
  overflow: hidden;
  display: block;
}
.pix-galley-grid .item > a {
  display: block;
}
.pix-galley-grid .item img {
  height: auto;
  display: block;
  margin: 2px
}
.user-image-frame-column {
  position: absolute;
  background: var(--bg-column);
  right: 0;
  top: 0;
  width: 350px;
  height: 100%;
}
.user-image-frame-column .content-block {
  margin: 0 0 20px 0;
  background-color: var(--bg-column);
  padding: 0;
  box-shadow: none;
}
.user-image-frame-column .meta-data {
  display: block;
}
.user-image-frame-column .user-rating {
  display: none;
}
.user-image-frame .comments-wall {
  margin-bottom: 190px;
}
.user-image-frame .content-comments-header {
  margin: 20px 0 0;
  padding: 5px 0 !important
}
.user-image-frame .content-comments-header .title {
  font-size: 1.4rem
}
.user-image-frame .pg-like-button .counter {
  background: #444;
  border-color: #444;
}
.user-image-frame .pg-like-button .counter::before {
  border-right-color: #444
}
.user-image-frame .comments-area .admin-select-all {
  display: none;
}
.user-image-frame .edit-image-area {
  left: 5px;
  top: 5px;
  right: auto;
}
.user-image-frame .edit-image-options {
  right: auto;
  left: 0;
  top: 0;
  bottom: 0;
  text-align: left;
  background: #222;
  height: 100px;
}


.user-gallery-thumb-metadata .row {
  margin: 0 0 5px 0;
}
.user-gallery-thumb-metadata input {
  border: 1px solid #aaa;
  width: 100%;
  display: block
}
.user-gallery-thumb-metadata .avatar-area {
  margin: 0 5px 0 0;
}
.user-gallery-thumb-metadata time {
  color: #aaa;
  margin: 0 0 0 3px;
  font: normal 1.1rem Tahoma, Arial, sans-serif;
}

.user-gallery-current-image {
  padding: 10px 0 0 0;
}
.user-gallery-current-image .item {
  position: relative;
  margin-bottom: 5px;
}

.user-image-frame-panel .post-comment-content-wrapper {
  padding-left: 0;
}
.user-image-frame-panel .comments-wall .user-avatar {
  position: static;
  margin-right: 10px;
}
.user-image-frame-panel .comment-anchor {
  display: block;
}
.user-image-frame-panel .comments-wall .avatar-image {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.user-image-frame-panel  .achievments {
  display: none;
}

.user-image-frame-footer {
  position: absolute;
  bottom: 0;
  background: none;
  text-align: center;
  padding: 20px 20px 10px 20px;
  width: 100%;
  font-size: 1.4rem;
}
.user-image-frame-footer .btn {
  margin: 0 3px !important;
  padding: 4px 8px !important;
}
.user-image-frame-footer .btn-standart {
  background-color: #242424;
  border-color: #2b2b2b;
  color: #fff;
  background-image: none;
  text-shadow: none;
  box-shadow: none;
  border-radius: 3px;
}
.user-image-frame-footer .btn .text {
  display: none;
}
.user-image-frame-footer .item {
  vertical-align: middle;
  color: #aaa;
}
.user-image-frame-footer .item .glyphicon {
  top: 3px;
}
.user-image-frame-footer .content-rating-area {
  margin: 0 10px;
  background: none;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  border: none;
}
.user-image-frame-footer .report-link {
  background-color: #2B2B2B;
  color: #eee;
  border: none;
}

.user-image-frame .loader-icon {
  font-size: 7rem;
  color: #ccc;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -35px 0 0 -35px;
  display: none;
}
.user-image-frame .user-image-frame-panel .loader-icon {
  font-size: 4rem;
  color: #bfbfbf;
  display: block;
  margin: -20px 0 0 -20px;
}

.user-image-frame-close {
  position: absolute;
  right: 15px;
  top: 10px;
  color: #888;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 13px;
}
.user-image-frame-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
.user-image-frame-next {
  position: absolute;
  width: 70%;
  right: 0;
  top: 0;
  bottom: 0;
  outline: 0 !important;
  padding: 0;
  color: #666;
}
.user-image-frame-prev {
  position: absolute;
  width: 30%;
  left: 0;
  top: 0;
  bottom: 0;
  outline: 0 !important;
  padding: 0;
  color: #666;
}
.user-image-frame-next:focus, .user-image-frame-prev:focus {
  color: #666;
}
.user-image-frame-next:hover, .user-image-frame-prev:hover {
  color: #fff;
}
.user-image-frame-ctrl .glyphicon {
  font-size: 3.6rem;
  position: absolute;
  top: 50%;
  margin: -20px 0 0 0;
  visibility: hidden;
}
.user-image-picture-content:hover .user-image-frame-ctrl .glyphicon {
  visibility: visible;
}
.user-image-frame-next .glyphicon {
  right: 10px;
}
.user-image-frame-prev .glyphicon {
  left: 10px;
}
.user-image-picture-content {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0 0 40px 0;
}



.user-image-frame-meta {
  overflow: hidden;
  line-height: 1.8
}
.user-image-frame-meta h1 {
  margin: 0;
  font-size: inherit;
  font-weight: normal;
  line-height: 1.8
}



.user-image-frame-content {
  position: absolute;
  padding: 0 350px 0 0;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.user-image-frame {
  position: fixed;
  background: #000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}


.user-image-picture {
  text-align: center;
  height: 100%;
  display: flex;
  width: 100%;
  justify-content: center;
}

.user-image-picture:after {
  content: "";
  display: inline-block;
  height: 100%;
  position: relative;
  vertical-align: middle;
}

.overlay-image {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  position: relative;
  width: auto;
  height: auto;
  align-self: center;
}
.overlay-image.inactive {
  display: none;
}

.user-image-frame .comments-posting-module {
  bottom: 0;
  right: 25px;
  margin: 0;
  position: fixed;
  width: 305px;
  padding: 50px 0 5px;
}

.user-image-frame-panel {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px 10px 10px 20px;
  overflow: auto;
}



.pix-galley-grid-info:not(:empty) {
  width: 180px;
  padding: 0 5px 5px;
}
.pix-galley-grid-info .tags {
  font: normal 1.1rem/1.2 Arial, sans-serif
}

.user-image-moved {
  width: 600px;
  height: 331px;
  background: url(../img/ui/content-blank-image.jpg) no-repeat center center;
  margin: 0 auto;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 100%;
}
.unmovable .move-option {
  display: none
}
/******************Кнопка понравилось от Playground***********************/

.pg-like-button .btn-content {
  cursor: pointer;
  color: #fff;
  line-height: 24px;
  display: inline-block;
  padding: 0 10px 0 6px;
  border-radius: 2px 0 0 2px;
  background: var(--main-color);
  font-weight: bold;
  vertical-align: middle;
  font-size: 12px;
  font-family: Arial, sans-serif;
}

.pg-like-button .glyphicon {
  margin: 0 5px 0 0;
  vertical-align: middle;
  color: #8E0707;
  font-size: 15px;
  top: -1px;
}

.pg-like-button:hover .btn-content {
  background: #c00;
}

.pg-like-button:hover .counter {
  background: #aaa;
}

.pg-like-button:hover .counter:before {
  border-color: rgba(192, 192, 192, 0) #aaa rgba(192, 192, 192, 0) rgba(192, 192, 192, 0);
}

.pg-like-button .btn-content:active {
  position: relative;
  top: 1px;
}

.pg-like-button:active .btn-content {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.6) inset;
}

.pg-like-button .counter {
  cursor: pointer;
  font-style: normal;
  min-width: 24px;
  text-align: center;
  display: inline-block;
  margin: 0;
  color: #fff;
  border-radius: 0 2px 2px 0;
  position: relative;
  vertical-align: middle;
  background: #a5a5a5;
  line-height: 24px;
  height: 24px;
}

.pg-like-button .value {
  padding: 0 5px 0 5px;
  font-size: 12px;
  font-family: Arial, sans-serif;
  vertical-align: top;
}

.pg-like-button.pushed .btn-content {
  color: #eee
}

.pg-like-button.pushed .glyphicon {
  color: #fff;
}

.pg-like-button.process .glyphicon {
  animation-name: process;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
.pg-like-button.pushed .btn-content {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.6) inset;
}
@keyframes process {
  from {
    color: #8E0707;
  }
  to {
    color: #fff;
  }
}

@media (max-width: 960px) {
  .user-image-frame-content {
    padding-right: 0
  }
  .user-image-frame-column {
    display: none;
  }
}
@media (max-width: 768px) {
  .pix-galley-grid .item {
    flex-basis: 25%;
  }
}
@media (max-width: 599px) {
  .pix-galley-grid .item {
    flex-basis: 50%;
  }
}
