@import url('https://fonts.googleapis.com/css?family=Lato:300,400,500,700');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

* {
  font-family: 'Inter', sans-serif;
}

:root {
  font-size: 16px;
}

label,
span,
div,
a {
  color: #72767b;
  font-size: 1rem;
}

.login-pf {
  background: #E9E6E4;
}

.login-pf body {
  background-size: cover;
  background: #E9E6E4;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.login-pf-page {
  margin: 42px 132px 0 132px;
  padding-top: 0;
  z-index: 2;
}

.banner-style {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 368px;
  background-image: url(../img/bg-login.jpg);
  background-position: center;
}

.header-style {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  row-gap: 12px;
}

.card-holder-style {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  padding-top: 5rem;
  max-width: 572px;
}

.info-container-style {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 12px;
}

.links-holder {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.links-holder a {
  font-size: 14px;
  font-weight: 600;
  color: #787C88;
}

.about-us-style {
  padding-right: 8px;
  padding-top: 0;
  padding-bottom: 0;
  border-right: 1px solid #72767b;
}

.copyright-text-style {
  font-size: 11px;
  color: #A5A8B0;
  margin: 0;
}

.alert {
  border-width: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: relative;
  word-wrap: break-word;
  display: flex;
  align-items: center;
}

.alert-error {
  border: none;
  color: #CC0000;
  background: #ffe4e4;
}

.ENflag-icon {
  background-image: url(../img/ENflag.svg);
  background-repeat: no-repeat;
  width: 15px;
  height: 12px;
}

.DEflag-icon {
  background-image: url(../img/DEflag.svg);
  background-repeat: no-repeat;
  width: 15px;
  height: 12px;
}

.current-locale {
  display: inline-flex;
  align-items: center;
}

.locale-name {
  padding-left: 5px;
}

.kc-feedback-text {
  margin-left: 0.5rem;
}

.logo {
  height: 82px;
  background-size: cover;
  padding-bottom: 28px;
}

.social-providers-text {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  color: #A5A8B0;
  font-weight: normal;
  font-size: 16px;
  margin-bottom: 0 !important;
}

.discover-title-style {
  font-size: 12px;
  color: #A5A8B0;
  font-weight: 500;
  margin: 0 !important;
  width: 200px;
}

.header-title-style {
  font-size: 30px;
  color: white;
  font-weight: 500;
  margin: 0 !important;
}

.header-subtitle-style {
  font-size: 18px;
  color: white;
  font-weight: 300;
  line-height: 30px;
  margin: 0 !important;
  width: 1000px;
}

.header-title-holder {
  width: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #003A4F;
  margin-bottom: 20px;
}

.header-text-container-style {
    display: flex;
    flex-direction: column;
  row-gap: 12px;
}

.card-header-style {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 48px;
}

.card-logo-style {
  height: 28px;
  display: none;
}

.card-logo-style.register {
  height: 48px;
}

.card-logo-style.register-small-logo {
  visibility: hidden;
}

.language-holder-style {
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.checkbox {
  margin-left: 20px;
  margin-bottom: 24px !important;
}

.checkbox label {
  padding-left: 2px !important;
  font-size: 14px;
  color: #191D23;
}

.remember-me-checkbox-style {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  background-color: white;
  transition: background-color 0.2s, border-color 0.2s;
  outline: none;
}

.remember-me-checkbox-style:focus {
  outline: none !important;
  box-shadow: none !important;
}

.remember-me-checkbox-style:checked {
  background-color: #00AC73;
  border-color: #00AC73;
}

.remember-me-checkbox-style:checked::after {
  content: "";
  width: 12px;
  height: 12px;
  display: block;
  background-image: url("../img/checkmarkIcon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#kc-locale ul {
  display: none;
  text-align: left;
  position: absolute;
  background-color: #fff;
  list-style: none;
  top: 29px;
  left: 0;
  min-width: 105px;
  padding: 2px 0;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px, 0 4px 6px -4px;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-shadow);
}

#kc-current-locale-link:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 239 243 / var(--tw-bg-opacity));
}

#kc-current-locale-link:hover ul {
  display: block;
  margin: 0;
}

#kc-locale ul li a {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 5px 5px;
  color: #000 !important;
  text-decoration: none;
  line-height: 20px;
}

#kc-locale ul li a:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 239 243 / var(--tw-bg-opacity));
}

#kc-locale-dropdown a {
  color: #4d5258;
  background: 0 0;
  padding: 0 15px 0 0;
  font-weight: 300;
}

#kc-locale-dropdown a:hover {
  text-decoration: none;
}

#kc-current-locale-link {
  display: inline-flex;
  padding: 0 5px;
  align-items: center;
  border: solid 1px rgb(209 213 219);
  border-radius: 8px;
  min-width: 105px;
  justify-content: space-between;
}

.control-label {
  font-size: 14px;
  color: #030712;
  font-weight: 600;
}

.login-pf-page .form-control {
  display: block;
  width: 100%;
  height: 42px;
  padding: 10px 12px;
  font-size: 1rem;
  line-height: 1.66666667;
  color: rgba(0, 0, 0, .87);
  background-color: #fff;
  background-image: none;
  border: 1.5px solid rgba(210, 211, 216, 1);
  border-radius: 4px;
  box-shadow: none;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.login-pf-page .form-control:focus {
  border: 1px solid #F6871F;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control::placeholder {
  font: normal 14px 'Inter', sans-serif;
  color: #4B5563;
}

a#kc-current-locale-link::after {
  content: "\2c5";
  margin-left: 4px;
}

.login-pf .container {
  padding-top: 40px;
}

.login-pf a:hover {
  color: #F6871F;
}

.back-button-style {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  text-decoration: none !important;
  width: fit-content;
  height: 16px;
  margin-bottom: 8px;
}

#kc-logo {
  width: 100%;
}

#kc-logo-wrapper {
  background-repeat: no-repeat;
  height: 63px;
  width: 300px;
  margin: 62px auto 0;
}

#kc-header {
  overflow: visible;
  white-space: nowrap;
}

#kc-content {
  width: 100%;
}

.caption {
  font-size: 0.75rem;
}

#kc-info-wrapper {
  font-size: 13px;
}

#kc-social-providers ul {
  padding: 0;
}

#kc-social-providers li {
  display: block;
}

#kc-social-providers li:first-of-type {
  margin-top: 0;
}

.zocial,
a.zocial {
  width: 100%;
  font-weight: normal;
  font-size: 14px;
  text-shadow: none;
  border: 0;
  background: #f5f5f5;
  color: #72767b;
  border-radius: 0;
  white-space: normal;
}

.zocial:before {
  border-right: 0;
  margin-right: 0;
}

.zocial span:before {
  padding: 7px 10px;
  font-size: 14px;
}

.zocial:hover {
  background: #ededed !important;
}

.zocial img {
  margin: 0 !important;
  width: auto !important;
}

.google-logo {
  height: 30px !important;
}

.microsoft-logo {
  height: 20px !important;
}

.nextcloud-logo {
  height: 36px !important;
}

.dvelop-logo {
  height: 24px !important;
}

.microsoft-365-logo {
  height: 24px !important;
}

#kc-locale {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  justify-self: right;
  z-index: 9999;
}

.register-header-style {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.register-header-style img {
  width: fit-content;
}

.register-header-style p {
  color: #003A4F !important;
  font-size: 22px;
}

.register-fname-lname-holder {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-password-icon {
  position: absolute;
  right: 10px;
  cursor: pointer;
  width: 20px;
  height: 16px;
}

.card-pf form.form-actions .btn {
  float: right;
  margin-left: 10px;
}

.form-group {
  margin-top: 1rem;
  margin-bottom: 0;
  width: 100%
}

.form-group .has-error {
  border-color: red;
}

#kc-form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.login-pf-page .card-pf {
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
  max-width: 540px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

footer {
  margin-top: auto;
  margin-bottom: 64px;
}

.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #4B5563;
  font-size: 16px;
  margin: 0 164px;
}

.divider-text::before,
.divider-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #F1F2F4;
  margin: 0 10px;
}

.divider-text p {
  margin: 0 42px;
}

.clients-logos-holder {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-top: 42px;
  padding: 0 16px;
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}

.remember-me-holder {
  margin: 0 !important;
}

#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

.login-pf-page .login-pf-social-link {
  margin-bottom: 12px;
}

.login-pf-page .login-pf-social-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 2px 0;
  font-size: 17px;
}

.login-pf-page .login-pf-social {
  margin: 0;
}

.sign-up-button-style {
	width: 100%;
	height: 48px;
	background-color: #F6871F;
	border: 1px solid #F6871F;
	color: white;
	align-content: center;
	text-align: center;
	text-decoration: none !important;
}

.sign-up-button-style:hover {
	background-color: rgba(246, 135, 31, 0.8);
	border: 1px solid rgba(246, 135, 31, 0.8);
}

.log-in-button-style {
	width: 100%;
	height: 48px;
	background-color: white;
	border: 1px solid #F6871F;
	border-radius: 4px;
	color: #F6871F;
}

.log-in-button-style:hover {
	background-color: rgba(246, 135, 31, 0.1);
}

@media screen {
  @media (max-height: 1170px) {
    .login-pf-page {
      margin: 22px 22px;
    }

    footer {
      margin-bottom: 24px;
    }
  }
  @media (max-height: 770px) {
    @media (max-width: 7680px) {
      .login-pf-page {
        margin-top: auto !important;
        margin-bottom: auto !important;
      }

      .card-holder-style {
        padding: 0;
      }

      .header-style {
        display: none;
      }

      .login-pf-page-header {
        display: none;
      }
    }
  }
  @media (max-width: 1280px) {
    .login-pf-page {
      margin: 42px 36px;
    }

    .divider-text {
      margin: 0 16px;
    }

    .divider-text p {
      margin: 0 24px;
    }
  }
  @media (max-width: 768px) {
    .logo {
      margin-bottom: 24px;
    }

    .login-pf-page {
      margin: 28px 24px;
    }

    .language-holder-style {
      flex-direction: column;
      align-items: flex-end;
    }

    footer {
      display: none;
    }

    .header-title-style {
      display: none;
    }
  }
  @media (max-width: 480px) {
    .login-pf-page {
      margin: auto 6px;
    }

    .card-holder-style {
      padding: 0;
    }

    .login-pf-page-header {
      display: none;
    }

    .card-pf.login-pf-accounts {
      margin-top: 0;
      max-width: none;
    }

    .logo {
      display: none;
    }

    .card-logo-style {
      display: block;
    }

    .card-header-style {
      justify-content: space-between;
    }

    .card-logo-style.register {
      display: none;
    }

    .card-logo-style.register-small-logo {
      visibility: visible;
    }

    .register-header-style {
      margin-top: 26px;
    }

    .register-fname-lname-holder {
      flex-direction: column;
      width: 100%;
      gap: 0;
    }
  }
}
