*:focus,
*:hover {
  border: none;
}

:root {
  --red: #b92736;
  --blue: #232d55;
  --nb: #1e7995;
}

#header {
  height: auto;
  padding: 18px 8px;
  border-bottom: 1px solid #eee;
  background-color: var(--nb);
}

#header a.home {
  width: auto;
}

#header a.home img {
  width: 200px;
}

input.form-input {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding-left: 0;
}

form input.form-input:focus {
  border-color: transparent;
  box-shadow: none;
  border-bottom-color: #ccc;
}

form .label-box {
  position: relative;
  margin-bottom: 30px;
}

form .label-box label {
  position: absolute;
  bottom: 5px;
  display: none;
}

/* div#form {
  width: 50%;
  margin: 0 auto;
} */

button.btn-login {
  width: 100%;
  color: #fff;
  background: var(--nb);
  border: 1px solid var(--nb);
}

button.btn-login:hover {
  border: 1px solid var(--nb);
  color: var(--nb);
  background-color: #fff;
}
#loginForm .btn-libertytax {
  margin: 15px 0;
}

section {
  /* height: calc(100vh - 80px - 80px); */
  height: calc(97vh - 80px - 80px);

  /* border-bottom: 1px solid #eee !important; */
}
section.portal-form-container,
.portal-form-container {
  height: initial;
}

section .form-container {
  /* padding: 5rem 0; */
  padding: 7rem 0;
}
#signUp {
  padding: 42px 0;
  width: 65%;
  margin: 0 auto;
}

section form {
  padding-top: 2rem;
}
.portal-form-container #login {
  padding: 55px 0;
  width: 80%;
  margin: 0 auto;
}
form p.form-footer {
  padding-top: 1rem;
  text-align: center;
}

#form .label-box .eye,
#form .label-box .c-eye {
  position: absolute;
  right: 0;
  bottom: 4px;
  font-size: 12px;
  cursor: pointer;
  color: #bbb;
}

#form .eye span.o-i,
#form .c-eye span.o-i {
  display: none;
}

#form form a.forgot-ps {
  display: block;
  padding-bottom: 1rem;
  font-size: 12px;
  text-decoration: none;
  text-align: right;
  cursor: pointer;
  color: #00bcd4;
}

.form-footer a {
  text-decoration: none;
  display: inline-block;
  color: #00bcd4;
}

section .bg-grey {
  background: #ddd !important;
  height: 100%;
  position: relative;
}

.bg-grey .left-container .img-box img {
  height: 50px;
}

.bg-grey .left-container ul {
  padding-top: 10px !important;
  list-style: none;
  padding-left: 0;
}

.bg-grey .left-container ul li {
  padding: 0.5rem 0;
}

.bg-grey .left-container span.icon {
  color: var(--red);
}

.bg-grey .left-container {
  width: auto;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -20%);
}

#signup form a.signup-terms {
  color: #00bcd4;
  text-decoration: none;
}

#signup form input#check {
  margin-bottom: 1.5rem;
}

footer {
  border-bottom: 1px solid #eee;
  position: fixed;
  border: 0;
  width: 100%;
  height: 107px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.partner-portal-footer-box,
.portal-signup-footer {
  position: initial;
  height: initial;
}

footer a.p-t {
  text-decoration: none;
  color: inherit;
}

/* MEDIA QUERIES */

@media screen and (max-width: 992px) {
  div#form {
    width: 80%;
    margin: 0 auto;
  }
  .newentry button {
    margin-left: 0;
  }
  #signUp,
  .portal-form-container #login {
    width: auto;
  }
}
@media screen and (max-width: 767px) {
  section .bg-grey {
    height: 400px;
  }
  /*footer {
    position: absolute;
    bottom: -19rem;
    border: 0;
  }*/
  section .bg-grey {
    height: auto;
    position: initial;
    padding: 10px 0;
  }
  .bg-grey .left-container {
    position: initial;
    transform: none;
  }
  .img-box {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  section .form-container {
    margin-top: 50px !important;
    padding: 0 0 20px 0 !important;
  }
  .bg-grey .left-container ul {
    padding: 0 20px;
  }
  footer {
    position: absolute;
    bottom: -5rem;
    border: 0;
  }
}
@media (max-width: 675px) {
  footer {
    bottom: -7rem !important;
  }
}
@media screen and (max-width: 575px) {
  footer {
    bottom: -29rem !important;
  }

  #signUpBtn {
    width: 75% !important;
    margin: 12px auto !important;
  }

  #term-condition .modalterms-body .row .form-control {
    margin: 5px auto !important;
    width: 90% !important;
  }
}
@media screen and (max-width: 500px) {
  footer {
    bottom: -9rem !important;
  }
  #createPasswordBtn {
    width: 100% !important;
    margin: 18px auto 0 auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 416px) {
  footer {
    bottom: -38rem !important;
  }
}

@media (max-width: 375px) {
  footer {
    bottom: -30rem !important;
  }
}

@media screen and (max-width: 640px) {
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    float: inline-start;
  }
  .dataTables_filter {
    margin-top: 0;
  }
}
