/**
 * Magento 2 extensions for Afterpay Payment
 *
 * @author Afterpay
 * @copyright 2016-2019 Afterpay https://www.afterpay.com
 */

/** afterpay.css */
.checkout-payment-method .payment-method #afterpaypayovertime.payment-method-content {
    padding-right: 22px;
}

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

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

#afterpaypayovertime-method .payment-method-note h3 {
    color: #000;
    text-align: left;
    font-size: 15px;
    margin-top: 5px;
    text-align: left;
}

#afterpaypayovertime-method .payment-method-note ul {
/*    padding-left: 1rem;
    padding-right: 1rem;*/
    padding-left: 0;
    padding-right: 0;
    display: table-row;
    position: relative;
    margin: 5px 2px 15px;
}

#afterpaypayovertime-method .payment-method-note ul li {
/*    width: 24%;
    display: inline-block;*/
    display: table-cell;
    text-align: center;
    padding: 2px 5px;
    font-size: 11px;
    color: #000;
}

#afterpaypayovertime-method .payment-method-note ul.cost li {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

#afterpaypayovertime-method .afterpay-checkout-redirect {
    margin-top: 1rem;
    text-align: left;
    display: inline-block;
    padding: 10px 0 10px !important;
    font-size: 12px;
}

#afterpaypayovertime-method .afterpay-checkout-redirect .instalment-footer {
    width: 100%;
    float: left;
}

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

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

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

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

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

.modal-popup.afterpay-learn-more .modal-inner-wrap {
    width: 360px !important
}

@media only screen and (min-width : 992px) {
    .modal-popup.afterpay-learn-more .modal-inner-wrap {
        width: 659px !important
    }
}

.modal-popup.afterpay-learn-more .modal-inner-wrap .modal-footer button{
    display: none;
}

.modal-popup.afterpay-learn-more .action-close {
    padding: 1.75rem !important;
}

.afterpay_instalments_logo {
    background-image: url("../images/afterpay_logo.png");
    background-size: 100px;
    vertical-align: middle;
    display: inline-block;
    height: 25px;
    width: 100px;
    background-repeat: no-repeat;
}

.afterpay_checkout_steps {
    background-size: 16px 16px;
    vertical-align: middle;
    display: inline-block;
    height: 16px;
    width: 16px;
}

.afterpay_checkout_steps_1 {
    background-image: url("../images/circle_1@2x.png");
}
.afterpay_checkout_steps_2 {
    background-image: url("../images/circle_2@2x.png");
}
.afterpay_checkout_steps_3 {
    background-image: url("../images/circle_3@2x.png");
}
.afterpay_checkout_steps_4 {
    background-image: url("../images/circle_4@2x.png");
}

.checkout-methods-items button.btn-afterpay-checkout {
    padding: 13px 15px 10px 10px;
    width: 100%;
}
.checkout-methods-items .aftrpay-wdgt{
    height: 70px;
    padding: 10px 0;
    background: #fff;
    margin: 0px 0 10px;
}
.checkout-methods-items .afterpay-modal-popup-trigger {
    float: left;
    width: 100%;
}
.checkout-methods-items .afterpay-cart-txt{
    font-family: 'Raleway-SemiBold';
    font-size:13px;
    float: left;
    width: 100%;
}
#afterpaypayovertime-method .payment-method-title img{
    width: 30%;
    margin-top: 0 !important;
    margin-left: 0px;
}
.payment-method-content.afterpay-checkout-redirect .instalment-footer a{
    color: #996633;
}
.payment-method-content.afterpay-checkout-redirect .instalment-footer a:hover{
    text-decoration: underline;
}
#afterpaypayovertime-method .payment-icon{
    background-image: url("../images/afterpay-logo.svg");
    width: 170px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: 170px;
    margin-top: -4px;
    margin-left: 0;
}
#afterpaypayovertime-method .payment-method-title{
    line-height: 23px;
}
