.Formular {
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
}

.Formular>div {
    align-items: center;
}

.Formular img:first-of-type {
    height: 30px;
    margin-right: 15px;
    margin-left: 5px;
}


#ansichtTabelle>section {
    margin-top: 30px;
}

#ansichtTabelle>section:first-of-type {
    margin-top: 10px;
}

#ansichtTabelle select[multiple] {
    margin-left: 20px;
    min-width: 250px;
    max-width: 400px;
    height: 100px;
}

#ansichtTabelle select[multiple] option {
    padding: 0.2em;
    padding-left: 0.3em;
}

#ansichtTabelle>section>section {
    align-items: stretch;
}

#tableAttribuierung {
    grid-template-columns: 35px auto auto auto 30px;
    align-items: center;
}

#tableAttribuierung .control_indicator {
    top: -7px;
}

#tableAttribuierung .control-checkbox {
    margin-left: 5px;
    padding-top: 0;
}

#tableAttribuierung input[type=text] {
    height: 15px;
    width: calc(100% - 10px);
}

#tableAttribuierung .autocomplete_outerBox {
    position: relative;
}

#tableAttribuierung input[type=text]+div {
    position: absolute;
    margin-top: 0;
}

#tableAttribuierung select {
    height: 21px;
}


#tableAttribuierung span {
    padding-top: 5px;
    padding-bottom: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.unsetAlignItems {
    align-items: unset;
}

.formularueberschrift {
    font-weight: bolder;
    font-size: larger;
}

#labelRegelsatzNr,
#labelNameRS,
#labelNamePL {
    width: 160px;
}

#labelGewerkNr,
#labelPrueflaufNr{
    width: 160px;
}

#RegelsatzNr,
#NameRS,
#NamePl,
#PrueflaufNr,
#GewerkNr {
    width: 30vw;
    margin-right: 20px;
}

.linkAttributRow {
    margin-bottom: 10px;
    align-items: flex-end;
}

.linkAttributRow>div,
.sectionVisual {
    width: 50%;
    position: relative;
}

.linkAttributRow>div:first-of-type {
    margin-right: 20px;
}

.linkAttributRow span {
    padding-bottom: 5px;
}

.linkAttributRow button {
    margin-bottom: 0;
    margin-left: 10px;
}


#inputVisualisierung {
    margin-top: 5px;
    margin-right: 30px;
}

#deleteLinkAll {
    font-size: 0.8em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}



.notHidden {
    display: block !important;
}

.gridZweiSpalten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.zeileSelected {
    background-color: var(--digitalBlau) !important;
    color: white;
}

.pseudoLink {
    color: red;
    text-decoration: underline;
}

.detailskonfiguration {
    /* margin-right: 10px;
    margin-left: 10px; */
    list-style: none;
}

.detailskonfiguration summary {
    background-color: var(--lightgreySP);
    height: 15px;
    padding: 5px 12px 5px 12px;
    margin-bottom: 1em;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    outline: none;
}

.detailskonfiguration> div:first-of-type{
    padding-top: 20px;
    border-color: var(--lightgreySP);
}

.detailskonfiguration[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

.detailskonfiguration > div {
    margin-top: 0px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.linkingAnalyseError{
    border: 1px solid var(--digitalRot);
    border-radius: 3px;
    background-color: rgba(227, 5, 27, 0.15);
}

.linkingAnalysePassed{
    border: 1px solid green;
    border-radius: 3px;
    background-color: rgba(0, 128, 0, 0.15);
}

.multiselect {
    height: 115px;
    overflow-y: auto;
    border: 1px solid var(--greySP);
    border-radius: 3px;
    padding: 5px;
}

.hinweistext{
    color: var(--digitalRot);
    font-size: smaller;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.popup-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 80%;
    transform: scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    justify-content: center;
}

.popup-container img {
    width: 90%;
    height: auto !important;
    margin: 0 !important;
    max-height: 700px;
}

.popup-container .close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--digitalBlau2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    line-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-container .close-btn label {
    cursor: pointer;
}

.popup-container .close-btn:hover {
    background: var(--digitalBlau)
}

.popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

.popup-overlay.show .popup-container {
    transform: scale(1);
}

.popup-overlay.hide .popup-container {
    transform: scale(0);
    opacity: 0;
}