/* Base */
body {
    color: black;
    font-weight: 400;
}

b {
	font-weight:bold;
}

nav {
    text-align: center;
}

nav ol {
    list-style: none;
}

nav li {
    display: inline-block;
}

input[type="file"] {
    opacity: 0;
}

h2 {
    font-size: 1.5rem;
}

fieldset > div:last-of-type {
    margin-bottom: 0px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.hauptfrage {
    margin-top: 40px;
}

.hauptfrage:not(fieldset),
fieldset.hauptfrage {
    margin-top: 40px;
}

fieldset legend,
.hauptfrage:not(fieldset) {
    border-top: 1px solid black;
    padding-top: 30px;
}

.hauptfrage legend {
    font-size: 16px
}

fieldset legend,
.bold_title {
    margin-bottom: 15px;
}

.col-form-label {
    padding-bottom: 0px;
}

.showverfuegung h2, .showverfuegung table {
    margin-left: 40px;
}
.nomargin {
    margin-left: 0px !important;
}

form {
    padding-bottom: 1px;
}

form fieldset:last-of-type div:last-of-type.vorschau {
    margin-bottom: 40px;
}

.alignright {
	text-align: right;
}

.bordertop {
	border-top: 1px solid;
}
.borderbottom {
	border-bottom: 2px solid;
}


/* header {
    width: 100%;
} */

select {
    /* Gegen Bootstrap haben wir unten !important */
    padding-left: 8px !important;
}

/* Layout */
div.checkbox {
    width: 47px;
}

.checkbox {
    padding-right: 15px;
    padding-left: 15px;
}


.benutzer_hat_keinen_typ_ausgewaehlt > :not(:first-child) {
    display: none;
}

a:not([href]):not([tabindex]) {
    color: #007bff;
    cursor:pointer;
}
a:not([href]):not([tabindex]):hover {
    color: #0056b3;
    text-decoration: underline;
    cursor:pointer;
}

.red {
	color:red;
}
.green {
	color:green;
}
.blue {
	color:blue;
}

.violet {
  color: #9900FF;
}

.orange {
  color: #FF9966;
}


/* .custom-file-label::after {
    content: 'Datei auswählen';
} */

/* .file_div label:after {
    position: absolute;
    top: 8px;
    left: 16px;
    z-index: 3;
    display: block;
    height: calc(1.5em + .75rem);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: rgb(73, 80, 87);
    content: "Browse";
    background-color: rgb(233, 236, 239);
    border-left: inherit;
    border-radius: 3px;
    content: 'Datei auswählen';
} */

.file_div label {
    height: 42px;
    padding: 0;
    border-radius: 3px;
}

.file_div label:after {
    height: calc(1.5em + .75rem);
    position: relative;
    top: -37px;
    z-index: 3;
    display: block;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: rgb(73, 80, 87);
    content: "Browse";
    background-color: rgb(233, 236, 239);
    /* border-left: inherit; */
    /* border-radius: 3px; */
    content: attr(data-after);
}

.file_div .form-control {
    padding: 0;
}

.file_div input {
    height: 100%;
}

.file_div  .form-control {
    margin-bottom: 0px;
}

.file_div .fehlermeldung {
    position: relative;
    top: -30px;
}

.input_wert {
    border-top: none;
    border-right: none;
    border-left: none;
}

.form-check-inline {
    margin-right: 40px;
    margin-bottom: 20px;
}

#voraussichtlicher_betrag {
    margin: 35px 0 40px 0;
}

#voraussichtlicher_betrag p {
    padding: 0;
    font-size: 17px;
}

.nur_die_leere_felder_sind_erlaubt_zu_editieren .hat_wert_in_db,
.vorschau input,
.vorschau textarea,
.vorschau select,
.vorschau label  {
    pointer-events: none;
    border-top: none;
    border-right: none;
    border-left: none;
}

.nur_die_leere_felder_sind_erlaubt_zu_editieren select.hat_wert_in_db,
.vorschau .custom-select {
    background: none;
}

.vorschau .füge_feld_hinzu,
.vorschau #datei_fehler {
    display: none;
}

.vorschau .uid_feld .input-group::after,
.vorschau .nav_title {
    display: none;
}

.vorschau .vorschu_title {
    display: block;
}

.vorschau:not(.bestaetigen_modus) .vorschau_hinweis {
    display: block;
}

.vorschau_hinweis {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 18px;
    color: darkblue;
    display: none;
    border: 2px solid brown;
}

.vorschu_title {
    display: none;
}

.nav_title {
    color: rgb(0, 122, 184);
    text-align: center;
}

.disclaimer {
    margin-bottom: 40px;
    padding-top: 15px;
    color: rgb(0, 122, 184);
    border-top: 2px solid;
}

/* .feld_hat_fehler input,
.feld_hat_fehler select,
.feld_hat_fehler.file_div .form-control:not(.kopie) {
    border-color: red;
} */

.umsatzprognose_grund.feld_hat_fehler .grund,
.feld_hat_fehler .form-check {
    color: red;
}

.umsatzprognose_grund.feld_hat_fehler .pflichtfeld,
.feld_hat_fehler input,
.feld_hat_fehler textarea,
.feld_hat_fehler select,
.feld_hat_fehler .dropdown-toggle,
.feld_hat_fehler:not(.multiple_checkbox ) .checkbox,
.feld_hat_fehler.multiple_checkbox,
/* .feld_hat_fehler.file_div .form-control:not(.kopie), */
label.feld_hat_fehler:not(.kopie),
.feld_hat_fehler.file_div label:not(.kopie) {
    border: 2px solid red;
}

.navigation_knopf {
    width: 300px;
    height: 38px;
    /* margin: 50px auto; */
    display: block;
}

.drucken_knopf {
    width: 250px;
    height: 38px;
    /* margin: 50px auto; */
    display: block;
}

.füge_feld_hinzu {
    width: 37px;
    height: 37px;
    margin-bottom: 20px;
    position: relative;
    top: 0px;
    line-height: 34px;
    display: inline-block;
    border: 1px solid rgb(206, 212, 218);
    text-align: center;
    background-color: rgb(233, 236, 239);
    cursor: pointer;
}

.füge_feld_hinzu > i {
    margin-top: 10px;
}

.fehlermeldung {
    margin-top: 5px;
    display: none;
    color: red;
}

.keinen_anspruch_fehler {
    margin-top: 5px;
    padding: 0;
    color: red;
}

.feld_hat_fehler + .fehlermeldung,
.feld_hat_fehler ~ .fehlermeldung,
.feld_hat_fehler .fehlermeldung {
    display: block;
}


.ausblenden_befehl_von_ma,
.ausblenden_befehl_von_umsatz {
    display: none;
}

.grund,
.hinweis {
    /* padding: 0 0 0 18px; */
    margin-top: 5px;
    padding: 0;
    position: relative;
    /* top: -10px; */
}

.hinweis {
    font-style: italic;
}

.sub_legend {
    display: block;
    font-style: italic;
    font-size: 1.2rem;
}

.paddingkl {
    padding-left: 25px;
}

.helpline {
    color: white;
    background-color: red;
}
.infoline {
    color: white;
    background-color: green;
}
#datei_fehler {
    margin-bottom: 10px;
    padding: 5px;
    color: red;
    border: 2px solid red;
}

#seite_1 > div:first-child {
    margin-bottom: 30px;
}

#zurueck {
    margin-right: 50px;
}

#gesuch_als {
    margin-bottom: 30px;
}

#navigation_fehlermeldung {
    text-align: center;
    color: red;
}

#seite_3 p {
    padding: 0;
}

/* State */

.füge_feld_hinzu:hover {
    color: white;
    background-color: rgb(83, 66, 50);
}

.füge_feld_hinzu:focus,
.file_div label:focus {
    border-color: rgb(128, 189, 255);
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

ol, ul {
	color: #262626;
	padding-left: 80px;
	padding-right: 40px;
}

.ulspez {
	color: #262626;
	padding-left: 20px;
	padding-right: 0px;
}

.rechtsmittel{
	background-color: #ddd;
	border: 1px solid;
	margin-left: 40px;
	margin-right: 40px;
}

.umsatzprognose_grund {
    position: relative;
    top: -10px;
}

.umsatzprognose_grund textarea {
   width: 100%;
   padding: .375rem .75rem;
}

.umsatzprognose_grund .grund {
    margin-bottom: 10px;
    top: 0px;
}

[data-toggle="tooltip"] {
    position: relative;
    top: -2px;
    left: 8px;
}

/* Doku: https://developer.snapappointments.com/bootstrap-select/examples/ */

/* Bootstrap-select anpassen */
.bootstrap-select {
    width: 100% !important;
    height: 38px;
    padding: 0;
}

/* Zeige nichts wenn es keinen Vorschlag gibt */
.bootstrap-select .no-results {
    display: none !important;
}

.bootstrap-select .dropdown-menu {
    max-height: 500px;
    /* Wir haben 'transform' gestoppt, weil gemäss die Position vom 'bootstrap-select' springt das Suchfeld manchmal einfach irgendwohin */
    top: 30px !important;
    transform: none !important;
}

/* Dise Regeln wurden von Bootstrap kopiert */
.bootstrap-select button.dropdown-toggle:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem #007bff40;
    outline: none !important;
}

.bootstrap-select button {
    height: 36px;
    padding-top: 6px !important;
	font-size: 1rem;
}

.bootstrap-select li {
	font-size: 1rem;
}

.bootstrap-select .dropdown-menu {
	overflow-x: hidden;
	z-index: 30;
	font-size: 1rem;
}

.bootstrap-select .dropdown-toggle {
	padding-top: 0px;
	padding-bottom: 0px;
}

.bootstrap-select .filter-option {
	color: black;
}

.bootstrap-select .form-control {
	font-size: 1rem;
}

.vorschau .bootstrap-select button.dropdown-toggle {
	pointer-events: none;
	border-color: transparent;
}

.vorschau .bootstrap-select .dropdown-toggle::after {
	border-color: transparent;
}

.inner[role="listbox"] li {
    /* margin-top: 5px; */
    /* padding: 5px 20px; */
    display: flex;
    cursor: pointer;
}

.bootstrap-select .dropdown-menu li a {
    min-height: 40px;
}

.inner[role="listbox"] .noga_titel_de {
    max-width: 497px;
}

span.noga_code {
    flex: 70px 0 0;
    color: blue;
}

.inputfeld_mit_datum .inputfeld,
.inputfeld_mit_datum .datepicker_row {
    margin-bottom: 20px;
}

.inputfeld_mit_datum .datepicker_row,
.datepicker_row div {
    max-width: 200px;
}

.datepicker_row input {
    padding-left: 35px;
    background-image: url('/design/picto/picto_calendar.gif');
    background-repeat: no-repeat;
    background-position: 5% 50%;
}

.datepicker_row input.datepicker {
    padding-top: 10px;
    padding-left: 35px;
    background-color: inherit;
    background-image: url('/design/picto/picto_calendar.gif');
    background-repeat: no-repeat;
    background-position: 5% 50%;
}

.ui-datepicker {
    z-index: 5 !important;
}

.email {
    color: #0056b3;
}

.hilfstext {
    padding-left: 0;
    font-size: 15px;
    font-style: italic;
}

.pfeile_nach_links {
    position: relative;
    float: left;
}


.pfeile_nach_links::before {
    width: 0;
    height: 0;
    display: block;
    content: '';
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 26px solid #8BD172;
    position: absolute;
    top: 50%;
    margin-top: -18px;
    right: 100%;
    z-index: 2;
}

.nav_knoepfe {
    display: flex;
    position: relative;
}

.nav_knoepfe div {
    width: 100%;
    display: flex;
    height: 138px;
    align-items: center;
    justify-content: center;
}

.vorschau .nav_knoepfe div {
    padding-left: 262px;
    justify-content: end;
}

.nav_knoepfe div button {
    margin-left: 15px;
}

.zurueck_knopf {
    width: 240px;
    height: 38px;
    position: absolute;
    top: 50px;
    left: 22px;
    background-color: #8BD172;
    border-color: transparent;
    color: black;
    font-weight: bold;
    transition: none !important;
}

.zurueck_knopf:hover,
.zurueck_knopf:active {
    background-color: #8BD172 !important;
    border: none !important;
    color: black !important;
    transition: none !important;
}

input[type="file"].sichtbar {
	opacity: 1;
}

.four_col_table {
    margin-bottom: 30px;
    position: relative;
}

.four_col_table.table_header {
    font-size: 15px;
}

.table_header [class^="col"]:first-of-type,
.four_col_table .col-form-label {
    text-align: right;
}

.table_header {
    margin-bottom: 10px;
    font-weight: bold;
}

.four_col_table .fehlermeldung {
    min-width: 500px;
    position: absolute;
    right: 125px;
    top: 33px;
}

.four_col_table.row {
    flex-wrap: nowrap;
}

.datai_label[tabindex="-1"] {
    pointer-events: none;
}
.verticalTableHeader {
    text-align:center;
    white-space:nowrap;
    transform: rotate(-90deg);

}

.erklaerung_fuer_die_bedingungen {
    font-style: italic;
}

#diagnose_link {
    font-size: 11px;
    color: lightblue;
}

#diagnose_link i {
    color: #41bae1;
}

#diagnose_link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.fa-stroopwafel {
    font-size: 26px;
    cursor: default;
    color: white;
}

.block_level_radios > div {
    margin-top: 10px;
}

.block_level_radios > span,
.block_level_radios > div,
.optionen_fuer_bewertung > span,
.optionen_fuer_bewertung > div {
    max-width: 100%;
    flex-basis: auto;
}

.optionen_fuer_bewertung > div {
    margin-top: 10px;
}

.optionen_fuer_bewertung > div > div:last-of-type {
    margin-left: 8px;
}

.optionen_fuer_bewertung > div > div:not(:last-of-type) {
    margin-right: 11px;
}

.multiple_checkbox {
    flex-direction: column;
}

.multiple_checkbox > label {
    margin-top: 5px;
    max-height: 30px;
}

.multiple_checkbox .checkbox input {
    max-width: 14px;
    max-height: 14px;
    display: inline-block;
}

#ie_hinweis {
    display: none;
}

/* @media ( max-width: 1150px ) {

    .optionen_fuer_bewertung  > div > div:last-of-type {
        display: block;
        margin-left: 0;
    }

} */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid black;
    margin: 1em 0;
    padding: 0;
}

.stern_erklaerung {
    font-size: 16px;
}

.stern_erklaerung div {
    margin: 0 15px;
    position: relative;
    top: 4px;
}

/* 2022-03-01/chs: Das Formular an sich wird für IE 10 und 11 ausgeblendet, dafür wird ein Warnhinweis (in dsp_header.cfm eingebaut) eingeblendet */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
        div#maincontainer {
        display: none !important;
     }
     #ie_hinweis {
        display: block;
     }
     #ie_hinweis p {
        padding: 0;
     }
  }