/* modal style */

.modal-rewardstable {
    max-width: 300px;
    width: 100%;
    border: "1";
}

.modal-window {
    position: fixed;
    background-color: rgb(63 62 62 / 76%);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    text-align: left;
}

.modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-window>div {
    /* width: 400px; */
    width: 75%;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    max-height: 83%;
    overflow-y: hidden;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    pointer-events: auto;
    background-clip: padding-box;
    border: 3px solid rgba(0, 0, 0, .2);
    border-radius: 0.7rem;
    outline: 0;
}

.modal-window .modal-header {
    border-bottom: 1px solid #a1a9b1;
    background-color: lightgrey;
}

.modal-window .modal-header>div {
    width: calc(100% - 33px);
}

.modal-window>div>div {
    overflow-y: auto;
    margin-top: 1px;
    border-radius: 0;
    border: 0;
    padding: 1rem 3rem;
}

.modal-window header {
    font-weight: bold;
    text-align: left;
}

.modal-window p {
    color: #212529 !important;
    text-align: left;
    margin-top: 12px;
}

.modal-window ul {
    color: #212529 !important;
    text-align: left;
}

.modal-window h1 {
    font-size: 150% !important;
    margin: 0 0 15px !important;
    color: #212529 !important
}

.modal-window h2 {
    font-size: 200% !important;
    margin: 0 0 15px !important;
    color: #212529 !important
}

.modal-close {
    color: #101010 !important;
    line-height: 50px;
    font-size: 120%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    text-decoration: none;
}

.modal-close:hover {
    color: black;
}


/* Demo Styles */

a {
    color: inherit;
}

.ModalContainer {
    display: flex;
    /* display: grid; */
    justify-content: left;
    align-items: center;
    /* height: 100vh; */
}

.modal-window div:not(:last-of-type) {
    margin-bottom: 1px;
}

small {
    color: lightgray;
}

.btn {
    background-color: white;
    padding: 1em 1.5em;
    border-radius: 1rem;
    text-decoration: none;
}

.btn i {
    padding-right: 0.3em;
}

@media (max-width: 768px) {
    .modal-window {
        z-index: 1111111;
    }
}