﻿@font-face {
  font-family: 'seropro';
  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-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'seropro-medium';
  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-weight: normal;
  font-style: normal
}

@font-face {
  font-family: 'rublregular';
  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');
  font-weight: normal;
  font-style: normal;
}

body {
  background: #F8F8F8;
  color: #333;
  font-size: 14px;
  font-family: 'seropro';
  line-height: 1.43;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  min-width: 320px;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.clear:after {
  clear: both;
}

.pull-left {
  float: left;
}

.wrapper {
  max-width: 700px;
  padding: 20px;
  margin: 0 auto;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  min-height: 100%;
  position: relative;
}

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

.rouble {
  font-family: 'rublregular';
  content: '+0071';
}

.logo {
  height: 32px;
  display: block;
  background: url(../images/sberbank.svg) no-repeat 0 0;
  margin: 0 0 16px 0;
}

.gray-txt {
  opacity: 0.4;
  -moz-opacity: 0.4;
  filter: alpha(opacity=40);
}

.green-txt {
  color: #1a9f29;
}

.error-txt {
  color: #ff0000;
}

.price {
  font-size: 20px;
  font-family: 'seropro-medium';
}

.par {
  margin: 4px 0 12px 0;
}

.simple-input {
  height: 47px;
  width: 117px;
  border: 0;
  background-color: #fff;
  border-bottom: solid 1px #ffa715;
  font-size: 20px;
  color: #333;
  font-family: 'seropro';
  color: #FFA715;
  text-shadow: 0 0 0 #333;
  -webkit-text-fill-color: transparent;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  max-width: 100%;
}

.holder-name-filled,
.cardholder .simple-input.ok {
  text-transform: uppercase;
}

.simple-input.gray {
  background: #F8F8F8;
}

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

.simple-input.ok {
  border-bottom: solid 1px #fff;
}

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

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

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

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

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

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

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

.input-with-icon {
  position: relative;
}

.reload {
  width: 24px;
  height: 24px;
  background: url(../images/reload.svg) no-repeat 0 0;
  position: absolute;
  top: 10px;
  right: 40px;
  cursor: pointer;
}

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

.error~.reload {
  right: 50px;
}

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

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

.right .error-txt {
  margin-top: 7px;
}

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

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

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

.card-block.new-block {
  padding: 24px 0 40px 24px;
  margin-top: 0;
}
.card-block.new-block .cardholder,
.card-block.new-block .two-inputs {
  padding: 16px 0 0 0;
}
.card-block.new-block .cardholder {
  width: 100%;
}
.card-block-header {
  height: 24px;
  font-size: 20px;
  font-family: 'seropro-medium';
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.add-new-card {
  padding: 35px 24px;
  margin: 0;
}

.add-new-card .gray-txt,
.add-new-card .green-txt {
  font-size: 20px;
  line-height: 24px;
}

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

.choose-card.disabled .card-block {
  opacity: 0.5;
  -moz-opacity: 0.5;
  filter: alpha(opacity=50);
}

.choose-card .bonus-system {
  display: none;
  width: 660px;
}

.choose-card.act .bonus-system {
  display: block;
}

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

.card-type {
  float: right;
  padding-right: 27px;
  display: none;
}

.two-inputs .simple-input {
  float: left;
}

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

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

.two-inputs .question-out {
  float: left;
  margin: 10px 0 0 10px;
}

.question-out {
  position: relative;
  display: table;
  cursor: pointer;
}

.question {
  background: url(../images/question.svg) no-repeat 0 0;
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  opacity: 0.6;
  -moz-opacity: 0.6;
  filter: alpha(opacity=60);
}

.question-out:hover .question {
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
}

.question-hint {
  background-color: #fff;
  position: absolute;
  left: 43px;
  top: -10px;
  height: 48px;
  line-height: 48px;
  padding: 0 16px;
  white-space: nowrap;
  box-shadow: -2px 2px 18px 12px 0 rgba(0, 0, 0, 0.12);
  -moz-box-shadow: -2px 2px 18px 12px 0 rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: -2px 2px 18px 0 rgba(0, 0, 0, 0.12);
  display: none;
}

.question-hint:before {
  content: '';
  border: 10px solid transparent;
  border-right: 10px solid #fff;
  margin: 14px 16px -5px -36px;
  display: inline-block;
  width: 0;
  height: 0;
}

.question-out:hover .question-hint,
.question-out.act .question-hint {
  display: block;
}

.checkbox {
  width: 24px;
  height: 24px;
  background: url(../images/check-off.svg) no-repeat 0 0;
}

.label-checkbox .checkbox {
  float: left;
}

.label-checkbox.act .checkbox {
  background: url(../images/check-on.svg) no-repeat 0 0;
}

.label {
  display: block;
}

.label span {
  cursor: pointer;
  line-height: 28px;
  font-size: 20px;
  opacity: 0.4;
  -moz-opacity: 0.4;
  filter: alpha(opacity=40);
  font-family: 'seropro-medium';
  margin: 0 0 0 16px;
  display: inline-block;
}

.btn {
  width: 280px;
  height: 64px;
  border-radius: 4px;
  color: #fff;
  background-color: #ffa715;
  font-size: 20px;
  text-align: center;
  font-family: 'seropro-medium';
}

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

.btn:focus {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.9);
  -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);
}

a.btn {
  display: table;
  text-decoration: none;
  line-height: 64px;
}

.btn span {
  display: none;
}

.main-button-block {
  padding: 76px 0 0 0;
}

.ps-logos {
  width: 183px;
  height: 40px;
  margin: 12px 0 0 0;
  background: url(../images/ps-logos/ps-logos@3x.png) no-repeat 0 0;
  background-size: 183px 40px;
}

.card-number-filled,
.holder-name-filled {
  font-size: 20px;
}

.card-additional-info {
  padding-right: 27px;
  float: right;
}

.bally-system {
  width: 296px;
  margin-bottom: 45px;
}

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

.bally-count {
  float: left;
  text-align: left;
}

.rubles-count {
  float: right;
  text-align: right;
}

.bally-count span,
.rubles-count span {
  font-size: 20px;
  display: block;
}

.bally-bar {
  width: 296px;
  height: 2px;
  border-radius: 31px;
  -moz-border-radius: 31px;
  -webkit-border-radius: 31px;
  background-color: #D5E7D1;
  margin-top: 13px;
  position: relative;
}

.bally-bar-value {
  height: 2px;
  background-color: #1a9f29;
  border-radius: 31px;
  -moz-border-radius: 31px;
  -webkit-border-radius: 31px;
}

.bally-bar-handler {
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  background-color: #169E28;
  width: 16px;
  height: 16px;
  position: absolute;
  top: -7px;
  cursor: pointer;
}

.spasibo-block {
  width: 69px;
  height: 33px;
  background: url(../images/spasibo-logo/spasibo-logo@3x.png) 0 0;
  background-size: 69px 33px;
  margin-bottom: 21px;
}

#phone-number {
  display: none;
  padding-top: 20px;
}

#btn-additional-info {
  padding-top: 13px;
  display: none;
}

.email-main-ttl {
  font-size: 20px;
  font-family: 'seropro-medium';
  margin-bottom: 20px;
}

.exit {
  width: 24px;
  height: 24px;
  background: url(../images/exit.svg) no-repeat 0 0;
  cursor: pointer;
  float: right;
  opacity: 0.55;
  -moz-opacity: 0.55;
  filter: alpha(opacity=55);
}

.exit:before {
  content: 'Выйти';
  margin: 0 0 0 -45px;
  line-height: 26px;
  font-size: 13px;
  color: #BDBDBD;
}

.exit:hover,
.exit:focus {
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
}

.plus {
  width: 24px;
  height: 24px;
  background: url(../images/plus.svg) no-repeat 0 0;
  float: right;
}

.card-otkrytie {
  border-color: #40cded;
}

.card-sberbank {
  border-color: #1a9f29;
}

.card-alpha {
  border-color: #ed3523;
}

.choose-card:hover .card-block,
.choose-card.act .card-block {
  margin: -1px -1px 15px -1px;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  -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);
  border-width: 2px;
}

.error-page {
  background-color: #fff;
  padding: 50px 20px;
  text-align: center;
}

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

.error-page img {
  display: block;
  margin: 35px auto;
}

.simple-ttl {
  font-size: 20px;
  font-family: 'seropro-medium';
}

.enter-block {
  position: relative;
}

.entered-txt {
  display: block;
  margin-bottom: 20px;
}

.loader {
  height: 40px;
  width: 100%;
  text-align: center;
  padding: 1em 0;
  margin: 25px auto 0 auto;
  display: inline-block;
  vertical-align: top;
}

.loader svg path,
.loader svg rect {
  fill: #00C600;
}

.text-like-opacity-40 {
  color: #AAA;
}

.offer {
  margin-top: 20px;
}

.offer a {
  text-decoration: none;
  color: #666;
}

.offer a:hover {
  text-decoration: underline;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=tel]#cvc {
  -webkit-text-security: disc;
  text-security: square;
}

input[type=checkbox] {
  opacity: 0;
  -moz-opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  z-index: -1;
}

input[type=checkbox]:focus+span {
  border-bottom: solid 1px #ffa715;
}

input[type=checkbox]+span {
  border-bottom: solid 1px transparent;
}

input:invalid {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

@media (max-width: 699px) {
  body {
    padding: 48px 0 64px 0;
  }
  .error-page {
    background-color: #F8F8F8;
    padding: 0;
    width: 220px;
    height: 280px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .btn {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    z-index: 1000;
  }
  .btn span {
    display: inline;
  }
  .top {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    height: 48px;
    z-index: 100;
  }
  .top .logo {
    margin: 12px 0 0 25px;
  }
  .price {
    position: fixed;
    top: 12px;
    right: 25px;
    z-index: 2;
  }
  .main-form {
    padding: 10px 0 0 0;
  }
  .left {
    float: none;
    margin: 0;
    width: 330px;
  }
  .right {
    float: none;
    margin: 15px 0 0 25px;
    width: auto;
  }
  .right br {
    display: none;
  }
  .main-button-block {
    padding: 0;
  }
  .main-button-block .ps-logos {}
  .card-block {
    margin: 16px 0;
  }
  .question-hint {
    left: auto;
    right: 40px;
    box-shadow: 2px 2px 18px 12px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 2px 2px 18px 12px 0 rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 2px 2px 18px 0 rgba(0, 0, 0, 0.12);
  }
  .question-hint:before {
    display: none;
  }
  .question-hint:after {
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #fff;
    margin: 14px -36px -5px 16px;
    display: inline-block;
    width: 0;
    height: 0;
  }
  .bally-system {
    width: 100%;
    padding: 0 0 10px 0 !important;
  }
  .wrapper {
    padding-bottom: 74px;
  }
  .bally-bar {
    width: 100%;
  }
  #bonus-system {
    position: relative;
    padding: 10px 0 0 0;
    width: 100%;
  }
  #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 {
    font-size: 18px;
    margin-bottom: 0;
  }
  .right .gray-txt,
  .right .error-txt {
    margin-bottom: 20px;
  }
  .exit {
    position: absolute;
    top: -2px;
    right: 10px;
  }
  .two-inputs .simple-input:first-child {
    margin-right: 20px;
  }
  .two-inputs .simple-input:first-child:focus {
    margin-right: 13px;
  }
  .simple-input {
    width: 110px;
  }
  .simple-input:focus,
  .simple-input.act {
    width: 124px;
  }
  .simple-input.large {
    width: 240px;
  }
  .simple-input.large:focus,
  .simple-input.large.act {
    width: 252px;
  }
}

@media (max-width: 375px) {
  .left {
    width: 100%;
  }
  .simple-input {
    width: 90px;
    font-size: 16px;
  }
  .simple-input:focus,
  .simple-input.act {
    width: 104px;
  }
  .simple-input.large {
    width: 230px;
  }
  .simple-input.large:focus,
  .simple-input.large.act {
    width: 242px;
  }
  .question-hint {
    font-size: 12px;
    padding: 0 10px;
  }
  .question-hint:after {
    margin: 14px -30px -5px 16px;
  }
}

@media screen and (min-width:0\0) {
  .simple-input {
    color: #333;
  }
  .btn {
    line-height: 72px;
  }
  .label span {
    line-height: 34px;
  }
}