@font-face {
	font-family: 'roboto';
	src: url(fonts/roboto/roboto.woff) format('woff');
	font-weight: normal;
	font-style: normal;
	}

html {
	height: 100%;
	}

body {
	font-family: roboto, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	height: 100%;
	margin: 0 auto;
	min-height: 660px;
	padding: 0;
	position: relative;
	width: 320px;
	}

.b-login-text {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: -310px 0 0;
	max-width: 320px;
	min-width: 240px;
	padding: 0;
	text-align: center;
	width: 100%;
	color: #000;
	position: absolute;
	top: 50%;
	z-index: 5;
	}

.b-login-error {
	background: #FDEDED;
	width: 100%;
	font-size: 13px;
	line-height: 15px;
	}

.b-login-warning {
	background: #fafad2;
	font-size: 13px;
	line-height: 15px;
	}
	
.b-login-text div {
	border-radius: 2px;
	box-shadow: 0 4px 8px rgba(201, 154, 154, .3);
	box-sizing: border-box;
	display: inline-block;
	max-width: 320px;
	min-width: 240px;
	padding: 16px 16px 16px 42px;
	position: relative;
	text-align: left;
	}

.b-login-error  div {
	background: #FDEDED;
	color: #EB5757;
	}
	.b-login-error  div:before {
		background: transparent url(icon-warn.png) no-repeat 0 0;
		content: '';
		display: block;
		height: 16px;
		left: 16px;
		position: absolute;
		top: 16px;
		width: 18px;
		}

.b-login-form,
.b-login-form-extended {
	background: #fff;
	border: 0;
	margin: -240px 0 76px -160px;
	position: absolute;
	width: 320px;
	left: 50%;
	top: 50%;
	}

.b-login-form .b-login-form__padder {
	padding: 0;
	}

.b-logo {
	height: auto;
	margin: 20px 0;
	padding: 24px 0 32px;
	width: auto;
	text-align: center;
	}
	.b-logo img {
		margin: 16px 0;
		}

.login-form label {
	position: absolute;
	z-index: 200;
	display: inline-block;
	left: 0;
	top: 6px;
	font-size: 14px;
	width: 100%;
	height: 16px;
	white-space: nowrap;
	transition: top .5s, font-size .5s;
	color: #767676;
	cursor: text;
	line-height: 16px;
	letter-spacing: 0.4px;
	}

.login-form input {
	background: transparent;
	border-bottom: 1px solid #BBBBBB;
	box-shadow: inset 0 0 0 5000px #fff;
	display: block;
	position: absolute;
	top: 0;
	bottom: 3px;
	left: 0;
	right: 0;
	z-index: 1;
	border: 1px solid rgba(0,0,0,.2);
	padding-left: 0;
	border-radius: 0;
	background-color: #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-width: 0 0 1px 0;
	filter: none;
	width: 100%;
	height: 27px;
	line-height: 18px;
	font-family: roboto, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	color: #323232;
	}

.login-form  input:-ms-input-placeholder {
	color: #767676;
	}

.login-form div {
	position: relative;
	height: 47px;
	width: 240px;
	margin: 0 auto 20px;
	}

.login-form input.login-form__error {
	background: transparent;
	border-width: 0;
	border-bottom-color: #BBBBBB;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	box-shadow: inset 0 0 0 5000px #fff;
	}

.login-form input:focus,
.login-form input.login-form__error:focus {
	border-bottom-color: #085896;
	outline: none;
	}

.login-form-field_filled .login-form-field_label,
.login-form-field_input:focus + .login-form-field_label {
	top: -16px;
	font-size: 12px;
	}
/** Этот стиль отдельно, т.к. он ломает ИЕ */
.login-form input:-webkit-autofill+.login-form-field_label {
	top: -16px;
	font-size: 12px;
	}

.login-form .submit-button {
	background: #4d92c8;
	border-radius: 2px;
	border-width: 0;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: block;
	font-family: roboto, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	height: 32px;
	line-height: 16px;
	letter-spacing: 0.01em;
	margin: 20px auto 0 auto;
	padding: 0;
	text-align: center;
	text-shadow: none;
	width: 240px;
	position: relative;
	}

.login-form input.submit-button:focus {
	height: 32px;
	border-width: 0;
	}

.login-form .submit-button-disabled {
    background: #BBBBBB;
    mix-blend-mode: normal;
    border-radius: 2px;
    border-width: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: roboto, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    height: 32px;
    line-height: 16px;
    letter-spacing: 0.01em;
    margin: 20px auto 0 auto;
    padding: 0;
    text-align: center;
    text-shadow: none;
    width: 240px;
    position: relative;
    }

 .submit-button input {
        background: transparent;
        border: none;
        box-shadow: none;
        top: inherit;
        bottom: 0px;
        height: 32px;
        color: #fff;
        cursor: pointer;
    }

.b-login-form__footer-text {
	margin: 40px auto 0;
	color: #5F5F5F;
	text-align: center;
	padding-bottom: 3px;
	width: 240px;
	font-size: 13px;
	}

div.b-login-form__naupp-link + div {
	height: 0;
	}

/* Крестик очистки в input IE */
input::-ms-clear {
	display: none;
	}

#login-form-loader {
  display: none;
  position: relative;
  width: 64px;
  margin-left: 25px;
  margin-bottom: 0px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 6px;
  border: 1px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}