.eg-upgrade-ui {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width:100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #0003;
    z-index: 9999;
}

.eg-upgrade-ui .eg-upgrade-content-outside-wrapper {
    display: table;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.eg-upgrade-ui .eg-upgrade-content-inside-wrapper {
    display: table-cell;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.eg-upgrade-ui .eg-upgrade-content {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 10px 20px #0003;
    padding: 10px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 500px;
    height: auto;
    display: inline-block;
    position: relative;
}

.eg-upgrade-ui .eg-upgrade-close {
    position: absolute;
    right: -5px;
    top: -5px;
    line-height: 20px;
    font-size: 15px;
    text-align: center;
    color: #fff;
    background-color: #000;
    width: 20px;
    height: 20px;
    border-radius: 11px;
    cursor: pointer;
}

.eg-upgrade-ui .eg-upgrade-content .content {
    display: none;
}

.eg-upgrade-ui.ungated .eg-upgrade-content .content.ungated,
.eg-upgrade-ui.gated-free .eg-upgrade-content .content.gated-free,
.eg-upgrade-ui.gated-paid .eg-upgrade-content .content.gated-paid {
    display: block;
}

.eg-upgrade-ui .buttons .continue-button {
    border-radius: 10px;
    padding: 15px;
    font-weight: bold;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
    display: inline-block;
    margin: 0 auto;
    border: none;
}