html {
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

.btn-block {
  margin-top: 10px;
  background-color: rgba(0, 0, 0, 0.1);
}

.border-first {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.border {
  border-top: 0 !important;
  border-radius: 0;
  border: 1px solid #ced4da !important;
}

.border-last {
  border-top: 0;

  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-control:focus {
  outline: 0 none;
  box-shadow: none;
}

.borderreg {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: none;
  outline: none;
}

label {
  display: block;
  position: relative;
  margin: 40px 0px;
}
.label-txt {
  position: absolute;
  top: -1.9em;
  padding: 10px;
  font-family: sans-serif;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: rgb(120, 120, 120);
  transition: ease 0.3s;
}
.input {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: none;
  outline: none;
}

.line-box {
  position: relative;
  width: 100%;
  height: 2px;
  background: #bcbcbc;
}

.line {
  position: absolute;
  width: 0%;
  height: 2px;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f0f0f;
  transition: ease 0.6s;
}

.input:focus + .line-box .line {
  width: 100%;
}

.label-active {
  top: -3em;
}

button {
  display: inline-block;
  padding: 12px 24px;
  background: rgb(220, 220, 220);
  font-weight: bold;
  color: rgb(120, 120, 120);
  border: none;
  outline: none;
  border-radius: 3px;
  cursor: pointer;
  transition: ease 0.3s;
}

button:hover {
  background: #82cae0;
  color: #ffffff;
}

body {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
}

.haveanacc {
  padding-top: 25px;
  color: rgb(32, 32, 32);
}

.line-box.error .line {
  width: 100%;
  background: red;
}

.error-msg {
  color: red;
  font-size: 0.8em;
  text-align: left;
  margin-top: 4px;
}
