.rb-creditcard {
    position:relative;
    display: inline-block;
    width: 100%;
    background-color: transparent;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    height: 35px;
    padding: 5px 10px;
    line-height: 1.3;
}
.rb-creditcard input {
    display: block;
    width: 100%;
    height: 35px;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    background-color: transparent;
    background-image: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 0;
    border-radius: 0;
    padding: 5px 40px 10px 10px;
    padding-right: 40px;
    -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;
}

.rb-creditcard:after {
    position: absolute;
    top: 4px;
    right:10px;
    color: #000000;
    font-family: FontAwesome;
    font-size: 22px;
}

.rb-creditcard.visa:after {
    content: '\f1f0';
}
.rb-creditcard.mastercard:after {
    content: '\f1f1';
}
.rb-creditcard.discover:after {
    content: '\f1f2';
}
.rb-creditcard.amex:after {
    content: '\f1f3';
}

.rb-creditcard.ng-valid:after {
    color: #50d814;
}
.rb-creditcard.ng-invalid:after {
    color: #c72f2f;
}

/* Buttons */
.rb-btn-row {
    text-align: right;
}

.rb-btn {
    border-radius: 0;
    height: 40px;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 30px;
    outline: 0;
}

.rb-btn.primary {
    color: #000000;
    border: 2px solid #ffffff;
    background-color: #ffffff;
}

.rb-btn.secondary {
    color: #ffffff;
    border: 2px solid #ffffff;
    background-color: transparent;
}