﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.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;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC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L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: #f7f7f7;
        width: 100%;
        z-index: 1;
    }

    .flex-column, .navbar-brand {
        padding-left: env(safe-area-inset-left);
    }
}




.custom-dxgrid {
    --dxbl-grid-header-bg: #f7f7f7 !important; /* DxGrid Header background color*/
}

    .custom-dxgrid th span {
        color: black; /* DxGrid Header text color*/
    }

    .custom-dxgrid .dxbl-grid-header-content {
        justify-content: center !important; /* DxGrid Header text alignment center */
        font-weight: 420 !important;        /* DxGrid Header text font weight */
    }

    .custom-dxgrid .dxgrid-odd-item > td {
        background-color: rgba(0, 0, 0, 0); /* DxGrid odd row background color */
    }

    .custom-dxgrid .dxgrid-even-item > td {
        background-color: rgba(0, 0, 0, 0.01); /* DxGrid even row background color */
    }

    /*.custom-dxgrid .dxbl-grid-selected-row { 
        background-color: lightcoral !important;*/ /* DxGrid selected row background color */
    /*}*/


/*.dxgrid-odd-item > td {
    background-color: rgba(0, 0, 0, 0);
}

.dxgrid-even-item > td {
    background-color: rgba(0, 0, 0, 0.05);
}*/


/*.dxbl-grid-header-content {
    justify-content: center !important;
    font-weight: 420 !important;
}*/

.ch-720 {
    height: 720px;
}

.ch-400 {
    height: 400px;
}

.cw-400 {
    width: 400px !important;
}

.cw-300 {
    width: 300px !important;
}

.ch-290 {
    height: 290px;
}

.h-100 {
    height: 100% !important;
}

.w-100 {
    width: 100% !important;
}

.font-weight-420 {
    font-weight: 420 !important;
}


.menu-custom-icon-app::before {
    /*content: url("/images/icons/blueprint.svg");*/
    /*content: url("../wwwroot/images/blueprint_16.png");*/
    /*content: url("/images/blueprint_16.png");*/
    /*content: url("_content/BlazorClassLibrary/images/blueprint_16.png");*/
    content: url("../wwwroot/images/icons/settings.svg")
}

.text-none {
    text-transform: none !important;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.bi {
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentcolor;
}

.bi-medium-fonts {
    width: 1.8rem !important;
    height: 1.8rem !important;
}

.menu-icons {
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.mytoolbar {

}

/*.mytoolbar {
    margin-bottom: 10px;
}*/

.always-on-top {
    z-index: 999;
}

.checkbutton {
    background-color: #04AA6D; /* Green */
    border: 1px solid black;
    color: white;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.divcheckbutton {
    width: 25px;
    height: 25px;
    border-width: 1px;
    border-color: black;
    border-style: solid;
}


/*
   Animation
    

.divcheckbutton {
    width: 25px;
    height: 25px;
    border-width: 1px;
    border-color: black;
    border-style: solid;
    opacity: 0.6;
    animation: opacityOut 3s infinite;
}
@keyframes opacityOut {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

*/


.context-menu-wrap .dxbl-context-menu-template {
    white-space: nowrap;
}


.max-content {
    width: max-content !important;
}










.my-py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.my-ps-2 {
    padding-left: 0.5rem !important;
}

.my-px-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

.w-100 {
    width: 100% !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.overflow-auto {
    overflow: auto !important;
}

@media (min-width: 576px) {

    .my-px-sm-3 {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
}

.align-items-center {
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.flex-wrap {
    -webkit-flex-wrap: nowrap !important;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
}

.flex-nowrap {
    -webkit-flex-wrap: nowrap !important;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
}

.flex-row {
    webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: row !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

.flex-column {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -webkit-flex-direction: column !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

.shadow-sm {
    -webkit-box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.d-flex {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}


.view-caption-root {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.xaf-caption-icon-container {
    background: rgba(var(--bs-body-color-rgb), 5%);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    margin-right: 0.5rem;
}

    .xaf-caption-icon-container + .xaf-caption-container {
        max-width: calc(100% - 35.99px - 0.5rem);
    }

.xaf-view-caption-lg {
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 0.125rem;
    color: #243540;
}

.xaf-view-caption-md {
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 0.125rem;
    color: #243540;
}

.xaf-view-caption-sm {
    font-size: 0.9rem;
    line-height: 1.1rem;
}

.xaf-object-caption {
    font-size: 1rem;
    line-height: 1.3rem;
}

.xaf-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.d-block {
    display: block !important;
}

.ms-auto {
    margin-left: auto !important;
}

.text-align-center {
    text-align: center !important;
}

.cursor-pointer {
    cursor: pointer !important;
}


.xaf-flex-auto {
    flex: auto;
}




.xaf-caption-icon, .xaf-nav-menu-item-icon, .xaf-toolbar-item-icon, .xaf-layout-tab-icon, .xaf-layout-group-icon, .xaf-combobox-icon {
    max-width: 16px;
    max-height: 16px;
    width: 16px;
    height: 16px;
}

.dxbl-image {
    --dxbl-image-height: 1rem;
    --dxbl-image-width: 1rem;
    --dxbl-image-margin-x: 0;
    --dxbl-image-margin-y: 0.12496875rem;
    margin: var(--dxbl-image-margin-y) var(--dxbl-image-margin-x);
    width: auto;
    height: auto;
}

.dxbl-image:not(svg) {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    line-height: 1;
}

.dxbl-image:not(.dxbl-image-fill) {
    fill: currentcolor;
}

img, svg {
    vertical-align: middle;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}


.add-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/plus_512.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 16px;
    height: 16px;
}

.add-green-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/plus_green.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.copy-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/copy.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.delete-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/delete.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.excel-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/excel.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.report-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/report.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.filter-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/filter.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.columns-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/triple_columns.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.columns-refresh-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/triple_columns_refresh.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.refresh-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/refresh.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.toolbar-item {
    margin-right: 10px !important;
    border-right-color: rgb(206, 212, 218) !important;
    border-left-color: rgb(206, 212, 218) !important;
}

.visible-button-icon::before {
    content: "icn";
    color: transparent;
    display: inline-block;
    background-image: url("/_content/BlazorClassLibrary/images/pngs/visible_512.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 16px;
    height: 16px;
}


.color-aquamarine{
    color: aquamarine !important;
}

.override-svg-icon-color .mud-svg-icon {
    color: unset !important;
}


.view-caption-root-hover:hover {
    background-color: #f7f7f7;
    color: black;
    border-radius: 50%;
}

.margin-zero {
    margin : 0 !important;
}



.tb-icon {
    width: 1rem;
    height: 1rem;
    background-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    opacity: 0.7;
}

.tb-icon-new {
    -webkit-mask-image: url("/_content/BlazorClassLibrary/images/icons/plus_512.png");
    mask-image: url("/_content/BlazorClassLibrary/images/icons/plus_512.png");
}

.tb-icon-settings {
    -webkit-mask-image: url("/_content/BlazorClassLibrary/images/icons/plus_512.png");
    mask-image: url("/_content/BlazorClassLibrary/images/icons/plus_512.png");
}


/* Wrap group panel text (mainly) for mobile devices*/
.dxbl-grid-group-panel-container > .dxbl-text {
    text-wrap: balance;
}

