* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Maven Pro Regular', sans-serif;
  font-size: 1.125rem;
  color: #004A5A;
  padding: 0;
}

body:before {
  content: "";
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 20px, transparent 1%) center, linear-gradient(rgba(255, 255, 255, 1) 20px, transparent 1%) center, rgba(79, 79, 79, 0.3);
  background-size: 22px 22px;
  z-index: -1;
}

/* // headlines with sizes */
h1 {
  font-weight: normal;
  text-align: center;
  font-family: 'Barlow Condensed Medium', sans-serif;
  color: #004A5A;
  line-height: 1.2;
  font-size: 1.944rem;
  margin: 1.820rem auto 2.945rem auto;
}

h2 {
  font-weight: normal;
  font-family: "Barlow Condensed Medium", sans-serif;
  color: #004A5A;
  font-size: 32px;
  margin: 0;
  padding: 0;
}

h3 {
  font-weight: normal;
  font-family: "Barlow Condensed Medium", sans-serif;
  color: #004A5A;
  font-size: 1.944rem;
}

h4 {
  font-weight: normal;
  font-family: "Barlow Condensed Medium", sans-serif;
  color: #004A5A;
  font-size: 26px;
}

nav {
  width: 100%;
  height: 3.75rem;
  position: fixed;
  z-index: 100;
  padding: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.0625rem solid #9e9e9e;
  background-color: #FFFFFF;
}

.button-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.button-wrapper .btn:first-child{
  margin-bottom: 0.43rem;
}

@media (min-width: 768px) {
  nav {
    height: 5rem;
    padding-left: 1.473rem;
    padding-right: 1.473rem;
  }
}

nav .nav__logo {
  height: 100%;
  width: auto;
}

nav .nav__login-cta {
  font-size: 0.9375rem;
  color: #004A5A;
}

nav .nav__login-cta:hover {
  color: #4FBEEF;
}

nav .nav__login-cta-icon {
  font-size: 1.35rem;
  padding-right: 0.266rem;
  vertical-align: text-top;
}

.mb-3 {
  margin-bottom: 0.695rem;
}

.mb-7 {
  margin-bottom: 2.383rem
}

.mt-3 {
  margin-top: 0.695rem;
}

.hide {
  display: none;
}

/* */
/* Content Styling */
/* */
/* Wrapper */
.login-page {
  display: flex;
  align-items: center;
  min-height: 100%;
  background: url("../img/bg_harbour_new.jpg") no-repeat center;
  background-size: cover;
}

.login-page-header {
  display: none;
  background-position: center center;
}

/* Login-Card */
.card {
  position: relative;
  width: 90%;
  max-width: 31.25rem;
  margin: 7.5rem auto;
  border: 0.0625rem solid #EBEBEB;
  border-radius: 4px;
  background-color: #FFFFFF;
  box-shadow: 0 0.125rem 0.125rem 0 #9E9E9E;
  padding: 1.82rem;
}

@media only screen and (min-width: 500px) {
  .card {
    padding: 2.945rem;
  }
}

/* */
/* Input fields*/
/* */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.form-group, .input-field, .checkbox, .helper-link {
  position: relative;
  margin-bottom: 0.695rem;
}

.form-control {
  border: none;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #004A5A;
  transition: box-shadow .2s, border .2s;
  width: 100%;
  font-family: 'Maven Pro Medium', sans-serif;
  min-height: 1.944rem;
  line-height: 1.728rem;
  font-size: 1.125rem;
  color: #004A5A;
  background-color: transparent;
}

.form-control:focus {
  outline: none;
  border-bottom-color: #4AD6B6;
  box-shadow: 0 1px 0 0 #4AD6B6;
}

.input-field label {
  font-family: 'Maven Pro Regular', sans-serif;
  line-height: 1.728;
  font-size: 1.125rem;
  color: #7F9CBB;
  cursor: text;
  transition: transform .2s ease-in-out, color .2s ease-in-out;
  transform-origin: 0 100%;
  text-align: initial;
  transform: translateY(0px);
  position: absolute;
  left: 0;
  bottom: 0;
}

.input-field:before {
  content: "";
  display: block;
  flex: 0 0 100%;
  height: 1.62rem;
}

.form-control:focus ~ label,
.form-control:-webkit-autofill ~ label,
.form-control:valid ~ label {
  transform: translateY(-1.944rem) scale(0.8333);
}

.form-control::-ms-clear {
  display: none;
}

.alert {
  margin-bottom: 1.820rem;
  color: #DF5145;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkbox label {
  position: relative;
  display: block;
  cursor: pointer;
  text-align: left;
  padding-left: calc(0.430rem + 1.25rem);
  font-family: 'Maven Pro Regular', sans-serif;
  font-size: 1.125rem;
  color: #004A5A;
  line-height: 1.44rem;
}

.checkbox label:before {
  box-sizing: border-box;
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0.1875rem;
  height: 1.25rem;
  width: 1.25rem;
  background-color: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: #004A5A;
  border-radius: 0.125rem;
}

.checkbox label:after {
  box-sizing: border-box;
  content: "";
  position: absolute;
  display: none;
}

.checkbox:hover label:before {
  box-shadow: 0 0 0 2px #4AD6B6;
}

.checkbox input:hover ~ label:before,
.checkbox input:focus ~ label:before,
.checkbox input:active ~ label:before {
  box-shadow: 0 0 0 2px #4AD6B6;
}

.checkbox input:checked ~ label:before {
  background-color: #004A5A;
}

.checkbox input:checked ~ label:after {
  display: block;
  height: 0.75rem;
  width: 0.5rem;
  top: 0.0625rem;
  left: 0.1875rem;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: bottom left;
  border-style: solid;
  border-width: 0 0.2rem 0.2rem 0;
  border-color: #4AD6B6;
}

/* Links */
a {
  font-family: "Barlow Condensed Medium", sans-serif;
  color: #327CC6;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  outline: 0;
  font-size: 1.125rem;
}

a:hover,
a:focus {
  color: #99B6BD;
}

.form-group a {
  display: block;
}

.helper-link a {
  font-size: 1.0416rem;
  margin: -0.695rem 0 1.473rem 0;
}

/* */
/* Button */
/* */
.btn {
  border: 0;
  display: inline-block;
  text-align: center;
  font-family: 'Barlow Condensed Medium', sans-serif;
  width: 100%;
  font-size: 1.125rem;
  line-height: 0.8;
  vertical-align: bottom;
  transform: translateZ(0);
  text-transform: uppercase;
  cursor: pointer;
  outline: 0;
  color: #ffffff;
  border-radius: 50px;
  -webkit-transform: translateZ(0);
  padding: 0.695rem 2.383rem;
  background-color: #004A5A;
}

.btn:active, .btn:focus {
  outline: 0;
}

.btn:active {
  filter: brightness(85%);
}

/*TODO:*/
/*.btn:hover:before,
.btn:active:before,
.btn:focus:before {
  left: 0;
  right: 0;
}*/

.btn--flat {
  color: #004A5A;
  border: 1.5px solid #004A5A;
  background-color: #ffffff;
}

.btn--flat:active, .btn--flat:focus {
  border-bottom: 0;
}

.btn--flat:active {
  filter: brightness(90%);
}

.btn--flat:disabled,
.btn--flat:disabled:hover,
.btn--flat:disabled:active,
.btn--flat:disabled:focus {
  background-color: transparent;
  box-shadow: none;
}

#kc-info {
  margin-top: 1.820rem;
}

.footer {
  flex-direction: column;
  border-top: 0.0625rem solid #9e9e9e;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.125rem 1.473rem;
  height: auto;
  bottom: 0;
  position: fixed;
  background-color: white;
  width: 100%;
}

.footer__copyright {
  margin: 0 0 0.43rem 0;
  font-size: 0.78125rem;
  line-height: 1;
}

.footer__legal-area {
  line-height: 0;
}

.footer__link {
  color: #004A5A;
  line-height: 1;
  margin-left: 0.7365rem;
  margin-right: 0.7365rem;
  font-size: 0.78125rem;
}

.footer__link:hover {
  color: #4FBEEF;
}

@media (min-width: 768px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer__copyright {
    margin: 0;
  }
}

/* IE fix */
@media all and (-ms-high-contrast: none) {
  /* darken the whole button by 15% */
  .btn:active:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
  }

  footer {
    justify-content: flex-start;
  }
}
