.authorization {
  font-size: 0;
  min-height: 100vh;
  background: #171d22;
  color: #fff;
  text-align: center;
}

.authorization:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 0;
  min-height: 100vh;
}

.authorization a {
  text-decoration: none;
}

.auth-box {
  display: inline-block;
  vertical-align: middle;
  font-size: .8125rem;
  margin: 20px 0;
  width: 480px;
  max-width: 100%;
  background: #222630;
  padding: 50px 80px;
  -webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, .3);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, .3);
}

a {
  color: #9599a8;
}

a:hover {
  color: #fff;
}

.ab-sect {
  display: none;
}

.ab-sect.active {
  display: block;
}

.ab-sect__title {
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1.125rem;
  margin: 0 0 40px;
}

.af-line {
  margin-bottom: 18px;
  text-align: left;
}

.af-line--button {
  text-align: center;
  margin-top: 42px;
}

.af-log-switcher {
  color: #9599a8;
  margin-bottom: 7px;
  font-size: .6875rem;
  line-height: .8125rem;
  text-transform: uppercase;
  text-align: center;
}

.af-log-switcher__link {
  color: #9599a8;
}

.af-log-switcher__link:hover {
  color: #fff;
}

.af-log-switcher__link.active {
  color: #fff;
  text-decoration: none;
  pointer-events: none;
}

.af-log-switcher__spr {
  margin: 0 4px;
}

.af-field {
  border-radius: 4px;
  overflow: hidden;
  color: #9599a8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.af-field__icon {
  width: 42px;
  height: 42px;
  background: #4b4e5e;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.has-error .af-field__icon {
  color: #fc6a6a;
}

.af-field__icon .icon {
  font-size: 16px;
}

.af-field__icon .icon-login {
  font-size: 14px;
}

.af-field__icon .icon-mail {
  font-size: 11px;
}

.af-field__icon .icon-school {
  font-size: 16px;
}

.af-field__input {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  border: none;
  outline: none;
  background: #373a49;
  color: #fff;
  padding: 10px 13px;
  font-family: 'Roboto', sans-serif;
  font-size: .8125rem;
  line-height: 1.375rem;
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1;
}

.af-field__input::-webkit-input-placeholder {
  color: #9599a8;
  opacity: 1;
  -webkit-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  -webkit-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}

.af-field__input:-moz-placeholder {
  color: #9599a8;
  opacity: 1;
  -webkit-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  -webkit-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}

.af-field__input::-moz-placeholder {
  color: #9599a8;
  opacity: 1;
  -webkit-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  -webkit-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}

.af-field__input:-ms-input-placeholder {
  color: #9599a8;
  opacity: 1;
  -webkit-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  -webkit-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}

.af-field__input:focus::-webkit-input-placeholder {
  opacity: 0;
}

.af-field__input:focus:-moz-placeholder {
  opacity: 0;
}

.af-field__input:focus::-moz-placeholder {
  opacity: 0;
}

.af-field__input:focus:-ms-input-placeholder {
  opacity: 0;
}

.has-error .af-field__input {
  color: #fc6a6a;
}

.als-icon {
  display: none;
}

.als-icon.active {
  display: block;
}

.als-input {
  display: none;
}

.als-input.active {
  display: block;
}

.af-demo {
  margin-top: 42px;
}

.af-demo__title {
  margin-bottom: 5px;
}

.af-demo__info {
  margin: 0 -12px;
  padding: 0;
  list-style: none;
  font-size: 1.0625rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.af-demo__info__item {
  padding: 0 12px;
}

.af-demo__info__item em {
  font-style: normal;
  color: #2cc17b;
}

.af-text {
  margin-top: 42px;
}

.af-text p {
  margin: 17px 0 0;
}

.af-links a {
  margin: 0 3px;
}
