body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
    min-height: 40vh;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        font-family: 'Raleway';
}


@media (min-width: 768px) {
    body {
        justify-content: center;
    }
}
html, body {
    overflow-y: auto;
    height: 100%;
}

.top-header {
    width: 100%;
    max-width: 800px;
    background: #EAEDF2;
    font-weight: 600;
    padding-top: 9px;
    padding-bottom: 9px;
    margin: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logodiv {
    text-align: left;
    padding-left: 20px;
}

.addrdiv {
    text-align: right;
    padding-right: 20px;
}

.logodiv img{
        width: 120px !important;
    margin: 10px auto;
    border-radius: 5%;

}

.grecaptcha-badge {
    display:none !important;
}
/*
body {
        background-color: #f9f9f9;
        font-family: 'Raleway';
}
*/

.payment-title {
    width: 100%;
    text-align: center;
    //margin: 0 auto;
}
#payment_form{
    margin: 0 auto;
}

#payment_form_ach{
    margin: 0 auto;
}
/*
#payment_form{
        width: 30%;
        margin: 0 auto;
}
*/

.form-container .field-container:first-of-type {
    grid-area: number;
}

.form-container .field-container:nth-of-type(2) {
    grid-area: expiration;
}

.form-container .field-container:nth-of-type(3) {
    grid-area: security;
}

.form-container .field-container:nth-of-type(4) {
    grid-area: name;
}
.form-container .field-container:nth-of-type(5) {
    grid-area: submit;
}

.field-container input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.field-container {
    position: relative;
}


label {
    padding-bottom: 5px;
    font-size: 13px;
}

input {
    margin-top: 3px;
    padding: 15px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #6A6E7B;
    border-radius: 8px;
    opacity: 1;

}
input.form-control[readonly] {
    background-color: #EAEDF2 !important;
}

.form-control{
        height: 44px;

}
.btn-group-vertical>.btn, .btn-group>.btn{
        background: #E0E7ED;
        width: 24%;
        color: #36474F;
        font-weight: 600;
            float: none;
}
.btn.active, .btn:active{
        background: #36474F !important;
        color: #fff;
}

.form-group{
        margin-bottom: 5px;
}

.form-group #expiry_month{
        width: 47%;
        display: inline-block;
}
.form-group #expiry_year{
        width: 50%;
        display: inline-block;
}
.ccicon {
    height: 28px;
    position: absolute;
    right: 0px;
    top:41px;
    width: 60px;
}

/* CREDIT CARD IMAGE STYLING */
.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

/*.container {
    width: 100%;
    max-width: 400px;
    max-height: 251px;
    height: 54vw;
    padding: 20px;
} */

#ccsingle {
    position: absolute;
    right: 15px;
    top: 20px;
}

#ccsingle svg {
    width: 100px;
    max-height: 60px;
}

.creditcard svg#cardfront,
.creditcard svg#cardback {
    width: 100%;
    -webkit-box-shadow: 1px 5px 6px 0px black;
    box-shadow: 1px 5px 6px 0px black;
    border-radius: 22px;
}

#generatecard{
    cursor: pointer;
    float: right;
    font-size: 12px;
    color: #fff;
    padding: 2px 4px;
    background-color: #909090;
    border-radius: 4px;
    cursor: pointer;
    float:right;
}

/* CHANGEABLE CARD ELEMENTS */
.creditcard .lightcolor,
.creditcard .darkcolor {
    -webkit-transition: fill .5s;
    transition: fill .5s;
}

.creditcard .lightblue {
    fill: #03A9F4;
}

.creditcard .lightbluedark {
    fill: #0288D1;
}

.creditcard .red {
    fill: #ef5350;
}

.creditcard .reddark {
    fill: #d32f2f;
}

.creditcard .purple {
    fill: #ab47bc;
}

.creditcard .purpledark {
    fill: #7b1fa2;
}

.creditcard .cyan {
    fill: #26c6da;
}

.creditcard .cyandark {
    fill: #0097a7;
}

.creditcard .green {
    fill: #66bb6a;
}

.creditcard .greendark {
    fill: #388e3c;
}

.creditcard .lime {
    fill: #d4e157;
}

.creditcard .limedark {
    fill: #afb42b;
}

.creditcard .yellow {
    fill: #ffeb3b;
}

.creditcard .yellowdark {
    fill: #f9a825;
}

.creditcard .orange {
    fill: #ff9800;
}

.creditcard .orangedark {
    fill: #ef6c00;
}

.creditcard .grey {
    fill: #bdbdbd;
}

.creditcard .greydark {
    fill: #616161;
}

/* FRONT OF CARD */
#svgname {
    text-transform: uppercase;
}

#cardfront .st2 {
    fill: #FFFFFF;
}

#cardfront .st3 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
}

#cardfront .st4 {
    font-size: 54.7817px;
}

#cardfront .st5 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
}

#cardfront .st6 {
    font-size: 27.1112px;
}

#cardfront .st7 {
    opacity: 0.6;
    fill: #FFFFFF;
}

#cardfront .st8 {
    font-size: 24px;
}

#cardfront .st9 {
    font-size: 36.5498px;
}

#cardfront .st10 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 100;
}

#cardfront .st11 {
    font-size: 16.1716px;
}

#cardfront .st12 {
    fill: #4C4C4C;
}

/* BACK OF CARD */
#cardback .st0 {
    fill: none;
    stroke: #0F0F0F;
    stroke-miterlimit: 10;
}

#cardback .st2 {
    fill: #111111;
}

#cardback .st3 {
    fill: #F2F2F2;
}

#cardback .st4 {
    fill: #D8D2DB;
}

#cardback .st5 {
    fill: #C4C4C4;
}

#cardback .st6 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 100;
}

#cardback .st7 {
    font-size: 27px;
}

#cardback .st8 {
    opacity: 0.6;
}

#cardback .st9 {
    fill: #FFFFFF;
}

#cardback .st10 {
    font-size: 24px;
}

#cardback .st11 {
    fill: #EAEAEA;
}

#cardback .st12 {
    font-family: 'Rock Salt', cursive;
}

#cardback .st13 {
    font-size: 29.769px;
}

/* FLIP ANIMATION */
.container {
/*    perspective: 1000px; */
}

.creditcard {
    width: 100%;
    max-width: 400px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    cursor: pointer;
}

.creditcard .front,
.creditcard .back {
    position: absolute;
    width: 100%;
    max-width: 400px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    color: #47525d;
}

.creditcard .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.creditcard.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.footer {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: #EAEDF2;
    padding: 8px 0;
 }

 @media (max-width: 600px), (max-height: 500px) {
    .footer {
        width: 100%;
        left: 20%;
        transform: translateX(-20%);
    }
 }

.hide{
        display:'none';
}
@media (max-width: 600px) {
    .top-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logodiv,
    .addrdiv {
        text-align: left;
        padding: 10px 20px;
        width: 100%;
    }
}

.viewer{
    height: calc(100vh - 160px);
    width:100%;
}

@media (max-width: 1000px) {
    .viewer {
        height: calc(100vh - 160px);
       overflow-y:scroll;
        width: 100%;
    }
}

.viewer::-webkit-scrollbar{
    display:none;
}
@media only screen  and (min-width : 1224px) {
.footer{
    position: absolute;
}
}
.custom-modal .modal-dialog {
  max-width: 400px;
}

.custom-content {
  border-radius: 10px;
  border: 1px solid #ddd;
}

.custom-header {
  background-color: #222;
  color: #fff;
  border-bottom: none;
}

.custom-title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
}

.custom-body {
  padding: 20px;
}

.custom-footer {
  justify-content: flex-end;
  padding: 15px;
}

.custom-btn {
  background-color: #222222;
  color: white;
  font-weight: 600;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  float: right;
}

.custom-btn:hover {
  background-color: #111111;
}
.otp-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.otp-input {
  width: 50px;
  height: 45px;
  font-size: 20px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.otp-input:focus {
  border-color: #222;
}
.custom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.custom-header {
  width: 100%;
  text-align: center;
}
.modal-footers {
  display: flex;
  justify-content: center;
  gap: 12px;
}
footer p img {
   width: 80px !important;
   margin-left: 10px;
}

.field-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Button takes full width */
.otp-btn {
    width: 99%;
    background-color: #222;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 15px;
    font-family: Questrial, sans-serif;
}

/* Icon stays small */
.info-round {
    width: 22px;          /* fixed */
    height: 22px;         /* fixed */
    min-width: 22px;
    min-height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 8px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

/* Popup ABOVE icon */
.otp-popup {
    display: none;
    position: absolute;
    bottom: 35px;
    right: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    width: 200px;
    z-index: 999;
}

/* Arrow */
.otp-popup::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 10px;
    border-width: 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

