/*
 * Copyright (c) 2014. celum GmbH. All rights reserved.
 */

.continueWithMessage {
  text-align: center;
  position: relative;
  margin-top: 16px;
  padding-bottom: 16px;
}

/* Language chooser */
.currentLocaleLabel {
  height: fit-content;
  width: fit-content;
  display: block;
  text-transform: uppercase;
  cursor: pointer;
}

.localeList.hidden {
  display: none;
}

.localeList {
  position: absolute;
  top: 0;
  right: 0;
  width: fit-content;
  min-width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 2px;

  background-color: var(--login-input-dropdown-bg-color);
  border: 1px solid var(--login-input-dropdown-font-color);
  color: var(--login-input-dropdown-font-color);
}

.localeEntry {
  text-decoration: none;
  padding: 10px;
  margin: 0;
  display: block;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  background-color: var(--login-input-dropdown-button-bg-color);
}

.localeEntry.selected {
  background-color: var(--login-input-dropdown-select-bg-color);
}

.localeEntry:not(.selected):hover::before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 3px;
  background-color: var(--login-input-dropdown-bg-hover-color);
}

.languageSelection {
  position: absolute;
  top: 40px;
  right: 45px;
  z-index: 2;
  width: fit-content;
}

.languageButton {
  height: 31px;
  width: fit-content;
  border-radius: 3px;
  align-items: center;
  box-sizing: border-box;
  padding: 6px 9px 6px 9px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 93% center;
  display: flex;
  color: var(--login-input-dropdown-font-color);
  border: 1px solid var(--login-input-dropdown-font-color);
  background-color: var(--login-input-dropdown-button-bg-color);
}

.languageButton::before {
  content: ' ';
  position: absolute;
  opacity: 0.56;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  border-radius: 3px;
  background-color: var(--login-input-dropdown-bg-color);
}

.languageButton:hover::before {
  background-color: var(--login-input-dropdown-bg-hover-color);
}

.languageIcon {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

svg.languageArrowDown {
  width: 8px;
  height: 8px;
  margin-left: 10px;
}

svg.languageArrowDown,
svg.languageIcon {
  fill: var(--login-input-dropdown-font-color);
}

.box {
  border: 1px solid var(--login-button-bg-color);
  padding: 6px 8px;
  box-sizing: border-box;
  position: relative;
  border-radius: 2px;
  display: flex;
  align-items: center;
}

.message.box span {
  font-size: 12px;
}

.messageBox.success {
  padding-bottom: 16px;
  margin-top: 0;
}

.box::before {
  border-radius: 2px;
  position: absolute;
  inset: 0;
  background-color: var(--login-body-password-box-success-color);
  content: ' ';
  opacity: 0.1;
}

.box .infoIcon {
  min-height: 16px;
  min-width: 16px;
  width: 16px;
  margin-right: 8px;
  fill: var(--login-button-bg-color);
  stroke: var(--login-button-bg-color);
  color: var(--login-button-bg-color);
}

/* password hide/show icons */

input.inputField#password {
  /* make space for the "show password" icon thingy */
  padding-right: 40px;
}

.password-icon-hidden {
  display: none;
}

.password-show-icon,
.password-hide-icon {
  position: absolute;
  top: 10px;
  right: 54px;
  cursor: pointer;
  color: var(--login-input-font-color);
}

.password-hide-icon {
  top: 9px;
}

/* password lost */

.additionalLinkRow {
  margin-top: -6px;
  margin-bottom: 26px;
  height: 20px;
  text-align: right;
}

.additionalLinkRowLink {
  font-size: 11px;
}

.passwordForgotLink {
  position: absolute;
  top: 16px;
  font-size: 11px;
}

.emptyRow {
  height: 15px;
}

/* cookie information */
#cookie-info {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 300px;
  padding: 10px 15px;
  z-index: 1000;
  border-radius: 3px;
  transition: opacity 1s;
  opacity: 1;
}

#cookie-info.accepted {
  opacity: 0;
}

#cookie-info a {
  color: inherit;
}

#cookie-info a:hover {
  text-decoration: underline;
}

#cookie-info .hide-button {
  cursor: pointer;
  border-radius: 3px;
  text-align: center;
  padding: 5px;
  margin-top: 10px;
}

#cookie-info .hide-button:hover {
  opacity: 0.8;
}

.row.cookieRow {
  height: auto;
  margin-top: -13px;
  display: flex;
  justify-content: center;
  margin-bottom: 17px;
}

.row.cookieRow span u {
  color: var(--login-body-link-font-color);
}

.row.cookieRow span u:hover {
  color: var(--login-body-link-hover-font-color);
}

#cookie-info {
  box-shadow: 0 0 20px var(--login-cookie-box-shadow-color);
  background-color: var(--login-cookie-box-bg-color);
}

#cookie-info .hide-button {
  background: var(--login-cookie-okbutton-bg-color);
  color: var(--login-cookie-okbutton-font-color);
}

.cookieRow label {
  display: flex;
  align-items: center;
}

.cookie-row label > span {
  color: var(--login-body-font-color);
}

.cookieRow input {
  margin-left: 0;
}

.cookieRow a:hover {
  text-decoration: underline;
}

.cookie-row input[type="checkbox"]:checked {
  margin-right: 6px !important;
}

/* special MS login button */
.msIcon {
  display: flex;
  flex-wrap: wrap;
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

.msIcon > span {
  width: 10px;
  height: 10px;
  margin-right: 1px;
  margin-bottom: 1px;
}

.cloudLoginIcon {
  background-image: url("../../images/logos/system-icon-l.png");
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

.action-button.msButton {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spacer {
  background-color: #cfd8dc;
  height: 1px;
  width: calc(100% - 240px);
  margin: 26px 120px;
  box-sizing: border-box;
  z-index: 2;
  position: relative;
}

.registrationRow {
  text-align: center;
  margin-top: -2px;
  margin-bottom: 0;
}

.customLoginInfo {
  position: relative;
  width: 100%;
  overflow: auto;
  /* sensible default... use the same color as for the drop down border as this is on the same background,
   otherwise, customers can define their own color anyway */
  color: var(--login-input-dropdown-border-color);
}

/* system requirements link */

.systemReqButton {
  height: 24px;
  padding: 0 8px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  align-self: start;
  cursor: pointer;
  margin: 10px 10px 20px 20px;
  background-color: var(--login-system-req-button-background-color);
  text-decoration: none;
  font-size: 12px;
  color: var(--login-requirements-link-font-color);
  text-transform: uppercase;
}

.systemReqButton svg.toolIcon {
  width: 16px;
  height: 17px;
  margin-right: 8px;
}
