
/**
 * Layout
 */
html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
}

div#wrapper {
    width: 100%;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 0 -65px;
}

div#footer-wrapper {
    width: 100%;
    height: 65px;
}

div#content-wrapper {
    width: 100%;
    padding: 0 0 65px;
}

div#footer-wrapper, div#content-wrapper {
    min-width: 640px;
}

/* Sticky footer degradation on small screen */
@media only screen and (max-width: 940px) {
    html, body {
        height: auto;
    }
    div#wrapper {
        min-height: 0;
        height: auto !important;
        margin: 0;
    }
    div#footer-wrapper {
        height: auto;
    }
    div#content-wrapper {
        padding: 0;
    }
}

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

/**
 * Grid
 */
.col {
    display: block;
    float: left;
    margin: 3% 0 3% 3%;
}

.col:first-child {
    margin-left: 0;
}

.span_3_of_3 {
    width: 100%;
}

.span_2_of_3 {
    width: 65.7%;
}

.span_1_of_3 {
    width: 31.3%;
}

.span_4_of_4 {
    width: 100%;
}

.span_3_of_4 {
    width: 74.25%;
}

.span_2_of_4 {
    width: 48.5%;
}

.span_1_of_4 {
    width: 22.75%;
}

@media only screen and (max-width: 800px) {
    .col:first-child {
        margin-left: 3%;
    }
    .span_4_of_4,
    .span_3_of_4,
    .span_2_of_4,
    .span_1_of_4,
    .span_3_of_3,
    .span_2_of_3,
    .span_1_of_3 {
        float: none;
        width: auto;
    }
}

/**
 * Tooltips
 */
.tip-yellowsimple {
	z-index: 1000;
	text-align: left;
	border: none;
	border-radius: 4px;
	padding: 0px;
    margin: 0px 0px 0px 20px;
	min-width: 50px;
	max-width: 400px;
	color: #ff6677;
	font-size: 16px;
    background-color: #fff;
}

.tip-yellowsimple .tip-inner {
	font-size: 11px;
}

.tip-yellowsimple .tip-arrow-top {
	margin-top: 10px;
	margin-left: -5px;
	top: 0;
	left: 50%;
	width: 9px;
	height: 6px;
}

.tip-yellowsimple .tip-arrow-right {
	margin-top: -4px;
	margin-left: 0;
	top: 50%;
	left: 100%;
	width: 6px;
	height: 9px;
	background-position: -9px 0;
}

.tip-yellowsimple .tip-arrow-bottom {
	margin-top: 0;
	margin-left: -5px;
	top: 100%;
	left: 50%;
	width: 9px;
	height: 6px;
	background-position: -18px 0;
}

.tip-yellowsimple .tip-arrow-left {
	margin-top: -4px;
	margin-left: -6px;
	top: 50%;
	left: 0;
	width: 6px;
	height: 9px;
	background-position: -27px 0;
}

.errorBGColor {
    border: 1px solid #D96D6D;
    background-color: #fbd6d7;
}

/**
 * Common
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

a, a:focus, a:visited {
    color: #676a6c;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
	zoom: 1;
    margin: 10px 0px;
    width: 100%;
}

/**
 * Header
 */
.b-header {
	height: 110px;
}

.b-logo-wrapper {
	max-width: 820px;
	margin: 0 auto;
	padding-top: 30px;
}

.b-footer-wrapper {
	max-width: 820px;
	margin: 0 auto;
	text-transform: uppercase;
	color: #5e6163;
}

.b-logo-link {
	display: inline-block;
	width: 253px;
	height: 53px;
	float: left;
}

.b-logo-text {
	display: inline-block;
	padding: 2px 0 0 17px;
	font-size: 13px;
	line-height: 17px;
	text-indent: -17px;
}

.b-logo-wrapper .phone {
    display: block;
    color: #3c3d40;
    text-align: right;
    font-size: 22px;
    font-weight: bold;
    padding-right: 10px;
    padding-top: 13px;
}

.b-logo-wrapper .support {
    display: block;
    color: #f69200;
    text-align: right;
    font-size: 10px;
    padding-top: 6px;
    padding-right: 10px;
}

/**
 * Payment
 */
.b-payment-inner {
	margin: 0px auto;
	max-width: 820px;
}

.b-payment-header {
	text-shadow: 0 1px 2px #fff;
	font-weight: bold;
}

.b-payment-subheader {
	margin: 5px 0 0 0;
	font-size: 20px;
	text-align: center;
	color: #000;
	padding: 5px 0px;
}

.b-payment-subheader__margin-top-31px {
	margin-top: 31px;
}

.b-payment-info {
	margin-top: 17px;
}

.b-payment-info-row {
	font-size: 13px;
	margin-top: 14px;
}

.b-payment-info-row-col1,
.b-payment-info-row-col2 {
	display: inline-block;
	vertical-align: middle;
}

.b-payment-info-row-col1 {
	width: 121px;
	text-align: right;
}

.b-payment-info-row-col2 {
	margin-left: 23px;
	max-width: 270px;
}

.b-payment-info-row-col1 label {
	line-height: 17px;
}

.b-payment-text-input-disabled {
    color: #acafb2;
}

.b-payment-text-input-disabled input,
.b-payment-text-input-disabled>span {
	color: #acafb2;
	display: block;
	font-size: 19px;
}

.b-payment-text-input-disabled>span.rub,
.b-payment-text-input-disabled>span.kop {
    display: inline;
    color: #acafb2;
}

/**
 * Card
 */
.b-payment-card {
	margin: 0px;
}

.b-payment-card-row {
	font-size: 13px;
}

.b-payment-card-row-col1,
.b-payment-card-row-col2 {
	display: inline-block;
}

.b-payment-card-row-col1 {
	width: 90px;
	text-align: right;
}

.b-payment-card-row-col2 {
	margin-left: 23px;
	max-width: 260px;
}

.b-payment-card-row-col1 label {
	line-height: 32px;
}

.b-payment-input,
.b-payment-card-input,
.four-figures,
.visible_pan {
	border: 0px;
    border-radius: 0px;
	background: #fff;
	color: #000;
	padding: 2px 0px 5px 0px;
	width: 100%;
    border-bottom: 1px solid #c4c4c4;
}

.b-payment-input.placeholder {
    color: #bbb;
}

.b-payment-input:focus,
.b-payment-card-input:focus,
.four-figures:focus,
.visible_pan:focus {
	outline: none;
}

.b-payment-input[disabled],
.b-payment-input[readonly] {
	border-color: #d6d6d6;
	background: #f2f2f4;
	-webkit-box-shadow:  inset #f4f6f6 0 -1px 0px, inset rgba(000,000,000,0.1) 0 2px 3px;
	-moz-box-shadow: inset #f4f6f6 0 -1px 0px, inset rgba(000,000,000,0.1) 0 2px 3px;
	box-shadow: inset #f4f6f6 0 -1px 0px, inset rgba(000,000,000,0.1) 0 2px 3px;
}

.b-payment-input[disabled] {
    color: #afb0b2;
}

.b-payment-card-input-cvv2 {
	width: 60px !important;
	float: right;
	display: block;
	margin-right: 50px;
}

.b-pass-input {
	width: 100px;
}

.b-pass-link {
	color: #fa7b64;
	margin-left: 10px;
	text-decoration: none;
	border-bottom: 1px dashed #fa7b64;
}

.b-pass-link:visited {
	color: #fa7b64;
}

.b-pass-link:hover {
	border:none;
}

.b-pass-arrow {
	margin-left: 10px;
}

.radiobuttons li {
	display: block;
	margin: 10px 0;
}

.radiobuttons label {
	cursor: pointer;
}

.radiobuttons input {
	cursor: pointer;
	margin-right: 5px;
}

.hidden {
	display: block;
	visibility: hidden;
	height: 0px;
	width: 0px;
	border: none;
	padding: 0;
	margin: 0;
}

/**
 * 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: 400px;
	height: 225px;
	margin: auto auto;
	position: fixed;
	z-index: 110;
	background-color: #ffffff;
	left: 50%;
	margin-left: -200px;
	top: 50%;
	margin-top: -67px;
	border-radius: 5px;
	box-sizing:border-box;
	padding: 50px 20px 20px 20px;
	text-align: center;
}

.popup-text {
	color: #0c3f83;
	font-size: 20px;
	line-height: 20px;
}

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

h2.error {
	margin-top: 10px;
	font-size: 14px;
	text-align: center;
}

.b-success-img {
	height: 34px;
	padding: 4px 0 0 44px;
	color: #35aa59;
	vertical-align: middle;
	margin-top: 20px;
}

.b-success-img h2 {
	font-weight: bold;
}

.b-success-img p {
	font-size: 14px;
	margin-top: 2px;
}

.b-success-img-new {
	color: #39a015;
	vertical-align: middle;
	margin-top: 20px;
}

.b-success-img-new h2 {
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	padding: 20px 20px 10px 20px;
}

.b-success-img-new p {
	font-size: 14px;
	margin-top: 2px;
}

.b-payment-info-hint {
	line-height: 16px;
	margin-top: -10px;
}

.select {
	margin-right: 5px;
	vertical-align: middle;
	width: 80px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.tar {
    text-align: right;
}

.inline-block {
    display: -moz-inline-box;
    display: inline-block;
    vertical-align: top;
    *display: inline;
    *zoom: 1;
}

.top-info {
	background: #ffffff;
	border: #dadadb 1px solid;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.top-info .col {
	margin: 0;
	padding: 3% 0 3% 2%;
	color: #5b5d5b;
}

.top-info .col.first {
    width: 76%;
}

.top-info .col.second {
    width: 16%;
    padding: 3% 2% 3% 0;
}

.top-info .head {
    font-size: 20px;
    font-weight: 700;
    line-height: 29px;
}

.kop {
    font-weight: normal;
}

.top-info .value {
    font-weight: bold;
    font-size: 20px;
    margin-top: 10px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 21px;
}

.card-info {
    background: #fff;
}

.card-wrapper {
	position: relative;
	text-transform: uppercase;
	font-weight: bold;
	height: 300px;
}

.card-wrapper label {
	color: #fafafa;
	font-size: 12px;
}

.card-wrapper .col {
    margin-top: 1%;
    margin-bottom: 1%;
}

.card-wrapper .form-line {
    padding: 0;
}

.card-wrapper .input-wrapper {
    display: block;
}

.card-wrapper .form-title {
    color: #fafafa;
    margin-bottom: 5px;
}

.main-card {
	width: 406px;
	height: 186px;
	position: absolute;
	left: 0;
	z-index: 100;
	padding-top: 57px;
	padding-left: 29px;
	margin-left: 30px;
}

.back-card {
	width: 406px;
	height: 144px;
	position: absolute;
	right: 0;
	z-index: 50;
	top: 24px;
	padding-top: 99px;
	margin-right: 17px;
}

input.four-figures {
	width: 57px;
	display: inline;
	outline: none;
	outline: navajowhite;
	margin-right: 8px;
	line-height: 22px;
	margin-bottom: 8px;
	text-align: center;
}

.b-payment-auth-form {
	padding-top: 280px;
}

.history .form-title {
    text-shadow: none;
    color: #4e4e4e;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 0;
}

.history-container {
    margin: 0 auto;
    max-width: 630px;
}

.history-container .element-submit .col {
    padding-left: 0;
    text-align: center;
    float: none;
    max-width: 320px;
}

.history-container .b-payment-info .cf {
    border-bottom: 1px #d7d7d8 solid;
}

.history-container .b-payment-info .cf .span_2_of_3 {
    margin-left: 20%;
    width: 36.7%;
    margin-top: 5%;
    margin-bottom: 1%;
}

.history-container .b-payment-info .cf .span_1_of_3 {
    margin-top: 5%;
    margin-bottom: 1%;
    width: 41.3%;
}

.history-container .element-submit {
    padding-top: 20px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/**
 * Form
 */
.field-wrapper {
    display: table;
    *display: block;
}

.hint-wrapper .hint {
    color: #acafb2;
    font-size: 13px;
}

.cf.element-holder {
    padding-top: 5px;
}

.element-holder .form-title {
    padding-top: 15px;
}

.element-holder .b-payment-card-input {
    width: 100%;
    margin-top: 10px;
}

.element-cvv2 .form-title {
    padding-left: 180px;
}

.cf.element-submit {
    padding-bottom: 30px;
}

.element-submit .col {
    margin-left: 1%;
    padding-left: 127px;
    width: 320px;
}

.element-submit.err .col {
    padding-left: 0;
    margin: auto;
    width: 325px;
    float: none;
    display: block;
    max-width: 325px;
    padding-top: 20px;
}

.element-submit .submit-button {
    height: 62px;
    font-size: 15px;
}

.submit-container {
    margin:8px 0;
}

.submit-button {
    position: absolute;
    width: 100%;
    left: 0px;
    background: #58c8cd;
    text-transform: uppercase;
    color: #ffffff;
    padding: 8.5px 18px;
    font-size: 14px;
    text-decoration: none;
    vertical-align: middle;
    border: 0px;
}

.submit-button .submit-button-text {
    display: block;
}

.submit-button .submit-button-loading {
	display: block;
	height: 100%;
    width: 100%;
}

.authorizerPhone {
    width: 306px;
}

.notice {
	display: inline-block;
	width: 30px;
	height: 28px;
	padding-top: 5px;
	margin-left: 5px;
	cursor: pointer;
}

.b-footer-wrapper .pci {
    font-size: 13px;
    padding-left: 20px;
}

.phone-link {
	text-decoration: none;
	color: #3c3d40;
	cursor: default;
}

.cvv-container {
	text-align: right;
	color: #5e6163;
	position: relative;
	width: 100%;
}

.cvv-container .zero {
    display: block;
    width: 45px;
    float: right;
    margin-top: 8px;
    margin-right: 10px;
    font-weight: normal;
    font-size: 19px;
}

span.sl {
    display: inline-block;
	margin: 10px 3px 0px 0px;
    width: 9px;
    color: #ffffff;
    font-size: 19px;
    position: relative;
}

/**
 * Payment
 */
.b-payment-data {
    padding: 0px;
    margin-bottom: 30px;
}

.b-payment-data__row {
    padding: 5px 0 1px 0;
    margin-bottom: 5px;
}

.b-payment-data__label, .b-payment-data__value {
    float: left;
}

.b-payment-data__label {
    width: 100%;
    margin-right: 2%;
    padding-bottom: 2px;
    color: #4e4e4e;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
}

.b-payment-data__value {
    width: 100%;
    font-size: 18px;
    color: #aaa;
    margin-bottom: 2px;
}

.longTextVal {
    font-size: 17px;
}

.b-payment-data .text {
    text-align: center;
}

/**
 * SberPay
 */
#sberPay {
    cursor: pointer;
	display: none;
}

.sberPayContainer {
    margin-left: 0px;
    padding-top: 6px;
}

.sberpay-button {
    position: absolute;
    left: 0;
    vertical-align: middle;
    text-align: center;
    width: 100% !important;
    margin: 15px 0px 0px;
    height: 62px;
    background-color: #009E47;
}

.sberpay-button span {
    color: #fff;
    font-size: 20px;
    position: relative;
    top: -6px;
}

.sberpay-button img {
    width: 90px;
    height: 43px;
    position: relative;
    top: 8px;
}

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

.applePayContainer {
    padding-top: 6px;
}

.apple-pay-f-button {
    width: 100%;
    padding: 11px 0px;
    border: 2px solid #000;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
		margin: 15px auto 0 auto;
		width: 100% !important;
		height: 62px !important;
    }
    .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: 8px;
        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;
    margin-top: 15px;
}

.samsungpay-button {
    display: inline-block;
    padding: 0.9rem 0;
    text-align: center;
    width: 100% !important;
	height: 2.08rem !important;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: #000;
}

.samsungpay-button span {
    color: #fff;
    font-size: 17px;
    position: relative;
    top: -7px;
    padding-right: 10px;
}

.samsungpay-button img {
    width: 186px;
    height: 24px;
    padding-top: 5px;
}

/**
 * GooglePay
 */
#googlePay {
	display: none;
    padding-top: 15px;
}

.googlePayContainer button.gpay-button {
	width: 100% !important;
	height: 3.88rem !important;
    padding: 0.9rem 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    outline: none;
}

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

/**
 * QR SBP
 */
.qrcode-scan-msg img {
    width: 30px;
    height: 37px;
    float: left;
    margin-right: 20px;
}

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

.qrcode-scan-findbank .field-wrapper,
.qrcode-scan-findbank input {
    width: 100%;
}

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

.qrcode-scan-msg span {
    position: relative;
    top: 10px;
}

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

.qrcode-bank a {
    display: block;
    min-height: 40px;
    margin-top: 4px;
    color: #58c8cd;
    text-decoration: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

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

#sberPayPushSentBtn {
    display: none;
}

@media (max-width: 1024px) {

    #sberPayPushSentBtn {
        display: none;
    }

}

.sberpay-app-notify-container {
    display: none;
}

.sberpay-app-msg {
    margin-top: 14px;
    word-break: break-word;
}

#sberPayPushChangePhoneBtn {
    margin-top: 20px;
}
