@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*#region Correction styles for DevExpress v22.1.6 Upgrade*/

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
    padding-right: 15px;
    padding-left: 15px;
}

.pl-4, .px-4 {
    padding-left: 1.5rem !important;
}

.custom-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.dxbs-fl .custom-row {
    margin-left: 0;
    margin-right: 0;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.navbar {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

    .navbar .container,
    .navbar .container-fluid, .navbar .container-sm, .navbar .container-md, .navbar .container-lg, .navbar .container-xl {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

.navbar-brand {
    display: inline-block;
    padding-top: 0.335rem;
    padding-bottom: 0.335rem;
    margin-right: 1rem;
    font-size: 1.1rem;
    line-height: inherit;
    white-space: nowrap;
}

    .navbar-brand:hover, .navbar-brand:focus {
        text-decoration: none;
    }

.progress-bar {
    transition: width 0.6s ease !important;
}

/*#endregion Correction styles for DevExpress v22.1.6 Upgrade*/

html, body {
    height: 100vh;
    overflow: hidden;
}

html, body, p, div {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", "-apple-system", "BlinkMacSystemFont", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-custom-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-custom-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-custom-row > a, .main .top-custom-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-custom-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-custom-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;
    font-size: .77rem;
}

#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;
    }

@media (max-width: 767.98px) {
    .main .top-custom-row:not(.auth) {
        display: none;
    }

    .main .top-custom-row.auth {
        justify-content: space-between;
    }

    .main .top-custom-row a, .main .top-custom-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: custom-row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-custom-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/*#region Custom styles*/

p {
    font-size: .77rem;
    font-family: "Segoe UI","Roboto","Helvetica Neue","-apple-system","BlinkMacSystemFont","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

    p.hyperlinkstyle {
        color: dodgerblue;
        text-decoration: underline;
        cursor: pointer;
    }

    p.warningmessage {
        color: dodgerblue;
        font-size: 14px;
    }

.form-group * {
    line-height: 18px;
    margin-bottom: 0px;
}

li.hyperlinkstyle {
    color: dodgerblue;
    text-decoration: underline;
    cursor: pointer;
}

.e-hint:after {
    content: '\e73d';
    font-size: 18px;
    margin-left: 14px;
    text-align: center;
    color: #fe7109;
    cursor: default;
}

.custom-input {
    width: 100% !important;
    outline: none;
}

.full-width {
    width: 100%;
}

.input-container {
    display: flex;
    width: 100%;
}

.TooltipHintContainer {
    width: 35px;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.InformationLabelStyle {
    width: 100%;
    line-height: normal;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: .77rem !important;
}

.InformationValueStyle {
    width: 100%;
    line-height: normal;
    word-break: break-word;
    display: block;
    white-space: normal;
    font-size: .77rem !important;
}

.DisableUserSelection {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.warning-message {
    color: dodgerblue
}

.center-container {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.italic-font {
    font-style: italic;
}

.deleted {
    text-decoration: line-through !important;
    color: lightgray !important;
}

    .deleted .e-css.e-checkbox-wrapper {
        opacity: 0.5 !important;
    }

.image-button {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 5px;
    width: 28px;
    height: 28px;
}

.image-button-small {
    padding-left: 0px;
    padding-right: 0px;
    width: 30px;
}

/*#endregion Custom styles*/

/*#region Icons*/

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: local('Material Icons'), local('MaterialIcons-Regular');
    }

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-icons-small {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    Preferred icon size display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    Support for all WebKit browsers. -webkit-font-smoothing: antialiased;
    Support for Safari and Chrome. text-rendering: optimizeLegibility;
    Support for Firefox. -moz-osx-font-smoothing: grayscale;
    Support for IE. font-feature-settings: 'liga';
}

.refresh::before {
    content: '\e5d5';
    width: 30px;
    height: 25px;
}

.sort::before {
    content: '\e0c3';
    width: 30px;
    height: 25px;
}

.message::before {
    content: '\e264';
    width: 20px;
    height: 20px;
}

.check::before {
    content: '\e876';
    width: 20px;
    height: 20px;
}

.open::before {
    content: '\e787';
    width: 30px;
    height: 25px;
}

.close1::before {
    content: '\e5cd';
    width: 20px;
    height: 20px;
}

.reply::before {
    content: '\e15e';
    width: 20px;
    height: 20px;
}
/*#endregion Icons*/

/*#region Module specific overrides */

/*#region Posteingang*/

.pe-tree {
    height: 100%;
    width: 100%;
}

    .pe-tree .invisible {
        display: none !important;
    }

.dxbs-tree ul.nav > .nav-item > .nav-link:not(.disabled):not(.active) .message-icon {
    cursor: pointer;
    color: var(--bs-primary);
}

.dxbs-tree ul.nav > .nav-item > .nav-link.active .message-icon {
    cursor: pointer;
    color: white;
}

.dxbs-tree ul.nav > .nav-item > .nav-link:not(.disabled):not(.active) .lesebestaetigung-icon {
    cursor: pointer;
    color: red !important;
}

.dxbs-tree ul.nav > .nav-item > .nav-link.active .lesebestaetigung-icon {
    cursor: pointer;
    color: white;
}

/*#endregion Posteingang*/

/*#endregion  Module specific overrides*/

/*#region Styles for DevExpress Components*/

.EditFormLayout .row .form-group .dxbs-fl-cpt {
    font-weight: normal;
}

.EditFormLayout .card-header {
    padding: 0.25rem 1.25rem;
}

.EditFormLayout .row > .dxbs-fl-gd .row .form-group {
    margin-bottom: 3px;
}

.EditFormLayout .dxbs-fl .row .form-group {
    padding-bottom: 0;
}

.EditFormLayout .row > .dxbs-fl-gd > .card {
    padding-bottom: 10px;
}

.EditFormLayout .row > .dxbs-fl-gd .card > .row {
    padding-top: 10px;
}

.InformationFormLayout .row > .dxbs-fl-gd .card {
    padding-bottom: 10px;
}

    .InformationFormLayout .row > .dxbs-fl-gd .card > .row {
        padding-top: 10px;
    }

.InformationFormLayout .row > .dxbs-fl-gd .row .form-group {
    margin-bottom: 0px;
}

.InformationFormLayout .card-header {
    padding: 0.25rem 1.25rem;
}

.SummaryFormLayout .dxbs-fl-gd .btn {
    margin-top: 1rem;
}

.SummaryFormLayout .dxbs-fl-gd .card {
    padding-bottom: 10px;
}

.SummaryFormLayout .row > .dxbs-fl-gd .card > .row {
    padding-top: 10px;
}

.SummaryFormLayout .dxbs-fl-gd .row .form-group {
    margin-bottom: 0px;
}

.SummaryFormLayout .card-header {
    padding: 0.25rem 1.25rem;
}

.CustomEditor input {
    padding-top: 0px;
    padding-bottom: 0px;
    height: 30px;
}

.CustomEditor .dxbs-edit-btn {
    padding-top: 0px;
    padding-bottom: 0px;
}

.CustomEditor span.dxbs-edit-btn::after {
    vertical-align: 0em !important;
}

.CustomEditor button.dxbs-edit-btn::after {
    vertical-align: 0.2em !important;
}

.CustomEditor .input-group > div {
    height: 30px;
}

.CustomWarningEditor input {
    padding-top: 0px;
    padding-bottom: 0px;
    height: 30px;
}

.CustomWarningEditor .dxbs-edit-btn {
    padding-top: 0px;
    padding-bottom: 0px;
}

.CustomWarningEditor span.dxbs-edit-btn::after {
    vertical-align: 0em !important;
}

.CustomWarningEditor button.dxbs-edit-btn::after {
    vertical-align: 0.2em !important;
}

.CustomWarningEditor .input-group > div {
    height: 30px;
}

/* Disable green border for DxCheckBox that appears after interacting with it. */

.CustomButton {
    min-width: 80px;
}

    .CustomButton.disabled {
        pointer-events: auto !important;
        cursor: default !important;
    }

.image-button-small {
    padding-left: 0px;
    padding-right: 0px;
    width: 30px;
}

    .image-button-small.disabled {
        pointer-events: auto !important;
        cursor: default !important;
    }

.dx-treeview-custom {
    font-size: .77rem !important;
}

.dx-blazor-checkbox {
    margin-top: 3px !important;
}

.right-margin-4 {
    margin-right: 4px;
}

/*#endregion Styles for DevExpress Components*/

/*#region Styles for Syncfusion Components*/
/*Override the style for editor component.*/
.e-control-wrapper {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", "-apple-system", "BlinkMacSystemFont", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-size: .77rem !important;
}

/*Override thead style for other components*/
.e-wrapper {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", "-apple-system", "BlinkMacSystemFont", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-size: .77rem !important;
}

/*Override the style for RadioButton label*/
.e-radio-wrapper .e-radio + label .e-label {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", "-apple-system", "BlinkMacSystemFont", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-size: .77rem !important;
    align-content: center !important;
}

.e-radio-wrapper .e-radio:checked + label::before {
    background-color: #fe7109 !important;
    border-color: #fe7109 !important;
}

.e-radio-wrapper {
    margin-top: 5px !important;
}

/*#region Dialog*/

.e-dialog .e-dlg-header {
    overflow: unset !important;
}

/*#endregion Dialog*/

/*#region Grid*/
/* Override alternative row color */
.e-grid .e-altrow {
    background-color: #fafafa;
}

/* Override selection background-color */
.e-grid .e-selectionbackground {
    background-color: #fe7109 !important;
    color: white !important;
}

/*Override line-height for Grid to resolve ellipsize bug in Firefox & Edge browsers*/
.e-grid-min-height .e-rowcell {
    line-height: inherit !important;
}

/* Override the font size of grid header */
.e-grid .e-headercelldiv {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", "-apple-system", "BlinkMacSystemFont", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-size: .77rem !important;
}
/* Override the font size of grid content */
.e-grid .e-rowcell {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", "-apple-system", "BlinkMacSystemFont", "Arial", "Noto Sans", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-size: .77rem !important;
}

/* Ensure that, the tooltip always appears in front */
.e-tooltip-wrap {
    z-index: 1002;
}

/*#endregion Grid*/

/*#region File Uploader*/

/*Override Uploader's drop-area indicator color*/
.sf-outline-orange {
    outline-color: #fe7109;
}

/*Override font-size for Uploader component*/
button.e-css.e-btn.e-upload-browse-btn {
    font-size: .77rem !important;
}

.e-upload .e-file-select-wrap .e-file-drop {
    font-size: .77rem !important;
}

.e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-name {
    font-size: .77rem !important;
}

.e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-type {
    font-size: .77rem !important;
}

.e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-size {
    font-size: .77rem !important;
}

.e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-status {
    font-size: .77rem !important;
}

/*#endregion File Uploader*/

/*#region Progress Indicator*/

.sf-modal {
    z-index: 10000023;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    overflow: hidden;
}

.sf-hidden {
    visibility: hidden;
}

.sb-loading {
    width: 56px;
    height: 56px;
    position: absolute;
    top: calc(50% - 28px);
    /*left: calc(50% - 28px + 36px);*/
    z-index: 10000;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: inline-block;
    background: white;
}

    .sb-loading.e-hide, .sb-body-overlay.e-hide {
        display: none;
        opacity: 0;
    }

.circular {
    animation: rotate 2s linear infinite;
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
    stroke: #fe7109;
}

.bootstrap4 .path, .fabric .path, .bootstrap .path {
    stroke: #007bff;
}

.highcontrast .path {
    stroke: #ffd939;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

/*#endregion Progress Indicator*/

/*#region SfMenu*/

.e-menu-wrapper ul {
    color: black;
}

    .e-menu-wrapper ul .e-menu-item.e-selected {
        color: black;
    }

    .e-menu-wrapper ul .e-menu-item.e-focused {
        color: black;
    }

    .e-menu-wrapper ul li {
        color: black;
    }

    .e-menu-wrapper ul .e-menu-item .e-caret {
        color: black;
    }

    .e-menu-wrapper ul .e-menu-item.e-selected .e-caret {
        color: black;
    }

    .e-menu-wrapper ul .e-menu-item.e-focused .e-caret {
        color: black;
    }

/*#endregion SfMenu*/

/*#endregion  Styles for Syncfusion Components*/
