﻿/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.innerbaricon-small {*/
/*position: relative;*/
/*position: absolute;
    right: 3px;*/
/* overflow: hidden; */
/*    float: left;
*/ /* height: 25px;
    width: 34px;*/
/*    top: -13px; */ /*das steht so original in Select */
/*margin: -3px;*/
/* vertical-align: middle;*/
/* padding: 5px 0;*/
/*    top: 2px;*/
/*height: 25px;
}
.innerbaricon-big {*/
/*    height: 30px;
    width: 40px;
    vertical-align: baseline;
*/
/*position: absolute;
    right: 3px;
    height: 40px;
    top: -9px;
}

.baricon {
    position: relative;
     overflow: hidden; 
    float: left;
    height: 30px;
    width: 30px;*/
/*    top: -13px; */ /*das steht so original in Select; ich mache vorerst daraus: */
/* margin: -3px;*/
/*}
.barmenu {
    margin-top: auto;
    margin-bottom: auto;
}

.topmenu {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.iconandmenu {
    display: flex;
}


.suchinputcontainer {*/
/*    display: flex;
    justify-content: right;
    align-items: center;*/
/*margin-right: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}
.suchinputcontainer .form-control {
    border-width: 0;
}*/


/*@media (min-width: 768px) {
    .barlink .nav-link {*/ /* das 0.5 rem padding wird überschrieben / verschoben: .navbar-expand-md .navbar-nav .nav-link {*/
/*padding-right: 0;
        padding-left: 0;
    }*/
/*.barlink .nav-link {*/ /* das 0.5 rem padding wird überschrieben / verschoben: .navbar-expand-md .navbar-nav .nav-link {*/
/*padding-right: 0.5rem;
        padding-left: 0.5rem;
    }*/
/*}*/
/*für Verbergen des kleinen Dreiecks?*/
/*.stx-blazorise-nav-toggle .dropdown-toggle::after {
    visibility: hidden;
}*/
/*#selectCommandBar .navbar-nav,
    #selectCommandBar .mr-auto,
    #selectCommandBar .nav-link {
        color: #F59b00;
    }

#select-barmenu {*/
/*    margin-top: 4px;
    margin-bottom: 4px;
*/
/*font-size: 16px;
}


#select-moduldescription {*/
/*aus stx-navbar-app:*/
/*color: #fff;
    cursor: pointer;
    font-size: 18px;
    float: right;
}

#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;
}

#stx-topbar {
    position: relative;
    display: flex;
}
@media (min-width: 767.98px) {
    #stx-topbar {
        justify-content: space-between;
    }
}



@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {*/
/* Never collapse the sidebar for wide screens */
/*display: block;
    }


}*/


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1em;
}

#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;
    }

.snackbar-stack {
    z-index: 1100 !important;
}

.center-items {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.custom-select {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.stx-filter-selected {
    font-weight: bold;
    text-decoration: underline;
}


.stx-filter-txt {
    cursor: pointer;
    font-size: 1.2rem;
    white-space: nowrap;
    margin-right: 15px;
}

.loader-wrapper {
    width: 125px;
    height: 125px;
}

.loader {
    width: 100%;
    height: 100%;
    border: 3px solid #004C90;
    border-top-color: #f2811d;
    border-bottom-color: #49a315;
    border-radius: 50%;
    animation: rotate 5s linear infinite;
}

.loader-inner {
    border: 3px solid #004C90;
    border-top-color: #f2811d;
    border-bottom-color: #49a315;
    animation-duration: 2.5s
}

.icon-green {
    color: #49a315;
}

@keyframes rotate {
    0% {
        transform: scale(1) rotate(360deg);
    }

    50% {
        transform: scale(.8) rotate(-360deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

.loader-content {
    justify-content: center;
    display: flex;
    position: absolute;
    align-items: center;
}

.loader-main {
    top: calc(50% - 62.5px);
    left: calc(50% - 62.5px);
    position: absolute;
}

.icon-green {
    color: #49a315;
}

.icon-orange {
    color: #f2811d;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
    text-align: right;
}


.stx-header-txt {
    font-size: 1.2rem;
    font-weight: bold;
}

.stx-crs-pntr {
    cursor: pointer;
}


.stx-text-end {
    text-align: end !important;
}

.form-control.is-valid {
    background-clip: padding-box !important;
    border: 1px solid #ced4da !important;
    background-image: none !important;
    padding-right: 12px !important;
}

    .form-control.is-valid:focus, .was-validated .form-control:valid:focus {
        border-color: #ced4da !important;
        box-shadow: none !important;
    }

/* überschreibt Blazorise Formatierungen mit denen von Stotax */

/* Remove validation icons for standard inputs */
.was-validated .form-control:valid, .form-control.is-valid,
.was-validated .form-control:invalid, .form-control.is-invalid {
    background-image: none !important;
    padding-right: calc(1.5em + 0.75rem) !important; /* Optional: reset padding if icons were pushing text */
}

/* Remove validation icons specifically for custom selects (Blazorise often uses these) */
.was-validated .custom-select:valid, .custom-select.is-valid,
.was-validated .custom-select:invalid, .custom-select.is-invalid {
    /* We restore the default dropdown arrow but remove the validation icon */
    /*background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat !important;*/
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' height='40px' viewBox='0 -960 960 960' width='40px' fill='currentColor'%3e%3cpath d='M480-344 240-584l47.33-47.33L480-438.67l192.67-192.66L720-584 480-344Z'/%3e%3c/svg%3e") right 0.5rem center/22px 22px no-repeat !important;
    padding-right: .75rem !important;
}

.was-validated .custom-select:valid, .custom-select.is-valid {
    border-color: rgb(206, 212, 218) !important;
}



.numInput {
    padding-right: 15px !important;
    padding-left: 0 !important;
}

.b-tooltip {
    display: inline-flex;
}


.cursor-pointer-imp {
    cursor: pointer !important;
}
