@charset "UTF-8";

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@font-face {
  font-weight: normal;
  font-family: 'seropro';
  font-style: normal;
  src: url('../../fonts/SeroPro.eot');
  src:
    local('☺'),
  url('../../fonts/SeroPro.woff') format('woff'),
  url('../../fonts/SeroPro.ttf') format('truetype'),
  url('../../fonts/SeroPro.svg') format('svg');
}

@font-face {
  font-weight: normal;
  font-family: 'seropro-medium';
  font-style: normal;
  src: url('../../fonts/SeroPro-Medium.eot');
  src:
    local('☺'),
  url('../../fonts/SeroPro-Medium.woff') format('woff'),
  url('../../fonts/SeroPro-Medium.ttf') format('truetype'),
  url('../../fonts/SeroPro-Medium.svg') format('svg');
}

@font-face {
  font-weight: normal;
  font-family: 'rublregular';
  font-style: normal;
  src: url('../../fonts/rouble.eot');
  src: url('../../fonts/rouble.eot?#iefix') format('embedded-opentype'),
  url('../../fonts/rouble.woff') format('woff'),
  url('../../fonts/rouble.ttf') format('truetype'),
  url('../../fonts/rouble.svg#als_rublregular') format('svg');
}

* {
  outline: none;
}

.load-block {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 27, 27, 0);
}

.loader {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  font-size: 8px;
  text-indent: -9999em;
  border: 9px solid rgba(167, 167, 167, 0.4);
  border-left-color: #5cb85c;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.loader,
.loader::after {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.rouble {
  font-family: 'rublregular', sans-serif;
  font-style: normal;
  content: '+0071';
}

.finish-container {
  padding: 24px;
  background-color: #fff;
}

.finish-container .rouble {
  font-size: 14px;
  line-height: 16px;
}

.finish-container .row-text {
  letter-spacing: 0.2px;
}

.finish-container .text-check.row-text {
  font-weight: bold;
  font-size: 20px;
  line-height: 28px;
}

.finish-container #orderDescription.row-text {
  margin: 16px 0 0 0;
  font-size: 14px;
  line-height: 20px;
}

.finish-container #merchantUrl.row-text {
  margin: 8px 0 0 0;
  color: #bfbfbf;
  font-size: 14px;
  line-height: 20px;
}

.finish-container .text-amount.row-text {
  margin: 24px 0 0 0;
  font-weight: bold;
  line-height: 28px;
}

.finish-container .text-amount.row-text #amount {
  font-size: 20px;
}

.finish-container .text-amount.row-text #amountPartSecond {
  font-size: 14px;
}

.panel-top {
  margin: 50px 0 52px 0;
}

.panel-top #accessTitle,
.panel-top #errorTitle {
  font-weight: bold;
  font-size: 20px;
  line-height: 28px;
}

.panel-top .status-img {
  margin: 40px 0 27px 0;
  text-align: center;
}

.panel-top .status-img .image-timeout {
  display: none;
  height: 133px;
}

.panel {
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.panel .bg {
  height: 7px;
  background-image: url('../../assets/img/bg_finish_panel.gif');
  background-repeat: repeat-x;
  background-position: top center;
}

.panel-bottom {
  margin: 46px 0 0 0;
}

.panel-bottom .btn-back {
  margin: 0 0 52px 0;
}

.panel-bottom .text-help {
  margin: 0 0 20px 0;
  color: #ababab;
  font-size: 12px;
  line-height: 20px;
}

.panel-bottom .text-help a {
  color: #333;
}

.left {
  float: left;
  width: 344px;
  margin-right: 64px;
}

.right {
  float: left;
  width: 252px;
}

.gray-txt {
  margin: 10px 0 0 0;
  color: #333;
  font-size: 15px;
  font-family: 'seropro', sans-serif;
  -moz-opacity: 0.4;
  opacity: 0.4;
  filter: alpha(opacity=40);
}

.left-pad {
  padding-left: 25px;
}

.card-block.new-block {
  margin-top: 0;
  padding: 24px;
}

.card-block {
  margin: 40px 0 25px 0;
  padding: 16px 0 16px 24px;
  background-color: #fff;
  border: solid 1px #d5d5d5;
  border-radius: 12px;
}

.simple-input,
#customInputs input {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 117px;
  max-width: 100%;
  height: 47px;
  color: #333;
  font-size: 20px;
  text-shadow: 0 0 0 #333;
  background-color: #fff;
  border: 0;
  border-bottom: solid 1px #ffa715;
  border-radius: 0;
  -webkit-appearance: none;
  filter: none;
}

.simple-input,
#customInputs input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #333;
}

.second-block .simple-input,
.second-block #customInputs input {
  height: 30px;
  font-size: 15px;
}

.second-block .simple-input:focus,
.second-block #customInputs input:focus,
.second-block .simple-input.act {
  height: 46px;
}

.simple-input-locales {
  position: relative;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 65px;
  max-width: 100%;
  height: 30px;
  padding: 0 7px;
  color: #333;
  font-size: 20px;
  font-family: 'seropro', sans-serif;
  line-height: 30px;
  text-indent: 0.01px;
  -o-text-overflow: '';
  text-overflow: '';
  text-shadow: 0 0 0 #333;
  background: transparent url('../img/down-arrow.svg') no-repeat 80% 50%;
  border: 0;
  border-bottom: solid 1px transparent;
  -ms-appearance: none;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  -webkit-text-fill-color: transparent;
}

.simple-input-locales::-ms-expand {
  display: none;
}

.simple-input-locales > option {
  border: none;
  outline: none;
}

.simple-input-locales:focus {
  background-color: #fff;
  border-bottom: solid 1px #fff;
  border-bottom: 1px solid #ffa715;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.simple-input:disabled,
#customInputs input:disabled {
  border-bottom: solid 1px transparent;
}

textarea.simple-input {
  height: inherit;
}

.simple-input.gray,
#customInputs input.gray {
  background: #f8f8f8;
}

.simple-input.large,
#customInputs input.large {
  width: 274px;
}

#error-collapse {
  min-height: 30px;
  margin: 10px 0;
  color: #f00;
  font-size: 12pt;
  font-family: 'seropro', sans-serif;
}

.simple-input.error,
#customInputs input.error {
  border-bottom: 0;
  -moz-box-shadow: inset 0 0 1px 1px #f00, 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: inset 0 0 1px 1px #f00, 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 1px 1px #f00, 0 4px 12px 0 rgba(0, 0, 0, 0.12);
}
.simple-input.error:not(:focus),
#customInputs input.error:not(:focus) {
  text-indent: 10px;
}

.simple-input.ok,
#customInputs input.ok {
  border-bottom: solid 1px #fff;
  box-shadow: none;
}

.simple-input::-webkit-input-placeholder,
#customInputs input::-webkit-input-placeholder {
  -moz-opacity: 0.3;
  opacity: 0.3;
  filter: alpha(opacity=30);
}

.simple-input::-moz-placeholder,
#customInputs input::-moz-placeholder {
  -moz-opacity: 0.3;
  opacity: 0.3;
  filter: alpha(opacity=30);
}

.simple-input:-ms-input-placeholder,
#customInputs input:-ms-input-placeholder {
  -moz-opacity: 0.3;
  opacity: 0.3;
  filter: alpha(opacity=30);
}

.simple-input:focus,
#customInputs input:focus,
.simple-input.act {
  width: 131px;
  height: 63px;
  margin: -8px -7px;
  padding: 0 7px;
  background-color: #fff;
  border-bottom: solid 1px #fff;
  -moz-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  -webkit-appearance: none;
}

.simple-input.gray.ok,
#customInputs input.gray.ok {
  border-bottom: solid 1px #f8f8f8;
}

.simple-input.large:focus,
#customInputs input:focus,
.simple-input.large.act {
  width: 296px;
  margin: -8px -11px;
  padding: 0 11px;
}

.simple-input.error {
  /* text-indent: 5px; */
}

.description {
  padding: 0 0 30px 0;
  font-size: 12pt;
  white-space: break-spaces;
}

.act ~ .reload,
.simple-input:focus ~ .reload,
#customInputs input:focus ~ .reload {
  cursor: default;
  -moz-opacity: 0.2;
  opacity: 0.2;
  filter: alpha(opacity=20);
}

.expiry-input .simple-input {
  float: left;
}

.expiry-input .simple-input:first-child {
  margin-right: 40px;
}

.expiry-input .simple-input:first-child:focus {
  margin-right: 33px;
}

.card-out {
  padding-top: 35px;
}

.row {
  padding: 0;
}

.row label {
  display: block;
  margin: 0 0 11px 0;
}

label.title {
  height: 24px;
  margin-bottom: 11px;
  font-size: 20px;
  font-family: 'seropro-medium', sans-serif;
  line-height: 1.2;
}

label.title img {
  display: block;
  max-height: 24px;
  margin: auto 0;
}

.card-type {
  display: block;
  float: right;
  width: 75px;
  height: 25px;
  background-image: url("../img/ps-transparent.svg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
  transition: background-image 0.2s;
}

.card-type.MASTERCARD {
  background-image: url('../img/ps-mc.svg');
}

.card-type.VISA {
  background-image: url('../img/ps-visa.svg');
}

.card-type.MAESTRO {
  background-image: url('../img/ps-maestro.svg');
}

.card-type.JCB {
  background-image: url('../img/ps-jcb.svg');
}

.card-type.MIR {
  background-image: url('../img/ps-mir.svg');
}

.bank {
  display: none;
  float: left;
}

.card-block-header img {
  display: block;
  max-height: 40px;
  margin: auto 0;
}

.row-expiry {
  display: inline-block;
}

.row .input-group,
.expiry-input,
.amount-field,
.email-input {
  position: relative;
  display: inline-block;
  padding: 5px 0 11px 0;
}

.row .input-group {
  padding: 5px 0 11px 0;
}

.row .input-group,
.expiry-input,
.email-input {
  width: 100%;
}

.expiry-input {
  padding: 16px 0 0 0;
  position: relative;
}

.input-month input {
  width: 50px;
  text-align: center;
}

.input-year input {
  width: 50px;
  text-align: center;
}

.input-month input:focus,
.input-year input:focus {
  width: 64px;
  padding: 0 5px;
}

.input-slash {
  float: left;
  width: 17px;
  line-height: 46px;
  border-bottom: solid 1px #ffa715;
}

.amount-field .col-amount {
  float: left;
  margin: 0;
}

.amount-field .col-dot {
  float: left;
  width: 40px;
  margin: 0;
  line-height: 47px;
  text-align: center;
}

.amount-field .col-amount-minor {
  float: left;
  margin: 0;
}

.amount-field .input-group-addon {
  position: absolute;
  left: 100%;
  width: 20px;
  font-size: 20px;
  line-height: 47px;
  text-align: center;
}

.main-button-block {
  display: inline-block;
  margin: 50px 0 0 0;
  padding: 0;
}

.btn {
  display: inline-block;
  width: 280px;
  height: 64px;
  padding: 0;
  color: #fff;
  font-size: 20px;
  font-family: 'seropro-medium', sans-serif;
  line-height: 64px;
  text-align: center;
  text-decoration: none;
  background-color: #ffa715;
  border-radius: 4px;
  cursor: pointer;
}

.btn.disabled,
.btn[disabled] {
  background-color: #d5d5d5;
  cursor: default;
}

.btn.focus,
.btn:focus,
.btn:hover {
  color: #fff;
}

.btn:focus,
.btn:active {
  -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.9);
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.9);
}

.btn__amount,
.btn__amount-currency {
  display: none;
}

a.btn .fa {
  margin-right: 7px;
}

.ps-logos {
  width: 200px;
  height: 40px;
  margin-top: 12px;
  background: url("../img/ps-logos@3x.png") no-repeat 0 0;
  background-size: contain;
  background-position: center;
  opacity: 0.3;
}

@media (max-width: 720px) {
  .ps-logos {
    margin-top: 30px;
  }
}

.modal-payment .ps-logos {
  margin-top: 0;
  margin-bottom: 20px;
}

.error-page .btn {
  margin: 60px auto 0 auto;
}

.clear-btm-border,
.simple-input .clear-btm-border,
#customInputs input.clear-btm-border {
  border-bottom: solid 1px transparent;
}

.clear::after {
  clear: both;
}

.clear::before,
.clear::after {
  display: table;
  content: '';
}

.finish-container .row {
  margin-bottom: 0;
}

.finish-container .row + .row {
  margin-top: 5px;
}

.btn-back {
  padding: 0 0 10px 0;
}

#amountShow {
  display: none;
  padding: 0 0 25px 25px;
  font-size: 20px;
}

#amountShow .amount {
  margin: 0 5px 0 0;
  font-weight: normal;
  font-family: 'seropro', sans-serif;
}

#amountShow.pointer {
  cursor: pointer;
}

.js-currency-symbol.fa {
  font-size: 17px;
}

#generated-link {
  margin: 15px 0 15px 0;
  font-size: 15px;
  word-break: break-all;
}

.share-title {
  margin-bottom: 10px;
  text-align: center;
}

.social-button {
  display: inline-block;
  width: 25%;
  text-align: center;
}

.social-share {
  margin: 10px 0;
  text-align: center;
}

.mobile #iCVC {
  -webkit-text-security: disc;
}

#focusOut {
  width: 0;
  height: 0;
  font-size: 0;
  background: none;
  border: none;
}

.modal-payment .btn-success {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border-radius: 0;
}


.modal-payment .card-out {
  padding-top: 10px;
}

.modal-payment #email_predefined_block {
  padding: 0 25px;
}

.modal-payment .panel-top .status-img {
  margin-top: 10px;
}

.modal-payment .panel-bottom .btn-back {
  display: block;
  margin-bottom: 20px;
  padding: 0;
  border: none;
  outline: none;
  -webkit-appearance: none;
}

.flex-center {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  margin-bottom: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.modal-payment #description_predefined_block {
  margin: 0 auto;
}

.modal-payment .description {
  font-size: 11pt;
}

.modal-payment .panel-bottom {
  margin: 16px 0 0 0;
}

.modal-payment .panel-top {
  margin: 50px 0 22px 0;
}

.modal-payment .error-page {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 220px;
  height: 280px;
  margin: auto;
  padding: 0;
  background-color: #f8f8f8;
}

.modal-payment .btn.btn-copy {
  position: relative;
  z-index: 100;
  border-radius: 4px;
}

.modal-payment .btn__amount,
.modal-payment .btn__amount-currency {
  display: inline;
}


.modal-payment .price {
  position: fixed;
  top: 12px;
  right: 25px;
  z-index: 2;
}

.modal-payment .main-form {
  padding: 10px 0 0 0;
}

.modal-payment .left {
  float: none;
  width: 330px;
  margin: 0 auto;
}

.modal-payment .right {
  float: none;
  width: 330px;
  margin: 15px auto 0;
}

.modal-payment .right br {
  display: none;
}

.modal-payment .main-button-block {
  display: block;
  margin: 0 0 10px 0;
  padding: 0;
}

.modal-payment .main-button-block .right {
  float: none;
  width: 190px;
  margin: -10px auto -10px auto;
}

.modal-payment .card-block {
  margin: 16px 0;
}

.modal-payment .bally-system {
  width: 100%;
  padding: 0 0 10px 0 !important;
}

.modal-payment .bally-bar {
  width: 100%;
}

.modal-payment #bonus-system {
  position: relative;
  width: 100%;
  padding: 10px 0 0 0;
}

.modal-payment #bonus-system .spasibo-block {
  position: absolute;
  top: 5px;
  right: 0;
}

.modal-payment .bally-system .par {
  padding-bottom: 40px;
}

.modal-payment #bonus-system .gray-txt {
  position: absolute;
  top: 40px;
  left: 0;
}

.modal-payment .email-main-ttl {
  margin-bottom: 0;
  font-size: 18px;
}

.modal-payment .right .gray-txt,
.modal-payment .right .error-txt {
  margin-bottom: 20px;
  padding: 0 0 0 25px;
}

.modal-payment .exit {
  position: absolute;
  top: -2px;
  right: 10px;
}

.modal-payment .entered-txt {
  display: block;
}

.modal-payment .expiry-input .simple-input:first-child {
  margin-right: 20px;
}

.modal-payment .expiry-input .simple-input:first-child:focus {
  margin-right: 13px;
}

@media (max-width: 720px) {
  #description_predefined_block {
    margin: 0 auto;
  }

  .simple-input-locales:focus {
    margin: 0;
    box-shadow: none;
  }

  .description {
    font-size: 11pt;
  }

  .panel-bottom {
    margin: 16px 0 0 0;
  }

  .panel-top {
    margin: 0 0 22px 0;
  }

  .error-page {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 220px;
    height: 280px;
    margin: auto;
    padding: 0;
    background-color: #f8f8f8;
  }

  .btn__amount,
  .btn__amount-currency {
    display: inline;
  }

  .price {
    position: fixed;
    top: 12px;
    right: 25px;
    z-index: 2;
  }

  .main-form {
    padding: 10px 0 0 0;
  }

  .left {
    float: none;
    width: 330px;
    margin: 0 auto;
  }

  .right {
    float: none;
    width: 330px;
    margin: 15px auto 0;
  }

  .right br {
    display: none;
  }

  .main-button-block {
    display: block;
    margin: 0 0 10px 0;
    padding: 0;
  }

  .main-button-block .right {
    float: none;
    width: 190px;
    margin: -10px auto -10px auto;
  }

  .card-block {
    margin: 16px 0;
  }

  .bally-system {
    width: 100%;
    padding: 0 0 10px 0 !important;
  }

  .bally-bar {
    width: 100%;
  }

  #bonus-system {
    position: relative;
    width: 100%;
    padding: 10px 0 0 0;
  }

  #bonus-system .spasibo-block {
    position: absolute;
    top: 5px;
    right: 0;
  }

  .bally-system .par {
    padding-bottom: 40px;
  }

  #bonus-system .gray-txt {
    position: absolute;
    top: 40px;
    left: 0;
  }

  .email-main-ttl {
    margin-bottom: 0;
    font-size: 18px;
  }

  .right .gray-txt,
  .right .error-txt {
    margin-bottom: 20px;
    padding: 0 0 0 25px;
  }

  .exit {
    position: absolute;
    top: -2px;
    right: 10px;
  }

  .entered-txt {
    display: block;
  }

  .expiry-input .simple-input:first-child {
    margin-right: 20px;
  }

  .expiry-input .simple-input:first-child:focus {
    margin-right: 13px;
  }

  .btn-copy {
    padding: 0;
  }

  .modal-payment .panel-top {
    margin: 45px 0 22px 0;
  }
}

@media (max-width: 420px) {
  .social-share {
    display: block;
  }

  .modal-payment .left {
    width: 100%;
  }

  .finish-container {
    margin-left: 0;
  }

  .btn-back {
    padding: 0;
  }
}

@media (max-width: 375px) {
  .right,
  .modal-payment .right {
    margin: 15px 0 0;
  }

  #error-collapse {
    min-height: 0;
    margin-left: 25px;
  }

  .description {
    padding: 0 0 30px 0;
  }

  .modal-payment .right,
  .modal-payment .left {
    width: 100%;
  }

  .card-block.new-block {
    margin-top: 0;
  }

  #email_predefined_block .email-input {
    box-sizing: border-box;
    padding: 0;
  }

  .left,
  .right {
    width: 100%;
  }

  .simple-input,
  #customInputs input {
    font-size: 16px;
  }

  .expiry-input .simple-input {
    width: 98px;
  }

  .expiry-input .simple-input:focus {
    width: 112px;
  }

  .input-month input,
  .input-year input {
    width: 40px;
    font-size: 16px;
  }

  .input-slash {
    width: 10px;
  }

  #customInputs input.large,
  .simple-input.large {
    width: 94%;
  }

  .right .gray-txt,
  .right .error-txt,
  .modal-payment .right .gray-txt,
  .modal-payment .right .error-txt {
    margin: 0 24px 10px;
    padding: 0 0 10px 0;
    text-align: left;
  }

  .cvv-info {
    position: absolute;
    left: 100%;
    margin: 0;
    line-height: 53px;
  }

  .row .input-group,
  .email-input {
    width: 106%;
  }

  .simple-input.large:focus,
  #customInputs input:focus,
  .simple-input.large.act {
    width: 100%;
    margin: -8px -3%;
    padding: 0 8px;
  }

  .main-button-block {
    display: block;
    margin: 0 auto;
    padding: 0;
  }

  .right {
    margin: 15px 0 0;
  }

  .main-button-block .left-pad {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .card-type {
    margin-right: 0;
  }
}

@media screen and (min-width: 0\0) {
  .simple-input {
    color: #333;
  }

  .btn {
    line-height: 72px;
  }

  .label span {
    line-height: 34px;
  }
}

.merchant-footer {
  margin-top: 20px;
}

.modal-payment .merchant-footer {
  margin-top: -45px;
  margin-bottom: 60px;
}

/* Human-robot optimization */
body {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #333;
  font-size: 14px;
  font-family: 'seropro', sans-serif;
  line-height: 1.43;
  letter-spacing: 0.2px;
  background: #f8f8f8;
  margin: 0;
}

body.modal-payment {
  position: relative;
  z-index: 111;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8px;
}

@media (min-width: 421px) {
  body.modal-payment {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

.wrapper {
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  padding-bottom: 40px;
  background-color: #f8f8f8;
}

@media (max-width: 720px) {
  .wrapper {
    padding-top: 58px;
  }
}

@media (max-width: 375px) {
  .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.modal-payment .wrapper {
  max-width: 390px;
  padding-top: 58px;
  padding-bottom: 64px;
}

@media (max-width: 420px) {
  .modal-payment .wrapper {
    /* width: 95%; */
    /* margin: 1% auto 3%; */
  }
}


.l-wrapper-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2000;
}

@media (min-width: 421px) {
  .l-wrapper-close {
    transform: translate(50%, -50%);
  }
}

.close-button {
  /* button-reset */
  padding: 0;
  color: inherit;
  font: inherit;
  background-color: transparent;
  border: none;

  display: none;
  cursor: pointer;
  position: relative;
  background-image: url("../img/cross.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  height: 48px;
  width: 48px;
}

.modal-payment .close-button {
  display: block;
}

@media (min-width: 421px) {
  .close-button {
    width: 28px;
    height: 28px;
    background-color: #fff;
    border: 2px solid #d5d5d5;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
    background-size: 19px;
  }

  .close-button:focus {
    -webkit-box-shadow: 0 0 2px 3px #ffa715;
    box-shadow: 0 0 2px 3px #ffa715;
  }
}


.l-header {
  width: 100%;
  height: 48px;
  padding-left: 20px;
  padding-right: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .l-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: #fff;
  }
}

.modal-payment .l-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: #fff;
}

@media (max-width: 420px) {
  .modal-payment .l-header {
    padding-right: 48px;
  }
}

.l-header__inner {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding-top: 12px;
  padding-bottom: 11px;
}

.modal-payment .l-header__inner {
  max-width: 330px;
}


.l-header__logos .logo-bank {
  width: 180px;
  height: 25px;
  background-image: url("../img/logo/logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 720px) {
  .l-header__logos .logo-bank {
    width: 160px;
  }
}

.l-header__logos .logo-bank.logo_en {
  background-image: url("../img/logo/logo_en.svg");
}

.modal-payment .l-header__logos .logo-bank {
  width: 160px;
}


.l-header__logos .merchant-logo {
  display: none !important;
  position: absolute;
  left: 160px;
  width: 100px;
  height: 25px;
}

@media (min-width: 720px) {
  .l-header__logos .merchant-logo {
    left: 200px;
  }
}

.l-header__logos .merchant-logo img {
  max-width: 100%;
  max-height: 100%;
}


.l-header__lang-select {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  margin-top: 2px;
}


/* question */

.c-question {
  position: absolute;
  bottom: 0;
  right: -18px;
  height: 28px;
  width: 28px;
  margin: 10px;
}

.c-question__button {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 24px;
  height: 24px;
  background: url("../img/question.svg") no-repeat 0 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
}

.c-question:focus .c-question__button {
  -webkit-box-shadow: 0 0 2px 3px #ffa715;
  box-shadow: 0 0 2px 3px #ffa715;
}

.c-question:focus .c-question__button,
.c-question:hover .c-question__button {
  opacity: 1;
}

.c-question__hint {
  display: none;
  position: absolute;
  top: 50%;
  height: 48px;
  left: 40px;
  line-height: 48px;
  transform: translate(0, -50%);
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
  background-color: #fff;
  -moz-box-shadow: -2px 2px 18px 12px rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: -2px 2px 18px rgba(0, 0, 0, 0.12);
  box-shadow: -2px 2px 18px 12px rgba(0, 0, 0, 0.12);
}

/*
  В Opera for Android при темной теме для ВЕБ-СТРАНИЦ,
  чтобы компенсировать инверсию добавлена белая рамка
*/
.c-question__border::before,
.c-question__border::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 3px solid transparent;
}

.c-question__border::before {
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.c-question__border::after {
  border-top-color: #fff;
  border-left-color: #fff;
}

@media (max-width: 720px) {
  .c-question__hint {
    left: auto;
    right: 40px;
  }
}

@media (max-width: 375px) {
  .c-question__hint {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }
}

.modal-payment .c-question__hint {
  left: auto;
  right: 40px;
}

.c-question:hover .c-question__hint,
.c-question:focus .c-question__hint,
.c-question.act .c-question__hint {
  display: block;
}

.c-question__hint::after,
.c-question__hint::before {
  content: '';
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  border: 10px solid transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.c-question__hint::before {
  border-right-color: #fff;
  right: 100%;
  display: block;
}

/* .modal-payment .c-question__hint::after { */
.c-question__hint::after {
  border-left-color: #fff;
  left: 100%;
  display: none;
}

@media (max-width: 720px) {
  .c-question__hint::before {
    display: none;
  }

  .c-question__hint::after {
    display: block;
  }
}

.modal-payment .c-question__hint::before {
  display: none;
}

.modal-payment .c-question__hint::after {
  display: block;
}
