.tmg, .tmg #tmg_ps_body h3, .tmg #tmg_ps_body p, .tmg #tmg_ps_body a, .tmg #tmg_ps_body input  {
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
}

.tmg {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    /* font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important; */
}
.tmg #tmg_ps_body > p {
    margin-top: 0 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}
* {
    float: unset !important;
    /* font-size: 1rem !important;
    line-height: 1.5 !important; */
}

a {
    transition: .15s ease-in-out;
}

.tmg * {
    box-sizing: border-box;
}

#tmg_payment_credits form {
    margin: 0 !important;
}
#tmg_ps_payment_systems {
    margin: 0 !important;
    padding: .75rem 0 0 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 20px
}

#tmg_payment_credits form label {
    margin: 0 0 7px;
    width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

#tmg_payment_credits form label span {
    color: red
}


.tmg #tmg_ps_body form div input {
    width: 100% !important;
}

#tmg_ps_body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px
}

@media screen and (max-width: 768px) {
    #tmg_ps_body {
        display: flex !important;
        flex-direction: column;
    }
}

#tmg_ps_body > p, #tmg_ps_body > .tmg_ps_payform.tmg_ps_cont_form  {
    grid-column: 1 / 3;
}

.tmg_ps_payment_option input {
    display: none;
}

.tmg_ps_payment_option .tmg_ps_paysys_desc > h3 {
    margin-top: 0;
}

.tmg_ps_payment_option .tmg_ps_paysys.tmg_ps_type_sbp_ab {
    order: -1
}

.tmg_ps_payment_option .tmg_ps_paysys{
    margin: 0 !important;
}

.tmg_ps_payment_option {
    display: flex;
    align-items: center;
    gap: 20px;
    height: fit-content !important;
}

#tmg_ps_body input[type=text] {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: .15s ease-in-out;
    font-size: .85rem !important;
    line-height: 1.5 !important;
}
#tmg_ps_body input[type=text]:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.tmg_ps_paysys img {
    margin: 0 !important;
    border: none !important;
    pointer-events: none;
}
.tmg_ps_paysys {
    transition: .15s ease-in-out;
    filter: grayscale(100%);
    margin: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: .15s ease-in-out;
    pointer-events: all;
}
.tmg_ps_paysys:hover {
    background: white !important;
    box-shadow: 0 0 0 .15rem rgba(70, 144, 255, 0.25);
}
.tmg_ps_paysys.active {
    filter: grayscale(0);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .3rem rgba(13, 110, 253, .25);
}

.tmg #tmg_ps_body .tmg_ps_paysys.active {
    background: white !important;
    background: -webkit-gradient(none) !important;
    background: -moz-linear-gradient(none) !important;
    background: -ms-linear-gradient(none) !important;
    background: -o-linear-gradient(none) !important;
}


.tmg .formError .formErrorContent {
    border: none !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
}
.formErrorArrow div {
    border: none !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
}

input[type=submit] {
    background: #0d6efd !important;
    opacity: .65;
    transition: .15s ease-in-out;
}

input[type=submit]:hover {
    opacity: 1;
}

.tmg #tmg_ps_body .tmg_ps_payment_option .tmg_ps_paysys_desc h3 {
    margin-top: 0px !important;
}

h3 {
    font-size: 1rem !important;
}