h2 {
  margin: 10px;
}

.nowrap {
  white-space: nowrap;
}

.navbar-default,
.navbar-inverse {
  background-color: #4F81BD;
  color: white;
}

.navbar-nav > li > a.dropdown-toggle,
div.navbar-header a.navbar-brand {
  color: white;
  font-weight: bold;
}

#login {
  margin-top: -74px;
  font-family: 'Source Sans Pro', sans-serif;
  background: -webkit-linear-gradient(top left, #4f81bd 0%, #87a9d2 100%);
  background: linear-gradient(to bottom right, #4f81bd 0%, #87a9d2 100%);
  background-attachment: fixed;
  background-color: #4f81bd;
  height: 100vh;
  width: 100vw;
  color: white;
}

#login form ::-webkit-input-placeholder {
    font-family: 'Source Sans Pro', sans-serif;
    color: white;
    font-weight: 300;
  }

#login form ::-moz-placeholder {
    font-family: 'Source Sans Pro', sans-serif;
    color: white;
    opacity: 1;
    font-weight: 300;
  }

#login form :-ms-input-placeholder {
    font-family: 'Source Sans Pro', sans-serif;
    color: white;
    font-weight: 300;
  }


#login > div {
    background-color: #4f81bd;
    border-radius: 10px;
    bottom: 0;
    box-shadow: 0 0 10px 5px rgba(235, 235, 235, 0.8);
    left: 0;
    margin: auto;
    max-height: 460px;
    max-width: 500px;
    min-height: 400px;
    min-width: 400px;
    padding: 40px 30px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

#login h1 {
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-timing-function: ease-in-put;
          transition-timing-function: ease-in-put;
  font-size: 40px;
  font-weight: 300;
  transition-duration: 1s;
  margin-bottom: 10px;
  margin-top: 20px;
  line-height: 1.1;
  padding: 0;
}

#login form {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

#login input {
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  color: #fff;
  display: block;
  font-weight: 300;
  margin: 0 auto 10px;
  text-align: center;
  width: 250px;
  font-size: 18px;
  outline: 0 none;
  padding: 10px 15px;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
}

#login form input:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

#login form input:focus {
  background-color: white;
  width: 300px;
  color: #4F81BD;
}

#login button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: 0;
  background-color: white;
  border: 0;
  padding: 10px 15px;
  color: #53e3a6;
  border-radius: 3px;
  width: 250px;
  cursor: pointer;
  font-size: 18px;
  -webkit-transition-duration: 0.25s;
          transition-duration: 0.25s;
}
#login form button:hover {
  background-color: #f5f7f9;
}

#login .errorlist {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#login .nonfield {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}


