/* What is Afterpay modal */
#afterpay-what-is-modal  .afterpay-logo {
    margin: 10px auto 20px;
    display: table-caption;
}
/*#afterpay-what-is-modal  img.afterpay-modal-image-mobile{*/
    /*display: none;*/
/*}*/

#afterpay-learnmore {
    position: relative;
    line-height: 1.4;
    float: left;
    margin: 9px 0 0 4px;
    font-family: tradegothic-bondcontwenty;
    font-size: 15px;
    padding: 0px;
    /* border: 1px solid #e0e0e0; */
    width: 76%;
}

.afterpay-learnmore-content {
    border: 1px solid #e0e0e0;
    float: left;
    margin: 0 0 0 2px;
    width: 85%;
    padding: 3px;
}

#afterpay-learnmore .price {
    font-size: 18px;
    font-weight: bold;
    margin-right: 5px;
}

/* active for special price */
.afterpay-specialprice {
    width: 91% !important;
    top: -10px;
    margin: 0 !important;
    padding: 5px !important;
}

#afterpay-learnmore .learnmore {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.pretext {
    font-family: tradegothic-bondcontwenty;
    font-size: 14px;
    float: left;
    width: 12px;
    margin: 15px 0 0 0;
}

#afterpay-what-is-modal h3 {
    font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #404040;
    text-align: center;
    text-transform: uppercase;
}

#afterpay-what-is-modal .partner-text {
    display: none;
}

#afterpay-what-is-modal .afterpay-benefits {
    display: table;
}

#afterpay-what-is-modal .afterpay-benefits li {
    display: table-row;
}

#afterpay-what-is-modal .afterpay-benefits .image,
#afterpay-what-is-modal .afterpay-benefits .description {
    display: table-cell;
    vertical-align: middle;
    padding-bottom: 10px;
}

#afterpay-what-is-modal .afterpay-benefits .description {
    padding-left: 20px;
}

#afterpay-what-is-modal .afterpay-benefits img {
    width: 50px;
}

#afterpay-what-is-modal .afterpay-benefits h4 {
    font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #404040;
    margin: 0;
    text-transform: uppercase;
}

#afterpay-what-is-modal .afterpay-benefits p {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #838383;
}

#afterpay-what-is-modal .afterpay-footer h4 {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #404040;
    text-transform: none;
    text-align: center;
    margin: 15px 0 5px;
}

#afterpay-what-is-modal .afterpay-footer a {
    display: block;
    font-weight: bold;
    text-align: center;
}

#afterpay-what-is-modal .terms-and-conditions,
#afterpay-what-is-modal .terms-and-conditions a {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #A1A4A6;
}

#afterpay-what-is-modal .terms-and-conditions {
    text-align: center;
    margin-top: 30px;
}

#afterpay-what-is-modal .terms-and-conditions a {
    text-decoration: underline;
}

@media (min-width: 700px) {

    #afterpay-what-is-modal {
        width: 600px;
    }

    #afterpay-what-is-modal h3 {
        font-size: 24px;
    }

    #afterpay-what-is-modal .partner-text {
        display: block;
        padding: 0 50px;
        text-align: center;
        font-family: Arial, sans-serif;
        font-size: 14px;
        color: #636363;
        margin-bottom: 20px;
    }

    #afterpay-what-is-modal .afterpay-benefits {
        display: table-row;
    }

    #afterpay-what-is-modal .afterpay-benefits li {
        display: table-cell;
        padding: 0 15px;
    }

    #afterpay-what-is-modal .afterpay-benefits li:nth-child(2) {
        border-width: 1px;
        border-style: none solid;
        border-color: #e6e6e6;
    }

    #afterpay-what-is-modal .afterpay-benefits .image,
    #afterpay-what-is-modal .afterpay-benefits .description {
        display: block;
        text-align: center;
        padding: 0;
    }

    #afterpay-what-is-modal .afterpay-benefits img {
        width: auto;
        display: inline;
    }

    #afterpay-what-is-modal .afterpay-footer {
        margin-top: 40px;
        text-align: center;
    }

    #afterpay-what-is-modal .afterpay-footer h4,
    #afterpay-what-is-modal .afterpay-footer a {
        display: inline;
    }

    #afterpay-what-is-modal .afterpay-footer a {
        margin-left: 10px;
    }

    #afterpay-what-is-modal .terms-and-conditions {
        margin-top: 10px;
    }
}
@media only screen
and (max-width : 480px) {
    #afterpay-what-is-modal  img.afterpay-modal-image-mobile {
        display: block;
    }
    #afterpay-what-is-modal  img.afterpay-modal-image{
        display: none;
    }
}

/* Afterpay info in checkout */
#what-is-afterpay-trigger {
    margin-top: 0;
    margin-left: 0;
    float: none;
}

#afterpay-logo {
    height: 18px;
    float: none;
}

#dt_method_afterpaypayovertime span {
    margin-left: 10px;
}

#payment_form_afterpaypayovertime.form-list {
    padding-left: 0;
}

#payment_form_afterpaypayovertime .form-alt {
    display: inline-block; /* shrink-wrap the form, to make the footer align nicely */
}

#payment_form_afterpaypayovertime .total-due p {
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #A1A4A6;
    margin: 0 5px 0 0;
    text-transform: uppercase;
    float: left;
    height: 35px;
    line-height: 38px;
}

#payment_form_afterpaypayovertime .total-due span {
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 30px;
    height: 35px;
    line-height: 35px;
    color: #000000;
}

#payment_form_afterpaypayovertime .instalments {
    margin-bottom: 30px;
    position: relative;
}

#payment_form_afterpaypayovertime .instalments .header-text {
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 9px;
    color: #A1A4A6;
    margin: 10px 0;
    text-transform: uppercase;
    line-height: 20px;
}

#payment_form_afterpaypayovertime .instalments .cost,
#payment_form_afterpaypayovertime .instalments .icon,
#payment_form_afterpaypayovertime .instalments .instalment {
    display: table-row;
    position: relative;
}

#payment_form_afterpaypayovertime .instalments .icon:after {
    content: "";
    background: #f7f7f7;
    display: block;
    height: 1px;
    left: 30px;
    right: 30px;
    margin-top: -5px;
}

#payment_form_afterpaypayovertime .instalments li {
    display: table-cell;
    text-align: center;
    padding: 0 15px 0 7px;
    width: 27%;
}

#payment_form_afterpaypayovertime .instalments li:first-child {
    /*padding-left: 0;*/
}

#payment_form_afterpaypayovertime .instalments li:last-child {
    padding-right: 0;
}

#payment_form_afterpaypayovertime .instalments .cost {
    font-size: 14px;
    color: #379dd6;
}

#payment_form_afterpaypayovertime .instalments .icon img {
    width: 12px;
    display: inline;
    position: relative;
    z-index: 1;
}

#payment_form_afterpaypayovertime .instalments .instalment {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #A1A4A6;
}

#payment_form_afterpaypayovertime .instalment-footer {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #636363;
    text-align: center;
}

#payment_form_afterpaypayovertime .instalment-footer a {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #A1A4A6;
    text-decoration: underline;
}

@media (min-width: 560px) {
    .checkout-onepage-index #payment_form_afterpaypayovertime .instalments li {
        padding: 0 30px;
    }

    .checkout-onepage-index #payment_form_afterpaypayovertime .instalments .header-text {
        font-size: 12px;
    }

    .checkout-onepage-index #payment_form_afterpaypayovertime .instalments .cost {
        font-size: 25px;
    }
}

/* By default, only show the callout text on the default checkout */
#afterpay-callout {
    display: none;
}

.checkout-onepage-index #afterpay-callout {
    display: block;
    margin-left: 0;
}

/* AW_Onestepcheckout support */
#aw-onestepcheckout-payment-method #payment_form_afterpaypayovertime .instalments .header-text {
    height: auto;
    line-height: 1.5;
}

/* IWD_Opc support */
.opc-index-index #dt_method_afterpaypayovertime img {
    height: auto;
    display: inline-block;
    margin: 7px auto 0;
}

.opc-index-index #dt_method_afterpaypayovertime label a {
    display: none;
}

.opc-index-index #payment_form_afterpaypayovertime .form-alt {
    font-style: normal;
}

.opc-index-index #payment_form_afterpaypayovertime .instalments .header-text {
    height: auto;
    line-height: 1.5;
}

.opc-index-index #payment_form_afterpaypayovertime .instalments .cost li {
    color: #379dd6;
    padding: 0 10px;
    font-size: 20px;
}

.opc-index-index #payment_form_afterpaypayovertime .instalments .cost li:first-child {
    padding-left: 0;
}

.opc-index-index #payment_form_afterpaypayovertime .instalment-footer p {
    color: #636363;
    font-size: 11px;
}

.opc-index-index #payment_form_afterpaypayovertime .instalments .instalment li {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #A1A4A6;
}

.opc-index-index #payment_form_afterpaypayovertime .instalments li {
    padding: 0 20px;
}

/* GoMage Lightcheckout support */
#gcheckout-payment-methods-available #payment_form_afterpaypayovertime .instalments .header-text {
    height: auto;
    line-height: 1.55;
    margin-top: 10px;
}

/* Onetouch on cart page */
.method-afterpay_onetouch h3 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #379dd6;
    font-size: 15px;
    margin-bottom: 5px;
    text-transform: none;
}

.method-afterpay_onetouch p {
    font-size: 12px;
}

.method-afterpay_onetouch .button {
    margin-top: 10px;
    /*padding: 7px 30px 7px 30px;*/
}

.method-afterpay_onetouch .button img {
    display:block;
    width: 90px;
    height: 18px;
}

@media (min-width: 320px) and (max-width: 767px) {
    #afterpay-learnmore {
        width: 83% !important;
        margin: -6px 10px 10px 8px !important;
    }
    .pretext {
        margin: 0px 0 0 10px;
        font-family: tradegothic-bondcontwenty;
        font-size: 14px;
        float: left;
    }

    #afterpay-learnmore .price {
        font-size: 17px;
        font-weight: bold;
        margin-right: 5px;
        padding: 0 0 0 5px;
    }

    #afterpay-learnmore .learnmore {
        padding: 0 0 0 5px;
    }
}