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

/* // 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: #004A5A;
}

.button-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.button-wrapper.button-wrapper--content-apart {
  justify-content: space-between;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

.button-wrapper.multi-buttons {
  justify-content: space-between;
  flex-direction: column;
}

.button-wrapper .btn:nth-child(2) {
  margin-top: 0.43rem;
}

@media (min-width: 768px) {
  .button-wrapper.multi-buttons {
    justify-content: space-between;
    flex-direction: row;
  }

  .button-wrapper .btn:nth-child(2) {
    margin-top: initial;
  }

  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: #FFFFFF;
}

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

.mt-4 {
  margin-top: 1.125rem;
}

.mt-5 {
  margin-top: 1.473rem;
}


.hide {
  display: none;
}

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

.login-page.login-page--ng-no-img {
  background: none;
}

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

/* Login-Card */
.card {
  position: relative;
  width: 90%;
  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: 768px) {
  .card {
    padding: 2.945rem;
    max-width: 80%
  }

  .card.max-width {
    max-width: 31.25rem;
  }
}

@media only screen and (min-width: 1280px) {
  .card {
    max-width: 70%
  }
}

@media only screen and (min-width: 1600px) {
  .card {
    max-width: 60%
  }
}

div.password-field{
  position: relative;
}

div.password-field button{
  border: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  cursor: pointer;
}

div.password-field button .eye-path{
  fill: #004a5a;
  transition: 0.23s fill;
}

div.password-field button:hover .eye-path{
  fill: #4fbeef;
  transition: 0.23s fill;
}

/* */
/* 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:valid ~ label {
  transform: translateY(-1.944rem) scale(0.8333);
}

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

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

}

@media (min-width: 768px) {
  .btn {
    width: auto;
  }
}

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

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

.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 {
}

.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: #004A5A;
  color: #FFFFFF;
  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 {
  line-height: 1;
  margin-left: 0.7365rem;
  margin-right: 0.7365rem;
  font-size: 0.78125rem;
  color: #FFFFFF;
}

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

/*
 * Progress bar
 */
.progress {
  text-align: center;
  margin: 20px 0;
}

.progress .circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.progress .circle.primary {
  background: #004A5A;
}

.progress .circle.secondary {
  background: #4ad6b6;
}

.progress .circle.tertiary {
  background: #e5ebf1;
}

.progress .space-line {
  margin: 0 3px 6px;
  width: 30px;
  height: 2px;
  display: inline-block;
  background: #e5ebf1;
}

.progress .space-line.primary {
  background: #004A5A;
}

.progress .space-line.gradient {
  background: linear-gradient(to right, #004A5A, #4ad6b6);
}

.margin-bottom {
  margin-bottom: 24px;
}


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

.alert-input-error {
  color: #DF5145;
  font-size: 75%;
}

.alert-success {
  margin-top: 24px;
  border: 2px solid #1AA800;
  border-radius: 6px;
  padding: 12px;
  /*color: #49b85c;*/
}

.alert-error {
  margin-top: 24px;
  border: 2px solid #df5145;
  border-radius: 6px;
  padding: 12px;
  /*color: #df5145;*/
}

.alert-warning {
  margin-top: 24px;
  border: 2px solid #E0AA14;
  border-radius: 6px;
  padding: 12px;
}

.appstore-buttons {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
  margin-top: 0.43rem;
}

@media (min-width: 768px) {
  .appstore-buttons{
    order: 0;
    margin-top: initial;
  }
}

.apple-appstore-button {
  display: block;
}

.google-playstore-button {
  display: block;
}

.alert-warning {
  color: #004a5a;
}

.login-mask {
  max-width: 600px;
}

.text-sm {
  font-size: 0.78125rem;
}

.back-link {
  margin-top: 24px;
}

.back-link, .login-headline, .info-text-account {
  display: flex;
  justify-content: center;
  text-align: center;
}

.login-headline, .info-text-account {
  margin-bottom: 1.473rem;
}

.flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.margin-0 {
  margin: 0;
}

.text-center {
  text-align: center;
}
