/**
 * Magento 2 extensions for Afterpay Payment
 *
 * @author Afterpay
 * @copyright 2016-2021 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: #00a4e4;
    text-align: left;
}

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

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

#afterpaypayovertime-method .payment-method-note ul.cost li {
    font-size: 1.8rem;
    color: #153F72;
}

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

#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: 65%;
    }
}

#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 {
    vertical-align: middle;
    display: inline-block;
    height: 15px;
}

.afterpay_checkout_steps {
    background-size: 18px 18px;
    vertical-align: middle;
    display: inline-block;
    height: 18px;
    width: 18px;
}
.afterpay_checkout_steps_1 {
    background-image: url("https://static.afterpay.com/checkout/circle_1@2x.png");
}
.afterpay_checkout_steps_2 {
    background-image: url("https://static.afterpay.com/checkout/circle_2@2x.png");
}
.afterpay_checkout_steps_3 {
    background-image: url("https://static.afterpay.com/checkout/circle_3@2x.png");
}
.afterpay_checkout_steps_4 {
    background-image: url("https://static.afterpay.com/checkout/Circle_4@2x.png");
}
.checkout-methods-items button.btn-afterpay-checkout {
    padding: 13px 15px 10px 10px;
    width: 100%;
}
.checkout-payment-method #afterpaypayovertime-method .payment-icon{
	height:23px;
	width:auto;
}

.afterpay.primary {
  background-image: none;
  background: #000;
  border: 1px solid #000;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;

}
.afterpay.primary:focus,
.afterpay.primary:active,
.afterpay.primary:hover  {
  background: #000;
  border: 1px solid #000;
  color: #ffffff;
}

.afterpay.primary.disabled,
.afterpay.primary[disabled],
fieldset[disabled] .afterpay.primary {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

button.express-button {
    float:none;
    width: 267px;
    max-width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

button.afterpay.minicart.express-button {
    float:none;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    cursor: pointer;
    text-align:center;
}
