.visa{
    background: url(../img/card_types/visa.png) no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
}

.maestro{
    background: url(../img/card_types/maestro.png) #fff no-repeat;
    background-size: contain;
    
    height: 40px;
    width: 63px;
}

.mastercard{
    background: url(../img/card_types/mc.png) #fff no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
}

.jcb{
    background: url(../img/card_types/jcb.png) no-repeat;
    background-size: contain;
    height: 40px;
    width: 52px;
}
.dinersclub{
    background: url(../img/card_types/diners.png) transparent no-repeat;
    background-size: contain;
    height: 40px;
    width: 54px;
    background-position: center;
}

.velectron{
    background: url(../../img/card_types/velectron.png) no-repeat;
    background-size: contain;
    height: 40px;
    width: 54px;
    background-position: center;
}

.mir{
    background: url('../img/card_types/mir_en.png') no-repeat;
    background-size: contain;
    height: 40px;
    width: 143px;
}
.mir.ru {
    background: url('../img/card_types/mir.png') no-repeat;
    background-size: contain;
}
.amex{
    background: url(../img/card_types/amex.svg) #fff no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
    background-position: center;
}
.cup{
    background: url(../img/card_types/up.png) #fff no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
    background-position: center;
}
.velectron{
    background: url(../img/card_types/velectron.png) no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
}
.uzcard, .UZ{
    background: url(../img/card_types/uzcard.png) transparent no-repeat;
    background-size: contain;
    height: 40px;
    width: 30px;
    background-position: center;
}
.humo, .HM{
    background: url(../img/card_types/humo.png) transparent no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
    background-position: center;
}

.km {
    background: url("../img/card_types/km.svg") no-repeat;
    background-size: contain;
    height: 40px;
    width: 30px;
}


#buttons_block{
    display: flex;
    top: 170px;
    position: absolute;
    flex-direction: column-reverse;
}

.hint_label {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
    background: #fff;
    border: 0px solid #ccbf0e;
    color: #ccbf0e;
    float: left;
    font: 14px;
    font-weight: bold;
    left: 304px;
    top:0px;
    padding: 10px 15px;
    z-index: 100000;
    position: absolute;
    width: 100px;
}

.extra_btns {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.extra_btns > * {
    margin-right: 10px;
    margin-top: 10px;
}

#samsungpay {
    width: 230px;
    background-image: url('../img/samsungpay.svg');
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 54px;
}

#samsungpay:hover {
    opacity: .8;
}

@media (max-width:800px) {
    .extra_btns {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    overflow: hidden;
}

.sbp__modal {
    transform: scale(0);
    transition: .3s ease;
}

.sbp__modal-visible {
    transform: scale(1);
}

.modal_btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    opacity: .9;
    overflow: hidden;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    background-position: 50%;
    background-repeat: no-repeat;
    border: none;
    border-radius: none;
    box-shadow: none;
    transition-duration: .25s;
    transition-property: background,opacity;
    transition-timing-function: ease;
    width: 34px;
    height: 40px;
    background-image: url('../img/alfabank/close.svg');
}

.modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.qr_container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.qr_text {
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    margin: 1em 0;
    line-height: 1.4em;
}

.qr_text a {
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
}