@CHARSET "ISO-8859-1";

body.wc-braintree-body .wc-braintree-new-payment-method-container .panel {
    width: 80%;
    margin: 2em auto;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .bootstrap-basic {
    background: white;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .panel-body {
    width: 90%;
    margin: 2em auto;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .helper-text {
    color: #8A6D3B;
    font-size: 12px;
    margin-top: 5px;
    height: 12px;
    display: block;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .row {
    margin: 0 -15px 0 -15px;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .row * {
    box-sizing: border-box;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .row:before,
body.wc-braintree-body .wc-braintree-new-payment-method-container .panel-body:before,
body.wc-braintree-body .wc-braintree-new-payment-method-container .row:after,
body.wc-braintree-body .wc-braintree-new-payment-method-container .row:before {
    display: table;
    content: " ";

}

body.wc-braintree-body .wc-braintree-new-payment-method-container .row:after {
    clear: both;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group:not(.wc-braintree-save) {
    margin-bottom: 15px;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-12,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-8,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-6,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-4 {
    float: left;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-4,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-5,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-6,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-7,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-8,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-9,
body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-4 {
    width: 33.33333333%;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-6 {
    width: 50%;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-12 {
    width: 100%;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .col-xs-8 {
    width: 66.66666667%;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group label:not(.save-card-label):not(.wc-braintree-save-label) {
    max-width: 100%;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group label.save-card-label {
    font-weight: 700;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .has-success .control-label,
body.wc-braintree-body .wc-braintree-new-payment-method-container .has-success .control-label {
    color: #3c763d;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .has-warning .control-label,
body.wc-braintree-body .wc-braintree-new-payment-method-container .has-warning .control-label {
    color: #8a6d3b;
}

/* Braintree Hosted Fields styling classes*/
body.wc-braintree-body .wc-braintree-new-payment-method-container #braintree-hostedfields-container .form-group .braintree-hosted-fields-focused,
body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group .braintree-hosted-fields-focused,
body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group .braintree-hosted-fields-focused.braintree-hosted-fields-valid,
body.wc-braintree-body .wc-braintree-new-payment-method-container #braintree-hostedfields-container .form-group .braintree-hosted-fields-focused.braintree-hosted-fields-invalid,
body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group .braintree-hosted-fields-focused.braintree-hosted-fields-invalid {
    border: 1px solid #0275d8 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container #braintree-hostedfields-container .form-group .braintree-hosted-fields-invalid,
body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group .braintree-hosted-fields-invalid {
    border: 1px solid #8a6d3b !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(100, 100, 0, .6) !important;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .form-control.braintree-hosted-fields-valid,
body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group .braintree-hosted-fields-valid {
    border-color: #3c763d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

body.wc-braintree-body .small-container .row .form-group {
    width: 100%;
}

body.wc-braintree-body #wc-braintree-card-number {
    position: relative;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open {
    position: absolute;
    right: 5px;
    width: 44px;
    height: 28px;
    top: 50%;
    transform: translatey(-50%);
    -webkit-transform: translatey(-50%);
    -ms-transform: translatey(-50%);
    background-image: url('../../img/payment-method-sprites.png');
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.visa {
    background-size: 86px auto;
    background-position: 0 -429px;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.master-card {
    background-size: 86px auto;
    background-position: 0 -317px;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.discover {
    background-size: 84px auto;
    background-position: 0 -199px;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.diners-club {
    background-size: 110px auto;
    background-position: 0 -230px;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.maestro {
    background-size: 86px auto;
    background-position: 0 -289px;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.american-express {
    background-size: 86px auto;
    background-position: 0 -399px;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.jcb {
    background-size: 86px auto;
    background-position: 0 -261px;
}

body.wc-braintree-body .row .form-group .wc-braintree-card-type.open.unionpay {
    background-size: 86px auto;
    background-position: 0 -261px;
}

body.wc-braintree-body .row .form-group:last-child:nth-child(odd) {
    width: 100%;
}

body.wc-braintree-body .row .form-group input[type="checkbox"] {
    display: none;
}

body.wc-braintree-body .row .form-group input[type="checkbox"]:checked + label.wc-braintree-save-label:before {
    position: absolute;
    z-index: 999;
    top: 1px;
    left: 1px;
    width: 8px;
    height: 15px;
    content: "";
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #0275d8;
    border-bottom: 2px solid #0275d8;
    border-radius: 2px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    box-sizing: border-box;
}

body.wc-braintree-body .row .form-group input[type="checkbox"] + label.wc-braintree-save-label:after {
    background-color: #fff;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    display: inline-block;
    content: "";
    top: 0;
    width: 20px;
    height: 20px;
    z-index: 0;
    cursor: pointer;
    box-sizing: border-box;
}

body.wc-braintree-body .row .form-group input[type="checkbox"]:checked + label.wc-braintree-save-label:after {
    border: 1px solid #0275d8 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
}

body.wc-braintree-body .wc-braintree-new-payment-method-container .row .form-group .streetAddress input[type="text"] {
    height: 100%;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

@media ( max-width: 670px) {
    body.wc-braintree-body .wc-braintree-new-payment-method-container .form-group {
        width: 100% !important;
    }
}