/*login*/

div#login {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  
  background-color: #313131;
  background-image: url("../img/bck_login.jpg");
  background-repeat: no-repeat;
  background-size: cover; /* v2 */
  background-position: center;
  
  font: Arial;
  font-size: 25px;
}

div#login .forLoginForm {
  text-align: right;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 238px;
  height: 336px;
  margin-left: -119px;
  margin-top: -168px;
}
.loginForm {
  width: 238px;
  margin: 0 auto;
}

div#login img {
  margin: 0 auto 2em;
  display: block;
}
div#login form {
  width: 100%;
  color: white;
}
div#login form > * {
  width: 100%;
}
div#login form th {
  width: 0;
}

div#login input[type=text],
div#login input[type=password] {
  padding: 0.2em 5%;
  margin: 0.3em 0;
  width: 90%;
  text-transform: none;
}
div#login input[type=text],
div#login input[type=password] {
  padding: 0.2em 5%;
  font-size: 18px;
  font-style: italic;
  margin: 0.3em 0;
  width: 90%;
}
div#login input[type=image] {
  margin-top: 2em;
  text-align: right;
}

div#login .forInfo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  
  margin-left: -200px;
  margin-top: -200px;
  text-align: center;
}
.forInfo p {
  color: white;
  font-size: 14px;
  font-weight: normal;
  line-height: 150%;
  text-align: right;
  width: 238px;
  padding-left: 15px;
  margin: 25px auto;
}
.forInfo p a {
  color: white;
}

.forInfo form {
  text-align: right;
  margin-top: 1em;
}
.forInfo form label {
  font-weight: bold;
  text-transform: uppercase;
  font-style: italic;
  font-size: 18px;
  
  text-align: left;
  width: 100%;
  display: block;
}

div#login input[type="checkbox"] {
  display: none;
}
div#login input[type="checkbox"] + label:before, .preload {
  content: url("../img/checkbox.png");
  width: 34px;
  height: 33px;
  
  margin-right: 1ex;
  position: relative; top: 10px;
}
div#login input[type="checkbox"]:checked + label:before, .preload {
  content: url("../img/checkbox2.png");
}
div#login input[type="checkbox"] + label {
  vertical-align: bottom;
}