body {
  background: #ffffff;
}
#layout {
  background: #ffffff;
  display: inline-block;
  width: 100%;
  padding: 0 20px;
}
#content {
  max-width: 400px;
  margin: 0 auto;
}

.t-block {
  margin: 0 0 20px 0;
}
/* Header
-----------------------------------------------------------------------------*/
.header-adaptive .menu-top {
  background: #000;
}

/* Registration header
-----------------------------------------------------------------------------*/
.registration-header {
  color: #000000;
  display: flex;
  align-items: center;
  margin: 30px auto 30px;
  justify-content: center;
}
.registration-header .logo {
  background: url(../../i/logo_ng/logo-registration.png);
  height: 60px;
  width: 60px;
  background-size: cover;
}
.registration-header span {
  font-size: 20px;
  margin: 0 0 0 10px;
}
.registration-title {
  font-size: 18px;
  margin: 0 0 30px 0;
}

/* Social networks
-----------------------------------------------------------------------------*/
.social-auth-icons {
  display: flex;
  justify-content: center;
  margin: 0 0 30px 0;
}
.social-auth-icons a {
  display: block;
  padding: 10px 0;
  background: #999;
  min-width: 45px;
  text-align: center;
  font-size: 24px;
  border-radius: 50%;
  color: #fff;
  margin: 0 4px;
}


/* Registration form
-----------------------------------------------------------------------------*/
.input-label {
  font-size: 14px;
  padding: 5px 13px 0 0;
  display: block;
  line-height: 19px;
}
.label-agreement {
  font-size: 14px;
  display: block;
  line-height: 19px;
  color: #666;
  margin: 0 0 40px 0;
}
.block-title {
  text-align: center;
  margin: 0 0 10px 0;
  font-size: 16px;
}

/* Form buttons
-----------------------------------------------------------------------------*/
.form-buttons {
  width: 200px;
  margin: 20px auto 100px;
}

/* Captcha
-----------------------------------------------------------------------------*/
.secret-digits {
  margin: 0 0 15px 0;
}
.secret-digits .title {
  text-align: left;
  margin: 0 0 5px 0;
}
.secret-digits-form{
  display: flex;
  align-items: flex-start;
}
.secret-digits img {
  border: 1px solid #ccc;
  padding: 6px 7px 0 5px;
  border-radius: 6px;
  width: 170px;
  margin: 0 10px 0 0px;
}
.secret-digits input {
  font-size: 25px;
  width: 113px;
  height: 54px;
  text-align: center;
  border-radius: 4px;
}

/* Login
-----------------------------------------------------------------------------*/
.password-link {
  float: right;
  font-size: 14px;
}
.authorisation .t-block {
  margin: 0 0 10px 0;
}
.authorisation .button-mother-placeholder {
  text-align: center;
}


/* Все что внутри работает при размере экрана меньше 768
-----------------------------------------------------------------------------*/
@media (max-width: 768px) {
  .registration-header {
    margin-top: 0px;
    margin-bottom: 20px;
  }
  .registration-header .logo {
    height: 40px;
    width: 40px;
  }
  .registration-header span {
    font-size: 17px;
  }
  .social-auth-icons a {
    padding: 6px 0;
    min-width: 34px;
    font-size: 16px;
  }
  .block-title{
    margin: 0 0 8px 0;
    font-size: 15px;
  }
  .input-label {
    font-size: 13px;
  }

  }