@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.navbar.header-navbar {
    flex-grow: 0;
    flex-wrap: nowrap;
    border: none;
    background-color: inherit;
    border-radius: 0;
    height: 3.5rem;
    min-height: 3.5rem;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.12);
    justify-content: flex-start;
}

.header-navbar .navbar-toggler {
    outline: none;
    border-radius: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    box-shadow: none;
    align-self: stretch;
}

    .header-navbar .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
        background-color: transparent !important;
        height: 2rem;
        width: 2rem;
    }

.title {
    font-size: 1.1rem;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media (max-width: 350px) {
    .title {
        font-size: inherit;
    }
}

.px-custom {
    padding-right: .7rem !important;
    padding-left: .5rem !important
}

.top-row {
    /*background-color: #f7f7f7;*/
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.header-right {
    margin-left: auto;
}

.login-box {
    padding: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    text-align: center;
    border-width: 1px;
    border-color: black;
}

.grid-row-text-container {
    cursor: pointer;
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    align-items: center;

}

.grid-row-text {
    margin-bottom: 0px;
}

    
.grid-row-text-container:hover {
    text-decoration: underline;
 }


/*Increment und Decrement + - Buttons*/
.increment-decrement-button {
    width: 42px;
    font-size: 20px !important;
}

.DxButton {
    position: relative;
    flex-direction: column;
    align-items: center;
    margin: 0 10px; /* Abstand zwischen den Buttons anpassen */
}

/* Media Query für Bildschirmbreiten von 768px und kleiner */
@media screen and (max-width: 768px) {
    .footer-editor {
        flex-direction: column;
    }

    .DxButton {
        width: 100%;
        margin: 5px 0;
    }
}

.eingabe-header-text {
    font-weight: bold;
}

.custom-subunternehmerbearbeiten-bezeichnung {
    margin: 5px 0px 0px 10px;
    color: #fff;
    font-size: 18px;
}
.custom-subunternehmerbearbeiten-ueberschrift {
    margin: 5px 0px 0px 10px;
    color: #fff;
    font-size: 18px;
}
.custom-mitarbeiterbearbeiten-ueberschrift {
    margin: 5px 0px 0px 10px;
    color: #fff;
    font-size: 18px;
}

.close-btn-subunternehmer {
    background-color: #038044;
    color: #fff;
    margin: 0px;
    margin-left: auto;
    padding: 5px;
    cursor: pointer;
}
.close-btn-bearbeiten {
    background-color: #038044;
    color: #fff;
    margin: 0px;
    margin-left: auto;
    padding: 5px;
    cursor: pointer;
}



.custom-subunternehmerbearbeiten-ueberschrift {
    margin: 5px 0px 0px 10px;
    color: #fff;
    font-size: 18px;
}
.custom-list-mitarbeiter-bemerkung {
    border: 2px solid #999;
    padding: 10px;
    margin: 5px 15px 0px 15px;
    width: 100%;
    background-color: #ffffff;
       
}
.responsive-popup {
    max-width: 100%;
}

@media (max-width: 768px) {
    .responsive-popup {
        width: 100%;
    }
}
.custom-list-subunternehmer {
    border: 2px solid #999;
    padding: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top:5px;
    width: 97%;
    background-color: #ffffff;
    display: flex;   
    justify-content: center;
}
.vertical-container {
    display: flex;
    flex-direction: column;
    min-width: 100%;
}

.horizontal-container {
    display: flex;
    flex-direction: row;
    max-width: 30%;
}
.horizontal-containe-bearbeiten {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}
.hiddenHeader {
    display: none;
}
.selectionmode {
    width: 210px;
}
.footer-editor-mitarbeiter {
    position: fixed;
    bottom: 50px;
    left: 40%;
    width: 100%;
    background-color: #f2f2f2;
    text-align: center;
    padding: 5px;
}

.buttoncell {
    text-align: center;
}

.btn-container {
    display: flex;
    justify-content: space-between; 
    margin-left:15px;
    margin-top:10px;    
}

.right-align {
    margin-left: auto; /* Hier wird der Button nach rechts geschoben */
}
.dx-popup .dx-popup-title {
    height: 30px; /* Passe die gewünschte Höhe an, zum Beispiel 30px */
}
