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

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

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

#header a.home {
  width: auto;
}

#header a.home img {
  width: 350px;
}
a.home img {
  max-height: 100%;
  max-width: 70%;
}
.img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

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;
}

section {
  height: calc(100vh - 80px - 80px);
  border-bottom: 1px solid #eee !important;
}

section .form-container {
  padding: 5rem 0;
}

section form {
  padding-top: 2rem;
}

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: 2rem;
  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 {
  display: none;
}

#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: 80px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

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;
  }
}

@media screen and (max-width: 767px) {
  section .bg-grey {
    height: 400px;
  }
}

@media screen and (max-width: 640px) {
  .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter {
    float: inline-start;
  }
  .dataTables_filter{
    margin-top: 0;
  }
  .bg-grey .left-container .img-box img {
    height: 35px;
  }
}
@media screen and (max-width: 440px){
  .bg-grey .left-container .img-box img {
    height: 25px;
  }
}
@media screen and (max-width:380px){
  #header {
    padding: 10px 0;
  }
  #header a.home img {
    width: 342px;
  } 
}