.pp-content {
  padding: 12px;
  position: relative;
  min-width: 276px;
}

.pp-content > .rcli,
.pp-popup > .rcli{
  position: absolute;
  right: 8px;
  top: 5px;
  font-size: 25px;
  color: #F44336;
  cursor:pointer;
}
.pp-content h2 {
  margin: 0 0 20px 0!important;
  padding: 0!important;
  width: 100%!important;
  text-align: center;
}

.pp-content .pp-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-height: 60vh;
  overflow-x: hidden;
  overflow-y: scroll;
  background: #fdfdfd;
  border: 1px solid gainsboro;
}

.pp-content .pp-present {
  width: 25%;
  min-width: 110px;
  max-width: 120px;
  margin: 10px 5px;
  text-align: center;
  min-height: 154px;
}
.pp-content .pp-present .present-img {
  width: 96px;
  height: 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.pp-content .pp-present .present-img img {
  max-width: 96px;
  max-height: 96px;
}

.pp-present .pp-info span {
  display: block;
  color: gray;
  font-size: 12px;
}

.pp-present .pp-info {
  margin: 10px 0;
}

.pp-content .pp-filter-type {
  float:right;
}
.pp-content .pp-list {
  position: relative;
}
.pp-content .pp-list .pp-empty-fix {
  width: 120px;
}
.pp-content .pp-list .pp-load {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffffc9;
}
.pp-content .pp-filter {
  margin: 8px 0;
}
.pp-content .pp-filter select {
  padding: 3px;
}
.pp-content .pp-empty {
  display: block;
  background: #f4433636;
  border: 1px solid #ffb8b8;
  color: #8c1c13;
  padding: 10px;
  text-align: center;
  margin: 20px 20px;
}
.pp-gift {
  min-width: 276px;
  max-width: 576px;
  width: 70vw;
}
.pp-gift img {
  max-width: 128px;
  display: block;
  margin: auto;
}
.pp-gift input {
  margin: 0 5px 0 5px;
}

.pp-gift .pp-send-gift {
  background: #65bf80;
  display: block;
  margin: 12px auto;
  width: 150px;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  color: #194626;
  text-shadow: 1px 1px 1px #9bdcae;
  border-radius: 5px;
  font-weight: bold;
  transition: all .3s;
}

.pp-gift .pp-send-gift:hover {
  background: #58b373;
  transition: all .3s;
  cursor: pointer;
}

.pp-unaccept img {
  max-width: 48px;
  display: block;
  margin: auto;
}

.pp-unaccept-list .rcl-table {
  max-height: 300px;
  overflow: auto;
}

.pp-accept-list {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.pp-accept-list .pp-present {
  width: 128px;
  height: 128px;
  margin: 20px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #fdfdfd;
  padding: 10px;
  border: 1px solid #ececec;
}

.pp-accept-list .pp-empty-fix {
  width: 190px;
}

.pp-accept-list .pp-present img{
  max-width: 128px;
  max-height: 128px;
}

.pp-accept-list .pp-present .pp-counter{
  position: absolute;
  top: 3px;
  right: 3px;
  background: #ffffff;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0px 0px 3px 0px darkgrey;
  color: black;
}

.pp-accept-present {
  margin-right: 15px;
}

.pp-popup {
  padding: 12px;
}

.pp-popup .pp-img {
  width: 96px;
  height: 96px;
  margin: 12px auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.pp-popup .pp-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pp-popup h2 {
  margin: 0 0 20px 0!important;
  padding: 0!important;
  width: 100%!important;
  text-align: center;
}

.pp-popup .pp-from-list {
  max-height: 200px;
  overflow: auto;
}

.pp-accept-list .pp-present:hover {
  cursor:pointer;
  opacity: .9;
}

.pp-popup .pp-from-list .not-author .rcl-table__cell:last-child {
  display: none;
}

.pp-load {
  margin: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pp-line {
  display: block;
  width: 100%;
  height: 0;
}

/**
* Последние подарки юзера
*/
.pp-last-user > p {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  color: white;
}

.pp-last-user .pp-last-user-list {
  display: flex;
  flex-wrap: wrap;
  margin: 6px 0;
  position: relative;
  justify-content: space-around;
}

.pp-last-user-list .pp-present {
  flex: 0 0 48px;
  max-width: 48px;
}

.pp-last-user-list .pp-present {
  margin: 6px;
}

.pp-last-user-list .pp-present img:hover {
  cursor: pointer;
  opacity: .7;
}

.pp-last-user-list .pp-present img {
  width: 100%!important;
  height: 100%!important;
  object-fit: contain;
}

/**
* Фиксы для ЛК
*/

.pp-last-user-list.lk {
  min-width: 200px;
}

/**
* Фиксы на форуме
*/
.pp-last-user-list.pf .pp-present {
  flex: 0 0 32px;
  max-width: 32px;
  margin: 6px 3px;
}

/**
* Фиксы в списке юзеров
*/
.pp-last-user-list.pp-userlist {
  clear: both;
  overflow: hidden;
  justify-content: flex-start;
}

.pp-last-user-list.pp-userlist .pp-present {
  margin: 6px 24px 6px 0;
}

.una_action .pp-image {
  display: inline-block;
  max-width: 48px;
}

@media screen and (min-width: 620px) {
  .pp-accept-list {
    justify-content: space-around;
  }
}