/**
* Стили для списка розыгрышей
*/
.plgames-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.plgames-list i {
  margin-right: 5px;
}
.plgames-list .plgame {
  min-width: 250px;
  background: white;
  margin: 10px;
  box-shadow: 0 0 2px black;
  max-width: 320px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 calc(33% - 20px);
}
.plgames-list .plgame .plgame-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.plgames-list .plgame .plgame-content {
  height: calc(100% - 150px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 10px;
}
.plgames-list .plgame .plgame-img img {
  width: 100%;
  object-fit: cover;
}
.plgames-list .plgame .plgame-descr {
  max-height: 120px;
  overflow-y: hidden;
}
.plgames-list .plgame .plgame-descr:hover {
  overflow-y: auto;
}

.plgames-list .plgame .plgame-name {
  font-size: 15px;
  margin: 10px 0;
  display: inline-block;
}

.plgames-list .plgame .plgame-bottom {
  margin: 5px 0;
}
.plgame .plgame-user-tickets {
  display: flex;
  flex-wrap: wrap;
}
.plgame .plgame-user-ticket {
  margin: 5px;
}
.plgame .plgame-user-ticket:first-child {
  margin-left: 0;
}
.plgame .plgame-user-ticket span {
  font-weight: bold;
  color: #9e9e9e;

}
.plgame .plgame-user-ticket.status-win span {
  color: #4CAF50;
}
.plgame .plgame-user-ticket.status-loose span {
  color: #F44336;
}
.plgame .plgame-bottom-content {
  margin: 10px 0;
}
.plgames-list .plgame .plgame-bottom-content .plgame-title {
  margin: 10px 0 0 0;
  padding: 5px 0;
  border-top: 1px solid white;
  box-shadow: 0 -1px 0 #ececec;
}

.plgames-list .plgame-info {
  position: absolute;
  right: 0;
  padding: 3px 5px;
  color: white;
  font-size: small;
  bottom: 0;
  display: flex;
}
.plgames-list .plgame-info > div {
  display: flex;
  align-items: center;
}
.plgames-list .plgame-info > div:not(:last-child) {
  margin-right: 8px;
}
.plgames-list .plgame.status-pending .plgame-info {
  background: #4c8cbd;
}
.plgames-list .plgame.status-active .plgame-info {
  background: #4cbd55;
}
.plgames-list .plgame.status-end .plgame-info {
  background: #bd4c4c;
}

/**
* Стили для окна розыгрыша
*/
#rcl-popup .plgame-popup p {
  margin: 5px 0;
}
.plgame-popup {
  width: calc(100% - 20px);
  padding: 10px;
}

.plgame-popup .plgame-popup-load {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #0000007d;
  top: 0;
  left: 0;
}
.plgame-popup .plgame-popup-load .rcli {
  position: absolute;
  left: calc(50% - 24px);
  top: calc(50% - 15px);
  color: black;
}
#rcl-popup .plgame-popup h2 {
  width: 100%;
  margin: 5px 0;
  padding: 5px 0;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 0 #ffffff;
}


.plgame-popup .plgame-buy-ticket {
  background: white;
  padding: 10px;
  margin: 20px 0 10px;
  border: 1px solid #e6e6e6;
  text-align: center;
  font-size: 13px;
}

.plgame-popup .pl-getticket-notice {
  margin-top: 10px;
  font-size: 13px;
  color: gray;
}

.plgame-popup .plgame-content {
  margin: 20px 0;
}

.plgame-popup .plgame-info {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
}

.plgame-popup .plgame-info > div:not(:last-child) {
  margin-right: 6px;
}

.plgame-popup .plgame > h3 {
  margin: 0 0 10px 0;
  padding: 0;
}

.plgame-popup .rcl-notice__title {
  text-align: center;
}


.plgame-popup .plgame-win-tickets {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.plgame-popup .plgame-close {
  position: absolute;
  top: 6px;
  right: 6px;
  color: red;
  font-size: 18px;
}

/**
* Навигация
*/

.plgames-nav {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.plgames-nav > div,.plgames-nav > span {
  margin: 0 5px;
}
.plgames-nav input {
  padding: 3px;
  width: 30px;
}

/**
* Multyple number
*/
.play-type-multy_number form {
  display: flex;
  flex-wrap: wrap;
}
.plgame-popup .mn-block {
  margin: 5px;
  background: #ffffff;
  padding: 5px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e6e6;
}

.plgame-popup .mn-block input {
  display: none;
}

/**
* GAME STANDART
*/
.plgame .plgame-standart-chance {
  font-size: 12px;
  opacity: .8;
}