﻿@media print {
  .rz-numeric {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}
html {
  height: 100%;
}

.card-body.pt-0 .alert:first-child {
  margin-top: 1em;
}

* {
  --rz-numeric-input-padding: 0 4px 0 0;
}

.is-required:after {
  content: " *";
  color: red;
  font-size: 1rem;
}

.w-1 {
  width: 1px !important;
  white-space: nowrap !important;
}

.lead {
  font-size: 1.1rem !important;
}

.btn-col {
  width: 45px !important;
  white-space: nowrap !important;
  text-align: center !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.forecast-iteration-container {
  scrollbar-width: none;
}

#main-navigation {
  z-index: 99999;
}

.forecast-iteration input {
  padding-right: 5px;
  border: none;
  background: transparent;
  width: 88px !important;
  height: 30px;
  color: unset;
  text-align: right;
  box-shadow: unset !important;
  padding: 0px 4px !important;
}

.forecast-iteration input[type=date] {
  border: none;
  background: transparent;
  width: 170px !important;
  height: 30px;
  color: unset;
  text-align: right;
  cursor: pointer;
}

.forecast-iteration span.inline-label {
  margin-right: -200px;
  margin-top: 5px;
  margin-left: 10px;
  float: left;
}

.forecast td, .forecast th {
  height: 28px !important;
  vertical-align: middle;
  padding: 0 5px;
  text-align: right;
}

.table-info .forecast th {
  height: 40px !important;
}

.forecast tr.smaller-height-cells {
  height: 34px;
}

.forecast tr td.smaller-height-cells,
.forecast tr th.smaller-height-cells,
.forecast tr.smaller-height-cells td,
.forecast tr.smaller-height-cells th {
  height: 26px !important;
}

.forecast .iteration-summary tr.smaller-height-cells, .forecast .iteration-summary tr.smaller-height-cells th, .forecast .iteration-summary tr.smaller-height-cells td {
  height: 26px !important;
}

/*
.forecast tbody td {
    text-align: right;
}*/
.forecast tbody th {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 14px;
}

.forecast-header {
  padding-top: 15px;
  padding-bottom: 10px;
}

.forecast-iteration span.rz-spinner {
  text-align: left;
  background: transparent;
  border: none;
  color: unset;
  margin: 0;
  vertical-align: middle;
  text-align: right;
  padding-right: 10px;
  margin-top: -26px;
  margin-bottom: -20px;
  height: 36px !important;
  border: none !important;
}
.forecast-iteration span.rz-spinner input {
  height: 100% !important;
}
.forecast-iteration span.rz-spinner input:hover {
  box-shadow: none;
  border: none;
}
.forecast-iteration span.rz-spinner:hover {
  box-shadow: none;
  border: none !important;
}

.forecast-iteration button.rz-spinner-button.rz-button {
  background-color: var(--bs-light);
  color: var(--bs-secondary);
}

.forecast-iteration button.rz-spinner-button.rz-button input.rz-spinner-input.rz-inputtext {
  text-align: right;
  padding-right: 10px;
}

.forecast span.budget-name {
  width: 100%;
  display: block;
  line-height: 14px;
  font-size: 12px;
  margin-top: -2px;
  max-height: 31px;
  letter-spacing: -0.5px;
}

.forecast-iteration button.rz-spinner-button.rz-spinner-down.rz-button {
  bottom: 2px;
}

.rz-data-grid-data {
  max-height: 65vh;
}

.rz-data-grid-data td {
  vertical-align: middle;
}

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

.table-primary td, .table-info td {
  text-align: right;
  font-weight: bold;
}

.forecast .percentage {
  font-weight: normal;
  text-align: right;
  font-weight: 100;
  font-size: 12px !important;
  width: 30px;
  padding-left: 4px !important;
  padding-right: 4px !important;
  color: var(--bs-gray);
  vertical-align: middle;
}

.forecast .table-success .percentage,
.forecast .table-danger .percentage {
  color: white !important;
}

.focused-element span.rz-spinner {
  background-color: var(--bs-red) !important;
  background-color: lightcoral !important;
}

.forecast table input.rz-spinner-input.rz-inputtext {
  font-weight: bold !important;
}

.forecast table td.text-muted.small {
  font-weight: lighter;
}

.forecast > :not(.column-headers) .iteration-summary td {
  letter-spacing: -0.5px;
  font-family: "Arial Narrow", sans-serif;
}

.forecast > :not(.column-headers) .iteration-summary span {
  font-family: var(--bs-body-font-family);
}

.forecast .column-headers :not(.fa) {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: normal !important;
}

.forecast .column-headers th,
.forecast .column-headers td {
  height: 40px !important;
}

.forecast .column-headers * {
  letter-spacing: -0.6px;
  line-height: 1;
}

.forecast .column-headers span {
  letter-spacing: 0;
}

.forecast .vierstelliger-stunden-input input {
  width: 68px !important;
}

.forecast .dreistelliger-integer-input input {
  width: 50px !important;
}

.forecast .sechstelliger-euro-input input {
  width: 80px !important;
}

.forecast .table-info td,
.forecast .forecast-iteration .table-info td {
  letter-spacing: -0.5px;
  font-weight: bold;
  font-family: "Arial Narrow", sans-serif;
}

.forecast .table-info td span {
  letter-spacing: -0.5px;
  font-weight: normal;
  font-family: var(--bs-body-font-family);
}

.column-headers div {
  float: right;
}

.iteration-summary + tbody {
  border-color: transparent !important;
}

.sticky-top-bar-wrapper {
  will-change: scroll-position;
}

.iteration-summary:not(.show),
.iteration-summary:not(.show) .hour-column + .euro-column,
.sticky-top-bar-wrapper:not(.show) p {
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  border-color: transparent !important;
}

.iteration-summary.show,
.sticky-top-bar-wrapper.show p {
  will-change: transform;
  opacity: 1;
  transition: opacity 0.6s ease-in;
}

.rz-spinner:focus-within {
  box-shadow: inset 0 0 5px var(--bs-danger) !important;
}

.forecast-iteration:not(:first-child):not(:last-child) {
  border-right: 2px groove var(--bs-light);
}

.forecast-iteration:not(:first-child):not(.summary):not(:nth-child(2)) {
  border-left: 2px groove var(--bs-secondary);
}

.hour-column, .euro-column {
  padding-left: 2px !important;
  padding-right: 2px !important;
  will-change: auto;
}

.hour-column + .vertical-hover.euro-column,
.vertical-hover:not(.percentage) {
  border-right: 2px inset var(--bs-warning) !important;
  border-left: 2px outset var(--bs-warning) !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.forecast .vertical-hover + .vertical-hover {
  border-right: none !important;
  border-left: none !important;
}

.forecast .table-hover-bg {
  /*background: var(--bs-table-hover-bg) !important;*/
  border-top: 2px outset var(--bs-warning) !important;
  border-bottom: 2px inset var(--bs-warning) !important;
}

.forecast .fa-sort {
  visibility: hidden;
}

.forecast tr:hover .fa-sort {
  visibility: visible;
}

.forecast .hour-column + .euro-column {
  border-left: 2px inset #dee2e6;
}

.forecast td {
  padding: 0 !important;
}

.forecast .rz-spinner {
  margin: 0;
  border-radius: 0 !important;
}

.forecast .rz-spinner * {
  border-radius: 0 !important;
  margin: 0;
}

.forecast .rz-spinner {
  width: 100%;
}

.forecast .table-info {
  height: 40px;
}

.forecast td, .forecast th {
  line-height: 1;
}

.forecast .table-info * {
  white-space: break-spaces;
}

.forecast tfoot, .forecast tfoot > tr, .forecast tfoot > tr > td, .forecast tfoot > tr > th {
  border-bottom: none;
}

.forecast-iteration-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.forecast-iteration-container {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.rz-numeric {
  height: 100% !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
}

.forecast .rz-numeric input[type=number], .forecast .rz-numeric input[type=text] {
  font-size: 12px !important;
}
