/* Westnetz Font */
@font-face {
  font-family: 'regular';
  src: url('/innogyWEB-Regular.woff'),
      url('/innogyWEB-Regular.woff2');
  font-weight: 400;
  font-style: normal;
}

/* Container-Klasse für Gruppierung von Felder (Umrandung) */
.wn-mcm-container {
  margin-top: 1rem !important;
  border-radius: 4px;
  padding: 1rem !important;
  box-shadow: 0 0px 0px transparent;
  box-sizing: border-box;
  border-color: hsl(0deg 0% 0% / 17.65%);
  border-width: 1px;
  border-style: solid;
}

/* Klasse für die Überschrift des Containers (Umrandung) */
.wn-mcm-container-title {
  background-color: rgba(0, 155, 165, 1);
  color: #fff;
  padding: 0.5rem;
  padding-left: 1rem;
  border-radius: 0.3rem;
  font-family: inherit;
  font-weight: 700;
}

/* Klasse für die Überschrift H1 (unused) */
.wn-mcm-h1{
	font-size: 1.5rem;
  margin-bottom: .5rem !important;
  font-family: inherit;
  font-weight: 700;
  color: #000000;
}

/* Klasse für den primären Button */
.wn-mcm-btn-primary {
  display: inline-block;
  background-color: #c81e82;
  color: #fff;
  white-space: normal !important;
  width: 100%;
  height: 54px;
  max-width: 22rem;
  border-radius: 1.5rem;
  border: 0 !important;
  padding: 0.75rem 1.75rem;
  transition: background-color 0.3s ease;
  font-family: inherit;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
              0 1px 1px rgba(0, 0, 0, 0.075);
  text-align: center;
}
 
/* Klasse für den primären Button (hover) */
.wn-mcm-btn-primary:hover:not(.btn-disabled) {
  background-color: #780a5f;
}
 
/* Klasse für den sekundären Button */
.wn-mcm-btn-secondary {
  display: inline-block;
  background-color: #6a4b8c;
  color: #fff;
  white-space: normal !important;
  width: 100%;
  height: 54px;
  max-width: 22rem;
  border-radius: 1.5rem;
  border: 0 !important;
  padding: 0.75rem 1.75rem;
  transition: background-color 0.3s ease;
  font-family: inherit;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
              0 1px 1px rgba(0, 0, 0, 0.075);
  text-align: center;
}
 
/* Klasse für den sekundären Button (hover) */
.wn-mcm-btn-secondary:hover:not(.btn-disabled) {
  background-color: #533971;
}
 
/* Klasse für den Fall, dass einer der Button deaktivert wurde (disabled) */
.btn-disabled,
.wn-mcm-btn-primary.btn-disabled,
.wn-mcm-btn-secondary.btn-disabled {
  background-color: #aaa !important;
  box-shadow: none !important;
  cursor: not-allowed;
  pointer-events: none;
  color: #eee !important;
}
 
/* Klasse für den Fall, dass einer der Button deaktivert wurde (disabled und hover) */
.wn-mcm-btn-primary.btn-disabled:hover,
.wn-mcm-btn-secondary.btn-disabled:hover {
  background-color: #aaa !important;
  box-shadow: none !important;
}

/* Klasse für Labels eines Feldes */
.label-fs {
  font-size: 1.6rem;
  margin-left: 1rem;
  margin-bottom: -1px;
}

/* Klasse für den deaktiverten Text (Verwendet für Label eines Feldes) */
.text-muted {
  --bs-text-opacity: 1;
  color: #6c757d !important;
}

/* Klasse für ein Eingabefeld */
.wn-mcm-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: .375rem 2.25rem .375rem 1rem;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  border: 1px solid #949494;
  border-radius: 1.5rem !important;
  background-color: #FFFFFF !important;
  color: #000000;
  transition: none;
  box-sizing: border-box;
}

/* Klasse für ein Eingabefeld (focus) */
.wn-mcm-input:focus {
  border: 2px solid #c81e82 !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Klasse für ein Select-Feld */
.wn-mcm-select {
  display: block;
  width: 100%;
  margin: 0;
  padding: .375rem 2.25rem .375rem 1rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  white-space: pre-wrap;
  border-radius: 1.5rem !important;
  border: 1px solid #949494 !important;
  text-transform: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNiAxNic+PHBhdGggZmlsbD0nbm9uZScgc3Ryb2tlPScjMDAwMDAwJyBzdHJva2UtbGluZWNhcD0ncm91bmQnIHN0cm9rZS1saW5lam9pbj0ncm91bmQnIHN0cm9rZS13aWR0aD0nMicgZD0nbTIgNSA2IDYgNi02Jy8+PC9zdmc+);
}
 
/* Klasse für ein Select-Feld (focus) */
.wn-mcm-select:focus {
  border: 2px solid #c81e82 !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


/* Klasse für Error-Meldungen an Textfeldern (div with textContent) */
.westnetz-invalid {
  display: inline-block !important;
  margin-top: .25rem;
  margin-left: 1rem;
  padding: .3rem;
  font-size: .875em;
  color: #fff;
  background-color: #b9280a !important;
  border-radius: 5px;
  box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, .2);
  width: auto !important;
}

/* Klasse für die Umrandung der Felder im Error-Fall */
.is-invalid {
    border: 2px solid #b9280a !important;
}

