@font-face {
    font-family: 'almoni-tzar';
    font-weight: 700; /*(bold)*/
    font-style: normal;
    src: url('AlmonFont/almoni-tzar-aaa-700.eot');
    src: url('AlmonFont/almoni-tzar-aaa-700.eot?#iefix') format('embedded-opentype'), url('AlmonFont/almoni-tzar-aaa-700.woff') format('woff'), url('AlmonFont/almoni-tzar-aaa-700.ttf') format('truetype');
}

@font-face {
    font-family: 'almoni-tzar';
    font-weight: 100; /*(thin)*/
    font-style: normal;
    src: url('AlmonFont/almoni-tzar-aaa-100.eot');
    src: url('AlmonFont/almoni-tzar-aaa-100.eot?#iefix') format('embedded-opentype'), url('AlmonFont/almoni-tzar-aaa-100.woff') format('woff'), url('AlmonFont/almoni-tzar-aaa-100.ttf') format('truetype');
}

@font-face {
    font-family: 'almoni-tzar';
    font-weight: 200; /*(extra-light)*/
    font-style: normal;
    src: url('AlmonFont/almoni-tzar-aaa-200.eot');
    src: url('AlmonFont/almoni-tzar-aaa-200.eot?#iefix') format('embedded-opentype'), url('AlmonFont/almoni-tzar-aaa-200.woff') format('woff'), url('AlmonFont/almoni-tzar-aaa-200.ttf') format('truetype');
}

@font-face {
    font-family: 'almoni-tzar';
    font-weight: 300; /*(light)*/
    font-style: normal;
    src: url('AlmonFont/almoni-tzar-aaa-300.eot');
    src: url('AlmonFont/almoni-tzar-aaa-300.eot?#iefix') format('embedded-opentype'), url('AlmonFont/almoni-tzar-aaa-300.woff') format('woff'), url('AlmonFont/almoni-tzar-aaa-300.ttf') format('truetype');
}

@font-face {
    font-family: 'almoni-tzar';
    font-weight: 400; /*(regular)*/
    font-style: normal;
    src: url('AlmonFont/almoni-tzar-aaa-400.eot');
    src: url('AlmonFont/almoni-tzar-aaa-400.eot?#iefix') format('embedded-opentype'), url('AlmonFont/almoni-tzar-aaa-400.woff') format('woff'), url('AlmonFont/almoni-tzar-aaa-400.ttf') format('truetype');
}

body {
    font-family: almoni-tzar, sans-serif;
    padding: 0;
    margin: 0;
    direction: rtl;
}

a {
    text-decoration: none;
}

.card-wrapper {
    max-width: 1150px;
    background: white;
    margin: auto;
    margin-top: 20px;
    border-radius: 5px;
    /* border: 1pt solid #e0e0e0; */
    padding-bottom: 50px;
}

.card-header {
    padding: 25px;
    font-weight: 300;
    font-size: 21px;
    color: #000000;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -moz-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -o-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 27px;
    font-weight: 300;
    line-height: 34px;
    margin-bottom: 35px;
}

    .card-header.hide {
        max-height: 0;
        padding: 0;
    }


.card-editor {
    /* width: 350px; */
    display: inline-block;
    background: white;
}

.card-view {
    /* background: white; */
    /* width: 100%; */
    /* min-height: 280px; */
    /* border-radius: 5px; */
    /* margin: auto; */
    /* box-shadow: 0 3px 18px -4px grey; */
    /* margin-top: 35px; */
    /* display: inline-block; */
    /* max-width: 750px; */
    /* width: 100%; */
    /* margin: auto; */
    /* margin-top: 30px; */
    /* display: block; */
}

.card-creator {
    background: white;
}

.cb {
    /* clear: both !important; */
}

.card-editor {
    /* display: block; */
    background: white;
    padding: 0 23px;
    margin: auto;
    /* clear: both; */
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -moz-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -o-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* max-height: 500px; */
    width: 100%;
    vertical-align: top;
}

    .card-editor.hide {
        max-height: 0;
    }

    .card-editor .input-wrap {
        padding-bottom: 10px;
        position: relative;
        float: right;
        padding: 10px;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        vertical-align: top;
    }

        .card-editor .input-wrap.currency {
            float: right;
            width: 190px;
        }

            .card-editor .input-wrap.currency .currency-symbol {
                position: absolute;
                top: 15px;
                left: 14px;
                font-size: 30px;
                color: black;
                font-weight: 200;
            }

        .card-editor .input-wrap label {
            display: block;
            /* margin-bottom: 8px; */
            position: absolute;
            color: black;
            font-size: 19px;
            top: 22px;
            z-index: 0;
            font-weight: 300;
            line-height: 50px;
            font-size: 25px;
            font-weight: 300;
        }

    .card-editor input:not([type="checkbox"]).used ~ label, .card-editor input:not([type="checkbox"]):focus ~ label, .card-editor textarea.used ~ label, .card-editor select.used ~ label, .card-editor textarea:focus ~ label {
        /* width: 125px; */
        height: 0;
        -webkit-transition: all 0.125s ease;
        -moz-transition: all 0.125s ease;
        -o-transition: all 0.125s ease;
        transition: all 0.125s ease;
        font-size: 14px;
        top: -5px;
        /* background: white; */
        color: #2473ae;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: text !important;
        outline: none !important;
        font-weight: 600;
    }

.input-wrap select {
    margin-top: 15px;
}

.card-editor .input-wrap input:not([type="checkbox"]), .input-wrap textarea, .card-editor .input-wrap select {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    border: none;
    border-bottom: 1px solid #2473ae;
    font-family: 'Assistant', sans-serif;
    padding: 10px 0;
    width: 100%;
    -webkit-user-select: text !important;
    outline: none !important;
    z-index: 1;
    position: relative;
    background: rgba(255, 255, 255, 0);
    padding-bottom: 0;
    line-height: 50px;
    font-size: 25px;
    font-weight: 300;
}

.card-editor .input-wrap textarea {
    /* border: 2px solid #a48100; */
    /* padding: 0; */
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.card-view {
    /* padding: 20px; */
    /* margin-top: 35px; */
    /* position: relative; */
    /* color: #383838; */
}

div#cardView.card-mode {
    /* max-width: 640px; */
    width: 100%;
    margin: auto;
    margin-top: 30px;
    display: block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.info-form {
    float: left;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

input#giftAmountInput {
    text-align: center;
    font-weight: 700;
    font-size: 26px;
    padding: 3px;
}

.card-view .card-from {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
    /* color: #5a5a5a; */
}

.card-view .card-greeting {
    font-size: 25px;
    margin-bottom: 20px;
}

.card-view .card-from span {
    font-weight: 400;
}

.card-view .demo-card {
    position: relative;
    /* top: 28px; */
    width: 310px;
    height: 198px;
    /* left: -60px; */
    border-radius: 5px;
    box-shadow: -3px 0px 19px 2px white;
    margin: 15px 15px 15px 0;
    display: block;
    margin: auto;
}

    .card-view .demo-card .card-amount {
        position: absolute;
        z-index: 100;
        bottom: 6px;
        left: 15px;
        color: white;
        font-weight: bolder;
        font-size: 24px;
        text-shadow: 4px 4px black;
        /* opacity: 0.95; */
    }

    .card-view .demo-card:before {
        content: ' ';
        /* background: black; */
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        border-radius: 5px;
        z-index: 50;
        opacity: 0.4;
    }

.card-view .card-from, .card-view .card-greeting, .card-view .card-from {
    max-width: 230px;
}

.demo-card img.logo-img {
    width: 70px;
    height: 70px;
    position: absolute;
    z-index: 100;
    left: 10px;
    top: 10px;
    border-radius: 7px;
}

.card-view .demo-card .card-expire {
    position: absolute;
    z-index: 100;
    color: white;
    bottom: 10px;
    right: 10px;
    font-size: 14px;
}

.card-view .demo-card .card-amount span.currency-symbol {
    font-size: 19px;
    font-weight: 400;
}

.club-info {
    font-size: 14px;
    padding: 20px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 300;
    line-height: 21px;
    text-align: center;
}

    .club-info.hide {
        max-height: 0;
        padding: 0;
    }

.card-greeting-wrapper {
    width: 241px;
    margin: auto;
    margin-top: 10px;
    vertical-align: top;
    padding: 15px;
    display: inline-block;
}

ul.background-list {
    list-style: none;
    display: inline-block;
    margin: 0;
    margin-top: 15px;
    /* margin-right: 23px; */
    vertical-align: middle;
    padding: 0;
}

    ul.background-list li {
        display: block;
        width: 25px;
        height: 25px;
        margin: 2px;
        cursor: pointer;
        border: 1pt solid #888888;
        border-radius: 100px;
        overflow: hidden;
        float: right;
    }

        ul.background-list li:hover {
            box-shadow: 0 0 3px 0px #050b56;
        }

        ul.background-list li img {
            width: 25px;
            height: 25px;
            /* display: block; */
        }

.select-color {
    width: 100%;
    margin: auto;
    display: block;
    max-height: inherit;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -moz-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -o-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 500px;
    margin-top: 20px;
    background: white;
    padding: 10px;
}

    .select-color.hide {
        height: 0;
        overflow: hidden;
        max-height: 0;
        margin: 0;
        padding: 0;
    }

    .select-color label {
        color: #2473ae;
        font-size: 18px;
        vertical-align: -webkit-baseline-middle;
        font-weight: 700;
    }

ul.background-list li.active {
    box-shadow: 0 0 7px 0px #050b56;
}

.select-color .input-wrap {
    display: block;
    margin-bottom: 14px;
}

    .select-color .input-wrap select {
        width: 160px;
    }

.color {
    width: 30px;
    height: 30px;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 2px;
    cursor: pointer;
    border: 1pt solid #888888;
    border-radius: 100px;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 12px;
}

iframe#paymentFrame {
    height: 317px;
    border: 0;
    overflow: hidden;
    width: 100%;
}

.send-information.card-editor {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    padding: 0;
    background: #f3f3f3;
    border-radius: 4px;
}

    .send-information.card-editor .input-wrap input {
        background: #f3f3f3;
    }

    .send-information.card-editor small {
        color: gray;
    }

.btn-go-to-pay, .btn-go-to-back {
    display: block;
    margin: auto;
    width: 230px;
    border: 1pt solid #2473ae;
    text-align: center;
    padding: 16px;
    margin-top: 28px;
    font-size: 19px;
    font-family: almoni-tzar, sans-serif;
    color: #2473ae;
    background: white;
}

div#paymentWraper {
    width: 550px;
    margin: auto;
    margin-top: 27px;
    border: 1pt solid gray;
    padding: 15px;
    border-radius: 8px;
}

@media (max-width: 750px) {
    .card-editor {
        width: 100%;
    }

    .info-form {
        width: 100%;
        display: block;
        float: none;
    }

    img.card-img {
        width: 280px !important;
        height: 176px !important;
    }

    .card-view {
        /* width: 90%; */
        /* margin: auto; */
        /* display: block; */
    }

    .card-greeting-wrapper {
        min-height: 80px;
        display: block;
        padding: 12px 0;
        width: 100%;
        margin: 12px;
    }

    .card-view .demo-card {
        position: relative;
        width: 280px;
        /* width: 90%; */
        left: 0;
        height: 176px;
        top: 12px;
        margin: auto;
        display: block;
        margin-top: 11px;
    }

    .select-color {
        width: 100%; /* margin: 10px; */ /* display: block; */
    }

    .send-information.card-editor {
        display: block;
        /* margin: 10px; */
        max-width: 90%;
    }

    .select-color label {
        display: block;
    }

    .select-color select, .select-color .color {
        margin: 10px 0px !important;
    }

    ul.background-list {
        width: 90%;
        box-sizing: border-box;
        margin: auto;
    }

    .select-color .input-wrap {
        margin: 10px;
    }

    div#paymentWraper {
        width: 90%;
    }

    .card-wrapper {
        width: 90%;
    }
}

h1.card-id-title {
    text-align: center;
    font-weight: 400;
}

h2.card-id-sub {
    text-align: center;
    font-size: 19px;
    color: gray;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

.takanon-wrapper {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-top: 20px;
    font-size: 20px;
}

    .takanon-wrapper .checkbox-takanon input {
        border: 1pt solid black;
        -webkit-appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        width: 15px;
        height: 15px;
    }

        .takanon-wrapper .checkbox-takanon input:checked {
            background: black;
            position: relative;
        }

            .takanon-wrapper .checkbox-takanon input:checked:before {
                content: 'X';
                position: absolute;
                top: 0;
                line-height: 1;
                color: white;
                font-size: 13px;
                text-align: center;
                padding: 0 3px;
                font-weight: bold;
            }

span.checkbox-takanon {
    margin-left: 10px;
}

img.card-img {
    position: absolute;
    width: 310px;
    height: 198px;
    border-radius: 5px;
    box-shadow: -3px 0px 19px 2px white;
    display: inline-block;
    top: 0;
    left: 0;
}

.input-wrap.have-card-wrap {
    position: relative;
}

    .input-wrap.have-card-wrap input {
        position: absolute;
        right: 5px;
        top: 25px;
    }

.card-editor .input-wrap.have-card-wrap label {
    position: relative;
    top: 0;
    right: 25px;
}


span.close-card-input {
    position: absolute;
    top: 30px;
    left: 17px;
    font-size: 24px;
    color: #b1b1b1;
    z-index: 999999;
    cursor: pointer;
}
