@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

#card_type{
    background-position: center center;

    margin-bottom: 15px;
    margin-left:10px;
    float: left;
}
#card_types{
    margin-left: 5px;
    margin-top: 15px;
}
.visa, .VI{
    background: url("../img/card_types/visa.png") no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
}

.maestro, .EU{
    background: url("../img/card_types/maestro.png") #fff no-repeat;
    background-size: contain;

    height: 40px;
    width: 63px;
}

.mastercard, .CA{
    background: url("../img/card_types/mc.png") #fff no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
}

.jcb, .JC{
    background: url("../img/card_types/jcb.png") no-repeat;
    background-size: contain;
    height: 40px;
    width: 52px;
}

.velectron, .VE{
    background: url("../img/card_types/velectron.png") no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
}

.mir, .MR {
    background: url('../img/card_types/mir_en.png') no-repeat;
    background-size: contain;
    height: 40px;
    width: 143px;
}

.mir.ru, .MR.ru {
    background: url('../img/card_types/mir.png') no-repeat;
    background-size: contain;
}

.amex, .AX{
    background: url("../img/card_types/amex.svg") #fff no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
    background-position: center;
}

.cup, .UP{
    background: url("../img/card_types/up.png") #fff no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
    background-position: center;
}

.dinersclub, .DC{
    background: url("../img/card_types/diners.png") transparent no-repeat;
    background-size: contain;
    height: 40px;
    width: 54px;
    background-position: center;
}

.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;
}

.arca {
    background: url("../img/card_types/arca.png") no-repeat;
    background-size: contain;
    height: 40px;
    width: 63px;
}

.km {
    background: url("../img/card_types/km.svg") no-repeat;
    background-size: contain;
    height: 40px;
    width: 30px;
}

.go_credit{
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    background-color: #adadad;
    border: 1px solid #adadad;
    border-radius: 10px 10px 10px 10px;
    color: #fff;
    cursor: pointer;
    float: left;
    font-size: 1em;
    font-weight: 700;
    height: 45px;
    line-height: 45px;
    margin-top: 25px;
    overflow: visible;
    padding: 0 50px;
    position: relative;
    text-align: center;
    width: auto;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
}

#buttons_block{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.credit_button{
    display: flex !important;
    justify-content: center;
}

.hint_label{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.6);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.6);
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    background: #ffee3e;
    border: 1px solid #ffee3e;
    bottom: 40px;
    color: #000;
    float: left;
    font: 14px Arial;
    left: 0;
    padding: 10px 15px;
    position: absolute;
    z-index: 10;
}

#issue_timeout {
    padding: 100px 20px 60px 20px;
    text-align: center;
}


#issue_timeout strong {
    display: block;
    font-size: 1.2em;
    font-weight: normal;
    padding-bottom: 29px;
}


#issue_timeout p {
    font-size: 1.2em;
    line-height: 30px;
}

.outside {
    display: flex;
    justify-content: space-between;
    float: none!important;
}

.outside + .payment_card {
    margin-top: 0;
}

#card_types.outside {
    margin: 0 auto;
    width: 800px;
}

.outside #card_type{
    margin-left: 0;
}

.outside + .payment_card .card_number {
    top: 15px;
}

.outside + .payment_card .art {
    bottom: 95px;
}

#googlepay {
    margin-top: 1em;
    width: 200px !important;
}

#samsungpay {
    width: 200px;
    background-image: url(../img/samsungpay.svg);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 45px;
    margin-top: 1em;
    background-color: #000;
    border-radius: 4px;
}

#samsungpay:hover {
    opacity: .8;
}

.extra_btns {
    display: flex;
    justify-content: flex-end;
    margin-top: 1em;
    align-items: end;
}

.extra_btns > * {
    margin-left: 10px;
}

.sbp {
    width: 200px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 45px;
    background-color: #000;
    background-image: url('../img/sbp.svg');
    background-size: 30%;
    border-radius: 5px;
    margin-top: 1em;
}

.apple-pay-button {
    height: 45px;
    display: none;
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: plain; /* Use any supported button type. */
    margin-top: 1em;
    border-radius: 10px;
    width: 192px;
}
.apple-pay-button-black {
    -apple-pay-button-style: black;
}
.apple-pay-button-white {
    -apple-pay-button-style: white;
}
.apple-pay-button-white-with-line {
    -apple-pay-button-style: white-outline;
}

#yandexpay_button {
    display: flex;
    justify-content: center;
}

.yandex-add-text {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.yandex-add-text span {
    color: #adadad;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
}

.yandex-add-text span::before,
.yandex-add-text span::after {
    content: '';
    display: block;
    position: absolute;
    border: 1px solid #adadad;
    top: 50%;
    width: 145px;
    opacity: 0.3;
    transform: translateY(-50%);
    border-radius: 5px;
}

.yandex-add-text span::before {
    left: -160px;
}

.yandex-add-text span::after {
    right: -160px;
}

#yandexpay_button .ya-pay-button {
    min-width: 192px !important;
    height: 45px !important;
    border-radius: 4px;
}

#yandexpay_button.yandexpay__top-position .ya-pay-button {
    min-width: 350px !important;
    height: 45px !important;
    border-radius: 10px;
}


@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        -webkit-appearance: -apple-pay-button;
    }
    .apple-pay-button-black {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line {
        -apple-pay-button-style: white-outline;
    }
}

@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 175px;
        min-height: 45px;
        max-height: 45px;
    }
    .apple-pay-button-black {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }
    .apple-pay-button-white {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-white-with-line {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
        border: .5px solid black;
    }
}

@media (max-width: 800px) {

    .outside + .payment_card .art {
        bottom: 0;
    }

    #card_types.outside {
        width: 99%;
    }

    .apple-pay-button {
        margin-left: auto;
        margin-right: auto;
    }

    #samsungpay  {
        margin-left: auto;
        margin-right: auto;
    }

    #googlepay {
        margin-left: auto;
        margin-right: auto;
    }

    .extra_btns {
        flex-direction: column;
    }

    .sbp {
        margin-left: auto;
        margin-right: auto;
    }

    #yandexpay_button {
        margin-top: 1em;
        margin-left: auto;
        margin-right: auto;
    }

    .yandex-add-text {
        display: block;
    }

    .yandex-add-text span {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

    .yandex-add-text span::before {
        left: 5px;
    }

    .yandex-add-text span::after {
        right: 5px;
    }

    .yandex-add-text span::before, .yandex-add-text span::after {
        width: calc(50% - 35px);
    }

    #yandexpay_button .ya-pay-button {
        min-width: 200px !important;
    }

    #yandexpay_button.yandexpay__top-position .ya-pay-button {
        min-width: 99% !important;
    }
}

#tablet_iframe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.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/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;
}

@media screen and (max-width: 390px) {
    #card_types {
        margin-left: 0;
        display: flex;
        justify-content: space-between;
    }

    #card_type {
        margin: 0 5px;
    }
}

.extra-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 800px) {
    .extra-buttons-wrapper {
        display: block;
    }
}

.loyalty {
    margin: 22px auto 0;
    max-width: 800px;
    width: 100%;
}

.ffp_btn {
    background-color: #adadad;
    border: 1px solid #adadad;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    height: 45px;
    line-height: 45px;
    overflow: visible;
    position: relative;
    text-align: center;
    width: 192px;
    text-decoration: none;
    outline: none;
}

.ffp_form {
    margin: 22px auto 0;
    width: 800px;
}

.ffp_name {
    font-size: 20px;
}

.ffp_card {
    font-size: 18px;
    margin: 10px 0;
}

.ffp_values {
    display: flex;
    flex-direction: column;
}

.ffp_value {
    margin-top: 10px;
    display: flex;
}

.ffp_value input {
    margin-right: 10px;
}

.ffp_range-cont {
    display: flex;
}

.ffp_result {
    margin-top: 10px;
}

.ffp_error {
    margin-top: 10px;
}

.ffp_error {
    color: #FE221F;
}

.auth_ffp {
    display: inline-block;
    vertical-align: top;
    color: #636467;
    border-radius: 2px;
    border: 1px solid #e3e3e3;
    background: #fff;
    height: 30px;
    padding: 0 7px;
    font-size: 13px;
    font-family: "Open Sans", sans-serif;
}

.auth-ffp__button {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: "Open Sans", sans-serif;
    padding: 11px 40px;
    color: #666;
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    border: 1px solid transparent;
    background: #ffda00;
    margin-left: 15px;
}
