@media only screen and (min-width: 320px) and (max-width: 479px) {
    
    /* demo css */
    .checkpout {
        padding: 0px 15px;
    }
    .checkout .qt-container {
        padding: 60px 0px;
        background-size: 60px 60px, auto 8px;
        background-position: 94% 15%, 6% 26%;
    }

    .checkout > .qt-container > .text-section {
        padding: 0px 15px;
    }

    .checkout > .qt-container > .text-section .title {
        margin-bottom: 10px;
    }

    .checkout > .qt-container > .text-section img {
        height: 15px;
        margin-bottom: 20px;
    }

    .checkout > .qt-container > .text-section .amount {
        font-weight: normal;
    }

    .checkout > .qt-container > .product-section {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 0px 15px;
        margin-top: 30px;
    }

    .checkout .product-section > div {
        flex: 100%;
        width: 100%;
        text-align: center;    
    }

    .checkout .product-section > div > img {
        height: 180px;
    }

    .checkout .product-section > .right {
        flex: 100%;
        width: 100%;
        flex-direction: column;
        text-align: left;
        margin-top: 30px;
    }
    
    .checkout .product-section .payment-instruction > .instruction-box {
        display: flex;
        color: #987F51;
        padding: 15px;
    }
    
    .checkout .product-section .payment-instruction .instruction-icon {
        margin-right: 15px;
    }

    .checkout .product-section .payment-instruction p {
        line-height: 25px;
    }

    .checkout .product-section .checkout-form {
        width: 100%;
    }

    .checkout .product-section .checkout-form > label {
        display: block;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .checkout .product-section .checkout-form > input {
        display: block;
        width: 100%;
        font-family: 'cera_pro', Arial, Helvetica, sans-serif;
        font-size: 0.9rem;
        font-weight: normal;
        height: 50px;
        padding: 0px 15px;
        margin-bottom: 15px;
        border: 1px solid #cdcdcd;
        border-radius: 4px;
    }

    .checkout .product-section .checkout-form > input::placeholder {
        color: rgba(2, 4, 16, 0.5);
    }

    .checkout .product-section .checkout-form > input:hover {
        border: 1px solid var(--blue);
        outline: none;
    }

    .checkout .product-section .checkout-form > input:focus {
        border: 1px solid var(--blue);
        outline: none;
    }

    .checkout .product-section .checkout-form > .pay-btn{
        width: 100%;
    }

    .checkout .product-section .right > .doc-link {
        padding-top: 60px;
    }

    .checkout .product-section .right > .doc-link .description {
        font-size: 0.85rem;
        line-height: 25px;
    }

    .checkout .product-section .right > .doc-link .description > span a {
        color: var(--blue);
        text-decoration: none;
        cursor: pointer;
    }

    #checkout-popup{
        width: 100%;
        height: 100%;
        background-color: rgba(240, 247, 251,0.8);
        position: absolute;
        top: 0%;
        bottom: 0%;
    }

    #close-iframe{
        z-index: 9999999999;
        position: absolute;
        color: #F05050;
        top: 0;
        right: 0;
        font-size: xx-large;
        margin: 20px;
        border: none;
        background: none;
    }

    /* demo success */
    .checkout .product-section > .success {
        margin-top: 20px;
        padding: 20px;
        margin-right: 0px;
    }
    
    .checkout .product-section > .success p.description {
        padding: 0px;
    }
    
}

/* Tablets */
@media only screen and (min-width: 768px) and (max-width: 1023px) {

    .checkout .product-section > .right {
        flex: 100%;
        width: 100%;
        flex-direction: column;
        text-align: left;
        margin-top: 30px;
    }
    
    .checkout .product-section .checkout-form {
        width: 100%;
    }

    .checkout .product-section > .success {
        margin-top: 30px;
    }
}