@import url(https://fonts.googleapis.com/css?family=Roboto:300);

.login-wrap{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #76b852; /* fallback for old browsers */
  background: -webkit-linear-gradient(right, #76b852, #8DC26F);
  background: -moz-linear-gradient(right, #76b852, #8DC26F);
  background: -o-linear-gradient(right, #76b852, #8DC26F);
  background: linear-gradient(to left, #76b852, #8DC26F);
  font-family: pt_sansregular, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.login-inner{
    width: 360px;
    padding: 0;
    margin: auto;
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.login-wrap .site-logo{
  display: block;
  width: 160px;
  height: 55px;
  margin: 25px auto 20px;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-image: url(../images/sportz-logo.png);
  text-decoration: none;
  text-indent: -9999px;
}

.login-wrap .site-title{
  display: block;
  font-family: pt_sansbold, sans-serif;
  font-size: 34px;
  color: #fff;
  font-weight: bold;
  padding:15px 0;
  text-align: center;
}

.login-wrap .form {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    max-width: 100%;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    -ms-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    -o-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.login-wrap .form input {
    font-family: pt_sansregular, sans-serif;    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.login-wrap .form button {
    font-family: pt_sansregular, sans-serif;
    text-transform: uppercase;
    outline: 0;
    background: #4CAF50;
    width: 100%;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 14px;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-wrap .form button:hover, .form button:active, .form button:focus {
    background: #43A047;
}

.login-wrap .form .message {
    margin: 15px 0 0;
    color: #b3b3b3;
    font-size: 12px;
}

.login-wrap .form .message a {
    color: #4CAF50;
    text-decoration: none;
}

.login-wrap .form .register-form {
    display: none;
}

.login-wrap .error-msg{
  font-size: 13px;
  padding: 10px 0 0 0;
  color: rgba(255, 0, 0, 0.8);
}

@media(max-width: 480px){
  .login-inner{
    width: 80%;
  }

  .login-wrap .site-title{
    font-size: 28px;
  }
  .login-wrap .site-logo{
    background-size: auto 70%;
    margin: 20px auto 0;
  }
}

@media(max-width: 320px){
 .login-wrap .site-title{
    font-size: 23px;
    padding: 0;
  }
  .login-wrap .site-logo{
    background-size: auto 70%;
    margin:15px auto 0; 
  }
}