.payment-block {
    display: grid;
    grid-template-columns: 45% 50%;
    /* grid-column-gap: 60px; */
    margin-top: 1rem;
    justify-content: space-between;
}


.form-payment {
    padding: 0;
}

.purchase-props {
    margin: 0;
    padding: 0;
    font-size: 0.8em;
    width: 100%;
}

.purchase-props li {
    width: 100%;
    line-height: 2.5;
    color: #212529;

}

.purchase-props li span {

    font-weight: 600;
    color: #5a5a5a;

}

.purchase-props .flex-between strong,
span {

    font-size: 16px;
}

.purchase-props .flex-between strong{
    font-size: 14px;
}

.separation-line {
    border-top: 1px solid #aaa;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.payment-type .types {
    margin: 0px 0 24px 0;
}

.block-2 .payment-type .types button {
    width: 50%;
    position: relative;
    border: 2px solid #cdcaca;
    padding: 7px;
    box-sizing: border-box;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.5s ease;
    text-align: left;
    background-color: white;
}

.payment-type .types button:focus {
    border: 2px solid #000000;

}

.form-container form {
    margin: 10px auto 0;
}

.form-container input,
.container-form input,
.custom-select{
    /* margin: 0 0 10px 0; */
    /* padding: 0; */
    font-size: 16px;
    float: left;
    padding: 10px 12px;
    box-sizing: border-box;
    box-shadow: none;
    width: 100%;
    display: block;
    border: 1px solid #bacafd;
    border-radius: .375rem;
    color: #212529;
    font-weight: 400;
}
.input-set{
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #bacafd;

}

.block-1 h3{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 26px;
}

.form-container label,
.container-form label {
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 3px;
    color: #000000;
}

.fliedOuter{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

 input[type="checkbox"]{
    width: auto;
    margin: 0 7px 0 0;
}

.form-container .checkboxes-alert label{
    font-size: 15px;
    margin: 0;
    font-weight: 400 !important;
}



.inputFull{
    grid-column: 1 / span 2;
}

.fliedOuterB{
    grid-template-columns: repeat(2, 1fr);
}

.fliedOuterB .inputFull{
    grid-column: 1 / span 3;
}



/*.form-container .small-inputs {
    float: left;
    width: 50%;
}*/

.small-inputs .input-icons i {
    position: absolute;
    top: 397px;
    right: 161px;

}

/* .small-inputs .input-icons {
    width: 100%;
    margin-bottom: 10px;
} */

.small-inputs .icon {
    padding: 10px;
    color: green;
    min-width: 50px;
    text-align: center;
}

.input-icons i {
    position: absolute;
    top: 287px;
    right: 133px;
}

/* .input-icons {
    width: 100%;
    margin-bottom: 10px;
} */

.icon {
    padding: 10px;
    color: green;
    min-width: 50px;
    text-align: center;
}

.card-input {
    position: relative;

}

.card-input-2 {
    position: relative;

}

.card-input-3 {
    position: relative;

}

.card-input-4 {
    position: relative;

}

.card-input img {
    position: absolute;
    top: 347px;
    right: 105px;
    width: 28px;
}

.card-input-2 img {
    position: absolute;
    top: 347px;
    right: 76px;
    width: 28px;
}

.card-input-3 img {
    position: absolute;
    top: 347px;
    right: 45px;
    width: 28px;
}

.card-input-4 img {
    position: absolute;
    top: 347px;
    right: 15px;
    width: 28px;
}

.block-2 .form-container #space {
    margin-bottom: 1rem;

}

.block-2 h4 {
    font-size: 16px;
    color: #5a5a5a;

}
 .set-cards{
    display: flex;
        align-items: center;
 }
body .ButtonContainer--pay{
    
}

@media (min-width:320px) and (max-width:768px) {
    .payment-block {
        grid-template-columns: auto;
    }

    .block-2 {
        margin-top: 2rem;
    }

    .input-icons i {

        top: 540px;
        right: 32px;
    }
}

body {
    background: linear-gradient(180deg, rgb(214 224 255), rgb(255 255 255));
    position: relative;
    height: 100vh;
}

body .payment-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #bacafd;
    height: 66px;
}

.payment-nav-inner{
    height: 66px;
}

.secure-payment-gateway {
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    /* color: #537afb; */
    text-transform: uppercase;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#card-1 img {
    position: absolute;
    top: -6px;
    right: 110px;
    width: 38px;
}

#card-2 img {
    position: absolute;
    top: -6px;
    right: 74px;
    width: 38px;
}

#card-3 img {
    position: absolute;
    top: -6px;
    right: 38px;
    width: 39px;
}

#card-4 img {
    position: absolute;
    top: -12px;
    right: -6px;
    width: 50px;
}

.form-container input:focus {
    border-color: grey;
    box-shadow: none;
}

 .continue button {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #6165df;
    border: 1px solid #DADDE8;
    color: #fff;
    height: 44px;
    border-radius: .375rem;
    outline: none;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin: 0;
    padding: 0 20px;
    letter-spacing: 1.5px;
}

.SelectPaymentMethod{
    display: flex;
    align-items: center;
    margin: 0 0 10px;
}

.SelectPaymentMethod label {
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 400;
    font-size: 19px;
    height: 44px;
    white-space: nowrap;
    padding: 0 30px;
    width: auto;
    margin: 0;
}

.SelectPaymentMethod label img{
    height: 24px;
}

.SelectPaymentMethod label img.cardicon{
    height: 20px;
}

.SelectPaymentMethod label div.cardtext{
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 0 5px;
    line-height: initial;
}

.SelectPaymentMethod .checkmark {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: 3px solid rgb(255, 255, 255, .3);
    background: none;
    transform: initial;
    border-radius: 64px;
    z-index: -1;
    background: rgb(255, 255, 255, .3);
}

.SelectPaymentMethod input {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    height: 100%;
    cursor: pointer;
}

.SelectPaymentMethod input:checked ~ .checkmark {
    background-color: rgba(255, 255, 255, .9);
    border-color: #8E6CFF;
}

.SelectPaymentMethod input:checked ~ .checkmark ~ label{
    color: #ffa102;
}

.SelectPaymentMethod label + label {
    margin: 0 0 0 15px;
}

.Apaybutton{
    margin: 10px 0 0;
}

.SelectPaymentFlied{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .payment-block {
        grid-template-columns: 360px auto 440px;
    }
    .small-inputs .input-icons i {
        right: 94px;
    }
}

@media (min-width: 320px) and (max-width: 768px) {

    body{
        background: linear-gradient(to bottom, rgb(214, 224, 255) 10%, rgb(255, 255, 255) 80%);
        height: initial;
    }

    .secure-payment-gateway {
        font-size: 16px;
    }

    body .payment-nav img {
        height: 37px;
        padding: 2px;
    }

    .form-payment {
        margin-bottom: 3rem;
    }

    body .payment-nav .navbar-brand img{
        height: auto;
        padding: 0;
        width: 34px;
        margin-right: 8px;
    }

    body .navbar-brand{
        font-size: 14px;
        margin: 0;
    }

    .SelectPaymentMethod label{
        padding: 0 19px;
        height: 36px;
    }

    .SelectPaymentMethod label img {
        height: 19px;
    }

    .SelectPaymentMethod label img.cardicon {
        height: 14px;
    }

    .SelectPaymentMethod label div.cardtext {
        font-size: 14px;
    }

    .SelectPaymentMethod label + label {
        margin: 0 0 0 10px;
    }

    .credit_cardsouter{
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .credit_cardsouter div{
        width: 100%;
    }

    .currency{
        height: auto;
    }

}

@media (min-width: 320px) and (max-width: 600px) {

    body .frm_section{
        padding: 0 0 15px;
    }

    .form-container label{
        font-size: 16px;
    }

    .payment-block {
        
    }

    body .payment-nav{
        height: auto;
        padding: 10px 0;
    }

    .payment-nav-inner{
        height: auto;
    }

    body .secure-payment-gateway {
        font-size: 13px;
        text-align: right;
        line-height: initial;
        color: #004494;
        width: 150px;
    }

    .form-payment {
        padding: 0;
    }

    .card-input-4 img {
        top: 350px;
        right: 7px;
        width: 21px;
    }

    .card-input-3 img {
        top: 352px;
        right: 26px;
        width: 17px;
    }

    .card-input-2 img {
        top: 353px;
        right: 44px;
        width: 16px;
    }

    .card-input img {
        top: 352px;
        right: 61px;
        width: 17px;
    }

    .small-inputs .input-icons i {
        top: 838px;
        right: 37px;
    }

    .total-section{
        width: 200px;
    }

    .purchase-props .flex-between strong{
        white-space: nowrap;
    }

    .purchase-props li{
        line-height: 2;
    }

    .container-form label {
        font-size: 14px;
    }

    .SelectPaymentFlied{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
    }

    .fliedOuter{
        grid-template-columns: auto;
    }

    .inputFull,
    .fliedOuterB .inputFull {
        grid-column: inherit;
    }

    .form-container .checkboxes-alert label {
        font-size: 13px;
        line-height: initial;
    }

    .credit_cardsouter{
        padding: 0 0 10px;
    }

    #credit_cards{
        width: 100%;
    }

    #credit_cards img{
        height: 24px !important;
    }

    .continue button {
        font-size: 14px;
        width: 100%;
    }



    .text-danger{
        font-size: 12px;
        text-align: center !important;
    }

    #applepaybutton, #googlepaybutton {
        width: 100% !important;
    }

    .checkboxes-alert {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }



}

@media (min-width: 768px) and (max-width: 991px) {
    .small-inputs .input-icons i {
        position: absolute;
        top: 837px;
        right: 85px;
    }

    .payment-block {
        margin-top: 6rem;
    }

}
#spinner-div {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
  }
  #spinner-div div{
    top: 50%;
    position: relative;
  }
    div:where(.swal2-icon){
        margin-top: 0 !important;
    }

    div:where(.swal2-container) div:where(.swal2-popup){
        width: 24rem !important;
        padding: 3rem 2rem !important;
        border-radius: 20px !important;
    }

    div:where(.swal2-icon).swal2-error {
        background: #fd423b;
        border: 0;
        width: 4em;
        height: 4em;
    }

    div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{
        background-color:#fff !important;
        top: 2em !important;
        width: 2.6em !important;
    }

    div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left] {
        left: 0.7em !important;
    }

    div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right] {
        right: 0.7em !important;
    }

    div:where(.swal2-container) h2:where(.swal2-title){
        font-size: 1.3rem !important;
        
        color: #00c868 !important;
    }

    .swal2-error + img + .swal2-title{
        color: #fd423b !important;  
    }

    div:where(.swal2-container) .swal2-html-container{
        padding: .7em 0 0 !important;
        color: #b1b1b1 !important;
        font-size: 14px !important;
        line-height: 1.2rem !important;
    }

    div:where(.swal2-container) div:where(.swal2-actions){
        margin: 1.5rem auto 0 !important;
    }

    div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
        border-radius: .35em !important;
        background-color: #fd423b !important;
        /*background-image: linear-gradient(#fe6560, #fb4440) !important;*/
        background-image: linear-gradient(#03dd74, #00c667) !important;
        color: #fff;
        font-size: 1em !important;
        margin: 0 !important;
        text-transform: uppercase !important;
        padding: 0 3rem !important;
        height: 2.6rem !important;
        font-weight: bold;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .2) !important;
        border: 0 !important;
        outline: none !important;
    }

    .swal2-error + img + .swal2-title + div + input + input + div + select + div + label + textarea + div + div.swal2-actions button.swal2-confirm {
        background-image: linear-gradient(#fe6560, #fb4440) !important;
    }

    div:where(.swal2-icon).swal2-success .swal2-success-ring{
        background: #12C069 !important;
        border: 0 !important;
        top: 0 !important;
        left: 0 !important;
    }

    div:where(.swal2-icon).swal2-success {
        background: #12C069;
        border: 0;
        width: 4em;
        height: 4em;
    }

    div:where(.swal2-icon).swal2-success [class^=swal2-success-line] {
        z-index: 3 !important;
        height: .3125em !important;
        border-radius: .125em !important;
        background-color: #fff !important;
    }

    div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long] {
        top: 2em !important;
        right: 0.3em !important;
        width: 2.4375em !important;
    }

    div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip] {
        top: 2.4em !important;
        left: .5125em !important;
        width: 1.4625em !important;
    }

    div:where(.swal2-container) .swal2-icon-success h2:where(.swal2-title){
        color: #12C069 !important;
    }

    div:where(.swal2-container) .swal2-icon-success button:where(.swal2-styled).swal2-confirm{
        background-color: #12C069 !important;
        background-image: linear-gradient(#12C069, #0f9753) !important;    
    }  .popup-container {
        border-radius: 10px;
        width: 90%;
        max-width: 660px;
        overflow: hidden;
        position: relative;
        animation: fadeIn 0.5s;
    }