.login-pf body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f2f4f6;
  min-height: 100%;
  font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #4C5658;
}

#kc-container {
  position: relative;
}

#kc-locale {
  position: absolute;
  z-index: 999;
  bottom: -30px;
  right: 0;
  display: none;
}

#kc-locale ul {
  display: none;
  position: absolute;
  background-color: #fff;
  list-style: none;
  right: 0;
  top: 20px;
  padding: 2px;
}

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

#kc-locale ul li a {
  display: block;
  padding: 1px 11px;
  color: #000 !important;
  border: 1px solid #fff;
  text-decoration: none;
  line-height: 20px;
}

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

#kc-locale-dropdown a {

}

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

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

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

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

.login-pf .container {

}

#kc-logo-wrapper {
  background-image: url("../img/jotta-logo.svg");
  background-repeat: no-repeat;
  width: 100%;
  max-width: 300px;
  height: 38px;
  margin: 0 auto;
  background-size: contain;
  background-position: center;
}

#get-logo-wrapper {
  background-image: url("../img/get_logo_inverse@2x.png");
  background-repeat: no-repeat;
  width: 100%;
  max-width: 300px;
  height: 38px;
  margin: 0 auto;
  background-size: contain;
  background-position: center;
}

div.kc-logo-text {

}

div.kc-logo-text span {

}

.form-check {
  max-width: 300px;
}

.form-control:-moz-placeholder {
  color: #BBBBBB;
  font-style: normal;
}

.form-control::-moz-placeholder {
  color: #BBBBBB;
  font-style: normal;
}

.form-control:-ms-input-placeholder {
  color: #BBBBBB;
  font-style: normal;
}

.form-control::-webkit-input-placeholder {
  color: #BBBBBB;
  font-style: normal;
}

#kc-header {
  overflow: visible;
  text-align: center;
  margin-bottom: 24px;
  max-width: 300px;
}

#kc-header-wrapper {
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.2em;
  margin-bottom: 15px;
  margin-top: 36px;
  text-align: center;

}

#separate-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) calc(50% - 1px), rgba(192, 192, 192, 1) calc(50%), rgba(0, 0, 0, 0) calc(50% + 1px));
  overflow: visible;
  white-space: nowrap;
  text-align: center;
}

#separate-header-wrapper {
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.2em;
  margin-bottom: 35px;
  margin-top: 35px;
  text-align: center;
  padding: 0 20px;
  background: white;
  display: inline-block;
}

.messages {
  margin-top: 30px;
}

#kc-content {
  position: relative;
}

#kc-content-wrapper {
  max-width: 300px;
}

#kc-info-top {
  margin-bottom: 30px;
  max-width: 300px;
  font-size: 15px;
  color: #9B9B9B;
  text-align: center;
}

#kc-info {
  margin-bottom: 15px;
  max-width: 300px;
  text-align: center;
  font-size: 15px;
  color: #9B9B9B;
}

#kc-form-options {
  margin-top: -15px;
  margin-bottom: 15px;
  overflow: hidden;
}

.forgot-password {
  float: right;
}

#kc-form-options span {
  display: block;
}

#kc-terms-text {
  margin-bottom: 20px;
}

#kc-registration {
  text-align: center;
}

/* TOTP */

ol#kc-totp-settings {
  margin: 0;
  padding: 0;
}

ol#kc-totp-settings li {
  margin-top: 1em;
}

ol#kc-totp-settings li:first-of-type {
  margin-top: 0;
}

#kc-totp-secret-qr-code {
  max-width: 150px;
  max-height: 150px;
}

#kc-totp-secret-key {
  background-color: #fff;
  color: #333333;
  font-size: 16px;
  padding: 10px;
}

/* OAuth */

#kc-oauth h3 {
  margin-top: 0;
}

#kc-oauth ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#kc-oauth ul li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  padding: 10px 30px;
}

#kc-oauth ul li:first-of-type {
  border-top: 0;
}

#kc-oauth .kc-role {
  display: inline-block;
  width: 50%;
}

/* Code */
#kc-code textarea {
  width: 100%;
  height: 8em;
}

/* Social */

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

#kc-social-providers li {
  display: block;
  margin-top: 15px;
}

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

.zocial:hover {
  color: #fff !important;
}

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

.zocial.apple,
.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
  background-image: none;
  box-shadow: none;
  text-shadow: none;
  text-transform: uppercase;
  width: 100%;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0;
  border-radius: 5px;
  line-height: 43px;
}

.zocial.facebook {
  background-color: #395B96 !important;
}

.zocial.google {
  background-color: #2984FC !important;
}

.zocial.apple {
  background-image: url("../img/appleid_button@2x.png");
  height: 43px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.zocial.apple > span {
  display:none
}
.zocial.apple:hover {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), url("../img/appleid_button@2x.png");
}
.zocial.apple:focus {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), url("../img/appleid_button@2x.png");
}

.zocial.facebook:hover,
.zocial.github:hover,
.zocial.google:hover,
.zocial.microsoft:hover,
.zocial.stackoverflow:hover,
.zocial.linkedin:hover,
.zocial.twitter:hover {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft {
  background-color: #0052a4;
  color: #fff;
}

.zocial.microsoft:before {
  content: "\f15d";
}
#kc-container-wrapper {
  background: white;
  padding: 55px 57px;
  border: 1px solid #E6E8E9;
  border-radius: 3px;
}

@media (max-height: 800px) {
  .login-pf body {
    -ms-flex-align: start;
    -webkit-box-align: start;
    align-items: start;
  }
}

@media (max-width: 400px) {
  .login-pf body {
    display: block;
    padding: 0;
    background: white;
  }

  #kc-container-wrapper {
    border: none;
  }
}

@media (min-width: 600px) {
  #kc-content {
    width: 300px;
  }
}

/*
@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}*/



.control-label {
  display: none;
}

.alert {
  max-width: 300px;
}

.alert-error, .alert-info, .alert-success, .alert-warning {
  border: none;
  padding-left: 0;
  background-color: #ffffff;
  text-align: center;
  color: #9B9B9B;
  font-style: normal;
  font-size: 15px;
}

.alert-error {
  color: #cc0000;
}

.alert-error .pficon, .alert-info .pficon, .alert-success .pficon, .alert-warning .pficon {
  display: none;
}

.zocial:before {
  display: none;
}

#kc-form-buttons {
  margin-top: 35px;
  text-align: center;
}

#kc-form-options + #kc-form-buttons {
  margin-top: 20px;
}

.input-hint {
  max-width: 300px;
  color: #9B9B9B;
  margin-top: 15px;
}

.extra-space-top {
  margin-top: 30px;
}

/* overrides patternfly.css */
label {
  font-weight: normal;
}

.form-control {
  color: #838383;
}

.input-lg {
  height: 40px;
  border: 1px solid #979797;
  border-radius: 3px;
}

a {
  color: #927DCE;
}

a:hover {
  color: #927DCE;
}

a:focus {
  color: #927DCE;
}

.checkbox {
  color: #4A4A4A;
  font-size: 14px;
}

.btn {
  font-size: 14px;
  color: #57C14F;
  border: 1px solid #57C14F;
  box-shadow: inset 0 2px 0 0 #FFFFFF;
  border-radius: 5px;
  padding: 6px 52px;
}

.btn-account-link {
  background: rgb(35, 135, 229);
  border-color: rgb(35, 135, 229);
  color: #ffffff;
  text-transform: uppercase;
  box-shadow: none;
  border: none;
}

/* TODO: fix this */
.btn-account-link:hover, .btn-account-link:focus {
  color: #ffffff;
  background: rgb(30,120,220);
}


.btn-primary {
  background: #57C14F;
  border-color: #57C14F;
  color: #FFF;
  text-transform: uppercase;
  box-shadow: none;
  border: none;
}

.btn-default {
  background: white;
  color: #57C14F;
  border-color: #57C14F;
}

.btn-default:hover, .btn-default:focus, .btn-default:active {
  color: #4d5258;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #45b43c;
  border-color: #45b43c;
}

.btn-lg {
  padding: 13px 10px;
  border-radius: 5px;
}

.btn-link {
  font-size: 15px;
  color: #927DCE;
  border: none;
  white-space: normal;
}

.btn-link:hover {
  color: #927DCE;
}

.btn-link:focus {
  color: #927DCE;
}

#accept-registration {
  position: fixed;
  left: -1000px;
  opacity: 0;
}

.password-reveal {
  color: #838383;
  margin-left: -30px;
  font-size: 18px !important;
}