@charset "utf-8";

/* === Logo === */
.logo {
  background-position: center;
  height: 60px;
  width: 140px;
  margin: 100px auto 30px auto;
}

/* === Form === */
.form {
  width: 100%;

  .field {
    position: relative;
    margin: 10px 50px;

    i {
      font-size: 18px;
      left: 0px;
      top: 0px;
      position: absolute;
      height: 44px;
      width: 44px;
      color: #f7f3eb;
      background: #676056;
      text-align: center;
      line-height: 44px;
      transition: all 0.3s ease-out;
      pointer-events: none;
    }
  }
}

/* === Login styles === */
.login {
  position: relative;
  margin: 100px auto;
  width: 370px;
  height: 315px;
  background: #fffafa;
  border-radius: 3px;

  &:before {
    content: "";
    position: absolute;
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
    z-index: -1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: solid 1px #cfcfcf;
  }

  h1 {
    line-height: 55px;
    font-size: 24px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    background: #1abc9c;

    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
  }

  .submit {
    text-align: center;
  }
  p {
    &:first-child {
      margin-top: 30px;
    }

    .remember {
      float: left;

      label {
        color: #a7a599;
        font-size: 12px;
        cursor: pointer;
      }
    }

    .forgot {
      float: right;
      margin-right: 50px;

      a {
        color: #a7a599;
        font-size: 12px;
        text-decoration: none;
        font-style: italic;
        transition: all 0.3s ease-out;

        &:hover {
          color: #f2672e;
        }
      }
    }
  }
}

/*input style*/
/* === Input Form === */
::-webkit-input-placeholder {
  color: #ded9cf;
  font-family: "Open Sans";
}

:-moz-placeholder {
  color: #ded9cf !important;
  font-family: "Open Sans";
}

.form input[type="text"],
input[type="password"] {
  font-family: "Open Sans", Calibri, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 15px 10px 55px;
  position: relative;
  width: 200px;
  height: 24px;
  color: #676056;
  border: none;
  background: #f7f3eb;
  color: #777;
  transition: color 0.3s ease-out;
}

.form input[type="text"] {
  margin-bottom: 15px;
}

.form input[type="text"]:hover ~ i,
.form input[type="password"]:hover ~ i {
  color: #27ae60;
}

.form input[type="text"]:focus ~ i,
.form input[type="password"]:focus ~ i {
  color: #27ae60;
}

.form input[type="text"]:focus,
.form input[type="password"]:focus,
.form button[type="submit"]:focus {
  outline: none;
}

.form input[type="submit"] {
  margin-top: 15px;
  width: 270px;
  text-align: center;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  padding: 12px 0;
  letter-spacing: 0;
  box-shadow: inset 0px 0px 0px 0px rgba(26, 188, 156, 1);

  color: #fff;
  background-color: #16a085;
  text-shadow: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  margin-bottom: 20px;
  -webkit-animation: shadowFadeOut 0.4s;
  -moz-animation: shadowFadeOut 0.4s;
}

.form input[type="submit"]:hover,
input[type="submit"]:focus {
  color: #fff;
  box-shadow: inset 0px 46px 0px 0px rgba(26, 188, 156, 1);
  -webkit-animation: shadowFade 0.4s;
  -moz-animation: shadowFade 0.4s;
}

/*keyframes for input animation*/

@keyframes shadowFade {
  0% {
    box-shadow: inset 0px 0px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
  100% {
    box-shadow: inset 0px 46px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
}

@keyframes shadowFadeOut {
  0% {
    box-shadow: inset 0px 46px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
  100% {
    box-shadow: inset 0px 0px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
}

@-webkit-keyframes shadowFade {
  0% {
    box-shadow: inset 0px 0px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
  100% {
    box-shadow: inset 0px 46px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
}

@-webkit-keyframes shadowFadeOut {
  0% {
    box-shadow: inset 0px 46px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
  100% {
    box-shadow: inset 0px 0px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
}

@-moz-keyframes shadowFade {
  0% {
    box-shadow: inset 0px 0px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
  100% {
    box-shadow: inset 0px 46px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
}

@-moz-keyframes shadowFadeOut {
  0% {
    box-shadow: inset 0px 44px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
  100% {
    box-shadow: inset 0px 0px 0px 0px rgba(26, 188, 156, 1);
    color: #fff;
  }
}

/*continued styling for input */
.form input[type="checkbox"] {
  display: none;
}

.login-msg {
  position: relative;
  margin: 100px auto;
  width: 370px;
  height: auto;
  background: #fffafa;
  border-radius: 3px;
}

