:root {
  --primary: oklch(.274 .006 286.033);
}



@font-face {
  font-weight: 400;
  font-family: 'Fira Sans';
  font-style: normal;
  src: local('Fira Sans Regular'), local('FiraSans-Regular'),
    url('fonts/Fira_Sans/fira-sans-v10-latin-regular.woff2') format('woff2'),
    url('fonts/Fira_Sans/fira-sans-v10-latin-regular.woff') format('woff');
}

@font-face {
  font-weight: 300;
  font-family: 'Fira Sans';
  font-style: normal;
  src: local('Fira Sans Light'), local('FiraSans-Light'),
    url('fonts/Fira_Sans/fira-sans-v10-latin-300.woff2') format('woff2'),
    url('fonts/Fira_Sans/fira-sans-v10-latin-300.woff') format('woff');
}

* {
  box-sizing: border-box;
  font-family: 'Fira Sans';
}

a {
  color: var(--primary);
  text-decoration: none;
}
.login {
  display: block;
  margin: 2rem 0;
}



form#kc-form-login {
  margin: 0;
}

#kc-form-buttons input, div#kc-social-providers ul li a, button{
  background-color: var(--primary);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  margin: 1.4rem 0 0;
  transition: all .28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  display: inline-flex;
}



.login--submit-button:hover {
  background-color: oklch(.373 .034 259.733) !important;
}

#kc-content {
  max-width: 600px;
  margin: 10% auto 0; 
  position: relative;
}

@media (max-height: 600px) {
  #kc-content {
    margin-top: 5%; 
  }
}

@media (min-width: 610px) {
  #kc-content {
    box-shadow: 0em 2em 4rem rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 600px) {
  #kc-content {
    margin-top: 0;
  }
}

#kc-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2em 5rem;
  text-align: center;
  background: rgb(255 255 255);
  backdrop-filter: blur(4px) saturate(2);
  width: 100%;
}

#kc-form-wrapper {
  width: 100%;
}

.kc-image {
  width: 70%;
  display: flex;
}

.kc-image img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.btnToKeyCloak {
  position: relative;
  margin: 2rem 0 0 0;
}

div#kc-social-providers {
}


div#kc-social-providers ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


  @media screen and (max-width: 960px) {
    .kc-image,
    #kc-form {
      width: 100%;
    }
  }

  .btnToKeyCloak:after {
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;

      width: 100%;
      height: 100%;

      background: var(--v-primary-base);
      border-radius: 3rem;

      animation: focusTheBtn 5s infinite;

      content: '';
}

@keyframes focusTheBtn {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  20%,
  100% {
    transform: scale(1.6, 1.9);
    opacity: 0;
  }
}





.login-columns {
  display: flex;
  flex-flow: wrap;
  overflow: hidden;
  border-radius: 0.35rem;
}


.kcResetInstructions {
  margin-top:1.4rem;
}




.login-fields {
  margin: 0 0 3rem;
  position: relative;
}

.login-fields label {
  position: absolute;
  top: -0.5rem;
  left: 20px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 300;
  padding: 0 0.5rem;
  border-radius: 1.5rem; 
}
.login-fields input:not(.btn) {
  border: none;
  width: 100%;
  outline: none;
  font-size: 1rem;
  padding: 1.1rem;
  border: 1px solid #b1b1b1;
  transition: 300ms;
}

input:focus:not(.btn) {
  border: 1px solid var(--primary);
}

.background-image {
  background-image: url('../img/background_svg.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 0;
  padding: 3rem 0 0 0;
  height: calc(100vh - 92px);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

h2 {
  margin: 0 0 50px 10px;
  font-weight: 400;
  margin: 1rem 0;
}

header {
  background: white;
  margin: 0;
  margin-top: 0;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 1rem;
}

header h1 , 
header p {
    margin: 0;
}

#kc-header {
  display: none !important;
}

.oktaWarning {
  display: none;
  text-align: center;
}

.error {
  color: rgb(255,0,0);
}

p.oktaWarning.error {
    margin: 1.4rem;
}

#input-error{
  font-size: 0.7rem;
  position: absolute;
  font-family: 'Fira Sans';
  width: 100%;
  right: 0;
  text-align: right;
  top: -1.2rem;
}

#kc-page-title {
  font-size: 28px;
  color: rgb(129, 158, 168);
  font-weight: 300;
}

@media only screen and (max-width: 1060px) {
  #kc-page-title {
    font-size: 20px;
  }
}


/* #kc-header:first-of-type+div {
  height: 100%;
} */

#kc-page-title {
  display: flex;
  justify-content: space-between;
  margin: 1.4rem 0;
}

#DealerPortalLogo-Ebene_1 {
  align-self: center;
}

h1 {
  margin-block-end: 0;
}

h1#kc-page-title p {
    margin: 0;
}

p,
h1,
h2, label {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}


.nav-wrapper {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.langSwitch {
  left: 3rem;
  top: 3rem;
  position: absolute;
}

.sl-nav {
  display: flex;
  justify-content: center;
}

.sl-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.sl-nav li {
  cursor: pointer;
}


.sl-nav > ul > li > ul {
  z-index: 1;
  transform: translateX(-50%);
  top: 0;
  display: flex;
  pointer-events: none;
  justify-content: end;
  flex-direction: column;
  left: 50%;
  margin-top: .3rem;
  transition: 400ms;
  padding: 1rem;
  border-radius: .3rem;
  box-shadow: 0 0 1rem rgb(0 0 0 / 14%);
  background: #fff;
  width: 3.5rem;
  position: absolute;
  margin-top: 2.7rem;
  opacity: 0;
}

.sl-nav li ul.show {
    pointer-events: all;
    background: #fff;
    opacity: 1;
}

.sl-nav li ul li {
    opacity: 0;
    transition: 400ms cubic-bezier(0.79, 0.11, 0.57, 0.99);
    transform: translateY(1rem);
    transform-origin: top;
    margin: 0 0 1rem;
    transition-delay:.05s;
}

.sl-nav li ul li:last-child {
  margin: 0;
} 


.sl-nav>ul>li>b img {transition: 400ms ease;width: 40px;}

.sl-nav>ul>li>b.toggled img {
    transform: scale(.8);
    opacity: .6;
}

.sl-nav li ul li img {
    transition:400ms ease
}

.sl-nav li ul li:hover img {
    transform:scale(1.1)
}


/*
.sl-nav li:hover ul li:nth-child(2) { transition-delay:.05s;}
.sl-nav li:hover ul li:nth-child(3) { transition-delay:.1s;}
.sl-nav li:hover ul li:nth-child(4) { transition-delay:.2s;}
.sl-nav li:hover ul li:nth-child(5) { transition-delay:.15s;}

.sl-nav li ul li:nth-child(5) { transition-delay:.05s;}
.sl-nav li ul li:nth-child(4) { transition-delay:.1s;}
.sl-nav li ul li:nth-child(3) { transition-delay:.2s;}
.sl-nav li ul li:nth-child(2) { transition-delay:.15s;}
*/

.sl-nav li ul.show li {
    opacity: 1;
    transform: translateY(0);
}


.sl-nav li ul li a {
    display: block;
}


.language-list-items{
}

.overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  display: none;
  top: 0;
  left: 0;
} 


@media (max-width:650px) {
    .sl-nav {
        justify-content:start;
    }
}


.logo {
  margin-bottom: .2rem;
  height: 60px;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}


span.forgotPw a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Fira Sans';
}

#kc-social-providers {
  display: none;
}

.alertWrap {
  margin-bottom: 1.8rem;
  padding: 1rem;
  background: #fff1f1;
  overflow: hidden;
  position: relative;
  border-radius: 0.2rem;
}

.alertWrap:after {
    width: 0.2rem;
    height: 100%;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: red;
}

/* Main container that holds the page content */
.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Footer */
.footer-container {
  background-color: #f0f0f0;
  padding: 20px 0;
  text-align: center;
  margin-top: auto; /* Pushes the footer to the bottom */
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-nav-item {
  display: inline-block;
  margin-right: 15px;
}

.footer-nav-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.footer-nav-link:hover {
  text-decoration: underline;
  color: #555;
}

.footer-copyright {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #888;
}