.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    max-width: 80%;
    width: 600px;
    text-align: center;
    position: relative;
    z-index: 1;
}


iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}


.loading #main {
    opacity: .1
}

.spinner {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 10;
}

.spinner .spinWrap {
    width: 200px;
    height: 100px;
    position: absolute;
    top: 45%;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px
}

.framed .spinner {
    position: fixed
}

.framed .spinner .spinWrap {
    position: fixed;
    top: 50%;
    height: 75px;
    margin-top: -37.5px
}

.spinner .loader,
.spinner .spinnerImage {
    height: 100px;
    width: 100px;
    position: absolute;
    top: 0;
    left: 50%;
    opacity: 1;
    filter: alpha(opacity=100)
}

.spinner .spinnerImage {
    margin: 28px 0 0 -25px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AAABUklEQVR4Ae3VA4weQRjG8U9BbdttVMa1g7phbUY14to2opof/mEZq7bOPdu+91BzJ4ty5gn3fZLfztL1hy16sJ175COUEclZJuKzF2hLCEF4yln2cJxbFCKEMdo+YgSZlLCXTp8dq808YhF24rWDGEYRMfT5zqQOfoRD1onmpBFH6x9MvZxHmG4VOY3Q/yfz6rwkjbpWiNaUcc6gMxZhuRVkKcIQg46HeO5aQa6QZfw2cJIyqptH7vFYobUaoZt5JJzbCq2ZCD3MI5FKyHSNaOT/QxjKdSKIJJJi8ok0TApCHJFEcp+1eFWI3pSQAvjx85R7+A1znZj3/ScIm1SQ9ea/RLi5y2uV4m7E/E8IP5Ea0cgfjbCHfg4j1EHY7TRSVyP/J+LmLCP1G68RjfwKZBnCdHymiDaE80il2IgIxHTKmKx2PnVYzE52m8haerl+zyoHx7AmLA1+MtoAAAAASUVORK5CYII=') no-repeat
}

.spinner .loader {
    margin: 0 0 0 -55px;
    background-color: transparent;
    -webkit-animation: rotation .7s infinite linear;
    -moz-animation: rotation .7s infinite linear;
    -o-animation: rotation .7s infinite linear;
    animation: rotation .7s infinite linear;
    border-left: 5px solid #cbcbca;
    border-right: 5px solid #cbcbca;
    border-bottom: 5px solid #cbcbca;
    border-top: 5px solid #2380be;
    border-radius: 100%
}

.spinner .loadingMessage {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 125px;
    text-align: center;
    z-index: 100;
    outline: 0
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg)
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0)
    }
    to {
        -moz-transform: rotate(359deg)
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0)
    }
    to {
        -o-transform: rotate(359deg)
    }
}

@keyframes rotation {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(359deg)
    }
}

@media only screen and (max-width: 768px) {
    .spinner .spinWrap {
        width: 200px;
        height: 100px;
        /* 180 or 212 position: fixed;*/
        top: 40%;
        left: 50%;
        margin-left: -93px;
        /* length of half spinwrap width margin-top: - 50 px;
         length of half spinwrap height*/
    }
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

.payment-result__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 63px auto;
    background: #fff;
    padding: 0 15px;
}

.payment-btn {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.payment-btn .btn {
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.btn-checkout-primary {
    color: #fff;
    background-color: #2277c8;
}

.btn-checkout-secondary {
    color: #212529;
    background-color: #fff;
    border: 1px solid #212121;
}

.payment-btn__shop {
    width: 200px;
}

.payment-result__content {
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 31px;
    width: 100%;
    margin: 20px 0;
}

.payment-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px dashed #c8c8c8;
    color: #212121;
}

.payment-info__token {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
}

.payment-shipping {
    width: 100%;
    padding-top: 20px;
}

.btn {
    border: 1px solid transparent;
    cursor: pointer;
}

.payment-shipping__name {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
}

.payment-shipping__value {
    font-size: 14px;
    margin-bottom: 8px;
    color: #212121;
}

.payment-btn__order {
    width: 200px;
}

.box, ::after, ::before {
    box-sizing: border-box;
}

.msg-div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    width: 100%;
    margin: 20px 0;
    border: 1px solid #212121;
}

.payment-result__icon {
    font-size: 86px;
    color: #212121;
}

.iconfont {
    font-family: "iconfont", serif !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.holds-the-iframe {
    background: url("/wp-content/plugins/nextpay/assets/images/loading.gif") center center no-repeat;
    background-size: 100px;
}
