@font-face {
  font-family: 'cardfont';
  src: url('/static/cc.ttf')  format('truetype'); /* Safari, Android, iOS */
}

@font-face {
  font-family: 'cvcfont';
  src: url('/static/text-security-disc.ttf')  format('truetype'); /* Safari, Android, iOS */
}

.card-payment-wrapper {
    width: 364px;
    height: 228px;
    position: relative;
}

.billing-details-wrapper {
    width: 364px;
}

.card-payment-wrapper input {
    letter-spacing: 2px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    text-transform: uppercase;
}

.card-front, .card-back {
    width: 364px;
    height: 228px;
    position: absolute;
}

.card-front {
    top: 0;
    left: -55px;
    z-index: 10;
}

.card-back {
    top: 20px;
    left: 55px;
    z-index: 9;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.3)!important
}

.magnetic-strip {
    height: 38px;
}

@media (max-width: 768px) {
    .card-payment-wrapper {
        position: static;
        height: auto;
    }

    .card-back, .card-front {
        position: static;
    }
}

@media (max-width: 576px) {
    .billing-details-wrapper {
        width: auto;
    }
}

.embed-responsive {
    padding-bottom: 25rem;
}

.form-control:focus {
    box-shadow: none;
    /* border-color: #80bdff!important; */
    transition: border-color 0.5s ease-in-out, box-shadow .15s ease-in-out!important;
}

#card-payment-form label {
    text-transform: uppercase;
}

.visa, .mastercard {
    width: 60px;
}

.card-brand-wrapper {
    height: 40px;
}

.card-number-placeholder {
    opacity: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: -2px;
    pointer-events: none;
    padding: 8px 17px;
    border: 1px solid rgba(0, 0, 0, 0);
}

.card-number-wrapper {
    position: relative;
    font-family: cardfont;
    font-size: 16px;
    text-align: center;
    letter-spacing: 3px;
    font-weight: normal;
}

#cardNumber {
    padding: 8px 17px;
    letter-spacing: inherit;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

#securityCode {
    font-family: cvcfont;
}

.securityCode-hint {
    opacity: 0.6;
    line-height: 0.9rem;
}

.padding {
    position: relative;
    opacity: 0;
}

.placeholder {
    position: absolute;
}

#verification-error {
    opacity: 0;
    min-height: 1rem;
}