@import "kiwi-theme-light-override.css";

a {
  text-decoration: none;
  color: #6aa942;
}

body {
  background-color: #ffffff;
}

.content-wrapper {
  margin: 0;
  overflow: auto;
  border-radius: 0;
  background-color: #fff;
}

.right-bg {
  background-position-x: center;
  background-size: cover;
  background-image: url("../images/login/bg.png");
  background-repeat: no-repeat;
}

.content .info {
  font-size: 1.2rem;
}

.help {
  color: red;
}

.mobile-background {
  color: #ffffff;
}

.desktop-logo img {
  height: 4rem;
}

.desktop-background {
  color: #ffffff;
}

.desktop-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-portrait img {
  height: 3rem;
}

.logo-portrait p {
  font-size: 1.3rem;
  font-weight: bold;
}

.forgotten-password a {
  color: #6aa942;
  font-weight: bold;
  text-decoration: none;
}

.form-control:focus {
  border-color: #6aa942 !important;
  box-shadow: 0 0 0 0.25rem rgba(106, 169, 66, 0.25) !important;
}

.form-check-input:checked {
  background-color: #6aa942;
  border-color: #6aa942;
}

.language-selector {
  color: #454545;
  font-size: 13px;
}

.language-selector span {
  color: #6aa942 !important;
  font-weight: bold;
}

.language-selector .kiwi-lang-separator {
  color: #ccc !important;
  font-weight: normal;
}

.copyright {
  color: #454545;
  font-size: 0.8rem;
  text-decoration: none;
}

@media (min-width: 576px) {
  .logo-portrait img {
    height: 5rem;
  }

  .logo-portrait p {
    font-size: 1.7rem;
  }
}

@media (min-width: 768px) {
  .logo-portrait img {
    height: 7rem;
  }

  .logo-portrait p {
    font-size: 2.2rem;
  }
}

@media (min-width: 992px) {
  body {
    background-color: #f0f4f9;
  }

  .content-wrapper {
    margin: 4rem;
    overflow: hidden;
    border-radius: 3rem;
  }

  input[type="email"],
  input[type="password"],
  input[type="text"] {
    height: 3.5rem;
  }

  .desktop-background p {
    font-size: 0.9rem;
  }

  .content {
    padding: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 1200px) {
  .desktop-background p {
    font-size: 1.2rem;
  }

  .content {
    padding: 5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.ui-growl-item-container, .ui-dialog {
  background-color: white;
}

/* Correct growl by making distiguished on the background. */
.ui-growl-item-container {
  opacity: unset;
}

.interpret-new-line {
  white-space: pre-line;
}

.divider-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #666;
  margin: 1rem 0;
  text-transform: uppercase;
}

.divider-with-text::before,
.divider-with-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.divider-with-text::before {
  margin-right: 1rem;
}

.divider-with-text::after {
  margin-left: 1rem;
}

.flex-1 {
  flex: 1;
}

.place-content-between {
  place-content: space-between;
}

.gap-4px {
  gap: 4px;
}

/* start - center icon in a button related */
.kiwi-login-box-button {
  padding: 0 !important;
}

.kiwi-login-box-button .ui-button-icon-left {
  position: static !important;
  /* gap between icon and text */
  margin-right: 0.4em;
}

.kiwi-login-box-button .ui-button-text {
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
}
/* end - center icon in a button related */

.login-font {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.kiwi-login-button {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

/* correct kiwi-theme padding */
.kiwi-login-button-small-padding {
  padding: 0.2rem 0.5rem !important;
}

/* overrid kiwi-theme-padding of login input fields*/
.kiwi-login-form {
  padding: .375rem .75rem !important;
}

/* Improve position of "Remember me" text next to checkbox on login. */
.remember-me-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Make "Remember me" text change color on hover. */
.remember-me-wrapper:hover {
  color:#6aa942 !important;
}
