.login_form_block{
  margin: 20px 0;
}

.login_form_block .w_auth_popup,
.login_form_block .w_auth_popup input,
.auth_veil .w_auth_popup,
.auth_veil .w_auth_popup input{
  font-family: 'PT Sans';
}

.login_form_block .orange_button,
.auth_veil .orange_button{
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  margin: 5px 0 0 0;
  padding: 5px 10px;
  display: inline-block;
  vertical-align: middle;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  background: #ff7a24;
  color: #fff;
  overflow: hidden;
}

.auth_veil{
  background-color: rgba(0,0,0,0.6);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.auth_veil .preloader_white{
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -40px -40px;
}

.auth_veil .w_auth_popup {
  background: #fff;
  border-radius: 15px;
  /*position: absolute;
  left: 30%;
  top: 30%;*/
  margin: 140px auto 0 auto;
  width: 650px;
  height: 260px;
  padding: 7px;
}

.login_form_block .w_auth_popup a.close.top{
  display: none;
}

.auth_veil .w_auth_popup a.close.top {
  float: right;
  margin-right: 10px;
  font-size: 23px;
  color: #cccccc;
  border: none;
  display: block;
  text-align: center;
  text-decoration: none;
}

.login_form_block .inner_auth_popup{
  padding: 0;
}
.auth_veil .inner_auth_popup {
  padding: 0 30px;
}

.login_form_block .w_auth_popup .not_valid,
.auth_veil .w_auth_popup .not_valid{
  background-color: #F99;
}

.login_form_block .w_auth_popup h1{
  display: none;
}

.auth_veil .w_auth_popup h1{
  width: 85%;
  margin: 30px auto;
  text-align: center;
}

.login_form_block .w_auth_popup h2,
.auth_veil .w_auth_popup h2 {
  width: 85%;
  margin: 10px auto;
  text-align: center;
}

.login_form_block .w_auth_popup div.h1,
.auth_veil .w_auth_popup div.h1{
  width: 85%;
  margin: 30px auto;
  text-align: center;
  height: 23px;
}

.login_form_block .w_auth_popup table,
.auth_veil .w_auth_popup table {
  width: 100%;
}

.login_form_block .w_auth_popup table td,
.login_form_block .w_auth_popup table th,
.auth_veil .w_auth_popup table td,
.auth_veil .w_auth_popup table th{
  padding: 0.3em 0.5em!important;
}

.login_form_block .w_auth_popup table td.buttons{
  padding: 0.3em 0!important;
}

.login_form_block .w_auth_popup table td.buttons a,
.auth_veil .w_auth_popup table td.buttons a{
  border: 0px;
  height: auto;
}

.login_form_block .w_auth_popup .w180,
.auth_veil .w_auth_popup .w180 {
  width: 180px;
}

.login_form_block .w_auth_popup table td.control div,
.auth_veil .w_auth_popup table td.control div {
  margin-bottom: 7px;
}

.login_form_block .w_auth_popup table td.control input,
.auth_veil .w_auth_popup table td.control input {
  width: 100%;
  display: block;
  margin: 0;
  padding-left: 4px;
  height: 20px;
  line-height: 20px;
}

.login_form_block .w_auth_popup table td.control a.orange_button,
.auth_veil .w_auth_popup table td.control a.orange_button {
  width: 97%;
  display: block;
  text-align: center;
  color: #fff;
}

/* после того как был спрятан фейсбук */
.w_auth_popup table td.buttons {
  text-align: center;
}

.login_form_block .w_auth_popup table td.control,
.auth_veil .w_auth_popup table td.control {
  vertical-align: middle;
}

.login_form_block .w_auth_popup table td.errors,
.auth_veil .w_auth_popup table td.errors {
  color: red;
  font-size: 12px;
  vertical-align: middle;
}

.login_form_block .w_auth_popup table.registration.email td:first-child + td + td,
.auth_veil .w_auth_popup table.registration.email td:first-child + td + td {
  padding-left: 22px!important;
}

.login_form_block .w_auth_popup a.orange_button,
.auth_veil .w_auth_popup a.orange_button {
  color: #fff!important;
}

.login_form_block .w_auth_popup a.orange_button:hover,
.auth_veil .w_auth_popup a.orange_button:hover {
  color: #fff!important;
}

.login_form_block .w_auth_popup table.registration.m50,
.auth_veil .w_auth_popup table.registration.m50 {
  margin-top: 50px;
}

.login_form_block .w_auth_popup table.registration td,
.auth_veil .w_auth_popup table.registration td {
  width: 33%;
}

.login_form_block .w_auth_popup table.registration td:first-child,
.auth_veil .w_auth_popup table.registration td:first-child {
  text-align: right;
}

.login_form_block .w_auth_popup table.registration td.aligh-center,
.auth_veil .w_auth_popup table.registration td.aligh-center {
  text-align: center;
}

.login_form_block .w_auth_popup table.restore td:first-child,
.auth_veil .w_auth_popup table.restore td:first-child {
  width: 30%;
  text-align: right;
}

.login_form_block .w_auth_popup table.restore td:first-child + td,
.auth_veil .w_auth_popup table.restore td:first-child + td {
  width: 40%;
  text-align: center;
}

.login_form_block .w_auth_popup table.restore td:first-child + td + td,
.auth_veil .w_auth_popup table.restore td:first-child + td + td {
  width: 30%;
  text-align: left;
}

.login_form_block .w_auth_popup table.restore th,
.auth_veil .w_auth_popup table.restore th {
  text-align: center;
}

.login_form_block .w_auth_popup table.restore td.control input,
.auth_veil .w_auth_popup table.restore td.control input{
  width: 75%;
}

.login_form_block .w_auth_popup table.restore td.control input,
.login_form_block .w_auth_popup table.restore td.control a,
.login_form_block .w_auth_popup table.restore td.control div,
.auth_veil .w_auth_popup table.restore td.control input,
.auth_veil .w_auth_popup table.restore td.control a,
.auth_veil .w_auth_popup table.restore td.control div{
  margin: auto;
}

.login_form_block .w_auth_popup #auth_restore_password table.restore,
.auth_veil .w_auth_popup #auth_restore_password table.restore{
  margin:30px 0;
}

.login_form_block .w_auth_popup #auth_restore_password table.restore th,
.auth_veil .w_auth_popup #auth_restore_password table.restore th{
  font-weight: normal;
}

.login_form_block .w_auth_popup .center_text,
.auth_veil .w_auth_popup .center_text {
  text-align: center;
}

.login_form_block .w_auth_popup .control.code_sended,
.auth_veil .w_auth_popup .control.code_sended {
  padding-left: 22px!important;
  text-align: left;
}

.login_form_block .w_auth_popup .m65,
.auth_veil .w_auth_popup .m65{
  margin: 65px 50px;
}


.login_form_block .w_auth_popup table.restore td:first-child + td,
.auth_veil .w_auth_popup table.restore td:first-child + td {
  width: 35%;
}

.login_form_block .w_auth_popup table.restore.change_password,
.auth_veil .w_auth_popup table.restore.change_password {
  margin-top: 65px;
}

.login_form_block .w_auth_popup table.restore td,
.auth_veil .w_auth_popup table.restore td{
  padding-bottom: 18px!important;
}

.login_form_block .w_auth_popup table.restore.change_password td,
.auth_veil .w_auth_popup table.restore.change_password td{
  padding-bottom: 30px!important;
}

.login_form_block .w_auth_popup table.restore td.control input,
.auth_veil .w_auth_popup table.restore td.control input{
  width: 95%;
}

.login_form_block .w_auth_popup .center_text p,
.auth_veil .w_auth_popup .center_text p {
  margin: 30px 0;
}

.login_form_block .w_auth_popup .preloader-counter,
.auth_veil .w_auth_popup .preloader-counter{
  display: none;
}