/* Can't use because of IE11
:root {
  --black: #212121;
  --gray: #959595;
  --gray2: #e0e0e0;
  --yolean-blue: #5FA9DD;
  --alert-red: #F75065;
  --alert-green: #53C4AB;
  --bg: #f9f9f9;
  --white: #ffffff;
  --size-small: 13px;
} */

#kc-locale {
  display: none;
}

/* kc-locale copied from default Keycloak 9 theme, works with 1 option */
#kc-locale ul {
  display: none;
  position: absolute;
  background-color: #fff;
  list-style: none;
  right: 0;
  top: 20px;
  min-width: 100px;
  padding: 2px 0;
  border: solid 1px #bbb;
}

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

#kc-locale ul li a {
  display: block;
  padding: 5px 14px;
  color: #000 !important;
  text-decoration: none;
  line-height: 20px;
}

#kc-locale ul li a:hover {
  color: #4d5258;
  background-color: #d4edfa;
}

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

a#kc-current-locale-link {
  color: #959595;
  display: block;
  padding: 0 5px;
}

/* a#kc-current-locale-link:hover {
  background-color: rgba(0,0,0,0.2);
} */

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

/* Needed to avoid iOS override styleing */
/* https://www.daretothink.co.uk/stop-ios-styling-your-input-fields-and-buttons/ */
textarea,
input.text,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="button"],
input[type="submit"],
.input-checkbox {
  -webkit-appearance: none;
}

body, html {
  font-family: 'Open Sans', sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #212121;
  font-size: 16px;
}

label {
  font-size: 13px;
}

input {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 8px;
  margin: 4px 0px;
  font-size: inherit;
}

input[type="text"], input[type="password"], input[type="email"]{
  /* 300 - padding (282px) */
  /* TODO: calcualte this in a better way? */
  width: calc(100% - 18px);
}

a {
  color: #5FA9DD;
  text-decoration: none;
}


#kc-logo {
  height: 75px;
  width: 180px;
  margin: 40px auto;
}

#kc-logo-wrapper {
    background: url("../img/yolean-logo.png") no-repeat center;
    height: 75px;
    background-size: 180px;
}

#kc-header-wrapper h1 {
  font-size: 26px;
  margin: 0px;
}

#kc-header-wrapper .subtitle {
  color: #959595;
  font-size: 14px;
  margin-bottom: 20px;
}

#kc-container {
  max-width: 300px;
  margin: auto;
  text-align: center;

  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0, 0.18);
  padding: 20px 40px 40px 40px;

  /* Make sure that there is room for "New user.." and "Go back" buttons */
  margin-bottom: 130px;
}

#kc-info-wrapper {
  display: flex;
  flex-direction: column;
  /* Make the content appear outside the box */
  position: absolute;
  margin-top: 80px;
  margin-bottom: 60px;
  width: 300px;
}

#kc-form-buttons, #kc-form-wrapper {
  display: flex;
  flex-direction: column;
}

#kc-footer {
  height: 4px;
  background: #5FA9DD;
  position: fixed;
  bottom: 0px;
  right: 0px;
  left: 0px;
}

.divider {
  color: #959595;
  margin: 5px 0 15px 0px;
  font-size: 14px;
}

.sso-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sso-list .sso-btn {
  margin:0 0 10px 0;
}

.btn {
  text-decoration: none;
  color: white;
  background-color: #5FA9DD;
  cursor: pointer;
  padding: 8px 22px;
  font-weight: 500;
  border-color: transparent;
  border-radius: 4px;
  text-align: center;
}

.btn-admin {
  color: #212121;
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.login-form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hidden {
  display: none;
}


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

.margin-top {
  margin-top: 20px;
}

.forgot-password {
  text-align: center;
  margin-top: 15px;
}

.checkbox {
  margin: 8px 0px;
}

#kc-reset-password {
  text-align: center;
}

.alert {
  margin-top: 10px;
  margin-bottom: 10px;
}

.alert-error {
  color: #F75065;
  font-size: 13px;
  text-align: left;
  margin-bottom: 0px;
}

.alert-warning {
  margin-top: 0px;
  margin-bottom: 20px;
}

.alert-success {
  color: #53C4AB;
  font-weight: bold;
}

.alert-description {
  color: #212121;
  font-size: 13px;;
  font-weight: normal;
}

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

.reset-password-header-image {
  background: url("../img/fallback-circle.png") no-repeat center;
  background-image: url("../img/ecology-globe.svg");
  background-size: contain;
  height: 160px;
}

.error-page-header-image {
  background: url("../img/fallback-circle.png") no-repeat center;
  background-image: url("../img/programmer-male.svg");
  background-size: contain;
  height: 160px;
}


@media only screen and (max-width: 500px) {
  /* Insert code for mobile phones: */
}

#input-error-email,
#input-error-password,
#input-error-firstName,
#input-error-lastName,
#input-error-phone,
#input-error-terms-accepted,
#input-error-company {
  color: #ff3333;
}
