@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

* {
  font-family: 'Open Sans' !important;
}

.login-pf-page .card-pf p {
  color: #404040 !important;
  font-weight: 600;
}

.login_info {
  color: black;
  font-size: 18px;
}

.login-pf body {
  background: linear-gradient(rgba(38, 79, 120, 0), rgba(38, 79, 120, 0)),
    url(../img/Variante.jpg) no-repeat center center fixed !important;
  -webkit-background-size: cover !important; 
  -moz-background-size: cover !important; 
  -o-background-size: cover !important; 
  background-size: cover !important; 
  min-height: 100vh;
  color: white !important;
}


.login-pf-page .login-pf-accounts {
  max-width: 650px !important;
}

#kc-page-title {
  display: none;
}

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

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

.text-center-align h2 {
  font-weight: 1000;
  text-transform: uppercase;
  position: relative;
  z-index: 9999;
}

.full-width {
  width: 100%;
}

error {
  background-color: #ffffff;
  border-color: #cc0000;
  color: #333333;
}

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

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

a#kc-current-locale-link {
  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;
}

.login-pf .container {
  padding-top: 40px;
}


#kc-logo {
  width: 100%;
}

#kc-logo-wrapper {
  background-image: url(../img/keycloak-logo-2.png) !important;
  background-repeat: no-repeat !important;;
  height: 63px;
  width: 300px;
  margin: 62px auto 0;
}

div.kc-logo-text {
  background-image: url(../img/keycloak-logo-text.png) !important;;
  background-repeat: no-repeat !important;;
  height: 63px;
  width: 300px;
  margin: 0 auto;
}

div.kc-logo-text span {
  display: none;
}

#kc-header {
  color: #000000;
  overflow: visible;
  white-space: nowrap;
}

#kc-header-wrapper {
  font-size: 29px;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2em;
  padding: 62px 10px 20px;
  white-space: normal;
}

#kc-content {
  width: 100%;
  min-height: 350px;
  background: white;
  border-radius: 3px;
  padding: 10px 40px 50px 40px;
  /* box-shadow: 0 14px 28px rgba(235, 235, 235, 0.753), 0 10px 10px rgba(235, 235, 235, 0.753); */
  position: relative;
}

/* Einfügen des Netzwerkbildes in absoluter Position */

#logo_wrapper_img img {
	position: absolute;
	top: 100px;
	left: 0;
	width: 100%;
  }

/* #kc-content:hover {
  box-shadow: 0 19px 38px rgba(235, 235, 235, 0.753), 0 15px 12px rgba(235, 235, 235, 0.753);
} */

/* #kc-content-wrapper {
      overflow-y: hidden;
  } */

#kc-info {
  padding-bottom: 50px;
  margin-bottom: -200px;
}

#kc-info-wrapper {
  font-size: 13px;
}

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

#kc-form-options .checkbox {
  margin-top: 0;
  color: #72767b;
}

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

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

/* TOTP */

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

ul#kc-totp-supported-apps {
  margin-bottom: 10px;
}

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

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

#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 {
  padding-top: 30px !important;
}

#kc-social-providers ul {
  padding: 0;
  text-transform: uppercase;
}

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

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

#logintext p {
  color: black;
}

.zocial,
a.zocial {
  padding-top: 15px;
  padding-bottom: 15px;
  width: 100%;
  font-size: 14px;
  text-shadow: none;
  border: 0;
  background: #d70f14;
  color: white;
  border-radius: 0;
  white-space: normal;
}

.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
  padding: 7px 10px;
  font-size: 14px;
}
.zocial:hover {
  color: white !important;
  background-color: #d70f12b4 !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
  background-image: none;
  border: 0;

  box-shadow: none;
  text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
  content: "\f15d";
}
.zocial.stackoverflow:before {
  color: inherit;
}

@media (min-width: 768px) {
  #kc-container-wrapper {
    position: absolute;
    width: 100%;
  }

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

  #kc-locale {
    position: relative;
    text-align: right;
    z-index: 9999;
  }

  .login-pf-page .login-pf-social-section {
    max-width: 100% !important;
  }

}

@media (max-width: 767px) {
  #kc-header {
    padding-left: 15px;
    padding-right: 15px;
    float: none;
    text-align: left;
  }

  #kc-header-wrapper {
    font-size: 16px;
    padding: 20px 60px 0 0;
    color: #72767b;
    letter-spacing: 0;
  }

  div.kc-logo-text {
    margin: 0;
    width: 150px;
    height: 32px;
    background-size: 100%;
  }

  #kc-form {
    float: none;
  }

  #kc-info-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    padding-top: 15px;
    padding-left: 0px;
    padding-right: 15px;
  }

  #kc-social-providers li {
    display: block;
    margin-right: 5px;
  }

  .login-pf .container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  #kc-locale {
    position: absolute;
    width: 200px;
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 9999;
  }

  #kc-logo-wrapper {
    background-size: 100px 21px;
    height: 21px;
    width: 100px;
    margin: 20px 0 0 20px;
  }
}

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

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

.card-pf form.form-actions .btn {
  float: right;
  margin-left: 10px;
}

/* #kc-form-buttons {
  margin-top: 40px;
} */

.login-pf-page {
  padding-top: 100px;
  display: flex !important;
  justify-content: center !important;
}

.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
  text-transform: uppercase !important;
}

.card-pf {
  box-shadow: none !important;
  background: none !important;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 500px;
  border-top: 0;
}

.login-pf-page .login-pf-social-section:last-of-type {
  border-left: none !important;
  padding-left: 0px !important;
}

.login-pf-page .login-pf-settings {
  justify-content: flex-start !important;
}

.login-pf-page .login-pf-settings a {
  color: #404040 !important;
}

.login-pf-page .login-pf-settings:hover {
  color: #d70f12b4 !important;
  text-decoration: none;
}

/*tablet*/
@media (max-width: 840px) {
  .login-pf-page {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .login-pf-page .card-pf {
    max-width: 550px;
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px 20px 30px 20px;
  }
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}


.login-pf-page .login-pf-social-link a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  background: #f5f5f5 !important;
  text-align: center  !important;
  color: white !important;
  font-weight: 600 !important;
}

@media (min-width: 768px) {
  .login-pf-page .login-pf-social-section:first-of-type {
    padding-right: 0px !important;
    border-right: none !important;
    margin-right: -1px;
  }

  .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
    margin-bottom: 0;
  }

  .login-pf-page .login-pf-social-section:last-of-type {
    /* padding-left: 39px; */
    border-left: none !important;
  }

  .login-pf-page .login-pf-social-section:last-of-type {
    padding-right: 0px !important;
    border-right: none !important;
  }
}


.login-pf-page .login-pf-social-link {
  margin-bottom: 25px;
}

.login-pf-page .login-pf-social {
  margin: 20px 0 0 0;
}

.login-pf-page.login-pf-page-accounts {
  margin-left: auto;
  margin-right: auto;
}

.login-pf-page .btn-primary {
  margin-top: 0;
  color: white !important;
  background-image: none !important;
  background-color: #d70f14 !important;
  transition: background-color 0.3s ease-in;
  padding-top: 8px;
  padding-bottom: 8px;
  border: 0.5px solid lightgray !important;
  text-transform: uppercase;
}

.login-pf-page .btn-primary:hover {
  background-color: #8f090b !important;
}

.login-pf-page .login-pf-social-link a {
  padding: 2px 0;
  color: white;
  background-color: #d70f14 !important;
  transition: background-color 0.3s ease-in;
  padding-top: 4px;
  padding-bottom: 4px;
  border: 0.5px solid lightgray !important;
}

.login-pf-page .login-pf-social-link a:hover {
  background-color: #8f090b !important;
}

.blackcol {
  color: #404040 
}

.alert {
  color: #404040 !important;
  position: absolute !important;
  top: 95%;
  left: 0;
  background: white;
  width: 100%;
  z-index: 9999;
}

.control-label {
  color: #404040 !important;
  font-weight: normal !important;
}

.img_wrapping {
  display: flex;
  justify-content: center;
}

.card-pf #kc-content .img_wrapping img {
  width: 100%;
  margin: 20px 0px 20px 0px;
}

.login-pf-accounts #kc-content .img_wrapping img  {
  width: 60%;
  margin: 30px 0px 0px 0px;
}

#splitme {
  margin-bottom: 160px;
  color: black;
}

/* #kc-form-wrapper {
  padding-right: 15px;
  border-right: 1px solid lightgray;
} */

#kc-form-wrapper {
  padding-right: 0px;
  border-right: none;
  padding-bottom: 30px;
  border-bottom: 0.5px solid lightgray;
}

.form-group span {
  float: right;
}

.form-group span a {
  color: black;
}

.fa, .far, .fas {
  font-family: "Font Awesome 5 Pro" !important;
}

.fa-check-circle {
  color: green !important;
}

.fa-exclamation {
  color: #d70f14 !important;
}


@media (max-width: 767px) {
  .login-pf-page .card-pf {
    max-width: 500px;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
  }
  .card-pf.login-pf-accounts {
    max-width: none;
  }

  .login-pf-page {
    padding-top: 25px;
  }

  #logo_wrapper_img img {
    display: none;
  }

  #splitme  {
    margin-bottom: 50px;
  }

  .img_wrapping img {
    width: 80%;
  }

  .login-pf body {
    background: linear-gradient(rgba(38, 79, 120, 0), rgba(38, 79, 120, 0)),
      url(../img/Variante_mobile.jpg) !important;
  }
}


