:root {
    /* Textfarb-Variablen auf Weiß setzen */
    --pf-v5-global--Color--100: white;
    --pf-v5-global--Color--200: white;
    --pf-v5-global--Color--300: white;
    --pf-v5-global--Color--dark-100: white;
    --pf-v5-global--Color--light-100: white;
    --pf-v5-global--text--Color--100: white;
    --pf-v5-global--text--Color--link: #1EFBD0;
    /*Hintergrund*/
    --pf-v5-global--BackgroundColor--dark-100: black;
    --pf-v5-global--BackgroundColor--dark-300: black;
    --pf-v5-global--BackgroundColor--100: black;
    --pf-v5-global--primary-color--100: #1EFBD0;
    --pf-v5-global--primary-color--200: #1EFBD0;
    --pf-v5-global--active-color--400: #1EFBD0;
    --pf-v5-global--primary-color--300: #1EFBD0;
    --pf-v5-global--link--Color--dark: #1EFBD0;
    --pf-v5-global--link--Color--light: #1EFBD0;
    --pf-v5-global--link--Color: #1EFBD0;
    --pf-v5-global--primary-color--dark-100: #1EFBD0;
    --pf-v5-global--active-color--100:  #1EFBD0;
    --pf-v5-global--link--Color--dark--hover: #1EFBD0;
    --pf-v5-global--link--Color--hover: #1EFBD0;
    --pf-v5-global--palette--black-1000: black;


}
body{
    color: white;
}
h1 {
    font-weight: bold;
    letter-spacing: normal;
    text-align: left !important;
    margin-top: 24px !important;
}

.login-pf body {
    color: white;
    font-family: 'Montserrat',Roboto,Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
}

a {
	color: #00C3A0;
}

.kc-body {
    color: white;
    background-color: black;
    background-repeat: no-repeat, repeat;
    background-image: url('../img/Waves_Header.svg'),linear-gradient(10deg,#000 30%,#002b3f 100%);
    background-size: 100%;
    background-position: top;
    background-attachment: fixed;
}

.kc-social-section {
    display: none;
}

#kc-header {
    background: url('../img/darktheme_NWS-ID.svg') center center;
    background-repeat: no-repeat;
    background-size: 120px 120px;
    height: 140px;
    width: 120px;
    color: transparent;
    margin: 0 auto;
}

#kc-header-wrapper {
    display: none;
}

#kc-info {
    margin: 0;
}

#kc-info-wrapper {
    margin-top: 5em;
    padding: 0 !important;
    width: 100%;
    border-bottom-right-radius: .5em;
    border-bottom-left-radius: .5em;
    background: transparent;
}

.pf-v5-c-button.pf-v5-c-button:hover{
    background: black;
    color: #00C3A0;
    border-color: #00C3A0;
}
#action-list {
	padding-left: 2em;
	list-style: disc;
}

#label-legal {
    display: inline-block;
    padding-inline: 1em;
	width: calc(100% - 48px);
}


.card-pf {
    background-color: black;
    padding: 1.5em !important;
    max-width: 500px;
    border-top-right-radius: 32px;
    border-bottom-left-radius: 32px;
    border: 1px solid;
    border-color: #00C3A0;
    color: white;
	margin: 0 auto;
    width: 80%;
}
.pf-v5-c-check{
    color: white;
}
.pf-v5-c-check__label{
    color: white;
}
.login-pf-page .login-pf-signup {
    color: white;
}

.login-pf-page .login-pf-signup a {
    margin-left: 0;
}

.login-pf-page .card-pf p {
    color: white;
}

.login-pf-page {
    justify-content: space-between;
    align-items: center;
    max-width: 1080px;
    margin: auto;
}

input[type="text"],
input[type="password"],
input[type="submit"],
input[type="submit"],
input[type="button"] {
    padding: .5em 1em !important;
    border: 2px solid #00C3A0;
    border-radius: .25em;
    max-width: 450px;
    background: transparent;
    color: white;
}

input[type="submit"].pf-v5-c-button.btn-default.btn-lg {
    font-size: 1em;
    cursor: pointer;
}

input[type="submit"].pf-m-primary,
button[type="submit"].pf-m-primary,
input[type="button"].pf-m-primary {
    color: black;
    font-size: 1em;
    min-height: 3em;
    padding: 0.5em 1em;
    background: #00C3A0;
    line-height: 1.5;
    border: 2px solid #00C3A0;
    cursor: pointer;
    border-top-left-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 12px;
}

input[type="submit"].pf-m-primary:hover,
button[type="submit"].pf-m-primary:hover {
    background: black;
    color: #00C3A0;
    border-color: #00C3A0;
}


button#registerWebAuthn.pf-v5-c-button.pf-m-primary {
    width: 100%;
}

span#kc-totp-secret-key {
    padding: 0 0;
    color: white;
}

.pf-v5-c-button.pf-m-secondary {
    cursor: pointer;
    /*border-radius: .25em;*/
    font-size: 1em;
    min-width: auto;
    border-radius: 0.25em;
    padding: .5em 1em !important;
    background: transparent;
    line-height: 1.5;
    border: 2px solid #00C3A0;
    color: white;
    --pf-v5-c-button--m-secondary--after--BorderColor: #00C3A0;
    --pf-v5-c-button--m-secondary--hover--Color: white;
    --pf-v5-c-button--m-secondary--hover--after--BorderColor: white;
}

.pf-c-button.pf-m-primary:hover {
    background: #00a88a;
    border-color: #00a88a;
}

form input[type="checkbox"] {
    width: 1.5714285714em;
    height: 1.5714285714em;
    position: relative;
    border: 2px solid #00C3A0;
    border-radius: .25em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    margin-bottom: -.33em;
    margin-left: calc(.5em + 2px);
}

input[type="checkbox"]:checked:before {
    content: "";
    position: absolute;
    top:    -4px;
    left:   -4px;
    right:  -4px;
    bottom: -4px;
    background: url('../img/checkmark-icon.svg') no-repeat;
}

a {
	color: #00C3A0;
}

label {
    display: block;
    font-size: calc(12em / 14) !important;
    margin-bottom: 5px !important;
}

.checkbox label {
    line-height: 2.3;
    padding-left: 24px;
}

.checkbox input[type="checkbox"] {
    margin-left: -24px;
}

.terms-footer {
    display: flex;
    min-size: auto;
    flex-direction: 1 1 auto;
    justify-content: space-between;
}


#site-navigation {
    transition: background-color 0.4s ease;
    height: 64px;
    position: relative;
    z-index:1
}

#site-navigation .menu {
    margin:0 -.75em
}
/* Standard Dropdown verstecken */
.menu-item.dropdown > ul.dropdown {
    border-bottom-left-radius: 25px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, transform 0.4s ease;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: black;
    z-index: 1001;
    min-width: 250px;
    pointer-events: none;
}

/* Dropdown beim Hover anzeigen */
.menu-item.dropdown:hover > ul.dropdown {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#site-navigation:has(.menu-item.dropdown:hover > ul.dropdown) {
    background-color: black;
}
#site-navigation .menu li ul.dropdown li a {
    color: #b1afaf;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1.5em;
    padding-right: .75em;
    display: block;
}
#site-navigation .menu li ul.dropdown li a:hover {
    color: white;
}

ul.dropdown li a:hover {
    color: white;
    border-bottom: none
}

#site-navigation .menu > li {
    position: relative;
    display: inline-block;
}

#site-navigation .menu li ul li {
    display: block;
}

#site-navigation .menu li > a {
    text-decoration: none;
    font-size: 13px;
    color: white;
    font-family: 'Montserrat',Roboto,Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
    padding:0 .75em;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}
#site-navigation .menu li > a:hover {
    border-bottom: 2px solid white;
    padding-bottom: 17px;
    margin-bottom: 0;
}

#site-navigation .menu li ul li a,
#site-navigation .menu li ul li a:hover {
    border-bottom: none !important;
}

#site-navigation #top-menu-nav {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding-inline: 10%;
}

#site-navigation .header-logo {
    width: 6em;
    display:block
}

#site-navigation .header-logo img {
    display:block
}

#site-navigation #et_mobile_nav_menu {
    display:none
}


#site-navigation #button-ghost-signIn {
    border:1px solid #1EFBD0;
    border-radius: .8em;
    padding: .8em;
}

#site-navigation #button-ghost-signIn:hover {
    background: #1EFBD0;
    color: black;
}

#nws-message {
    color: white;
    text-align: center;
    font-size: 1.5em;
    max-width: 450px;
    margin: 0 auto;
    padding-bottom: 25px;
}

#nws-register {
  color: white;
  font-size: 16px;
  font-weight: bold;
/*  width: 50%;
  padding: 20px;
  align-content: center;
  margin: 0 auto; */


  li:before {
    content: '\2713';
    display: inline-block;
    color: white;
    padding: 0 6px 0 0;
  }
}

.nws-container {
  display: flex;
  margin-top: 100px;
}

#nws-icon {
    max-width: 350px;
    height: auto;
}
.nws-id-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2em;
    font-weight: bold;
    color: white;
}

.nws-id-title-B {
    font-family: "Montserrat", sans-serif;
    color: white;
    font-size: 2em;
    font-weight: bold;
    width: max-content;
    margin: 0 auto;
    padding-bottom: 2em;

}

#left , #right {
  width: 50%;
}

#right {
  align-content: center;
  padding-left: 100px;
}

.outer {
  width: 15%;
}

#kc-current-locale-link {
  color: white !important;
}

.select-auth-box-parent:hover {
    background: #00C3A0;
}

.select-auth-box-headline {
   color: white;
}

#kc-form-webauthn .select-auth-box-headline {
  color: white;
}

#kc-form-webauthn .select-auth-box-desc {
  color: white;
}

#kc-form-options .checkbox {
    color: white;
}

.pf-c-form-control[aria-invalid=true] {
  border-color: #ff0073;
  background-image: none;
}

.required {
  color: #ff0073;
}

.pf-v5-c-data-list__item {
    background-color: transparent;
}

.pf-v5-c-data-list:not([class*=pf-m-grid]) .pf-v5-c-data-list__cell.pf-m-no-fill {
    flex: auto;
}

#nws-id-wrapper {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}

/* Wichtig: Generische Icon-Farben sicherstellen (aus Ihrer vorherigen CSS) */
.pf-v5-c-icon,
.pf-v5-c-masthead__toggle-icon,
.pf-v5-c-toolbar__icon,
.pf-v5-c-button.pf-m-plain .pf-v5-c-icon,
.fa-solid,
.fas,
.fa {
    fill: #1EFBD0;
}
@media only screen and (max-width: 1150px) {
  #primary-menu {
    display: none !important;
  }
  #nws-register, #right {
    display: none !important;
  }
  .nws-container {
    display: block !important;
    margin-top: 0 !important;
  }
  #left {
    width: 100% !important;
  }
  #right {
    display: none !important;
  }
  #kc-locale {
    position: relative !important;
    text-align: right !important;
    z-index: 9999 !important;
    width: 100% !important;
  }
  .card-pf {
    overflow: hidden;
  }
  .card-pf input {
      max-width: auto;
  }
  .login-pf-page .card-pf {
    margin: auto !important;
    max-width: 26em !important;
    min-width: 26em !important;
    border: 1px solid !important;
    border-color: #00C3A0 !important;
  }

  /* for passkey*/
    .pf-v5-c-data-list.select-auth-container{
        border-top: 1px solid white;
        >.pf-v5-c-data-list__item.pf-m-clickable{
            border-bottom: 1px solid white;
        }
    }
    .pf-v5-c-data-list__item-row.select-auth-box-parent {
        flex-direction: column;
        >.pf-v5-c-data-list__cell.pf-m-icon.select-auth-box-icon{
            padding-bottom: 0;
            margin: auto;
        }
        >.pf-v5-c-data-list__cell.pf-m-no-fill{
            padding-top: 0;
        }
    }


}
