#ctc_master_wrapper {
    font-size: 16px;
}
li.wc_payment_method.payment_method_mrgcardtocard img {
    max-height: 40px;
    width: auto;
}
#ctc_payment_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    margin: 20px 0;
}
ul.wc_ctc_details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    box-shadow: 0 0 4px 0px #00000036;
    border-radius: 5px;
    list-style: none;
    padding: 25px;
    margin: 0;
}
ul.wc_ctc_details li {
    padding: 5px;
}

@media screen and (max-width: 768px) {
    #ctc_payment_wrapper {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 1000px) {
    ul.wc_ctc_details {
        grid-template-columns: 1fr;
    }
}
.ctcfieldw {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
    align-items: center;
}
.ctcfieldw select {
    height: 45px !important;
    padding: 0 15px;
    width: 100% !important;
}
.ctcfieldw input {
    height: 35px !important;
    padding: 0 15px;
}
@media screen and (max-width: 768px) {
    .ctcfieldw {
        grid-template-columns: 1fr;
    }
}
#ctc_form {
    margin: 25px 0;
}
.ctcfieldw#ctcsubmit_wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}
#ctcsubmit {
    text-decoration: none;
    background: #4d932a;
    color: #fff;
    padding: 10px 60px;
    border-radius: 5px;
    cursor: pointer;
}
span.ctcasterisk {
    color: red;
    margin: 0 5px;
}
.ctc-error-toast {
    border-color: #f5c6cb;
}
.ctc-error-toast.jq-toast-single {
    font-size: 13px;
}
#field_vh_time {
    direction: ltr !important;
    text-align: center;
}
ul.wickedpicker__controls {
    direction: ltr !important;
}
.wickedpicker {
    height: auto !important;
}
input#field_vh_date {
    text-align: center;
}
.ctcfieldw#uploadreceipt input {
    height: auto !important;
    border: 2px dashed #ccc;
    padding: 15px 10px;
    cursor: pointer;
}
#ctcReceiptFile::-webkit-file-upload-button {
    visibility: hidden;
}
#ctcReceiptFile::before {
    content: 'انتخاب تصویر رسید';
    color: black;
    display: inline-block;
    background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 10px 20px;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-size: 13px;
    width: 40%;
    text-align: center;
    margin: 0 auto;
}
#ctcReceiptFile:hover::before {
    border-color: black;
}
#ctcReceiptFile:active {
    outline: 0;
}
#ctcReceiptFile:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}
#ctcloading {
    display: none;
    animation: rotate 2s linear infinite;
    z-index: 2;
    background: #fff;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    margin: 0 10px;

    & .path {
        stroke: #4f4f4f;
        stroke-linecap: round;
        animation: dash 1.5s ease-in-out infinite;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}
#ctc_repeated_info {
    margin: 20px 0;
}
.ctccard {
    width: 500px;
    height: 300px;
    color: #fff;
    cursor: pointer;
    perspective: 1000px;
}
#ctc_payment_wrapper .ctccard:nth-child(odd) {
    justify-self: left;
}
#ctc_payment_wrapper .ctccard:nth-child(even) {
    justify-self: right;
}
@media screen and ( max-width: 600px ) {
    .ctccard {
        width: 400px;
        height: 250px;
    }
}
@media screen and (max-width: 768px) {
    #ctc_payment_wrapper .ctccard:nth-child(odd) {
        justify-self: center;
    }
    #ctc_payment_wrapper .ctccard:nth-child(even) {
        justify-self: center;
    }
}
.ctccard * {
    margin: 0;
    box-sizing: border-box;
}
.ctccard-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
}
.ctcfront {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, #0045c7, #ff2c7d);
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 30px;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ctcrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ctcmap-img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    z-index: -1;
}
.ctccard-no {
    font-size: 35px;
    margin-top: 60px;
}
.ctccard-holder {
    font-size: 12px;
    margin-top: 40px;
}
.ctcname {
    font-size: 22px;
    margin-top: 20px;
}
.ctcrow.ctccardnumber p {
    font-size: 35px;
}
