body {
    overflow: visible;
    background: url('/img/content-bg.jpeg');
}

.header {
    text-align: center;
    padding: 25px;
}

.header img {
    max-width: 100%;
}

/* Preloader */
#preloader {
    display: none;
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:99; /* makes sure it stays on top */
}

#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:50%; /* centers the loading animation vertically one the screen */
    background-image:url('../img/preloader.gif'); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:-100px 0 0 -100px; /* is width and height divided by two */
}

.container{
    margin-top: 15px;
    max-width: 450px;
}

.langs {
    margin-bottom: 10px;
    text-align: right;
    cursor: pointer;
}

.lookup-form{
    width: 200px;
    margin: 0 auto;
}

.creditly-card-form,
.lookup-form{
    border: 1px solid rgba(0,0,0,.15);
    padding: 25px;
    background-color: #fff;
    line-height: 16px;
}

.creditly-card-form .submit,
.lookup-form a.submit,
.lookup-form .submit{
    background-color: #2380ba;
    border: none;
    width: 100%;
    height: 40px;
    color: #fff;
    cursor: pointer;
    margin-top:10px;
}

.lookup-form a.submit{
    display: block;
    text-align: center;
    padding-top: 7px;
}
.submit:hover{
    background: #1c8acc;
}

.submit:disabled{
    background: grey;
}
.lookup-form a.submit:hover{
    color: #fff;
}

.creditly-card-form .invalid{
    border-color: #e5111a;
    color: #e5111a;
}

.control-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.checkbox {
    font-size: 14px;
    padding: 0 15px;
}

.checkbox label {
    position: relative;
    top: -12px;
    display: block;
    left: 25px;
    max-width: 320px;
    margin-bottom: -9px;
}

.checkbox input {
    margin-right: 15px;
    position: relative;
    top: 5px;
}

.checkbox input,
.checkbox label {
    cursor: pointer;
}

.commission {
    font-size: 13px;
}

.acceptence {
    padding: 15px;
    margin-top: -15px;
    font-size: 14px;
}

.error {
    /*color: #e5111a;*/
}

.error input{
    border: 1px solid #e5111a;
    color: #e5111a;
    background-image: url("../img/error.png");
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: 15px;
}

.error-message {
    display: none;
}

.error .error-message {
    color: #e5111a;
    display: block;
    font-size: 11px;
    width: 100%;
    clear: both;
}

.valid input{
    border: 1px solid #41ad49;
    color: #2d9c35;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaWQ9IkxheWVyXzEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM0MUFENDk7fQo8L3N0eWxlPjxnPjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iNDM0LjgsNDkgMTc0LjIsMzA5LjcgNzYuOCwyMTIuMyAwLDI4OS4yIDE3NC4xLDQ2My4zIDE5Ni42LDQ0MC45IDE5Ni42LDQ0MC45IDUxMS43LDEyNS44IDQzNC44LDQ5ICAgICAiLz48L2c+PC9zdmc+);
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: 15px;
}

#errors {
    text-align: center;
    color: #e5111a;
    margin-top: -5px;
    margin-bottom: 5px;
}

.acceptence >div+div {
    margin-top: 10px;
}

.creditly-card-form input,
.lookup-form input{
    border-radius: 0;
    font-size: 14px;
}

.creditly-card-form .form-group,
.lookup-form .form-group{
    margin-bottom: 10px;
}

.creditly-card-form .value {
    font-size: 14px;
}

.card-type{
    display: none;
    text-align:right;
    margin-top:10px;
    margin-right:10px;
    min-height:20px;
    margin-bottom:-15px
}

.currency {
    font-size: 11px;
    color: grey;
    padding: 0 15px;
    margin-bottom: 15px;
    width: 100%;
}

.currency .curr-total{
    font-size: 14px;
    float: right;
    display: inline-block;
    margin-top: 2px;
    color: #333030;
}

#error-limit-message {
    display: none;
    font-size: 10px;
    line-height: 12px;
}

#error-limit-message.active {
    display: block;
}

#amount-block{
    /*display: none;*/
}
#accInfo{
    height: 80px;
    resize: none;
    overflow: hidden;
    border-radius: 0;
    line-height: 16px;
}
input[type=tel]#cvc {
    text-security: disc;
    -webkit-text-security: disc;
    -moz-text-security: disc;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.footer__logo{
    width: 100%;
    max-width: 800px;
    min-width: 320px;
    margin: 50px auto;
    text-align: center;
}

.footer__logo .footer__logo_link {
    display: inline-block;
    text-align: justify;
    vertical-align: middle;
}

.footer__logo img{
    max-width: 100%;
    width: auto;
    max-height: 40px;
    margin: 5px;
}

.logo{
    text-align: center;
}

.logo img{
    text-align: center;
    width: 200px;
    margin: 0 auto 15px;
}
@media screen and (prefers-color-scheme: light) {
    .creditly-card-form,
    .lookup-form{
        border: 1px solid rgba(0,0,0,.15);
        padding: 25px;
        background-color: #fff;
        line-height: 16px;
    }
}
@media (prefers-color-scheme: light) {
    .creditly-card-form,
    .lookup-form{
        border: 1px solid rgba(0,0,0,.15);
        padding: 25px;
        background-color: #fff;
        line-height: 16px;
    }
}


@media screen and (prefers-color-scheme: dark) {
    .creditly-card-form,
    .lookup-form{
        border: 1px solid rgba(0,0,0,.15);
        padding: 25px;
        background-color: #fff;
        line-height: 16px;
    }
}

@media (prefers-color-scheme: dark) {
    .creditly-card-form,
    .lookup-form{
        border: 1px solid rgba(0,0,0,.15);
        padding: 25px;
        background-color: #fff;
        line-height: 16px;
    }
}
