﻿
.LoginPopupForm_Root {
    box-shadow: var(--boxShadowSmallLight);
    padding: var(--padding);
    /*outline:1px solid var(--complimentaryTheme);*/
    background: var(--brighter);
    /*backdrop-filter:blur(2px);*/
    cursor: default;
    border-bottom-left-radius: var(--round);
    border-bottom-right-radius: var(--round);
    /*margin-top:calc(-1 * var(--paddingX));*/
    text-align: initial;
    max-width: 60ch;
}

.darkTheme .LoginPopupForm_Root {
    background-color: var(--mediumDarkThemeBG);
    color: var(--bright);
}

.floatingContainer:has(*.LoginPopupForm_Root) {
    --minMargin: 0px;
}

#topBar_layout #top_login_info.popupActive {
    color: var(--accentThemeTxt);
    background-color: var(--accentTheme);
}

    .LoginPopupForm_Root #mainButtonsRow{
        gap:1em;
    }


    .twoFactorAuth_QRCode {
        width: 300px;
    }

    .twoFactorAuth_headerContainer {
        margin-top: 1em;
    }

    .twoFactorAuth_QRCodeContainer {
        margin: 2em 0;
    }

    .twoFactorAuth_root {
        background-color: white;
        padding: 2em;
        margin-top: 1.5em;
    }

    .twoFactorAuth_explanationText_afterImg_container {
        margin-top: 1.5em;
    }

    .twoFactorAuth_FormContainer {
        margin-top: 1em;
    }

    .twoFactorAuth_inputContainer {
        display: flex;
        align-items: center;
        margin-bottom: 1em;
    }

    .twoFactorAuth_checboxContainer {
        display: flex;
        align-items: center;
    }

    .twoFactorAuth_checboxlabel {
        margin-right: 1em;
    }

    .twoFactorAuth_codeInput {
        width: 200px;
        display: inline-block;
        margin-right: 1em;
    }

    .twoFactorAuth_logoutButtonContainer {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .twoFactorAuth_logoutButton {
        margin-right: 1.5em;
        margin-top: 2em;
        padding: 8px 16px;
    }

    /* KHB WEBKALENDER ENDZEITLABEL AUSBLENDEN */

    .dojoxCalendarVertical .endTime {;
        display: none !important;
        color:var(--bright);
    }


    /* PROJECTS */
*[data-table-type='ProjectFinder2Home'] td[data-colname='date'] {
    /*font-size: 1.2em;*/
    /*line-height: 1.2;*/
}


/*EvBookinEditor*/
.EvBookingEditorForm {
    --selectedRowColor: rgba(236,103,7,0.2);
}
.EvBookingEditorForm .selectedTableRow {
    background-color:  var(--selectedRowColor);
}
/* an das label-margin des inputs ausgleichen ------start*/
@media screen and (min-width: 674px) {
    .EvBookingditor_buttonShowEntityDialog {
        margin-top: 22px;
    }
}

@media screen and (max-width: 674px) {
    .EvBookingditor_buttonShowEntityDialog {
        margin-top: 0;
    }
}

.EvBookingEditor_editorFormButton {
    background-color: lightgray;
}

.EvBookingEditorForm .hintbox-items .EvRoomVacant:before {
    font-family: var(--fontawesome);
    font-weight: bold;
    margin-right: 0.4em;
    content: '\f274';
}

.EvBookingEditorForm .hintbox-items .EvRoomNotVacant:before {
    font-family: var(--fontawesome);
    font-weight: bold;
    margin-right: 0.4em;
    content: '\f273';
}

.EntityView {


}

.EntityView.detailviewTable {
    width: 100%;
}

.EntityView .detailviewLabel {
    font-weight: bold;
    vertical-align: top;
    min-width: 10ch;
}

.EntityView.detailviewTable td {
    padding: 0.2em;
    line-height: 1.3;
}

.EntityView .detailviewContent {
}

.EntityView .detailviewRow {
}
/* an das label-margin des inputs ausgleichen ------end*/



/* Matrix */
.matrixRow {
    position: relative;
    width: 100%;
}


.orchestraMatrix .boxShadow {
    box-shadow: inset 0 0 0px 2px blue;
}

.matrixCell {
    float: left;
    text-align: center;
    line-height: 35px;
    font-size: 14pt;
    user-select: none;
}

.matrixCell_TOP_X {
    float: left;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-indent: 4px;
    height: 100%;
    font-size: 9pt;
}

.daygroupTop {
    border: 1px solid black;
    border-right-color: black;
    border-right-style: solid;
    border-right-width: 1px;
    border-right: none;
    text-align: center;
    font-weight: bold;
    font-size: 8pt;
}


/* Individual Datasheet */
.collapsiblesection {
    padding: var(--padding);
    /*padding-bottom:0;*/
    margin-top: var(--paddingY);
    border: 1px solid var(--tertiary);
    margin-bottom: var(--paddingY);
    border-radius: var(--round);
    background-color: var(--brightTransparent);
    position: relative;
}

.collapsiblesection {
    width: 100%;
    text-align: center;
}

    .collapsiblesection .collapsibleAnimationContainer {
        position: absolute;
        bottom: -1px;
        left: 0;
        border-bottom-left-radius: var(--round);
        border-bottom-right-radius: var(--round);
        height: 1.5em;
        width: 100%;
        /*background-color: red;*/
        pointer-events: none;
    }

        .collapsiblesection .collapsibleAnimationContainer > div {
            position: relative;
            height: 100%;
            width: 100%;
            /*background-color: red;*/
            pointer-events: none;
        }


        /* REPORT DASHBOARD*/

        .reportDashboardRoot .navigationContainer {

        }

.reportDashboardRoot .tilesContainer > .dashboardTileOuter{
    max-width: 45rem;
}
/* file dashboard*/
.fileDashboardRoot {
}

        /* Überschrift: */
        .fileDashboardRoot > h2 {

        }

        /* Navigation innerhalb eines Tabs: */
.tabContainer #contentNode .navigationContainer{
    display:flex;
    flex-flow:column;
    gap:1em;
}

    .tabContainer #contentNode .navigationContainer .NavigationArea {
        width: 100%;
        border-radius: var(--round);
        border: 0px solid var(--medium);
        padding: var(--padding);
    }


    .addressWizard{

    }

        .addressWizard button.addCommunicationButton {
            border-radius:20em;
        }

*:is(.addressWizard, .contactPersonFormRoot) button.addCommunicationButton *:is(i, span) {
    pointer-events: none
}
        *:is(.addressWizard, .contactPersonFormRoot) table td button {
        }

            *:is(.addressWizard, .contactPersonFormRoot) table td button.deleteBtn {
                color: var(--warningText);
                background-color: var(--warning)
            }
            *:is(.addressWizard, .contactPersonFormRoot) table td button.editBtn {
            }
*:is(.addressWizard, .contactPersonFormRoot) table td:has(button) > div:not(:first-child) {
    margin-left: 0.4em;
}

/*EvBookingEditor - ProgrammEditor*/

.programEditor {
}

    .programEditor .editorRow {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: end;
    }

    .programEditor .editorFirstColumn {
        flex: 0 0 auto;
        width: 15%;
    }

    .programEditor .editorColumn {
        flex: auto;
    }

    .programEditor .inputEditColumn {
        width: 35%;
        margin: 0 2px;
    }

    .programEditor .inputDurationColumn {
        width: 20%;
        margin: 0 2px;
    }

    .programEditor .buttonColumn {
        width: 10%;
        padding: 4px 8px;
    }


.todoForm_Root {
    container-type: inline-size; /* macht die Section zu einem Container für Container Queries */
    container-name: todoContainer;
}

.todoForm_Root .todoForm_MemberTodoEntry {
    flex-basis: 49%;
    flex-shrink: 0;
}


@container todoContainer (max-width: 800px) {
    /* für Elemente, die sich in einem solchen Container befinden */
    /* zb: Elemente in flex-containern sollen statt 49% lieber doch 100% flex-basis verwenden */
    .todoForm_Root .todoForm_MemberTodoEntry {
        flex-basis: 100%;
    }
}

.EvTaskView .taskDetailsTable{

}

.EvTaskView .taskDetailsTable tr > td:first-child{
    text-align:end;
    font-size:0.9em;
    color: var(--secondary);
}

.EvTaskView .taskDetailsTable tr > td:last-child::before{
    content:attr(data-label);

}

.EvTaskView *:is(.appointmentDetails, .taskDetails) {
    font-size:1rem;
}
    .EvTaskView *:is(.appointmentDetails, .taskDetails) label {
        font-size: 0.85em;
        color: var(--secondary);
    }
    .EvTaskView *:is(.appointmentDetails, .taskDetails) p {
        margin-top: 0;
    }


.EvTaskView #todosContainer > * {
    flex-basis: 49%;
    flex-shrink: 0;
}

/* allgemeiner Style für Entityviews, weil Schema Label+Inhalt brauchen wir öfter.*/
.entityViewContainer{

}

.entityViewContainer > label,
.entityViewContainer > * > label /* weil manchmal was verschachtelt ist... */{
    font-size: 0.85em;
    color: var(--secondary);
}

.entityViewContainer > label + p {
    margin-top: 0;
}

/* OCCURRENCE / EFORMS */

/*-------------------------Occurrence----------------------------------------*/
.occurrenceFormRoot {
    min-height: 25em;
    user-select: none;
    --special: brown;
    --mandatory: var(--w3PaleYellow);
    --mandatoryTxt: inherit;
    --mandatoryMissing: var(--w3PaleYellow);
    --mandatoryMissingTxt: initial; /*var(--warning);*/
}

    .occurrenceFormRoot .searchSelect_groupLabel {
        font-weight: bold;
    }

        .occurrenceFormRoot .searchSelect_groupLabel hr {
            border-color: var(--secondary);
        }

    .occurrenceFormRoot .propertiesTable {
        width: 100%;
    }

    .occurrenceFormRoot .OccurrenceForm_CommentContainer {
        /*margin-bottom: 32px;*/ /* warum? */
    }

    .occurrenceFormRoot .propertiesTable {
        border-collapse: collapse;
        font-size: 0.9em;
        --secondaryBorderColors: var(--mediumBright);
        --mainBorderColors: var(--medium);
        /*border-top: 1px solid var(--secondaryBorderColors);*/
    }

        .occurrenceFormRoot .propertiesTable *:is(.propRow, .groupRow):not(.heading) .propertyContainer {
            margin: var(--paddingY) 0;
            border-radius:var(--round);
            padding:var(--paddingSmall);
        }

        /* ein Propertycontainer innerhalb einer anderen Propertytable (also Gruppe) verhält sich wie eine Table-Cell: */
            .occurrenceFormRoot .propertiesTable tr.groupRow .propertiesTable .propertyContainer{
                display:table-cell;
            }

           
        .occurrenceFormRoot .propertiesTable .propertiesTable {
            font-size: 1em;
        }

        .occurrenceFormRoot .propertiesTable thead {
            font-weight: bold;
            font-size: 1.2em;
        }

            .occurrenceFormRoot .propertiesTable thead th,
            .occurrenceFormRoot .propertiesTable thead td {
                border-bottom: 1px solid var(--mainBorderColors);
            }

        .occurrenceFormRoot .propertiesTable tr.propRow td {
            /*padding: var(--paddingSmall);
            border-color: var(--secondaryBorderColors);*/
            border-style: solid;
            border-width: 0px;
        }

        .occurrenceFormRoot .propertiesTable > tr.groupRow {
            border-right: 1px solid var(--mainBorderColors);
            border-left: 1px solid var(--mainBorderColors);
        }

       
        .occurrenceFormRoot .propertiesTable tr.mandatory > div.propertyContainer {
            background-color: var(--mandatory);
            color: var(--mandatoryTxt);
        }
        .occurrenceFormRoot .propertiesTable tr.mandatoryMissing > div.propertyContainer {
            background-color: var(--mandatoryMissing);
            color: var(--mandatoryMissingTxt);
        }

            .occurrenceFormRoot .propertiesTable tr.mandatoryMissing > div.propertyContainer > .propertyLabel {
                box-shadow: inset 0px -2px 0px 0px var(--mandatoryMissing);
            }

            .occurrenceFormRoot .propertiesTable tr.mandatoryMissing > div.propertyContainer > div.propertyValue {
                box-shadow: inset 0px -2px 0px 0px var(--mandatoryMissing);
            }

        .occurrenceFormRoot .propertiesTable tr.mandatoryMissing > td {
            color: var(--mandatoryMissing);
        }

        .occurrenceFormRoot .propertiesTable tr.groupRow.mandatoryMissing > td:last-child {
            color: unset;
        }

    
    .occurrenceFormRoot .propertiesTable div.helptext {
        /*padding: var(--paddingSmall);*/
        opacity: 1;
        color: var(--secondaryThemeD2);
        font-style: italic;
        font-size: 0.95em;
    }

        .occurrenceFormRoot .propertiesTable div.helptext span::before {
            content: '\f05a';
            font-family: var(--fontawesome); /*"Font Awesome 5 Free";*/
            margin-right: 0.4em;
            font-weight: bold;
            font-style: normal;
        }

    .occurrenceFormRoot .propertiesTable tr.propRow > td.groupEntryCounter {
        vertical-align: middle;
        border-width: 1px;
        border-style: solid;
        border-color: var(--mainBorderColors);
        text-align: center;
        font-weight: bold;
        border-right-color: var(--mainBorderColors);
    }

        .occurrenceFormRoot .propertiesTable tr.propRow > td.groupEntryCounter > div {
            display: flex;
            flex-direction: column;
            align-content: center;
        }

    .occurrenceFormRoot .propertiesTable tr:is(.propRow, .groupRow) label.propertyLabel {
        font-weight: bold;
        font-size: 1.2em;
        display: block;
    }

    .occurrenceFormRoot .propertiesTable tr.propRow.heading *:is(h3, h4, h5) {
        font-size: 1.5em;
        text-align: center;
        font-weight: bold;
        /*padding: var(--padding);*/
        background-color: unset; /*var(--secondary);*/
        /*color: var(--secondaryText);*/
    }

    .occurrenceFormRoot .propertiesTable tr.propRow.heading.small1 *:is(h3, h4, h5) {
        font-style: italic;
        font-size: 1.2em;
    }

    .occurrenceFormRoot .propertiesTable tr.propRow.heading.small2 *:is(h3, h4, h5) {
        font-size: 0.9em;
        /*text-align:left;*/
    }

        .occurrenceFormRoot .propertiesTable tr.propRow.heading > td.propertyLabel {
            /*box-shadow: inset 0px -2px 0px 1px var(--secondary);*/
            padding-top: 1.2em;
            border-bottom-color: var(--secondaryBorderColors);
            border-bottom-width: 2px;
        }

    .occurrenceFormRoot .propertiesTable tr.propRow.heading.small1 > td.propertyLabel,
    .occurrenceFormRoot .propertiesTable tr.propRow.heading.small2 > td.propertyLabel {
        border-bottom: 0;
        padding-top: 0.8em;
    }

    .occurrenceFormRoot .propertiesTable tr.groupRow.modifier > td {
        text-align: center;
    }

    /* wenn sich Labels neu laden, die alten Labels langsam abblenden */
    .occurrenceFormRoot .obsoleteLabels label.propertyLabel,
    .occurrenceFormRoot .obsoleteLabels td.groupEntryCounter > div {
        transition: 0.5s;
        opacity: 0.3;
    }
    /* die linke Spalte, in der bei Gruppen über die ganze Höhe einfach das Label der Gruppe steht */
    .occurrenceFormRoot .propertiesTable tr.groupRow > div.propertyContainer > label.groupLabel {
        padding: var(--paddingSmall);
        vertical-align: top;
    }

    

    .occurrenceFormRoot .propertiesTable tr.groupRow > div.propertyContainer > label.groupLabel > div > div.labelMinValue,
    .occurrenceFormRoot .propertiesTable tr.groupRow > div.propertyContainer > label.groupLabel > div > div.labelMaxValue {
        font-style: italic;
        font-size: 0.9em;
    }

    .occurrenceFormRoot .propertiesTable tr.groupRow > div.propertyContainer > label.groupLabel > div > button {
        display: block;
    }
