/**
 * Atome Payment Module for Magento 2
 *
 * @author Atome
 * @copyright 2020 Atome
 */

.checkout-payment-method .payment-method #atome-payment-method.payment-method-content {
    padding-right: 22px;
}

.checkout-payment-method .payment-method._active #atome-payment-method.payment-method-content {
    overflow:hidden
}

#atome-payment-method .payment-method-title label .atome-payment-image,.atome-new-user-off-image {
    vertical-align: middle;
    display: inline-block;
    margin-left: 6px;
    margin-top: -6px;
    height: 1.5em;
}

#atome-payment-method .atome-checkout-redirect{
    cursor:pointer !important;
}

#atome-payment-method .payment-method-title label .checkout-atome-logo {
    vertical-align: middle;
    display: inline-block;
    height: 18px;
    margin-bottom: 4px;
}

#atome-payment-method .payment-method-note {
    font-size: 1.2rem;
    color: #a0a0a0;
    text-align: center;
}

#atome-payment-method .payment-method-note h3 {
    color: #000000;
    font-size: 15px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 5px;
}

#atome-payment-method .payment-method-note h3 .atome_total_amount {
    color: #c92a48;
    font-size: 16px;
}

#atome-payment-method .payment-method-note ul {
    padding-left: 1rem;
    padding-right: 1rem;
}

#atome-payment-method .payment-method-note ul li {
    width: 30%;
    display: inline-block;
}

#atome-payment-method .payment-method-note ul.cost li {
    font-size: 14px;
    color: #000000;
    background: #fff6e9;
    border: 1px solid #ededed;
}

#atome-payment-method .atome-checkout-redirect {
    margin-top: 1rem;
    text-align: left;
    background-color: #f6f7f9;
    display: inline-block;
    padding: 15px;
}

#atome-payment-method .atome-checkout-eligible {
    display: none;
    padding: 5px 15px;
    border: 1px dashed #fbaf43;
    background-color: #f9f9f9;
    border-radius: 5px;
}

#atome-payment-method .atome-checkout-ineligible {
    display: none;
}

#atome-payment-method .atome-checkout-redirect .instalment-footer {
    width: 100%;
    float: left;
}
.atome-terms-conditions{
    color: #000dab;
}

.atome-mask {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
}

.atome-main {
    display: flex;
}

.atome-icon {
    cursor: pointer;
    pointer-events: auto;
}

.atome-main .right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    transform: none;
}

.atome-main img {
    background-color: #ffffff;
    opacity: 1;
}

.atome-price-divider{
    display: flex;
    margin: 10px 0 15px;
}


.atome-price-divider .atome-text-container{
    font-size: 16px;
    padding-top: 4px;
    padding-right: 5px;
}

@media only screen and (min-width : 992px) {
    #atome-payment-method .atome-checkout-redirect .instalment-footer {
        width: 57%;
    }

    .atome-main {
        height: 640px;
    }

    .atome-main .sub {
        width: 860px;
    }

    .atome-main .right .close {
        position: absolute;
        width: 20px;
        height: 20px;
        top: 10px;
        right: 20px;
        padding: 0;
        margin: 0;
        cursor: pointer;
        pointer-events: auto;
    }

    .atome-main .atome-intro-logo {
        width: 180px;
        margin: 46px 0 24px 0;
        height: 38px;
    }

    .atome-main .right .desc-container {
        width: calc(100% - 96px);
        padding: 0 48px;
        display: flex;
        justify-content: space-between;
        margin-top: 56px;
    }

    .atome-main .right .desc {
        width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .atome-main .right .desc img {
        width: 112px;
        height: 112px;
    }

    .atome-main .right .desc .text {
        margin-top: 10px;
        font-size: 16px;
        color: #878d9c;
        text-align: center;
        line-height: 1.75;
    }

    .atome-main .right .desc .text b {
        color: #141c30;
    }

    .atome-main .right .how-it-works {
        width: 240px;
        height: 48px;
        margin-top: 20px;
        border-radius: 4px;
        background-color: #f6ff7e;
        color: #131f37;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        text-decoration: none;
        font-weight: bold;
        font-size: 20px;
    }

    .atome-main .right .terms-conditions {
        width: 170px;
        height: 18px;
        font-family: GTWalsheimPro;
        font-size: 16px;
        font-weight: bold;
        letter-spacing: normal;
        text-align: center;
        color: #131f37;
        margin-top: 70px;
    }

    .atome-main .right .atome-third-tcs-wrapper {
        padding: 2em;
        overflow: scroll;
        word-break: break-word;
    }

    .atome-main .right .atome-third-tcs-wrapper h4 {
        font-size: 1em;
    }

    .atome-main .right .atome-third-tcs-wrapper .items-wrapper {
        padding-left: 2em;
    }

    .atome-love-it {
        font-size: 20px;
        font-weight: 500;
        font-size: 18px;
        color: #141c30;
        line-height: 30px;
    }

    .atome-no-wait {
        font-size: 16px;
        color: #878d9c;
        line-height: 30px;
        text-align: center;
    }

    .atome-main #atome-terms-conditions-container .close {
        right: 17px;
        pointer-events: auto;
    }

    .atome-main #atome-terms-conditions-container .back {
        width: 80px;
        display: flex;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .atome-main #atome-terms-conditions-container .back .arrow-back {
        width: 20px;
        height: 20px;
    }

    .atome-main #atome-terms-conditions-container .back span {
        width: 50px;
        height: 20px;
        font-family: GTWalsheimPro;
        font-size: 18px;
        font-weight: normal;
        letter-spacing: normal;
        text-align: center;
        color: #141c30;
    }

    .atome-main #atome-terms-conditions-container .atome-iframe-wrapper {   
        width: 860px;
        height: 600px;
        margin-top: 40px;
    }

    .atome-main #atome-terms-conditions-container .atome-iframe-wrapper iframe {   
        width: 100%;
        height: 100%;
        border: none;
    }
}

@media only screen and (min-width : 1200px) {
    #atome-payment-method .atome-checkout-redirect .instalment-footer {
        width: 100%;
    }
}

#atome-payment-method .actions-toolbar {
    float: right;
    margin-top: 1.5rem;
    margin-left: 0;
    line-height: 1.1;
    width: 100%;
    text-align: center;
}

@media only screen and (min-width : 992px) {
    #atome-payment-method .actions-toolbar {
        width: auto;
        margin-top: 0;
    }
}

@media only screen and (min-width : 768px) {
    #atome-payment-method .actions-toolbar .primary {
        width: 100%;
    }
}

.cart-summary .atome-checkout-note {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #000000;
    vertical-align: top;
}

.cart-summary .atome-checkout-note .atome-new-user-off-note {
    margin-top: 4px;
    display: inline-block;
}

.cart-summary .atome-checkout-note .atome-logo {
    height: 16px !important;
    display: inline-block;
    margin-top: 1.5px;
    margin-bottom: 6px;
    cursor: pointer;
    vertical-align: top;
}

/* Mobile */
@media only screen and (max-width: 991px) {
    #atome-payment-method .payment-method-note ul li {
        width: 30%;
    }

    #atome-payment-method .payment-method-note ul li span {
        font-size: 1.2rem;
    }

    
    .atome-main .left {
        display: none;
    }

    .atome-main .right {
        width: calc(100vw - 30px);
        height: 494px;
        background: #fff;
    }

    .atome-main .right .close {
        position: absolute;
        width: 16px;
        height: 16px;
        top: 12px;
        right: 15px;
        padding: 0;
        margin: 0;
        cursor: pointer;
        pointer-events: auto;
    }

    .atome-main .right .desc-container {
        margin-top: 20px;
    }

    .atome-main .right .desc {
        height: 56px;
        margin: 9px 0;
        display: flex;
    }

    .atome-main .right .desc img {
        width: 56px;
        height: 56px;
        margin: 0 15px 0 30px;
    }

    .atome-main .right .desc .text {
        width: 230px;
        height: 56px;
        font-size: 14px;
        font-weight: 600;
        color: #878d9c;
        margin-top: 10px;
        margin-right: 40px;
        position: inherit;
    }

    .atome-main .right .desc .text b {
        color: #141c30;
    }

    .atome-main .right .how-it-works {
        width: 270px;
        height: 44px;
        border-radius: 2px;
        background-color: #f6ff7e;
        color: #131f37;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 600;
        margin: 15px 0;
        text-decoration: none;
    }

    .atome-main .right .terms-conditions {
        width: 170px;
        height: 18px;
        font-family: GTWalsheimPro;
        font-size: 16px;
        font-weight: bold;
        letter-spacing: normal;
        text-align: center;
        color: #131f37;
        margin-top: 15px;
    }

    .atome-main .right .atome-third-tcs-wrapper {
        padding: 1em;
        overflow: scroll;
        word-break: break-word;
    }

    .atome-main .right .atome-third-tcs-wrapper h4 {
        font-size: 1em;
    }

    .atome-main .right .atome-third-tcs-wrapper .items-wrapper {
        padding-left: 1em;
    }

    .atome-main .atome-intro-logo {
        height: 40px !important;
        margin: 34px 0 20px 0;
    }

    .atome-love-it {
        font-size: 18px;
        color: #141c30;
        font-weight: bold;
        line-height: 30px;
    }

    .atome-no-wait {
        font-size: 13px;
        color: #878d9c;
        font-weight: bold;
        line-height: 30px;
        text-align: center;
    }

    .atome-main #atome-terms-conditions-container .close {
        right: 17px;
    }

    .atome-main #atome-terms-conditions-container .back {
        width: 80px;
        display: flex;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .atome-main #atome-terms-conditions-container .back .arrow-back {
        width: 20px;
        height: 20px;
    }

    .atome-main #atome-terms-conditions-container .back span {
        width: 50px;
        height: 20px;
        font-family: GTWalsheimPro;
        font-size: 18px;
        font-weight: normal;
        letter-spacing: normal;
        text-align: center;
        color: #141c30;
    }

    .atome-main #atome-terms-conditions-container .atome-iframe-wrapper {   
        width: 100%;
        height: 100%;
        margin-top: 40px;
    }

    .atome-main #atome-terms-conditions-container .atome-iframe-wrapper iframe {   
        width: 100%;
        height: 100%;
        border: none;
    }
}
