.postage-border {
    border: 1px solid rgba(0, 0, 0, .2);
}

.payment-pp-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border-top: 1px solid #cccccc; */
}

.payment-pp-hint p {
    text-align: center;
    line-height: 24px;
    /* margin: 0 10px 15px; */
    margin: 0 10px 2.5rem
}

.payment-pp-hint img {
    /* width: 70px;
            height: 40px;
            margin: 2.5rem 0 10px; */

    width: 163px;
    height: 81px;
    margin: 2.5rem 0 1.1428571429em;
}

.payment-method-select {
    padding: 0 10px;
    height: 46px;
}

.payment-method-select-grid .payment-method-select-logo {
    border: none;
}

.payment-method-select-grid {
    border: 1px solid rgba(0, 0, 0, .2);
    border-bottom: none;
    /* border-radius: 4px; */
}

.custom-paypal-button {
    width: 100%;
    min-height: 55px;
    padding: 0 18px;
    border: 1px solid #f2ba36 !important;
    border-radius: 6px;
    background: #ffc439 !important;
    color: #111820 !important;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(17, 24, 32, .16);
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.custom-paypal-button.d-flex {
    display: flex !important;
}

.custom-paypal-button:hover {
    background: #f7b92e !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 6px rgba(17, 24, 32, .18);
    transform: translateY(-1px);
}

.custom-paypal-button:focus {
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(17, 24, 32, .16) !important;
}

.custom-paypal-button:active {
    background: #f0b323 !important;
    transform: translateY(0);
}

.custom-paypal-button:focus-visible,
.custom-paypal-button.btn:focus,
.custom-paypal-button.btn.focus,
.custom-paypal-button.btn:active:focus,
.custom-paypal-button.btn:not(:disabled):not(.disabled):active:focus {
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(17, 24, 32, .16) !important;
}

.custom-paypal-button img {
    width: 82px;
    max-width: none;
    flex: 0 0 auto;
}

.custom-paypal-button__label {
    font-size: 17px;
    font-weight: 700;
    color: #111820;
    white-space: nowrap;
}

.custom-paypal-button--label-paypal {
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.custom-paypal-button--label-paypal img {
    width: 96px;
}

.custom-paypal-button--label-buynow {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.custom-paypal-button--label-buynow img {
    width: 78px;
    order: 1;
}

.custom-paypal-button--label-buynow .custom-paypal-button__label {
    order: 2;
}

#btn-pay.custom-paypal-button,
#btn-pay.custom-paypal-button:hover,
#btn-pay.custom-paypal-button:active,
#payment-method-express-paypal_vault .custom-paypal-button,
#payment-method-express-paypal_vault .custom-paypal-button:hover,
#payment-method-express-paypal_vault .custom-paypal-button:active {
    background-color: #ffc439 !important;
    color: #111820 !important;
}

#payment-method-express-paypal_vault .custom-paypal-button,
#btn-pay.custom-paypal-button {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
}

.custom-paypal-panel {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.custom-paypal-panel p {
    margin-bottom: 0;
}

.custom-paypal-panel img {
    width: 102px;
    height: auto;
    margin: 0;
}

.example.example3 .fieldset {
    margin: 15px 20px;
}


@media screen and (min-width: 1023px) {
    .payment-pp-hint {
        padding: 0 4rem;
    }
}

@media screen and (max-width: 767.98px) {
    .payment-pp-hint p {
        margin: 0 30px 2.5rem;
    }

    .payment-pp-hint img {
        width: 102px;
        height: 52px;
    }

    .custom-paypal-panel {
        flex-direction: column;
    }
}

.order-form .agree-lable {
    font-weight: 500 !important;
}

#text_font {
    font-size: 25px;
    font-weight: 900 !important;
    font-style: italic;

}

@media screen and (max-width:768px) {
    #text_font {
        font-size: 18px;
    }
}

@media screen and (min-width:768px) and (max-width:1200px) {
    #text_font {
        font-size: 20px;
    }
}

#mask {
    width: 100vw;
    height: 100vh;
    /* background-color: rgba(0, 0, 0, .3); */
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 599;
}

.modal-main {
    width: 75vw;
    height: 80vh;
    position: fixed;
    top: 10vh;
    background-color: #fff;
    padding: 16px 18px;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%);
    display: none;
}

.modal-main .closeBox {
    display: flex;
    justify-content: flex-end;
}

.modal-main .closeBox svg {
    cursor: pointer;
}

.worldpay-iframe {
    height: 560px;
}

@media screen and (max-width: 1400px) and (min-width: 560px) {
    .worldpay-iframe {
        height: 820px;
    }
}

@media screen and (max-width: 560px) {
    .worldpay-iframe {
        height: 665px;
    }
}

.iframe-loading {
    position: relative;
    height: 500px;
}

.iframe-loading::before {
    background: url(../images/spinner-1s-200px.svg) 50% no-repeat #fff;
    background-size: 80px;
    border-radius: 6px;
    bottom: 1px;
    content: " ";
    left: 1px;
    opacity: .8;
    position: absolute;
    right: 1px;
    top: 1px;
    z-index: 101;
}
.modal-contents{
	overflow: auto;
	max-height: 72vh;
}
