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

body {
    font-size: 12px !important;
}

.row {
    margin: 0px;
}

a, .btn-link {
    color: #0366d6;
}

.false-icon,
.k-icon.false-icon,
.oi.false-icon {
    color: red;
}

.hide-icon,
.k-icon.hide-icon,
.oi.hide-icon {
    color: white;
}

.true-icon,
.k-icon.true-icon,
.oi.true-icon {
    color: blue;
}

.success-icon,
.k-icon.success-icon,
.oi.success-icon {
    color: forestgreen;
}

.k-icon.large-icon {
    width: 20px;
    height: 20px;
}

.k-icon .k-i-filter {
    padding-top: 8px !important;
}


/* Window content padding is too big*/
.k-window-content {
    padding: 0.5rem;
}

/* bold-face all grid titles */
.k-grid .k-grid-header .k-table-th {
    font-weight: bold;
    /*white-space: normal;*/
}

.k-grid th.grid-title-center {
    text-align: center;
}
/* link titles */
th.grid-title-center .k-cell-inner > .k-link {
    justify-content: center;
}

.k-grid .k-command-cell {
    padding: 0px 6px;
}
/* padding on small cells command buttons (std and input), edits*/
.k-grid-sm .k-edit-cell, .k-grid-sm .k-command-cell, .k-grid-sm .k-grid-edit-row td, .k-grid-sm .k-grid-edit-row .k-table-td {
    padding-block: 0px;
    padding-inline: 6px;
}

/* Edit & Display fields*/
.mock-fieldset {
    margin-top: 1rem !important;
}

.display-label {
    width: 35%;
    padding: 0px;
    margin-bottom: .25rem;
    font-weight: 500;
}

.wrap-label {
    white-space: normal;
}

.k-edit-field {
    width: 63%;
}

.k-edit-label {
    width: 35%;
}

.display-field {
    width: 63% !important;
    margin-bottom: .25rem !important;
}

.stand-out {
    color: dodgerblue;
    padding-top: 6px;
    margin-bottom: .25rem;
    text-decoration: underline;
    width: 85%;
}

.hidden {
    display: none;
}
/* Grid global settings */
.no-toolbar .k-toolbar {
    display: none;
}

.k-toolbar label {
    margin-bottom: 0px;
    font-weight: bold;
}

.k-grid {
    line-height: 1rem;
}

    .k-grid th, .k-grid td {
        padding: 6px 8px;
    }

        .k-grid td.right-align, .k-grid th.right-align {
            text-align: right;
        }

        .k-grid td.left-align, .k-grid th.left-align {
            text-align: left;
        }

        .k-grid td.center, .k-grid th.center {
            text-align: center;
        }

td > label {
    margin-bottom: 0px;
}

.button-bar {
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

    .button-bar .button-bar-center {
        justify-content: center;
        gap: 8px;
    }
/* move the filter to the bottom so it won't get cut off with smaller padding*/
.k-grid-header .k-grid-filter {
    align-items: flex-end;
    bottom: 3px;
    height: calc(1.4285714286em + 3px);
}
/* TabStrips & Splitters*/
.k-tabstrip-content, .k-tabstrip > .k-content, k-splitter {
    overflow: hidden;
    padding: 10px 10px;
    border: none;
}

.k-splitter, k-tabstrip {
    height: 100%;
    border: none;
}

.scrollable {
    overflow-y: scroll;
}
/* TileLayout Headers */
.k-tilelayout-item-header {
    background-color: #b1c2f7;
}

    .k-tilelayout-item-header h5 {
        font-weight: bold;
    }

.k-tilelayout-item-body {
    padding: 10px;
}
/* Miscellaneous */
.full-height {
    height: 100%;
}

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


/* override for BlazoredModal z-index set too low */
.blazored-modal-container {
    z-index: 11000 !important;
}

.blazored-modal-overlay {
    z-index: 11001 !important;
}

.blazored-modal {
    z-index: 11002 !important;
}
/*too much room below header since form field has top padding as well*/
.k-form .k-form-legend {
    margin-bottom: 0px !important;
}
/* too much room between, doesn't affect first*/
.k-form .k-form-fieldset {
    margin-top: 1rem !important;
}
/* reduce space between form content and buttons */
.k-form .k-form-buttons {
    margin-top: 1em !important;
}
/* change the column with % for the form labels */
.k-form-label {
    width: 33% !important;
}

.k-form-field-wrap {
    width: calc(66% - 10px) !important;
}

.no-grid-headers .k-grid-header {
    display: none;
}

.no-group-header .k-grouping-header {
    display: none;
}

.no-group-footer .k-group-footer {
    display: none;
}

.no-group-row .k-grouping-row {
    display: none;
}
/* Page Container*/
.card-body {
    padding: .75rem;
}

.program-card {
    height: 100%;
}

    .program-card > .card-body {
        height: 94%;
    }

/* Card footer for buttons */
.dialog-modal .card-footer {
    display: flex;
    justify-content: flex-end;
    padding: .75rem;
}

    .dialog-modal .card-footer:last-child {
        margin-right: 0px;
    }

    .dialog-modal .card-footer button {
        margin-right: 6px;
    }

/* Blazored Modal tweaks */
.blazored-modal {
    padding: 1rem;
}

.blazored-modal-header {
    padding: 0 0 0.75rem 0;
}
/* Use to manage col-**.## classes a little better*/
.no-padding {
    padding: 0px !important;
}

.no-left-padding {
    padding-left: 0px !important;
}

.no-right-padding {
    padding-right: 0px !important;
}


.grid-container {
    height: 99%;
    padding-top: 8px;
    padding-bottom: 8px;
}

    .grid-container .k-grid {
        height: 100% !important;
    }

.content-container {
    height: 98%;
    background-color: #fff;
    border-radius: 3px;
    margin: 10px;
    box-shadow: 1px 1px 5px rgba(0,0,0,.4);
    overflow: hidden;
}

.form-control.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.form-control.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    font-size: .75rem;
    padding-bottom: 6px;
}

#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: 10000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.custom-ellipsis.k-table-td {
    overflow: hidden;
    max-height: 60px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .custom-ellipsis.k-table-td > label {
        display: inline-block;
        width: 100%;
        overflow: hidden;
        max-height: 60px;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-left: 2px;
    }



.top-row {
    z-index: 9;
}


.simplelabel {
    display: block;
    font-size: 70%;
    font-weight: 300;
    margin-bottom: 0px;
}

.simpleinput {
    border: 0;
    outline: 0;
    background: transparent;
    border-bottom: 1px solid grey;
    margin-bottom: 1em;
}

    .simpleinput.valid.modified:not([type=checkbox]) {
        border-bottom: 1px solid #26b050;
    }

    .simpleinput.invalid {
        border-bottom: 1px solid red;
        margin-bottom: 2px;
    }

::placeholder {
    color: steelblue;
    font-size: .7em;
}

@media print {

    .label-div {
        font-size: 2rem;
    }

    .label-header {
        margin-bottom: 4px;
        font-weight: 500;
    }

    .label-attn-program {
        margin-top: 8px;
        color: red
    }
}

/*
    Display TreeList for Blazor as Small until they have the Size for the treelist
*/
.k-grid-md .k-table-th {
    /*padding-block: 4px;*/
    padding-inline: 8px;
}

.k-grid-md td,
.k-grid-md .k-table-td {
    padding-block: 4px;
    padding-inline: 8px;
}

.k-grid-md .k-grid-header .k-table-th > .k-link {
    margin-block: -4px;
    margin-inline: -8px;
    padding-block: 4px;
    padding-inline: 8px;
}

.k-grid-md .k-table-th > .k-cell-inner {
    margin-block: -4px;
    margin-inline: -8px;
}

    .k-grid-md .k-table-th > .k-cell-inner > .k-link {
        padding-block: 4px;
        padding-inline: 8px;
    }


.k-grid-md .k-hierarchy-cell,
.k-grid-md .k-drag-cell {
    padding: 0;
}

    .k-grid-md .k-hierarchy-cell > .k-icon,
    .k-grid-md .k-hierarchy-cell > .k-svg-icon,
    .k-grid-md .k-drag-cell > .k-icon,
    .k-grid-md .k-drag-cell > .k-svg-icon {
        padding-block: 4px;
        padding-inline: 0;
    }

.k-grid-md .k-edit-cell,
.k-grid-md .k-command-cell,
.k-grid-md .k-grid-edit-row td,
.k-grid-md .k-grid-edit-row .k-table-td {
    padding-block: 2px;
    padding-inline: 8px;
}

.k-toolbar-md {
    padding-block: 4px;
    padding-inline: 4px;
    gap: 6px;
    height: 35px;
}
.pl-1 {
    padding-left: 4px;
}

.pl-2 {
    padding-left: 8px;
}

.pl-3 {
    padding-left: 12px;
}

.pl-4 {
    padding-left: 16px;
}

.pr-1 {
    padding-right: 4px;
}

.pr-2 {
    padding-right: 8px;
}

.pr-3 {
    padding-right: 12px;
}

.pr-4 {
    padding-right: 16px;
}