html,body {
  height: 100%;
}

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #FFF;
}

.container-fluid{
  position: fixed;
  top:calc(100% - 75%);
}

.navbar{
  background-image: url("../images/banner1.jpg");
  background-position: 0% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: calc(100% - 80%);
}

.card-signin {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}

.card-signin .card-title {
  margin-bottom: 2rem;
  font-weight: 300;
  font-size: 1.5rem;
}

.card-signin .card-body {
  padding: 2rem;
}

.form-signin {
  width: 100%;
}

.form-signin .btn {
  font-size: 80%;
  border-radius: 1rem;
  letter-spacing: .1rem;
  font-weight: bold;
  padding: 1rem;
  transition: all 0.2s;
}

.form-label-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-label-group input {
  height: auto;
  border-radius: 2rem;
    padding-top:20px;
    text-align: center;
}

.form-label-group input:focus ~label {
    top:0px;
    font-size: 12px;
}

.form-label-group>label {
  position: absolute;
  top: 20%;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0;
  /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  border: 1px solid transparent;
  border-radius: .25rem;
  transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}


.form-label-group input:not(:placeholder-shown)~label {

  font-size: 12px;
  color: #777;
    top:0px;
}

.form-signin .btn-primary{
    background-color: #4f8b41 !important;
    border-color: #4f8b41 !important;
}

.form-control:focus{
  border-color: #4f8b41 !important;
  box-shadow: 0 0 0 .2rem rgba(79,139,65,.25);
}


@media  (max-width:991.98px){
    .form-signin {
      font-size: 1.1rem !important;
    }

    .form-label-group input {
      min-height: 4vh !important;
    }

    .form-signin .btn {
      min-height: 4vh !important;
    }

    .navbar{
      height: calc(100% - 85%);
    }

}


