body {
    padding-top: 20px;
    padding-bottom: 15px;
}

h2 {
    color: #E00000;
}

input,
select,
.input-group {
    max-width: 500px;
}

#nav-wrapper {
    position: relative;
}

#navigation {
    width: 600px;
    max-width: 100%;
    counter-reset: step;
    overflow: hidden;
    padding: 0;
}

#navigation li {
    list-style-type: none;
    text-transform: uppercase;
    font-size: .7rem;
    float: left;
    position: relative;
    width: 33%;
    text-align: center;
    cursor: pointer;
}

#navigation li::before {
    content: counter(step);
    counter-increment: step;
    width: 2.5rem;
    line-height: 2.5rem;
    display: block;
    font-size: .9rem;
    color: #fff;
    font-weight: bold;
    background: grey;
    border-radius: 100%;
    margin: 0 auto 5px auto;
    cursor: pointer;
}

#navigation li::after {
    content: '';
    width: 100%;
    height: 2px;
    background: grey;
    position: absolute;
    left: -50%;
    top: 1.25rem;
    z-index: -1;
}

#navigation li:first-child::after {
    content: '';
    height: 0%;
    width: 0%;
}

#navigation li.active::before {
    background: #E00000;
}

#content {
    width: 850px;
    max-width: 100%;
}

.required .control-label:after {
    content: " *";
    color: red;
}

.custom-control-input:checked~.custom-control-label::before {
    border-color: #E00000;
    background-color: #E00000;
}

.btn-primary {
    border-color: #E00000;
    background-color: #E00000;
}

.btn-primary:disabled,
.btn-primary.disabled {
    border-color: #E00000 !important;
    background-color: #E00000 !important;
}

.btn-primary:hover,
.btn-primary.hover {
    border-color: #D90000 !important;
    background-color: #CC0000 !important;
}

.btn-primary:active,
.btn-primary.active {
    background-color: #CC0000 !important;
    border-color: rgba(239, 104, 104, 0.8) !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(239, 104, 104, 0.6) !important;
    outline: 0 none !important;
}

.btn-primary:focus,
.btn-primary.focus {
    border-color: #E00000 !important;
    background-color: #E00000 !important;
}

.btn-link {
    color: #212529;
    text-decoration: none;
}

.btn-link:hover {
    color: #E00000;
}

input[type="radio"].custom-radio-sk:checked,
input[type="radio"].custom-radio-sk:not(:checked) {
    position: absolute;
    left: -9999px;
}

input[type="radio"].custom-radio-sk:checked+label,
input[type="radio"].custom-radio-sk:not(:checked)+label {
    position: relative;
    padding-left: 1.25rem;
    cursor: pointer;
    line-height: 24px;
    display: inline-block;
    color: #fff;
}

input[type="radio"].custom-radio-sk:checked+label:before,
input[type="radio"].custom-radio-sk:not(:checked)+label:before {
    position: absolute;
    text-align: center;
    font-size: 1.1rem;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #adb5bd;
}

input[type="radio"].custom-radio-sk:checked+label:after,
input[type="radio"].custom-radio-sk:not(:checked)+label:after {
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background: #E00000;
}

input[type="radio"].custom-radio-sk.custom-radio-sk-1:checked+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-1:not(:checked)+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-1:checked+label:after,
input[type="radio"].custom-radio-sk.custom-radio-sk-1:not(:checked)+label:after {
    content: 'I';
}

input[type="radio"].custom-radio-sk.custom-radio-sk-2:checked+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-2:not(:checked)+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-2:checked+label:after,
input[type="radio"].custom-radio-sk.custom-radio-sk-2:not(:checked)+label:after {
    content: 'II';
}

input[type="radio"].custom-radio-sk.custom-radio-sk-3:checked+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-3:not(:checked)+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-3:checked+label:after,
input[type="radio"].custom-radio-sk.custom-radio-sk-3:not(:checked)+label:after {
    content: 'III';
}

input[type="radio"].custom-radio-sk.custom-radio-sk-4:checked+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-4:not(:checked)+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-4:checked+label:after,
input[type="radio"].custom-radio-sk.custom-radio-sk-4:not(:checked)+label:after {
    content: 'IV';
}

input[type="radio"].custom-radio-sk.custom-radio-sk-5:checked+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-5:not(:checked)+label:before,
input[type="radio"].custom-radio-sk.custom-radio-sk-5:checked+label:after,
input[type="radio"].custom-radio-sk.custom-radio-sk-5:not(:checked)+label:after {
    content: 'V';
}

input[type="radio"].custom-radio-sk:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

input[type="radio"].custom-radio-sk:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

input[type="radio"].custom-radio-sk:disabled+label {
    cursor: default;
}

[class^="bi-"]::before,
[class*=" bi-"]::before {
    color: grey;
}

[class^="bi-"]::before:hover,
[class*=" bi-"]::before:hover {
    color: grey;
}

[class^="bi-"].white::before,
[class*=" bi-"].white::before {
    color: #ffffff;
}

[class^="bi-"].red::before,
[class*=" bi-"].red::before {
    color: #E00000;
}

a {
    text-decoration: none;
    color: grey;
}

a:hover {
    text-decoration: underline;
    color: #E00000;
}

#foerderung_grafik {
    max-width: 100%;
    height: auto;
}

.text-highlight {
    color: #E00000;
    font-weight: bold;
}

.info-box {
    font-size: 0.9rem;
    color: #555;
  }

.field-error {
    border: 2px solid #E00000;
}