
.raffle-container {
    display: flex;
    width: 100%;
}

/* ===MODAL=== */

.modal {
  position: relative;
  z-index: 1000;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.9);
  padding: 36px;
  width: 600px;
  border-radius: 20px;
  border: 5px solid rgb(8, 112, 223);
}

.modal-title {
    font-size: 40px;
    color: #fff;
    padding: 0 0 20px 0;
    text-align: center;
    font-weight: bold;
}

.modal-case-buttons .back{
  float: right;
}

.modal-case-buttons .reopen:hover {
  color: rgb(8, 112, 223);
}

.modal-case-buttons .back:hover {
  color: rgb(8, 112, 223);
}

.modal-wp-name {
  font-size: 30px;
  font-family: ExoSoftMedium;
  text-align: center;
  color: rgb(8, 112, 223);
}

.modal-wp-raffle {
    width: 283px;
    height: 284px;
    line-height: 284px;
    margin: 0 auto;
    position: relative;
    padding-top: 30px;
}

.modal-wp-raffle img {
  vertical-align: middle;
  max-width: 283px;
  max-height: 284px;
  position: relative;
  z-index: 3;
  border-radius: 50%;
}

/* ===END=MODAL=== */

/*  ===RULET=== */

.rulet:after {
  background: url(../images/win_white.png) no-repeat 0 0;
  width: 197px;
  height: 296px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: calc(-320px / 2);
  margin-left: calc(-197px / 2);
  content: "";
  z-index: 2;
}

.rulet {
    height: 490px;;
    position: relative;
    margin-bottom: 30px;
}

.rul {
    height: 141px;
    background: rgb(8, 10, 25);
    margin: 0 10%;
    position: relative;
    top: 150px;
    overflow: hidden;
}

.rul:after {
  background: url(../images/l.png) no-repeat 0 0,
    url(../images/r.png) no-repeat right 0;
  width: 100%;
  height: 141px;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  z-index: 1;
}

.rul-ul {
  width: 99999px;
  position: relative;
  left: calc(50% - 1000px);
  transition: 9s;
}

.l2 {
  background: url(../images/l2.png) no-repeat 0 0;
  width: 736px;
  height: 519px;
  position: absolute;
  top: -20px;
  left: -50px;
  z-index: 3;
}

.r2 {
  background: url(../images/r2.png) no-repeat 0 0;
  width: 613px;
  height: 509px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
}

.rul-i-raffle {
  float: left;
  width: 140px;
  height: 120px;
  background: url(../images/global/giveaway/rul-giveaway.png) no-repeat 0 0;
  margin: 10px 15px 0 0;
  position: relative;
}

.item-chance-raffle {
  text-align: center;
}

.item-chance-raffle span {
  font-size: 16px;
}

.rul-wp-raffle {
  height: 75px;
  line-height: 75px;
  text-align: center;
}

.rul-wp-raffle img {
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
}

.rul-name {
  font-size: 15px;
  font-family: ExoSoftMedium;
  text-align: center;
  color: rgb(8, 112, 223);
}

/*  ===END=RULET=== */

/* ===BUY=RAFFLECOINS=== */
.buy-raffle-btn {
    float: right;
    z-index: 1;  
    position: relative;
}

.buy-raffle-btn a {
	display: inline-block;
    width: 250px;
    height: 40px;
    background: linear-gradient(to bottom, rgb(8, 112, 223), #0046a1);
    border-radius: 10px;
    font-family: ExoSoftLight;
    box-sizing: border-box;
    cursor: pointer;
}

.buy-raffle-btn a:hover {
    background: #0056d2;
}

.buy-raffle-btn span {
    font-family: ExoSoftMedium;
    display: block;
    position: relative;
    font-size: 20px;
    text-align: center;
    top: 7px;
    text-transform: uppercase;
}
/* ===END=BUY=RAFFLECOINS=== */

/* ===RAFFLE=DRAW=WINNER=== */
.raffle-draw-winner-btn {
    float: right;
    z-index: 1;  
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.raffle-draw-winner-btn a {
	display: inline-block;
    width: 250px;
    height: 40px;
    background: linear-gradient(to bottom, #3fd830, #1b7e10);
    border-radius: 10px;
    font-family: ExoSoftLight;
    box-sizing: border-box;
    cursor: pointer;
}

.raffle-draw-winner-btn a:hover {
    background: linear-gradient(to bottom, #1b7e10, #3fd830);
}

.raffle-draw-winner-btn span {
    font-family: ExoSoftMedium;
    display: block;
    position: relative;
    font-size: 20px;
    text-align: center;
    top: 7px;
    text-transform: uppercase;
}
/* ===RAFFLE=DRAW=WINNER=END=== */

/* ===RIFAS=== */
.raffle-top {
    width: 50%;
    min-height: 450px;
    height: auto;
    margin: 0 0 30px 0;
    padding: 15px 0 30px 0;
}


.raffle-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    text-align: center;
    width: 80%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
    border: 1px solid rgb(8, 112, 223);
    cursor: auto;
    margin: 0 auto;
}

.raffle-price {
    background: #f4a225;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: bold;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    width: 160px;
    margin: 0;
}

.raffle-title {
    font-size: 20px;
    font-family: ExoSoftMedium;
    position: relative;
    color: #c8d5f2;
    text-align: center;
    height: 50px;
    top: 25px;
    width: 80%;
    margin: 0 auto;
}

.raffle-prize-image {
    text-align: center;
    display: flex;
    justify-content: center;
}

.raffle-prize-image img {
    transition: 0.5s;
    max-width: 400px;
    max-height: 250px;
    height: auto;
}


.raffle-winner-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    text-align: center;
    width: 80%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
    border: 1px solid rgb(8, 112, 223);
    cursor: auto;
    margin: 30px auto;
}

.raffle-winner-number {
    background: #f4a225;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: bold;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    width: 160px;
    margin: 0;
}

.raffle-winner-name {
    font-size: 20px;
    font-family: ExoSoftMedium;
    position: relative;
    color: #c8d5f2;
    text-align: center;
    height: 30px;
    top: 25px;
}

.raffle-winner-image {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.raffle-winner-image img {
    transition: 0.5s;
    max-width: 400px;
    max-height: 250px;
    height: auto;
    border-radius: 100%;
}
/* ===END=RIFAS */

/* ===COMPRADORES=== */
.raffle-item-loop {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    margin-top: 20px;
    align-content: baseline;
}

.raffle-item {
    display: flex;
    align-items: center;
    background: #444;
    color: white;
    padding: 5px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    justify-content: space-between;
    width: 236px;
    box-sizing: border-box;
    height: 50px;
}

.raffle-item.user {
    background: #f4a225;
}

.raffle-item.bought {
    background: rgb(8, 112, 223);
}

.raffle-item.winner {
    background: green;
}

.raffle-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.raffle-item-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.raffle-item-text span:first-child {
    font-weight: bold;
    font-size: 18px;
    overflow: hidden;
	text-overflow: ellipsis;
}

.raffle-item-text span:last-child {
    font-size: 12px;
    opacity: 0.7;
}

.raffle-item-button {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.raffle-item-button span {
    font-weight: bold;
    font-size: 18px;
    overflow: hidden;
	text-overflow: ellipsis;
}

.raffle-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ===END=COMPRADORES=== */