
/**
 * Common
 */
.fl {
    float: left;
}

.fr {
	float: right;
}

.ib {
	display: inline-block;
	vertical-align: top;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

.hidden {
	display: none;
}

.unvisible {
    visibility: hidden;
}

::-ms-reveal {
    display: none;
}

html,
body {
    min-width: 320px;
	height: 100%;
	min-height: 100%;
}

img {
	border: 0;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

/**
 * Popup
 */
.b-popup-opacity {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: black;
	opacity: 0.7;
	z-index: 105;
	box-sizing: border-box;
}

.b-popup {
	display: none;
	width: 40%;
	height: 40%;
    min-height: 280px;
	margin: auto auto;
	position: fixed;
	z-index: 110;
	background-color: #ffffff;
	left: 30%;
	top: 30%;
	border-radius: 5px;
	box-sizing: border-box;
	padding: 4% 2%;
	text-align: center;
}

.popup-text {
	font-size: 20px;
}

.b-popup-ajax-loader {
	margin: 50px 0;
}

/**
 * ApplePay
 */
#applePay,
#applepay-moneysource-container {
	display: none;
}

.applePayContainer {
    margin: 0;
    padding: 0;
}

@supports (-webkit-appearance: -apple-pay-button) {

    .apple-pay-button {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
		margin: 0 auto 0 auto;
		width: 9.5rem !important;
		height: 3.75rem !important;
    }

    @media (max-width: 639px) {

        .apple-pay-button {
            width: 100% !important;
    		margin: 0 auto 0 auto;
        }

    }

    .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 {
        display: inline-block;
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 4px;
        padding: 0px;
        box-sizing: border-box;
    }

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

}

/**
 * SamsungPay
 */
#samsungPay {
    cursor: pointer;
	display: none;
}

.samsungPayContainer {
    margin: 0;
    padding: 0;
}

.samsungpay-button {
    margin: 0;
    display: inline-block;
    padding: 0;
	width: 250px !important;
	height: 3.75rem !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
}

.samsungpay-button span {
    color: #fff;
    font-size: 16px;
}

.samsungpay-button img {
    width: 146px;
    height: 19px;
    margin-left: 8px;
}

#samsungpay-moneysource-container .value img {
    position: relative;
    top: 1px;
}

@media (max-width: 639px) {

    .samsungpay-button {
        padding: 1.3rem 0;
        text-align: center;
        width: 100% !important;
        margin: 0;
    }

}

/**
 * GooglePay
 */
#googlePay {
	display: none;
}

.googlePayContainer {
    padding: 0;
    margin: 0;
}

.googlePayContainer button.gpay-button {
	width: 250px !important;
	height: 3.75rem !important;
    outline: none;
}

#googlepay-moneysource-container .value img {
    position: relative;
    top: -1px;
}

.gpay-button.black {
    padding: 18px 24px 16px !important;
}

.gpay-button.black.hover {
    background-color: #000 !important;
}

@media (max-width: 639px) {

    .googlePayContainer button.gpay-button {
        width: 100% !important;
        margin-top: 21px;
    }

}

/**
 * Moneysources
 */
.ms-item-img-io {
	width: 80px;
	height: 17px;
}

.ms-item-img-sbp {
	width: 16px;
	height: 20px;
}

.ms-item-img-qiwi {
    width: 50px;
    height: 25px;
}

.ms-item-img-googlepay {
    width: 46px;
    height: 19px;
}

.ms-item-img-samsungpay {
    width: 114px;
    height: 16px;
}

.ms-item-img-applepay {
    width: 43px;
    height: 17px;
}

.ms-item-img-visa {
    width: 37px;
    height: 12px;
}

.ms-item-img-mastercard {
    width: 28px;
    height: 17px;
    margin-left: 4px !important;
}

.ms-item-img-mir {
    width: 40px;
    height: 11px;
    margin-left: 5px !important;
}

@media (min-width: 990px) and (max-width: 1100px) {

    .ms-item-img-mastercard,
    .ms-item-img-mir {
        margin-left: 2px !important;
    }

}

@media (min-width: 990px) and (max-width: 1024px) {

    .ms-item-img-visa {
        width: 36px;
    }

    .ms-item-img-mir {
        width: 37px;
        height: 10px;
    }

}

.ms-item-img-beeline,
.ms-item-img-megafon,
.ms-item-img-mts {
    width: 16px;
    height: 16px;
    margin-left: 4px !important;
}

.ms-item-img-beeline {
    margin-left: 10px !important;
}

.ms-item-img-tele2 {
    width: 32px;
    height: 16px;
    margin-left: 4px !important;
}

/**
 * SBP
 */
.qrsbp-text-block {
	display: none;
	background-color: #f1f1f1;
	position: relative;
    margin-top: 100px;
    margin-bottom: -20px;
}

.qrsbp-text-block-inner {
    position: relative;
    padding: 40px 100px 40px 120px;
    width: 84%;
    font-size: 25px;
    font-weight: 200;
}

.qrsbp-text-block-inner-hidden {
	display: none;
    position: relative;
    padding: 10px 100px 40px 120px;
    width: 84%;	
}

.qrsbp-text-block-inner-link {
    padding: 40px 0;
}

.qrsbp-info-opener {
    position: absolute;
    top: 42px;
    right: 100px;
    font-size: 40px;
    cursor: pointer;
	transition: transform .4s ease;
}

@media (max-width: 1100px) {

	.qrsbp-text-block-inner {
		padding: 40px 40px 40px 60px;
	}

	.qrsbp-text-block-inner-hidden {
        padding: 10px 40px 40px 60px;
	}

	.qrsbp-text-block-inner-link {
		padding: 40px 0 10px 0;
	}
 
	.qrsbp-info-opener {
		right: 60px;
	}

}

@media (max-width: 640px) {

    .qrsbp-info-opener {
        right: 40px;
    }

	.qrsbp-text-block {
		margin-bottom: 20px;
	}

}

@media (max-width: 470px) {

    .qrsbp-text-block-inner {
        padding: 40px 20px 40px 20px;
    }

    .qrsbp-text-block-inner-hidden {
        padding: 10px 20px 40px 20px;
    }

    .qrsbp-text-block-inner-link {
        padding: 40px 0 10px 0;
    }

    .qrsbp-info-opener {
		top: 25px;
        right: 20px;
    }

}

.qrcodeimg {
    display: none;
    max-width: 250px;
    max-height: 250px;
    margin-bottom: 60px;
}

.ips-back-btn {
    display: none;
}

.qrcode-container-smalltouch,
.qrcode-container {
    display: none;
}

.qrcode-scan-msg {
    padding: 10px 0;
}

.qrcode-scan-msg span {
    font-size: 20px;
    position: relative;
    top: 8px;
}

.qrcode-scan-msg p {
    margin-top: 40px;
}

.qrcode-bank {
    padding: 6px 10px;
    margin: 8px 0;
    background-color: #fff;
    box-shadow: 0 4px 30px rgb(112 112 174 / 15%);
    flex: 0 0 auto;
    width: 100%;
    min-height: 50px;
}

.qrcode-bank p {
    padding: 0;
    margin: 0 0 0 55px;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    line-height: normal;
}

.qrcode-bank a {
    position: relative;
    display: block;
    min-height: 40px;
}

.qrcode-bankimg {
    width: 42px;
    height: auto;
    float: left;
    margin-right: 16px;
}

.qrcode-scan-sbp-logo {
    width: 30px;
    height: auto;
    float: left;
    margin-right: 20px;
}

.qrcode-scan-findbank .field-wrapper {
    padding: 6px 0;
    width: 100%;
}

#qrcodefindbank {
    width: 100%;
    padding: 4px 4px 4px 8px;
    font-size: 17px;
}

.qrcode-scan-bankslist {
    margin: 20px 0;
}

/**
 * Messages
 */
.tip-yellowsimple {
    margin: 0;
}

.tip-yellowsimple .tip-inner {
	font-size: 14px;
    color: red;
}
