* {
  box-sizing: border-box;
}

h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: #f6f6f6;
  color: #032c58;
  font: 12pt Roboto, Arial, sans-serif;
}

a {
  text-decoration: none;
  color: #0088ce;
}

a:hover {
  text-decoration: underline;
}

.header {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 60px;
  width: 100%;
  background: #fbc10f;
}

.header__logo {
  position: absolute;
  height: 60px;
  left: 0;
  top: 0;
}

.header__title {
  font-size: 22px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .header__title {
    display: none;
  }
}

.content {
  flex-grow: 1;
  align-self: center;
  max-width: 500px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  animation: fadeIn 1.2s;

  padding: 2em 1em;
}

.alert {
  position: relative;
  margin-bottom: 20px;
  padding: 11px 14px 11px 47px;
  border: 1px solid transparent;
  border-radius: 1px;
  border-width: 1px;
  word-wrap: break-word;
}

.alert-error {
  color: #cc0000;
}

.alert-warning {
  color: #ec7a08;
}

.alert-info {
  color: #333;
}

.alert-success {
  color: #3f9c35;
}

#redirect {
  color: #fff;
}

#kc-locale {
  position: absolute;
  width: auto;
  right: 0;
  margin: 16px 10px;
  text-align: right;
}

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

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

#kc-locale ul li a {
  display: block;
  padding: 4px;
  background: #fff;
  color: #032c58 !important;
  text-decoration: none;
  line-height: 20px;
}

#kc-locale ul li a:hover {
  color: #fbc10f !important;
  background-color: transparent;
}

#kc-locale-dropdown a {
  color: #333;
}

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

a#kc-current-locale-link {
  position: relative;
  display: block;
  width: 120px;
  padding-right: 15px;
  line-height: 30px;
}

a#kc-current-locale-link::after {
  position: absolute;
  content: "";
  top: 12px;
  right: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #333;
}

#kc-locale-dropdown:hover a#kc-current-locale-link::after {
  border-top: 6px solid #fbc10f;
}

.form__title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.tuv {
  width: 150px;
  margin: 25px auto 0;
  padding-bottom: 30px;
}

.tuv__link {
  width: 100%;
}

.tuv__image {
  width: 100%;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-color: #f6f6f6;
  display: flex;
  justify-content: flex-start;
}

.footer__link {
  cursor: pointer;
  margin: 0 20px 0 10px;
}

.cookie {
  background-color: #e1e1e1;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1.8em;
  width: 100%;
  z-index: 99999;
}

.cookie__text {
  font-size: 13px;
  line-height: 2em;
  margin-right: 1em;
}

.cookie__btn {
  color: rgb(255, 255, 255);
  border-color: transparent;
  background-color: rgb(9, 77, 152);
  padding: 17px 40px;
  font-size: .9em;
  font-weight: 700;
  border-radius: 4px;
}

.cookie__btn:hover {
  background-color: rgb(47, 115, 190);
}

.container {
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}



.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 20px;
  padding-left: 20px;
}

#kc-content {
  position: relative;
  max-width: 460px;
}

#kc-form label {
  color: #333;
  font-size: 18px;
}

.container:before, .container:after,
.form-horizontal .form-group:before,
.form-horizontal .form-group:after {
  display: table;
  content: " ";
}

.form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999;
}
.form-control::-webkit-input-placeholder {
  color: #999;
}
.form-control:-moz-placeholder {
  color: #999;
  font-style: italic;
}
.form-control::-moz-placeholder {
  color: #999;
  font-style: italic;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999;
  font-style: italic;
}
.form-control::-webkit-input-placeholder {
  color: #999;
  font-style: italic;
}

.form-horizontal .form-group:after {
  clear: both;
}

#kc-form .form-group {
  margin: 0 -20px 15px;
}

#kc-form .form-control {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px 12px;
  background-color: #fff;
  font-size: 1.1em;
  line-height: 1.6;
  border: 1px solid #c4cadf;
  border-radius: 3px;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, .05);
  outline: 0;
  transition: border linear .3s, box-shadow linear .4s, padding linear .2s;
}

#kc-form .form-control:focus {
  padding: 6px 12px;
  background: none;
  background-color: #fff;
  border-color: #fbc10f;
  box-shadow: 0 0 3px rgba(251, 193, 15, .5);
}

#kc-form .btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 20px;
  border: 0;
  background: #fbc10f;
  border-radius: 4px;
  color: #333;
  font-weight: 400;
  font-size: 1.3em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .2s ease-in;
  outline: 0;
}

#kc-form .btn-primary {
  background: #fbc10f;
}

#kc-form .btn-secondary {
  background: #cacbcd;
}

.form__separator {
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  margin: 1em 0;
  font-size: 14px;
}

.form__separator:before,
.form__separator:after {
  transform: translateY(-1px);
  background-color: #9c9999;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

.form__separator:before {
  right: 1em;
  margin-left: -50%;
}

.form__separator:after {
  left: 1em;
  margin-right: -50%;
}

#kc-form .btn-primary:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 200px;
  margin-top: -100px;
  background: rgba(255, 255, 255, .7);
  border-radius: 100%;
  opacity: .6;
  transform: scale(0);
}

.ekso-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  min-height: 60px;
  background-color: #fbc10f;
}

.ekso-logowide {
  position: relative;
  z-index: 99999;
  background-image: url(../img/logowide.png);
  background-repeat: no-repeat;
  background-size: 134px 60px;
  height: 60px;
  width: 134px;
  display: block;
  float: left;
}


#kc-form-buttons.ekso-buttons {
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

#kc-info {
  max-width: 270px;
  margin: 0 auto;
  padding: 30px 20px 20px;
  border: 0;
}

#kc-info-wrapper {
  font-size: 13px;
  padding: 20px 10px 0;
  border-top: 1px solid #474747;
  text-align: center;
}

#kc-form-options {
  padding: 0;
  margin-bottom: 20px;
  text-align: center;
}

#kc-form-options .checkbox {
  padding: 0;
  margin-top: 10px;
}

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

#kc-registration {
  margin-bottom: 15px;
}

/* 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;
}

/* 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, .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: 5px;
}

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

.zocial {
  width: 150px;
}

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

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
  background-image: none;
  border-radius: 2px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: normal;
  box-shadow: none;
  text-shadow: none;
}

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

.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, .2) 0%, rgba(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-content-wrapper .col-sm-8, #kc-content-wrapper .col-sm-7,
#kc-content-wrapper .col-sm-5, #kc-content-wrapper .col-sm-4 {
  width: 100%;
}

#kc-form-buttons {
  text-align: center;
}

#kc-login {
  width: 100%;
}

#rememberMe {
  opacity: 0;
}

#label-bg {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 16px;
  margin-left: 5px;
  background: #888;
  border-radius: 500px;
  cursor: pointer;
}

#switch {
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  margin-left: 1px;
  border-radius: 500px;
  background: #fff;
  box-shadow: 5px 0 28px -9px rgba(0, 0, 0, .75);
  transition: transform .2s ease-in;
}

#kc-form .checkbox label {
  font-size: 12pt;
}

#rememberMe:checked ~ label > #label-bg {
  background: #2ecc71;
}

#rememberMe:checked ~ label > #label-bg #switch {
  transform: translatex(14px);
  transition: transform .2s ease-in;
}

#kc-header.col-xs-12.col-sm-8.col-md-8.col-lg-7 {
  width: 100%;
}

@media (min-height: 600px) {
  div.logo-l {
      background-size: 330px 302px;
      width: 330px;
      height: 302px;
  }

  div.logo-l.reset-password {
      background-size: 280px 256px;
      width: 280px;
      height: 256px;
      margin-bottom: 10px;
  }

  #kc-info {
      max-width: 370px;
  }
}

@media (min-height: 800px) {
  div.logo-l.reset-password {
      background-size: 330px 302px;
      width: 330px;
      height: 302px;
      margin-bottom: 0;
  }

  /* commented out due to login screen caption change */
  /* #kc-header-wrapper {
      font-size: 26px;
  } */

  #kc-info {
      max-width: 370px;
  }
}


@media (min-width: 768px) {
  .container {
    width: 760px;
  }

  .login-pf .container {
      padding-left: 20px;
  }

  .login-pf .container .login {
      padding-right: 20px;
  }

  .form-horizontal .control-label {
      margin-bottom: 5px;
      padding-top: 0;
  }
}

@media (min-width: 992px) {
  .container {
    width: 980px;
  }

  #kc-content-wrapper .col-md-8, #kc-content-wrapper .col-md-4{
      width: 100%;
  }

  #kc-content-wrapper .col-md-8, #kc-content-wrapper .col-md-4.col-md-offset-4 {
      margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1180px;
  }

  #kc-container-wrapper .col-lg-7,
  #kc-content-wrapper .col-lg-3, #kc-content-wrapper .col-lg-9 {
      width: 100%;
  }
}

@media (min-width: 1600px) {
  #kc-form {
      width: 100%;
  }
}
