﻿.mg-reward-modal {
    z-index: 99998;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.mg-reward-modal-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 1.5rem;
    width: 300px;
    max-width: 300px;
    height: 350px;
    border-radius: 0.5rem;
    z-index: 2;
}

.mg-reward-init {
    z-index: 9;
    background: none;
}

.mg-reward-result {
    z-index: 7;
    background: none;
}

.mg-reward {
    width: 270px;
    height: 350px;
    position: absolute;
}

.mg-reward-hide {
    opacity: 0;
}

.mg-reward-content {
    width: 270px;
    top: 0;
    position: absolute;
    text-align: center;
    padding: 0 50px;
    z-index: 9;
}

.mg-reward-prize-amount {
    position: absolute;
    top: 0;
    text-align: center;
    z-index: 7;
}

.mg-reward-show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.mg-reward-btn-play-again {
    position: absolute;
    text-align: center;
    width: 270px;
    top: 0;
    z-index: 2;
}

.mg-body-close {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    display: none;
    z-index: 1;
    position: fixed;
    cursor: default;
}

.mg-reward-show-modal .mg-body-close {
    display: block;
}


.mg-reward-modal-custom {
    z-index: 99998;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.mg-reward-modal-content-custom {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 1.5rem;
    width: 300px;
    max-width: 300px;
    height: 350px;
    border-radius: 0.5rem;
    z-index: 2;
}

.mg-reward-show-modal-custom {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.mg-body-close-custom {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    display: none;
    z-index: 1;
    position: fixed;
    cursor: default;
}

.mg-reward-show-modal-custom .mg-body-close-custom {
    display: block;
}

.mg-reward-init-custom {
    z-index: 9;
    background: none;
}

.mg-reward-result-custom {
    z-index: 7;
    background: none;
}