/* Simple Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* body */
body {
  background: #fafafa;
  color: #3f3f3f;
  font: 400 87.5%/1.5em 'Open Sans', sans-serif;
}

/* Form Layout */
.form-wrapper {
  background: #fff;
  margin: 1em auto;
  padding: 0 0.5em;
  max-width: 90%;
  border-radius: 3px;
  box-shadow: 0 1px 8px 0 rgba(0,0,0,.16);
}

@media screen and (min-width:500px) {
  .form-wrapper {
    padding: 0 1em;
    max-width: 450px;
  }
}

h1 {
  text-align: center;
  padding: 1em 0;
}

form {
  padding: 0 1.5em;
}

.form-item {
  margin-bottom: 0.75em;
  width: 100%;
}

.form-item input {
  background: #fff;
  border: none;
  border-bottom: 2px solid #e9e9e9;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  height: 50px;
  transition: border-color 0.3s;
  width: 100%;
}

.form-item input:focus {
  border-bottom: 2px solid #c0c0c0;
  outline: none;
}

.button-panel {
  margin: 2em 0 0;
  width: 100%;
}

.button-panel .button {
  background: #c01c25;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
}

.button:hover {
  background: #d82b34;
}

.form-footer {
  font-size: 1em;
  padding: 2em 0;
  text-align: center;
}

.form-footer a {
  color: #8c8c8c;
  text-decoration: none;
  transition: border-color 0.3s;
}

.form-footer a:hover {
  border-bottom: 1px dotted #8c8c8c;
}

/* Logo Layout */
.logo-wrapper {
  text-align: center;
  margin-top: 10px;
}

/* Footer Layout */
.footer-wrapper {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.footer-text {
  color: #555;
  font-size: 0.7em;
}

/* Error Message */
.error_message {
  text-align: center;
  color: #ee3e52;
}

/* Relogin Button */
.relogin_button {
  position: relative;
  display: inline-block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #fff;
  background: #d82b34;
  border: solid 1px #c01c25;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  margin: 20px 0;
}
