
ul.card_logos {
    display: inline-block;
    margin: 0;
    padding: 0;
}

ul.card_logos li {
    margin-top: 5px;
}

.card_visa, .card_mastercard {
    display: inline-block;
    width: 50px;
    height: 30px;
    overflow: hidden;
    text-align: left;
    text-indent: -999px;
    background: url(../img/card_types.png) 0 0 no-repeat;
}

.payment-card_visa{
    background-position: -2px 0;
}

.payment-card_mastercard {
    background-position: -75px 0;
}

.new-card_visa, .new-card_mastercard {
    display: inline-block;
    width: 65px;
    height: 30px;
    overflow: hidden;
    text-align: left;
    text-indent: -999px;
    background-size: cover !important;
    background: url("https://d3llrj9jceo0wb.cloudfront.net/img/Visa&Master_sticktgt.png") 0 0 no-repeat;
}

.new-card_visa{
    background-position: -2px 0;
}

.new-card_mastercard {
    background-position: -75px 0;
}

.card_mastercard {
    background-position: -55px 0;
}

.card_amex {
    background-position: -110px 0;
}

.card_discover {
    background-position: -165px 0;
}

.card_diners {
    background-position: -220px 0;
}

.card_jcb {
    background-position: -660px 0;
}

.is_visa li, .is_mastercard li, .is_amex li, .is_discover li, .is_diners li, .is_jcb li, .is_nothing li {
    opacity: .2;
}

.is_visa li.card_visa, .is_mastercard li.card_mastercard, .is_amex li.card_amex, .is_discover li.card_discover, .is_diners li.card_diners, .is_jcb li.card_jcb {
    opacity: 1;
}
.bankselect , .method_select{
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.bankselect .logo, .method_select .logo {
    width: 100%;
    padding-top: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.bankselect .caption, .method_select .caption {
    word-break: break-all;
}
.bankselect.active, .method_select.active{
    background-color: #f1f1f1;
    border-color: #b21f2d;
    border-width: 4px;
}
.bankselect:hover, .method_select:hover{
    background-color: #f1f1f1;
}

#leftLogo {
    padding-left: 0;
}

body {
    background-color: #3276AC;
}

h1 {
    margin-top: 20px;
    margin-bottom: 0;
}

h1 span {
    margin-bottom: 10px;
    font-size: 20px;
}

h2 {
    margin-top: 10px;
    color: #3979b2;
}

h2 .text-info {
    color: #3979b2;
}

h3 {
    color: #3979b2;
}

.payment-target-title {
    font-size: 20px;
}

.merchant-name {
    font-size: 36px;
    color: #ec008a;
}

.payment-amount {
    color: #3979b2;
}

.submit-form-btn:hover {
    background-color: #ec008a;
    border-color: #ec008a;
}

form .has-feedback .form-control-feedback {
    top: 0;
    right: -16px;
    padding-right: 12px;
}

.help-block {
    margin-left: 5px;
    color: red;
}

#main-container {
    background-color: #FFF;
    padding-left: 30px;
    padding-right: 30px;
}

#main-form .glyphicon {
    top: 0;
}

#header {
    margin-bottom: 0px;
    margin-top: 30px;
}

#footer {
    padding: 60px 0 30px 0;
}

#billTo_state_ca, #billTo_state_us {
    display: none;
}

#loading {
    border: 0;
    margin: 2em 0.1em;
    display: none;
}

#merchant-logo {
    max-height: 80px;
}

.form .form-section:first-child {
    margin-top: 5px;
}

.form-section {
    margin: 20px 0px 25px 0px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.blockMsg {
    z-index: 1011;
    position: fixed;
    padding: 0px;
    margin: 0px;
    width: 40%;
    top: 40%;
    left: 30%;
    text-align: center;
    color: rgb(0, 0, 0);
    border: 1px solid #EEE;
    cursor: wait;
    background-color: #FFF;
}

.blockMsg #loading {
    display: block;
}

#main-container {
    visibility: hidden;
}

#payment-success {
    padding: 60px 0;
    text-align: center;
    display: none;
}

#success-logo {
    padding: 0 0 30px 0;
    font-size: 240px;
}

#main-form {
}

/* Dialog  */
#pay-dcc {
    display: none;
}

/* Help - Credit Card */
#help-credit-card .figure {
    background: url(../img/help_credit_card_600.png) left top no-repeat;
    background-size: 100%;
    width: 400px;
    height: 503px;
    margin: 30px 20% 30px auto;
    position: relative;
}

#help-credit-card .figure span {
    position: absolute;
    left: 400px;
    width: 120px;
    padding-left: 6px;
    background-color: #FFFFFF;
}

#help-credit-card .figure .number {
    top: 19.5%;
}

#help-credit-card .figure .cardholder {
    top: 47.5%
}

#help-credit-card .figure .cvv {
    top: 70.5%;
}

#help-credit-card .figure .expiry {
    top: 32.5%;
}

#header-content .merchant-info-hr {
    display:none;
}

#directdebit .term-hr {
    display: block;
}

.instruction-area .info-label {
    display: none;
}

#pay-local #btn-arrow {
    display: none;
}

@media (min-width: 768px) {
    .container {
        width: 768px;
    }
}

@media (max-width: 768px) {
    #help-credit-card .figure {
        width: 300px;
        height: 378px;
        margin: 30px 30% 30px auto;
    }

    #help-credit-card .figure span {
        left: 300px;
    }

    #help-credit-card .figure .number {
        top: 19%;
    }

    #help-credit-card .figure .cardholder {
        top: 47%
    }

    #help-credit-card .figure .cvv {
        top: 70%;
    }

    #help-credit-card .figure .expiry {
        top: 32%;
    }
}

@media (max-width: 480px) {
    #help-credit-card .figure {
        width: 250px;
        height: 315px;
        margin: 15px 30% 15px auto;
    }

    #help-credit-card .figure span {
        left: 240px;
    }

    #help-credit-card .figure .number {
        top: 18.5%;
    }

    #help-credit-card .figure .cardholder {
        top: 46.5%
    }

    #help-credit-card .figure .cvv {
        top: 69.5%;
    }

    #help-credit-card .figure .expiry {
        top: 31.5%;
    }
}

@media (max-width: 400px) {
    #help-credit-card .figure {
        width: 260px;
        height: 327px;
        margin: 15px auto;
    }

    #help-credit-card .figure span {
        left: auto;
        right: 0;
        font-size: 12px;
        text-align: right;
        background-color: transparent;
    }

    #help-credit-card .figure .number {
        top: 17%;
    }

    #help-credit-card .figure .cardholder {
        top: 45%
    }

    #help-credit-card .figure .cvv {
        top: 68%;
    }

    #help-credit-card .figure .expiry {
        top: 30%;
    }
}

/*adjust bank btn*/
.bank-btn.bank-active {
    border-color: #3276AC;
}