@font-face {
    font-family: 'CeraPro-Regular';
    src: url('../../font/CeraPro-Regular.eot');
    src: local('CeraPro-Regular'), local('CeraPro-Regular'), url('../../font/CeraPro-Regular.eot?#iefix') format('embedded-opentype'), url('../../font/CeraPro-Regular.woff') format('woff'), url('../../font/CeraPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'CeraPro';
    src: url('../../font/CeraPro-Bold.eot');
    src: local('CeraPro'), local('CeraPro'), url('../../font/CeraPro-Bold.eot?#iefix') format('embedded-opentype'), url('../../font/CeraPro-Bold.woff') format('woff'), url('../../font/CeraPro-Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* ---- CARDS -------------- */
#cardto_icon, #cardfrom_icon {
    display: block;
    margin: 0px;
    height: 44px;
    width: 72px;
    padding: 6px;
    border-radius: 8px;
    position: absolute;
    left: 6px;
    top: 6px;
}

.type-belveb, .type-other {
    height: 44px !important;
    width: 72px !important;
    padding: 0px !important;
}

.type-belveb {
    content: url("../../img/payment-bveb.svg");
}

.type-other {
    content: url("../../img/payment-other.svg");
}

.type-amex {
    content: url("../../img/payment-amex.svg");
}

.type-belkart {
    content: url("../../img/payment-belkart.svg");
}

.type-jcb {
    content: url("../../img/payment-jcb.svg");
}

.type-maestro {
    content: url("../../img/payment-maestro.svg");
}

.type-mastercard {
    content: url("../../img/payment-mastercard.svg");
}

.type-mir {
    content: url("../../img/payment-mir.svg");
}

.type-unionPay {
    content: url("../../img/payment-unionPay.svg");
}

.type-visa {
    content: url("../../img/payment-visa.svg");
}

body {
    background-color: #F5F5F9;
    max-width: 679px;
    margin: auto;
    padding: 0px;
}

*:focus {
    outline: none;
}

/* ---- INPUT NUMBER -------------- */
input:not([type='checkbox'])::placeholder {
    font-family: 'CeraPro-Regular';
    font-size: 16px;
    line-height: 18px;
    font-style: normal;
    /* font-weight: 300; */
    letter-spacing: -0.05px;
    color: #C3C2D3 !important;
}

input:not([type='checkbox']) {
    font-family: 'CeraPro';
    font-size: 16px;
    line-height: 18px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.05px;
    height: 56px;
    padding: 16px 12px 16px 16px;
    border-radius: 12px;
    border: 1px solid #E7E7F0 !important;
    background: #FFF;
    text-align: left !important;
}

input:not([type='checkbox']).no-border, div.no-border {
    border: unset !important;
    border-radius: unset;
}

input:read-only {
    cursor: default;
}

#cardexp, #cardcvc_mask {
    width: 98px;
    height: 56px;
    margin-left: 8px;
}

/* ---- BUTTON -------------- */
button {
    height: 54px;
    padding: 18px 64px;
    font-family: 'CeraPro-Regular';
    font-size: 16px;
    line-height: 18px;
    color: #FFFFFF;
    background: #6177F3;
    box-shadow: 0px 5px 20px rgba(97, 119, 243, 0.24);
    border-radius: 16px;
    border: none;
}

    button:disabled {
        background: #AFBAF9;
    }

    button:active:not([disabled]) {
        background: #1942AE;
    }

/* ---- CHECKBOX -------------- */
.confirmation {
    line-height: 16px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    height: 32px;
    margin-top: 29px;
}

.confirmation-checkbox {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
    height: 20px;
    width: 20px;
}

.confirmation-checkbox label {
    position: absolute;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    height: 20px;
    width: 20px;
    left: 0;
    top: 0;
}

.confirmation-checkbox label:after {
    position: absolute;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 5px;
    width: 10px;
    left: 5px;
    top: 6px;
    opacity: 0;
    transform: rotate(-45deg);
}

.confirmation-checkbox input[type="checkbox"] {
    position: absolute;
    visibility: hidden;
    height: 20px;
    width: 20px;
}

.confirmation-checkbox input[type="checkbox"]:checked + label {
    background-color: #6177F3;
    border-color: #6177F3;
}

.confirmation-checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.confirmation-text {
    margin-left: 13px;
    display: flex;
    align-items: center;
}

.confirmation-text label {
    font-family: "CeraPro-Regular";
    color: #333740;
}

.confirmation-text a {
    color: #6177F3;
    text-decoration: none;
}

/* ---- TEXT -------------- */

.bigtext {
    font-family: "CeraPro";
    font-size: 20px;
    line-height: 18px;
    margin-left: 8px;
    color: #333740;
}

.bigtext-light {
    font-family: 'CeraPro-Regular';
    font-size: 16px;
    line-height: 18px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.05px;
    margin-left: 8px;
    margin-top: 16px;
    color: #767A89;
}

.smalltext {
    font-size: 12px;
    font-family: 'CeraPro-Regular';
    line-height: 14px;
    color: #767A89;
    margin-left: 8px;
}

/* ---- Containers -------------- */
.from, .to, .amount {
    margin-top: 24px;
}

.to-input, .from-input {
    position: relative;
}

.from-container, .to-container, .amount-container {
    background: #FFFFFF;
    border: 1px solid #F0F0F6;
    box-shadow: 0px 5px 20px rgba(75, 81, 108, 0.03);
    border-radius: 16px;
    padding: 16px;
    margin-top: 8px;
}

.amount-container {
    border-radius: 12px;
    margin-bottom: 4px;
    padding: 16px 12px 16px 16px;
}

#amount, #currency {
    /* font-family: 'CeraPro';
    font-size: 16px;
    line-height: 18px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.05px; */
    color: #C3C2D3;
    height: 24px;
    padding: 0px !important;
}

#currency {
    width: 60px;
}

    #amount.active, #currency.active {
        color: #333740;
    }

.amount-container label {
    font-family: 'CeraPro-Regular';
    font-size: 16px;
    line-height: 18px;
    color: #C3C2D3;
}

.amount span {
    font-size: 12px;
    font-family: 'CeraPro-Regular';
    line-height: 14px;
    color: #767A89;
    margin-left: 8px;
}

input.error, div.error, label.error {
    border: 1px solid #EB4254 !important;
}

.error-text {
    color: #EB4254 !important;
}

form {
/*    height: 100vh;
    min-height: 620px;*/
    position: relative;
}

.mobile {
    position: absolute;
    padding-left: 32px !important;
    bottom: -70px;
    left: 0;
}
