.pago-wrapper .form-radios {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

.pago-wrapper .form-radios .form-type-radio {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px
}

@media (min-width: 768px) {
    .pago-wrapper .form-radios .form-type-radio {
        flex:0 0 33.33333%;
        max-width: 33.33333%
    }
}

.pago-wrapper .form-radios .form-type-radio.check label::before {
    background-color: #fff
}

.pago-wrapper .form-radios .form-type-radio label {
    width: 100%;
    text-align: center;
    min-height: auto;
    min-height: 110px;
    height: 100%;
    width: 100%;
    display: block;
    color: #0B2E6C;
    align-items: center;
    display: flex;
    background-color: #fff;
    border: 1px solid #0B2E6C;
    border-radius: 12px;
    justify-content: center;
    padding: 70px 1rem 1.2rem 1rem;
    font-weight: 600;
    position: relative
}

.pago-wrapper .form-radios .form-type-radio label::before {
    mask-size: auto;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-color: #0B2E6C;
    height: 68px;
    width: 100%;
    background-repeat: no-repeat !important;
    content: '';
    margin: auto;
    display: block;
    position: absolute;
    top: 10px
}

.pago-wrapper .form-radios .form-type-radio label[for="edit-civicrm-1-contribution-1-contribution-payment-processor-id-0"]::before {
    -webkit-mask: url(/themes/custom/radiomaria_theme/images/transferencia.svg) no-repeat 50% 50%;
    mask: url(/themes/custom/radiomaria_theme/images/transferencia.svg) no-repeat 50% 50%
}

.pago-wrapper .form-radios .form-type-radio:nth-child(2) label::before {
    -webkit-mask: url(/themes/custom/radiomaria_theme/images/card.svg) no-repeat 50% 50%;
    mask: url(/themes/custom/radiomaria_theme/images/card.svg) no-repeat 50% 50%
}

.pago-wrapper .form-radios .form-type-radio:nth-child(3) label::before {
    -webkit-mask: url(/themes/custom/radiomaria_theme/images/paypal-001.svg) no-repeat 50% 50%;
    mask: url(/themes/custom/radiomaria_theme/images/paypal-001.svg) no-repeat 50% 50%;
    height: 50px;
    margin-top: 10px
}

.pago-wrapper .form-radios .form-type-radio.check label {
    background-color: #0B2E6C;
    color: #fff;
    border-color: #0B2E6C
}

.pago-wrapper input[type="radio"] {
    display: none
}

.pago>legend {
    color: #0B2E6C;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    line-height: initial;
    margin-bottom: 1rem
}

.pago .fieldset-wrapper>.form-radios {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

.pago .fieldset-wrapper .form-type-radio {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: 0
}

@media (min-width: 768px) {
    .pago .fieldset-wrapper .form-type-radio {
        flex:0 0 50%;
        max-width: calc(50% - 30px)
    }
}

.pago .fieldset-wrapper .form-type-radio label {
    text-align: center;
    min-height: auto;
    min-height: 100px;
    background-color: #fff;
    border: 1px solid #0B2E6C;
    border-radius: 12px;
    padding: 1.2rem 1rem 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000
}

.pago .fieldset-wrapper .form-type-radio input {
    position: absolute;
    left: 2rem;
    top: 1rem
}

.pago .fieldset-wrapper .form-type-radio input:checked+label {
    border: 2px solid #0B2E6C
}

.pago-card-paypal .fieldset-wrapper .form-type-radio:nth-child(2) label::after {
    width: 30px;
    height: 30px;
    margin-left: 1rem;
    background: url(/themes/custom/radiomaria_theme/images/paypal-001.svg) no-repeat 50% 50%
}

.pago-card-paypal .fieldset-wrapper .form-type-radio:nth-child(1) label::after {
    width: 114px;
    margin-left: 1rem;
    background: url(/themes/custom/radiomaria_theme/images/visa-masterCard.png) no-repeat 50% 50%;
    height: 30px;
    background-size: contain
}

.pago-card-paypal .fieldset-wrapper .form-type-radio label::after {
    background-repeat: no-repeat;
    content: '';
    display: inline-block
}
