@charset "UTF-8";
body {
  margin: 0;
  color: #767676;
  font-size: 0;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  background: #fff;
  min-width: 320px;
  overflow-x: hidden;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: none;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 100%;
  font-size: 14px;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  -moz-box-sizing: inherit;
}

* {
  max-height: 1000000px;
}

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

img {
  border-style: none;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #767676;
  outline: none;
}

input, textarea, select {
  font: 100% Arial, Helvetica, sans-serif;
  vertical-align: middle;
  color: #000;
}

textarea {
  overflow: auto;
  resize: vertical;
  vertical-align: top;
  outline: none;
}

form, fieldset {
  margin: 0;
  padding: 0;
  border-style: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

input[type="search"] {
  -webkit-appearance: none;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

input[type="search"]::-webkit-search-decoration {
  display: none;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

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

button {
  padding: 0;
  border: 0;
  outline: none;
}

.hide__content {
  display: none;
}

.page {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
  background: #F0F0F0;
  font-size: 14px;
}

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

.a-center {
  text-align: center;
}

.wrapper {
  background: #F5F5F5;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  width: 100%;
  min-width: 320px;
  position: relative;
  padding: 0px;
}

.text-regulations {
  margin: 5px 5px 2px;
  text-align: center;
  color: #888;
  font-size: 10px;
  line-height: 1;
  position: relative;
  z-index: 99;
}

.text-regulations a {
  text-decoration: underline;
  color: #888;
}

@media only screen and (max-height: 479px) {
  /*
    .wrapper { max-width: 480px; }
  */
}

@media only screen and (min-height: 960px) and (min-width: 640px) {
  .wrapper {
    padding: 0px;
  }
}

@media screen and (min-width: 375px) and (min-height: 627px) {
  html {
    font-size: 16px;
  }
}

@media screen and (min-width: 414px) and (min-height: 736px) {
  html {
    font-size: 18px;
  }
}

@media screen and (min-width: 520px) and (min-height: 860px) {
  html {
    font-size: 23px;
  }
}

@media screen and (min-width: 640px) and (min-height: 960px) {
  html {
    font-size: 28px;
  }
}

.header {
  display: table-row;
  width: 100%;
  background: #FFF;
}

.header .header-wrap {
  display: table-cell;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
}

.header .wrapper {
  text-align: center;
  max-width: 100%;
  padding: 0 0 0.5rem;
}

.header .top-panel {
  text-align: center;
  background: #fff;
}

.header .top-panel .logo {
  font-size: 0.75rem;
  line-height: 1;
  color: #000;
  font-weight: bold;
  background: #F5F5F5;
}

.header .top-panel .logo img {
  width: 7rem;
  height: auto;
  padding: 0.25rem 0;
}

.header .top-panel .screen img {
  width: 15rem;
  height: auto;
}

.header .top-panel .title {
  font-size: 0.857rem;
  line-height: 2;
  color: #000;
  font-weight: bold;
}

.main {
  display: table-row;
  width: 100%;
  height: 100%;
}

.main .main-wrap {
  display: table-cell;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: top;
}

.main .wrapper {
  z-index: 10;
  text-align: center;
  padding: .5rem .7rem;
}

.main .price {
  font-size: 0.714rem;
  line-height: 1;
  color: #8b8b8b;
  margin: 1rem auto;
}

.main .button {
  display: block;
  position: relative;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  width: 90%;
  padding: 5vh 0;
  -webkit-border-radius: 1.78571rem;
  border-radius: 1.78571rem;
  background: #722acb;
  -webkit-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.2);
  -webkit-transition: .5s all linear;
  -o-transition: .5s all linear;
  transition: .5s all linear;
}

.main .button span {
  display: inline-block;
  vertical-align: middle;
  font-size: 2.286rem;
  line-height: 3.57143rem;
  font-weight: 400;
}

.main .button img {
  display: inline-block;
  vertical-align: middle;
  width: 1.25rem;
  height: auto;
  margin-left: 1rem;
}

.main .cancel {
  font-size: 0.57rem;
  line-height: 1;
  color: #292929;
  background: #c1c1c1;
  cursor: pointer;
  padding: 0.358rem 1.35rem;
  -webkit-border-radius: 0.15714rem;
  border-radius: 0.15714rem;
  border: 1px solid #565758;
}

.button {
  display: block;
  cursor: pointer;
}

.button.disabled {
  opacity: .6;
  cursor: default;
}

@media screen and (orientation: landscape) and (max-height: 470px) {
  .main .main-wrap {
    vertical-align: middle;
  }

  .main .content .text-block, .main .content .image {
    display: none;
  }
}

.checkbox-wrap {
  margin: 0.71429rem 0 1rem .5rem;
  width: 100%;
  position: relative;
  padding: .5rem 0;
  color: #000;
  font-size: 1.1rem;
}

.checkbox-wrap a {
  color: inherit;
  text-decoration: underline;
}

.checkbox-wrap a:hover {
  color: inherit;
  text-decoration: underline;
}

.checkbox-wrap a:active, .checkbox-wrap a:visited, .checkbox-wrap a:link {
  color: inherit;
  text-decoration: underline;
}

input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: -9999px;
  visibility: hidden;
}

.checkbox + label {
  position: relative;
  padding: .2rem 0 0 3rem;
  cursor: pointer;
  width: 16rem;
  text-align: left;
  display: inline-block;
}

.checkbox + label:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  -webkit-border-radius: .1rem;
  border-radius: .1rem;
  background: #f7f7f7;
  -webkit-box-shadow: 0 0 2px 1px black;
  box-shadow: 0 0 2px 1px black;
  margin: -1.1rem 0 0;
  -webkit-animation: migCheck 2.5s ease-in-out infinite;
  animation: migCheck 2.5s ease-in-out infinite;
}

.checkbox + label:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #37b2b2;
  opacity: 0;
  -webkit-transition: opacity 0.1s ease-in-out, -webkit-transform 0.25s ease-in-out, -webkit-background-size 0.25s ease-in-out;
  transition: opacity 0.1s ease-in-out, -webkit-transform 0.25s ease-in-out, -webkit-background-size 0.25s ease-in-out;
  -o-transition: opacity 0.1s ease-in-out, transform 0.25s ease-in-out, background-size 0.25s ease-in-out;
  transition: opacity 0.1s ease-in-out, transform 0.25s ease-in-out, background-size 0.25s ease-in-out;
  transition: opacity 0.1s ease-in-out, transform 0.25s ease-in-out, background-size 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out, -webkit-background-size 0.25s ease-in-out;
  margin: -1rem 0 0;
  background: url(../img/check.svg) center center no-repeat;
  -webkit-background-size: 10%;
  background-size: 10%;
}

.checkbox:checked + label:after {
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  transition-delay: 0.2s;
  -webkit-background-size: 80%;
  background-size: 80%;
}

.checkbox:checked + label:before {
  -webkit-animation: jelly 0.6s ease;
  animation: jelly 0.6s ease;
}

.footer {
  display: table-row;
  width: 100%;
  height: 1%;
}

.footer .footer-wrap {
  width: 100%;
  text-align: center;
}

@-webkit-keyframes migCheck {
  from, 50%, to {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.2;
  }
}

@keyframes migCheck {
  from, 50%, to {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.2;
  }
}

@-webkit-keyframes jelly {
  from {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  30% {
    -webkit-transform: scale(1.25, 0.75);
    transform: scale(1.25, 0.75);
  }
  40% {
    -webkit-transform: scale(0.75, 1.25);
    transform: scale(0.75, 1.25);
  }
  50% {
    -webkit-transform: scale(1.15, 0.85);
    transform: scale(1.15, 0.85);
  }
  65% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
  75% {
    -webkit-transform: scale(1.05, 0.95);
    transform: scale(1.05, 0.95);
  }
  to {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}

@keyframes jelly {
  from {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  30% {
    -webkit-transform: scale(1.25, 0.75);
    transform: scale(1.25, 0.75);
  }
  40% {
    -webkit-transform: scale(0.75, 1.25);
    transform: scale(0.75, 1.25);
  }
  50% {
    -webkit-transform: scale(1.15, 0.85);
    transform: scale(1.15, 0.85);
  }
  65% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
  75% {
    -webkit-transform: scale(1.05, 0.95);
    transform: scale(1.05, 0.95);
  }
  to {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}

@media screen and (max-height: 410px) and (orientation: landscape) {
  .header .top-panel .screen img {
    width: 8rem;
  }

  .main .price {
    margin: 0.75rem auto;
  }

  .checkbox-wrap {
    padding: 0.357rem 0;
  }
}

.error {
  display: none;
  padding: 10px 5px;
  text-align: center;
  color: #fff;
  font-family: Arial;
  font-size: 14px;
  background-color: #ec696c;
  margin-bottom: 10px;
  width: 30rem;
  max-width: 100%;
  margin: 0 auto 1rem;
}

.form__box input {
  padding: 5px 10px;
  font-size: 24px;
  text-align: center;
}

.form__box .price {
  margin-top: 5px;
}

.form__title {
    margin: 0 0 .5rem;
    display: block;
    color: #333;
}

.form__input {
    padding: 5px 10px;
    font-size: 1.2rem;
    margin: 0 0 1rem;
}