@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}*/

html, body, #app, .page > .container-fluid{
    height: 100%;
}

.page > .container-fluid {
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1 1 auto;
    min-height: 0;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.main-content {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.scrollable-grid {
    flex: 1;
    min-height: 250px; /* we need some min height otherwise grid may became invisible, 250px gives about 3 rows of content */
}

#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;
}

.menu-toggle {
    border: 0;
    background-color: transparent;
}

.menu-toggle span {
    font-size: 30px;
}

legend {
    padding: 2px;
    font-size: var(--base-size);
    font-weight:600;
    display: contents;
}

fieldset {
    background-color: var(--ui-background);
    border-radius: 20px;
    padding-block-end: 8.75px;
    padding-block-start: 4.9px;
    padding-bottom: 8.75px;
    padding-inline-end: 10.5px;
    padding-inline-start: 10.5px;
    padding-left: 10.5px;
    padding-right: 10.5px;
    padding-top: 4.9px;
    margin: 1rem 0;
}

legend > .k-button-solid-base {
    border-color: transparent;
    background-color: transparent;
}

.scrollable-y{
    height: 100%;
    overflow-y: auto;
}

.code-list-item {
    white-space: nowrap;
}

@media (min-width: 3100px) {
    .col-xxxl {
        flex: 1 0 0%
    }

    .row-cols-xxxl-auto > * {
        flex: 0 0 auto;
        width: auto
    }

    .row-cols-xxxl-1 > * {
        flex: 0 0 auto;
        width: 100%
    }

    .row-cols-xxxl-2 > * {
        flex: 0 0 auto;
        width: 50%
    }

    .row-cols-xxxl-3 > * {
        flex: 0 0 auto;
        width: 33.3333333333%
    }

    .row-cols-xxxl-4 > * {
        flex: 0 0 auto;
        width: 25%
    }

    .row-cols-xxxl-5 > * {
        flex: 0 0 auto;
        width: 20%
    }

    .row-cols-xxxl-6 > * {
        flex: 0 0 auto;
        width: 16.6666666667%
    }

    .col-xxxl-auto {
        flex: 0 0 auto;
        width: auto
    }

    .col-xxxl-1 {
        flex: 0 0 auto;
        width: 8.33333333%
    }

    .col-xxxl-2 {
        flex: 0 0 auto;
        width: 16.66666667%
    }

    .col-xxxl-3 {
        flex: 0 0 auto;
        width: 25%
    }

    .col-xxxl-4 {
        flex: 0 0 auto;
        width: 33.33333333%
    }

    .col-xxxl-5 {
        flex: 0 0 auto;
        width: 41.66666667%
    }

    .col-xxxl-6 {
        flex: 0 0 auto;
        width: 50%
    }

    .col-xxxl-7 {
        flex: 0 0 auto;
        width: 58.33333333%
    }

    .col-xxxl-8 {
        flex: 0 0 auto;
        width: 66.66666667%
    }

    .col-xxxl-9 {
        flex: 0 0 auto;
        width: 75%
    }

    .col-xxxl-10 {
        flex: 0 0 auto;
        width: 83.33333333%
    }

    .col-xxxl-11 {
        flex: 0 0 auto;
        width: 91.66666667%
    }

    .col-xxxl-12 {
        flex: 0 0 auto;
        width: 100%
    }

    .offset-xxxl-0 {
        margin-left: 0
    }

    .offset-xxxl-1 {
        margin-left: 8.33333333%
    }

    .offset-xxxl-2 {
        margin-left: 16.66666667%
    }

    .offset-xxxl-3 {
        margin-left: 25%
    }

    .offset-xxxl-4 {
        margin-left: 33.33333333%
    }

    .offset-xxxl-5 {
        margin-left: 41.66666667%
    }

    .offset-xxxl-6 {
        margin-left: 50%
    }

    .offset-xxxl-7 {
        margin-left: 58.33333333%
    }

    .offset-xxxl-8 {
        margin-left: 66.66666667%
    }

    .offset-xxxl-9 {
        margin-left: 75%
    }

    .offset-xxxl-10 {
        margin-left: 83.33333333%
    }

    .offset-xxxl-11 {
        margin-left: 91.66666667%
    }

    .g-xxxl-0, .gx-xxxl-0 {
        --bs-gutter-x: 0
    }

    .g-xxxl-0, .gy-xxxl-0 {
        --bs-gutter-y: 0
    }

    .g-xxxl-1, .gx-xxxl-1 {
        --bs-gutter-x: 0.25rem
    }

    .g-xxxl-1, .gy-xxxl-1 {
        --bs-gutter-y: 0.25rem
    }

    .g-xxxl-2, .gx-xxxl-2 {
        --bs-gutter-x: 0.5rem
    }

    .g-xxxl-2, .gy-xxxl-2 {
        --bs-gutter-y: 0.5rem
    }

    .g-xxxl-3, .gx-xxxl-3 {
        --bs-gutter-x: 1rem
    }

    .g-xxxl-3, .gy-xxxl-3 {
        --bs-gutter-y: 1rem
    }

    .g-xxxl-4, .gx-xxxl-4 {
        --bs-gutter-x: 1.5rem
    }

    .g-xxxl-4, .gy-xxxl-4 {
        --bs-gutter-y: 1.5rem
    }

    .g-xxxl-5, .gx-xxxl-5 {
        --bs-gutter-x: 3rem
    }

    .g-xxxl-5, .gy-xxxl-5 {
        --bs-gutter-y: 3rem
    }
}

span.k-input{
    overflow: visible;
}

@keyframes blinkbox-shadow {
    0% {
        box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -webkit-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -moz-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
    }

    50% {
        box-shadow: 0px 0px 23px 4px rgba(255,0,0,1);
        -webkit-box-shadow: 0px 0px 23px 4px rgba(255,0,0,1);
        -moz-box-shadow: 0px 0px 23px 4px rgba(255,0,0,1);
    }

    100% {
        box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -webkit-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -moz-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
    }
}

@-webkit-keyframes blinkbox-shadow {
    0% {
        box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -webkit-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -moz-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
    }

    50% {
        box-shadow: 0px 0px 23px 4px rgba(255,0,0,1);
        -webkit-box-shadow: 0px 0px 23px 4px rgba(255,0,0,1);
        -moz-box-shadow: 0px 0px 23px 4px rgba(255,0,0,1);
    }

    100% {
        box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -webkit-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
        -moz-box-shadow: 0px 0px 23px 4px rgba(255,0,0,0);
    }
}

.validation-error {
    -webkit-animation: blinkbox-shadow 1.0s linear 2;
    -moz-animation: blinkbox-shadow 1.0s linear 2;
    -ms-animation: blinkbox-shadow 1.0s linear 2;
    -o-animation: blinkbox-shadow 1.0s linear 2;
    animation: blinkbox-shadow 1.0s linear 2;

    background-color: rgba(255, 0, 0, 0.1);
}
/* show buttons  in popup forn without scrolling*/
.popup-form .k-window-content{
    padding-bottom: 0;
}
.popup-form form {
    position: relative;
}

.popup-form form .k-form-buttons {
    position: sticky;
    left: 0;
    background: #fff;
    bottom: 0;
    padding-left: 0;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 16px;
}

.list-wrap{
    height:100%;
}

span.custom-ellipsis,
div.custom-ellipsis,
/* OnCellRender */
.k-grid td.custom-ellipsis,
/* OnRowRender */
.k-grid tr.custom-ellipsis .k-table-td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#Grid{
    min-height: 0;
}

.k-listview-pager{
    overflow-x: auto;
}
/* overview grid status colors */
#OverviewGrid .EUA_14 {
    background-color: lightgray;
}

#OverviewGrid .EUA_10 {
    background-color: gray;
    color: #fff;
}

#OverviewGrid .EUA_5 {
    background-color: green;
    color: #fff;
}

#OverviewGrid .EUA_3 {
    background-color: #1cdd1c;
    /*color: #fff;*/
}

#OverviewGrid .EUA_9,
#OverviewGrid .EUA_13 {
    background-color: darkorange;
    color: #fff;
}

#OverviewGrid .EUA_16 {
    background-color: lightcyan; /* very light blue ? */
}

#OverviewGrid .EUA_15,
#OverviewGrid .EUA_4 {
    background-color: lightblue;
}

#OverviewGrid .EUA_6,
#OverviewGrid .EUA_11,
#OverviewGrid .EUA_12,
#OverviewGrid .EUA_7,
#OverviewGrid .EUA_2,
#OverviewGrid .EUA_8 {
    background-color: #f9ff6e;
}

input.input-uppercase, .input-uppercase input {
    text-transform: uppercase;
}

.k-svg-icon > svg {
   max-width: 100%;
   max-height: 100%;
}