* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:hover {
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

html {
  background: url("../images/bg.png"), url("../images/bg_1.png") no-repeat right top;
  background-repeat: no-repeat;
}

html,
body {
  font-family: "Roboto", sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

p, span {
  font-family: "Roboto", sans-serif;
  margin: 0 0 27px 0;
  letter-spacing: -0.00625em;
}

a, a:hover, a:focus {
  color: #FF0035;
}

.container {
  margin: auto;
  display: block;
  max-width: 1140px;
  width: 98%;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 64px;
  color: #000000;
  margin-bottom: 0.75em;
}

h2,
h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
}

hr {
  max-width: 950px;
  margin: 3em auto;
  display: block;
}

ul.top-navbar {
  padding: 0;
  margin: 0;
  display: block;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
}

.top-navbar a {
  font-size: 18px;
  line-height: 18px;
  color: #797979;
  margin: 0 19px;
  border-bottom: 2px solid #fff;
}

.uk-navbar-right .top-navbar a {
  margin: 0 5px;
}
/*
.top-navbar .user a {
  margin: 0;
}
*/
.top-navbar a:hover {
  text-decoration: none;
}

.underborder a:hover {
  border-bottom: 2px solid #000;
  text-decoration: none;
}

.top-navbar .active a {
  color: #000000;
  font-weight: 500;
  border-bottom: 2px solid #000;
}

.top-navbar li.logo {
  padding: 0;
  margin-right: 37px;
}

.top-navbar li.logo img {
  min-width: 176px;
}

.logo a {
  margin: 0;
}
.logo a:hover {
  border-bottom: none;
  text-decoration: none;
}

.bg_1 {
  position: absolute;
  right: 0;
  z-index: -1;
  max-width: 37.58%;
  margin-top: -22%;
}

.play-box {
  position: relative;
}

a.play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
}

.block-intro p {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  padding: 30px 0 20px 0;
}

.button__1 {
  padding: 16px 0 15px 0;
  border-radius: 20px;
  width: 325px;
  background: #FF0035;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-transform: uppercase;
  color: #FFFFFF;
  max-height: 55px;
  clear: both;
  display: table;
  margin-bottom: 5px;
  text-align: center;
}

.button__1:hover {
  opacity: 0.9;
  color: #fff;
  text-decoration: none;
  -webkit-box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
          box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
}

.button__bloc {
  text-align: center;
  max-width: 325px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
}

.clear {
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}

.w47 {
  width: 47%;
}

.w52 {
  width: 52%;
}

.bloc__3__text {
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  background-repeat: no-repeat;
  background-image: url("../images/plus_2.png");
  background-position: 97% 85%;
}

.bloc__3__text .button__1 {
  margin-top: 40px;
}

.bg_2 {
  background: url("../images/bg_2.jpg");
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.bg_3 {
  background: url("../images/bg_3.jpg");
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.bg_4 {
  background: url("../images/bg_4.jpg");
  background-position: 100% 100%;
  background-repeat: no-repeat;
}

.footer {
  background: #F3F3F3;
  padding: 30px 0 0 0;
}

.footer__logo {
  float: left;
  margin-right: 100px;
}

.footer_menu {
  float: left;
  width: 200px;
}

.footer_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer_menu ul li a {
  display: block;
  font-size: 18px;
  line-height: 18px;
  color: #797979;
  padding-bottom: 15px;
}

.copyright {
  text-align: center;
  font-size: 10px;
  line-height: 14px;
  padding: 25px 0 12px 0;
  border-top: 1px solid #DADADA;
  color: #9E9E9E;
}

.social ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
  list-style: none;
  padding-top: 15px;
}

.social ul li {
  padding: 0 0 0 10px;
}

.social ul li a {
  color: #444;
  font-size: 1.75rem;
}

.social ul li a i {
  font-size: 1.75rem;
}

.social ul li a:hover {
  opacity: 0.8;
}

.shadow {
  -webkit-box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
  box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
}

.block-box {
  background: #FFFFFF;
  -webkit-box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
  box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
  border-radius: 30px;
  padding: 2em 2em;
}

.shadow-box {
  background: #FFFFFF;
  -webkit-box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
  box-shadow: 5px 4px 24px rgba(0, 0, 0, 0.22);
  border-radius: 30px;
}

.uk-list-check>* {
  padding-left: 30px;
}
.uk-list-check>::before {
  content: '\2713\00A0\00A0';
}

@media only screen and (min-width: 992px) {
  .nav_m {
    display: none;
  }
}
@media only screen and (max-width: 992px) {
  html {
    background: url("../images/bg_m.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    line-height: 24px;
  }

  h1 {
    font-size: 24px;
    line-height: 36px;
    text-align: center;
  }

  h3 {
    font-size: 18px;
    line-height: 30px;
  }

  .left,
  .right {
    float: none;
  }

  .play-box img,
  .button__bloc {
    margin: auto;
    display: block;
  }

  .w52,
  .w47 {
    width: 100%;
  }

  .uk-navbar-container__1 {
    display: none;
  }

  .uk-modal {
    min-width: 100%;
    padding: 0;
  }

  .bloc__3__text {
    text-align: center;
  }

  .bloc__3__text .button__1 {
    display: block;
    margin: auto;
    margin-top: 20px;
  }

  .bloc__3__text {
    font-size: 18px;
    line-height: 30px;
  }

  .footer__logo {
    display: block;
    margin: auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .footer__logo img {
    margin: auto;
    display: block;
  }

  .footer_menu {
    float: none;
    width: 100%;
    text-align: center;
  }

  .social ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-line-pack: stretch;
        align-content: stretch;
    padding: 0;
    margin: 0;
  }

  .social ul li {
    padding: 10px;
  }

  .copyright {
    max-width: 80%;
    margin: auto;
  }

  .social ul li {
    padding: 10px;
  }

  .copyright {
    max-width: 80%;
    margin: auto;
  }

  .nav_m {
    height: 70px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-line-pack: stretch;
        align-content: stretch;
  }

  .uk-navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-line-pack: stretch;
        align-content: stretch;
    text-align: center;
  }

  .menu_ico {
    height: 65px;
    width: 65px;
    position: relative;
  }

  .uk-navbar-toggle {

    position: absolute;
    top: 50%;
    left: 10%;
    -webkit-transform: translate(0%, -50%);
            -ms-transform: translate(0%, -50%);
        transform: translate(0%, -50%);
  }

  .logo_m img {
    max-width: 130px;
    margin-top: 10px;
  }

  .user_m img {
    max-width: 65px;
    margin-top: 5px;
  }
  .uk-navbar {
    padding: 0;
    margin: 0
  }

  .uk-navbar li {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #DADADA;
    max-width: 150px;
    margin: auto;
  }

  .uk-navbar li a {
    font-size: 18px;
    line-height: 18px;
    color: #000000;
  }

  .uk-modal-dialog {
    background: #F3F3F3;
  }

  .uk-modal {
    background: #ccc0;
  }

  .uk-navbar-container__1 {
    display: none;
  }

  .uk-navbar-item, .top-navbar > li > a, .uk-navbar-toggle {
    min-height: 20px;
    padding: 0;
  }

  .bg_2 {
    background-size: 80px;
  }

  .bg_3 {
    background-size: 80px;
  }

  .bg_4 {
    background-size: 80px;
  }
  .uk-close svg {
    color: #000;
    width: 20px;
    height: 20px;
    margin-top: 10px;
    margin-right: 10px;
  }
  .uk-navbar-toggle {
    color: #000;
  }
  .block-intro p {
    font-size: 16px;
    line-height: 24px;
  }
}

.uk-button-legalcalc {
  background-color: #FF0035;
  color: #fff;
  border: 1px solid transparent;
}

.uk-button-legalcalc:focus, .uk-button-legalcalc:hover {
  opacity: 0.9;
  color: #fff;
  text-decoration: none;
  -webkit-box-shadow: 5px 4px 20px rgba(0, 0, 0, 0.22);
  box-shadow: 5px 4px 20px rgba(0, 0, 0, 0.22);
}

/* Карточка в красно-чёрной стилистике (вместо синего uk-card-primary) */
.uk-card-legalcalc {
  background-color: #FF0035;
  color: #fff;
}

.uk-card-legalcalc .uk-card-title,
.uk-card-legalcalc a {
  color: #fff;
}

.uk-card-legalcalc a:hover {
  color: #fff;
  opacity: 0.9;
}

.social ul li {
    display: inline-block;
    margin: 0 5px;
}

.social ul li.github a i {
    opacity: 0.7;
}

.social ul li.github a:hover i {
    opacity: 1;
}

.background-decoration {
    position: absolute;
    right: 0;
    top: -20px;
    z-index: -1;
    max-width: 37.58%;
}

.background-decoration img {
    width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .background-decoration {
        top: 0;
    }
}



