#payment-methods .payment_method_title span{
    font-size:12px;
    color:#aaa;
    line-height: 1;
}

#payment-methods input[type=radio]{
    position:relative;
    top:-10px;
}

#payment-methods li{
    border: 1px solid #ddd;
    border-left:0px;
    border-right:0px;
}

#payment-methods li:not(:last-child){
    border-bottom: 0px solid #ddd;
}

#payment-methods li label {
    position:relative;
    display: inline-block;
    width: 89%;
}

#payment-methods li.disabled{
    background:#eee;
    pointer-events:none;
}

#payment-methods .widget_container iframe{
    padding: 10px;
    min-height:200px;
}

#payment-methods li label p{
    margin: 0px;
    padding: 10px 0px;
    position: relative;
    top: 3px;
}

#payment-methods input {
    width: 8%;
}

#payment-methods label img{
    width: 50px;
    position: absolute;
    right: 5px;
    top: 15px;
}

#payment-methods input,
#payment-methods label{
    display:inline-block;
    
}

#payment-form section{
    max-width: 600px;
}

.payment-info:not(.step1) #authorize{
    display:none;
}

.step2 #initialize{
    display:none;
}

#authorize{
    margin: auto;

}

label span{
    border:none !important;
    width: auto;
}

.ats_controls_submit {
    float: none !important;
}
.center{
    text-align: center;
}

.element-errors {
    height: auto;
}

#inner_payment_section.block{
    position:relative;
}

#inner_payment_section.block:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgb(0 0 0 / 0.5);
    z-index: 10;
}

@media screen and (max-width:768px){
    #payment-methods label img {
        width: 30px;
        top: 13px;
    }
    #payment-methods label[for="payment-banktransfer"] img {
        width: 40px;
      }
    #payment-methods .widget_container iframe {
        min-width: 100% !important;
    }
    #payment-methods li label {
        width: 88%;
    }
    #payment-methods input {
        width: 9%;
    }
 
}
