:root {
    --tblr-muted : 600;
    --tblr-font-weight-bold : 600;
    --tblr-breakpoint-xs: 0;
    --tblr-breakpoint-sm: 576px;
    --tblr-breakpoint-md: 768px;
    --tblr-breakpoint-lg: 992px;
    --tblr-breakpoint-xl: 1200px;
    --tblr-breakpoint-xxl: 1400px;
}
.timeline-event-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--tblr-timeline-icon-size, 2.5rem);
    height: var(--tblr-timeline-icon-size, 2.5rem);
    background: var(--tblr-gray-200);
    color: var(--tblr-muted);
    border-radius: var(--tblr-border-radius);
    z-index: 5;
}

.dropdown-menu
{
    z-index: 1021 !important;
}
.datagrid {
    --tblr-datagrid-padding: 1.5rem;
    --tblr-datagrid-item-width: 15rem;
    display: grid;
    grid-gap: var(--tblr-datagrid-padding);
    grid-template-columns: repeat(auto-fit,minmax(var(--tblr-datagrid-item-width),1fr))
}

.datagrid-title {
    font-size: .625rem;
    font-weight: var(--tblr-font-weight-bold);
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1rem;
    color: var(--tblr-muted);
    margin-bottom: .25rem
}

ul.validation-errors>li.validation-message{
    color: red;
}

div#blazor-error-ui{
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    margin-top: -50px;
    margin-left: calc(-100px - 20em);
    background: #f95353;
    padding: 10em;
}

select:invalid{
    border-color: red;
}

div.validation-message{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 0.5em;
    color : #f64c4c;
    font-size: 0.8em;
    font-style: italic;
}

div.input-group-flat>div.form-select>span.me-2{
    margin-top: 0.5em;
}

.popover {
    max-width: 600px;
    min-width: 400px;
}

i.ml-2{
    margin-left: 0.5em !important;    
}

i.mr-2{
    margin-right: 0.5em !important;    
}

i.la,i.lab,i.ti{
    font-size: 1.5em;
}

i.la.mr-2{
    margin-right: 0.5em !important;
}

i.lab.mr-2{
    margin-right: 0.5em !important;
}

.text-right{
    text-align: right;
}
.overflow-y {
    overflow-y: scroll;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-body .bootstrap-datetimepicker-widget {
    position: fixed;
    top: 100px !important;
    left: 40% !important;
}

.hover-selector{
    border-color: red !important;
    border-width: thick !important;
    border-style:dashed !important;
    background-color: #f0f0f0 !important;
    color: #1b1e21;
}

/* Standard syntax */
:fullscreen {
    background-color: whitesmoke;
}

a.full-screen:fullscreen{
    font-size: 1.5em;
    display: none;
}

a.close-full-screen:fullscreen{
    font-size: 1.5em;
}

td.thead-light{
    color: #656d77;
    font-size: .625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.6;
    padding-top: .5rem;
    padding-bottom: .5rem;
}


@media print {
    ::-webkit-input-placeholder { /* WebKit browsers */
        color: transparent !important;
        text-shadow:none !important;
    }
    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color: transparent;
    }
    ::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: transparent;
    }
    :-ms-input-placeholder { /* Internet Explorer 10+ */
        color: transparent;
    }
}


body.theme-dark a.change-theme-dark{
    display: none;
}
body.theme-light a.change-theme-dark{
    display: block;
}
body.theme-dark a.change-theme-light{
    display: block;
}
body.theme-light a.change-theme-light{
    display: none;
}

body.theme-dark input{
    background-color: #1f2936;
    color: #f4f6fa;
}
body.theme-dark div.input-group>button{
    border: 1px solid #dadcde;
}
span.popover{
    background: #d1e8ff;
    padding: 2em;
    min-width: 200px !important;
    left: 25px !important;
}
body.theme-dark span.popover{
   background: #14171a;
}
body.theme-dark a {
    color: #d3dfea;
}
body.theme-dark a:hover {
    color: #3785e7;
}

body.theme-dark .bg-light {
    background: #202e3c !important;
}

body.theme-dark .form-colorinput-color {
    border: 1px solid #b6b8ba;
}

body.theme-dark ::placeholder {
    color: #424c5b !important;
}
body.theme-dark .bg-white {
    background: #262626 !important;
}

body.theme-dark .selectize-input, .selectize-control.single .selectize-input.input-active {
    background: #1f2936;
}


body.theme-dark .table-striped>tbody>tr:nth-of-type(even){
   color: #d0d2d4;
   background: #14171a;
    --tblr-table-accent-bg: #1f2936;
}


body.theme-dark .blazored-typeahead__results {
    position: absolute;
    border: 1px solid #585757;
    min-height: 2rem;
    max-height: 30rem;
    overflow-y: auto;
    z-index: 10;
    width: 100%;
    background: #1f2936;
}

body.theme-dark .blazored-typeahead__result, .blazored-typeahead__notfound, .blazored-typeahead__results-help-template, .blazored-typeahead__results-header, .blazored-typeahead__results-footer {
    padding: .5rem;
    border-top: 1px solid #585757;
    border-bottom: 1px solid #585757;
}
body.theme-dark .blazored-typeahead__active-item, .blazored-typeahead__result:hover, .blazored-typeahead__result:focus {
    background-color: #36516e;
    border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    color: #fff;
    cursor: pointer;
}

body.theme-dark .nav-tabs .nav-link.active {
    color: #e2e7ed;
}
body.theme-dark pre {
    background: #1f2936;
}
body.theme-dark .progress {
    background-color: #3a4c63;
}
body.theme-dark .dropzone {
    background: #232e3c
}
body.theme-dark .alert {
    background: #232e3c;
}
body.theme-dark .text-dark {
    color: #fdffff !important;
}


body.theme-dark .daterangepicker {
    background-color: #1f2936;
}

body.theme-dark .daterangepicker .ranges li:hover {
    background-color: #496fa3;
}

body.theme-dark .select2-dropdown {
    background-color: #232e3c;
}


body.theme-dark .select2-container--default .select2-selection--single {
    background-color: #1f2936;
}

body.theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ecebeb;
}


body.theme-dark .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #58a4fd;
}
body.theme-dark .btn:not(.btn-primary):not(.btn-secondary):not(.btn-danger):not(.btn-green) {
    --tblr-btn-color: 35,46,60;
    --tblr-btn-color-darker: 32,41,54;
    color: #f4f6fa;    
    background-color: #1f2936;
}
body.theme-dark .introjs-tooltip {
    background-color: #263952;
}
body.theme-dark .introjs-button {
    text-shadow: 0 0 0 #fff; 
    background-color: #565758;
}

body.theme-dark .introjs-nextbutton  {
    text-shadow: 0 0 0 #fff; 
    color: #f0f0f0;
}

body.theme-dark .grouped-table tr.grouping-row {
    background-color: #1f1f20 !important;
    text-align: left !important;
    font-weight: bold;
}


img.logo-small-full-dark {
    display: none;
}

body.theme-dark img.logo-small-full-dark {
    display: block;
}
body.theme-dark img.logo-small-full {
    display: none;
}

body.theme-dark .ql-snow .ql-stroke {
    stroke: #e2e2e2;
}
body.theme-dark .ql-editor.ql-blank::before {
    color: #717375;
}

div.field-plot-card:hover{
    color: #1d60b0!important;
    background: rgba(32,107,196,.08)!important;
}