
.credit-card {
    width: 500px;
    height: 300px;
    color: #fff;
    cursor: pointer;
    perspective: 1000px;
}

.credit-card p{
    margin-bottom: 0;
    font-size: 0.7em;
}
.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
    box-shadow: -5px 0 10px #0000005e;
    border-radius: 15px;
}

.front, .back {
    width: 100%;
    height: 100%;
    /*
    background-image: linear-gradient(45deg, #0045c7, #ff2c7d);
    background-image: linear-gradient(45deg, #3251ad, #060eaa);
    */
    background-image: linear-gradient(45deg, #357e9e, #357e9e);
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 30px;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
    backface-visibility: hidden;
}

.credit-card .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.credit-card .row {
    margin-top: 0;
    max-width: 100%;
    margin-right: 10px;
    margin-left: 10px;
}
.front .bottom{
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    display: flex;
    align-items: end;
}

.map-img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    z-index: -1;
}

.card-number-title {
    padding-left: 10px;
    padding-right: 10px;
}
.card-no {
    margin-bottom: 16px;
    font-size: 16px;
    margin-top: 10px;
    max-width: 50% !important;
    padding-left: 10px;
    padding-right: 10px;
}

.card-holder {
    font-size: 12px;
    margin-top: 40px;
    padding-left: 10px;
    padding-right: 10px;

}

.name {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}

.bar {
    background: #222;
    margin-left: -30px;
    margin-right: -30px;
    height: 60px;
    margin-top: 10px;
}

.card-cvv {
    margin-top: 20px !important;
}

.card-cvv div {
    flex: 1;
}

.card-cvv img {
    width: 100%;
    display: block;
    line-height: 0;
}

.card-cvv p {
    background: #fff;
    color: #000;
    font-size: 22px;
    margin-bottom: 0px;
    padding: 10px 20px;
}

.card-text {
    margin-top: 30px;
    font-size: 14px;
}

.signature {
    margin-top: 25px !important;
}

.back {
    transform: rotateY(180deg);
}

/*.credit-card:hover .card-inner,*/
.credit-card.turn .card-inner
{
    transform: rotateY(-180deg);
}




/*FORM-AREA*/

.payment-right{
    background: #357e9e;
    color: WHITE;
    padding: 30px;
    border-radius: 30px;
}

form.credit-cart-form{}
form.credit-cart-form .card-holder-name{}
form.credit-cart-form .card-numbers{}
form.credit-cart-form .last-date{}
form.credit-cart-form .last-date.month{}
form.credit-cart-form .last-date.year{}
form.credit-cart-form .card-cvv-number{}
form.credit-cart-form .card-type{}
form.credit-cart-form .piece{}

form.credit-cart-form .card-holder-name,
form.credit-cart-form .card-numbers,
form.credit-cart-form .last-date,
form.credit-cart-form .card-cvv-number,
form.credit-cart-form .piece,
form.credit-cart-form .card-type{
    background: #fff;
    border-radius: 0;
}

.piece-box{
    border:1px solid #dddddd;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 190px;
}
.piece-box p{
    padding:5px;
    border-bottom: 1px solid #ddd;
    display: block;
    width: 100%;
    margin-bottom: 0;
}
.piece-box p:nth-child(1){

}
.piece-box p:nth-child(2){}
.piece-box p:nth-child(3){}
.piece-box p:nth-child(3) strong{
    font-weight: 600;
}


@media(max-width: 1340px) and (min-width: 991px){
    .credit-card{
        width: 349px;
        height: 217px;
    }
    .card-no,
    .credit-card p
    {
        font-size: 12px;
    }
}
@media(max-width: 991px){
    .credit-card {
        width: 360px;
        height: 218px;
    }
    .card-no,
    .credit-card p
    {
        font-size: 12px;
    }
}
/*FORM-AREA*/

.overflow-x-card{
    display: block;
    max-width: 95vw;
    overflow-x: scroll;
}
.overflow-x-card .card-body{
    display: flex;
    flex-direction: row;
    /* overflow-x: scroll; */
    width: fit-content;
    min-width: 100%;
}

.jx-loading{
    position: relative;
}
.jx-loading::after{
    content:'';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(255,255,255,0.5);
    background-image:url(../img/jx-loader.gif);
    background-repeat: no-repeat;
    background-size: 60px auto;
    background-position: center;
}