@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');
@import url('switcher-resources/themes.css');
@import url('switcher-resources/theme-switcher.css');

/*#region ---------- Srollbar CSS ----------*/
/*::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-track-piece {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid slategrey;
}

::-webkit-scrollbar-track {
    box-shadow: transparent;
}
*/
/*#endregion*/

/*#region ---------- Basic 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;
}
/*#endregion*/

/*#region ---------- MyBasic CSS ----------*/
h3 {
    width: fit-content;
    align-self: center;
    margin: 0px !important;
}

.validation-message {
    color: red !important;
}

.required {
    color: red !important;
}

    .required:before {
        content: '*';
        color: red !important;
    }

.w-mincontent {
    width: min-content !important;
}

.h-mincontent {
    height: min-content !important;
}


.mw-50 {
    max-width: 50% !important;
}

.global-popup {
    white-space: pre-wrap;
}

.dxbl-popup-cell {
    z-index: 1800 !important;
}

/*#endregion*/

/*#region ---------- Content-ToolBar CSS ----------*/
.content-toolbar {
    width: fit-content !important;
    max-width: 100% !important;
    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
}

.content-toolbar-100 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
}

.content-toolbar-filter {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    align-self: flex-start !important;
    margin: 0 0 .25rem 0;
}

.toolbar-panel-start {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-self: flex-start !important;
    margin: 0 auto .25rem 0;
}

.toolbar-panel-center {
    display: flex;
    align-self: center !important;
    flex: 1 1 auto;
    margin: 0 auto .25rem auto;
}

.toolbar-panel-end {
    display: flex;
    align-self: flex-end !important;
    flex: 0 1 auto;
    margin: 0 0 .25rem auto;
}

.toolbar-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-bottom: .75rem;
    padding-right: .625rem;
}

.toolbar-group-text {
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    padding: .375rem .75rem;
    margin: 0;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--bs-gray-300) !important;
    border: 1px solid !important;
    border-color: var(--bs-primary) !important;
    border-radius: .25rem !important;
    border-right-width: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    color: black;
}

.toolbar-group > .toolbar-group-control {
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .1725em;
    border: 1px solid !important;
    border-color: var(--bs-primary) !important;
    border-radius: .25rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.toolbar-group-control > input {
    width: 100%;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    padding: 4px 6px;
    border-width: 0px !important;
    outline: 0px !important;
}

.toolbar-group > .toolbar-group-checkbox {
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    padding: .1725em;
    border: 1px solid !important;
    border-color: var(--bs-primary) !important;
    border-radius: .25rem !important;
}

.toolbar-action {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    padding-right: .625rem;
}

    .toolbar-action > .toolbar-action-checkbox {
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        display: inline-flex;
        font-size: .875rem;
        font-weight: 400;
        line-height: 1.5;
        padding: 0 .1725em;
        border: 1px solid !important;
        border-color: var(--bs-primary) !important;
        border-radius: .25rem !important;
    }

    .toolbar-action > dxbl-radio-group {
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        display: inline-flex;
        font-size: .875rem;
        font-weight: 400;
        line-height: 1.5;
        padding: 0 .1725em;
        border: 1px solid;
        border-color: var(--bs-primary) !important;
        border-radius: .25rem !important;
    }

        .toolbar-action > dxbl-radio-group > dxbl-check {
            height: 32px;
            align-items: center;
            padding: .1875rem .5rem;
            accent-color: var(--bs-primary) !important;
            cursor: pointer;
        }

            .toolbar-action > dxbl-radio-group > dxbl-check:not(:nth-of-type(1)) {
                border: 1px solid;
                border-top: 0;
                border-right: 0;
                border-bottom: 0;
                border-color: var(--bs-primary) !important;
            }

/*#endregion*/

/*#region ---------- Content-Body CSS ----------*/
.content-body {
    width: 100% !important;
    max-width: 100% !important;
    height: 0;
    max-height: 100% !important;
    flex: 1 1 auto;
}

.content-body-panel {
    padding: 1.5rem 0 1.5rem 0;
    border-bottom: 1px dotted;
}

    .content-body-panel:first-child {
        padding-top: 0;
    }

/*#endregion*/

/*#region ---------- Content-Footer CSS ----------*/
.content-footer-cover {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: flex;
    flex: 1 1 auto;
    flex-flow: column;
    overflow: auto;
}

.content-footer {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0.5rem 0 0 0;
    /*position:absolute;
     bottom: 10px;*/
    display: flex;
    flex: 0 1 auto;
    flex-flow: row;
    column-gap: 5px;
}
/*#endregion*/

/*#region ---------- Content-Modal CSS ----------*/
.content-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #222;
    opacity: 0;
    pointer-events: none;
    top: 3.5rem;
    z-index: 1050;
    transition: opacity 0.5s ease-in-out;
}

.content-modal-shown {
    cursor: pointer;
    pointer-events: all;
    opacity: 0.5;
}
/*#endregion*/

/*#region ---------- Button-Group CSS ----------*/
.btn-group > .btn-radio-control {
    min-height: 35px;
    align-items: center;
    padding: .1875rem .5rem;
    background-color: var(--bs-gray-300) !important;
    border: 1px solid !important;
    border-color: var(--bs-primary) !important;
    accent-color: var(--bs-primary) !important;
    cursor: pointer;
}


.btn-group > .btn-control {
    align-items: center;
    padding: .1875rem .5rem;
    background-color: var(--bs-gray-300) !important;
    border: 1px solid !important;
    border-color: var(--bs-primary) !important;
    cursor: pointer;
}
/*#endregion*/

/*#region ---------- BlockUI CSS ----------*/
.screen-block {
    background: white;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 2147483647;
}

.body-block {
    background: white;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 2000;
}

.splash-screen {
    display: flex;
    flex-flow: column nowrap;
    font-family: "Segoe UI",Roboto,"Helvetica Neue","-apple-system",BlinkMacSystemFont,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

    .splash-screen .spinner-border {
        border: .2em solid;
        border-color: #5f368d #bfbfbf #bfbfbf;
        border-radius: 50%;
        width: 120px;
        height: 120px;
    }

.splash-screen-caption {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.splash-screen-text {
    color: #a1a1a1;
    margin-top: .5rem;
}
/*#endregion*/

/*#region ---------- DxGrid CSS ----------*/
.dxbl-grid .grid-command-expand {
    padding: 0 !important;
}

.dxbl-grid-focused-row .grid-command-expand {
    color: white;
}

.dxbl-scroll-viewer-content .table {
    table-layout: auto;
}
/*#endregion*/

/*#region ---------- Report CSS ----------*/
.report-button {
    display:none;
    width: fit-content;
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

    .report-button.expand {
        display: block;
        width: fit-content;
        border-bottom: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

.report-panel {
    height: 0;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    background-color: var(--bs-body-bg, var(--dxbl-body-bg, #fff));
    display: block !important;
    /*transition: height 750ms 10ms;*/
}

    .report-panel.expand {
        width: 100%;
        height: 100%;
        max-height: 100%;
        overflow: auto;
        margin: auto;
        border: thick double var(--bs-primary);
    }

/*#endregion*/

/*#region ---------- Diagram CSS ----------*/
#diagram .template .template-button {
    cursor: pointer;
    font-size: 8pt;
    fill: navy;
}

.dx-diagram {
    position: relative;
    width: 100% !important;
    height: 100% !important;
}

.dx-scrollable-scroll-content {
    background-color: gray !important;
}

.dx-menu-item-wrapper {
    height: min-content !important;
}
/*#endregion*/

/*#region ---------- Captcha CSS ----------*/
.divCaptach {
    display: flex;
    flex-wrap: nowrap;
}

.btn-refresh {
    border: none;
    height: 30px;
    align-self: center;
    margin-left: 3px;
    border-radius: 4px;
    cursor: pointer;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAxMDAwIDEwMDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMDAgMTAwMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8Zz48Zz48ZyBpZD0icmVmcmVzaCI+PHBhdGggZD0iTTg0MywxNTdDNzU3LjIsNjUuMSw2MzQuNywxMCw1MDAsMTBDMjMwLjUsMTAsMTAsMjMwLjUsMTAsNTAwYzAsMjY5LjUsMjIwLjUsNDkwLDQ5MCw0OTBjMjI2LjYsMCw0MTYuNS0xNTkuMyw0NzEuNi0zNjcuNUg4NDNjLTQ5LDE0MC45LTE4My44LDI0NS0zNDMsMjQ1Yy0yMDIuMSwwLTM2Ny41LTE2NS40LTM2Ny41LTM2Ny41YzAtMjAyLjEsMTY1LjQtMzY3LjUsMzY3LjUtMzY3LjVjMTA0LjEsMCwxODkuOSw0Mi45LDI1Ny4yLDExMC4ybC0xOTYsMTk2SDk5MFYxMEw4NDMsMTU3eiIvPjwvZz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PC9nPg0KPC9zdmc+) no-repeat, #cacaca;
    background-position-y: center;
    background-position-x: center;
    background-size: 70%;
    width: 30px;
}
/*#endregion*/

/*#region ---------- TreeList CSS ----------*/

dxbl-tree-list {
    height: min-content;
    max-height: 100% !important;
}

.alt-item > td:not(.dxbl-grid-empty-cell) {
    background-color: color-mix(in srgb, var(--bs-gray-300), transparent 50%);
}
/*#endregion*/
