/* Colors Changes */
:root {
    /* --mud-palette-table-striped: #EFF5F5  !important; */
}

@media print {
    body {
        font-size: 12pt;
    }

    .print-area {
        margin: 10mm;
    }
}

/* Custom */
.nav-menu-bg {
    background: none;
    box-shadow: none;
}

.mud-nav-link .mud-nav-link-icon {
    opacity: 0.5;
    font-size: 1rem;
}

.mud-nav-link {
    align-items: center;
}

.mud-nav-link.active {
    background: #f4f4f2 !important;
    color: var(--mud-palette-primary) !important;
}

.mud-nav-link.active .mud-nav-link-icon {
    color: var(--mud-palette-primary) !important;
    opacity: 1 !important;
}

/* Tab Bar */
.mud-tab-active {
    background: #fff !important;
    color: var(--mud-palette-primary) !important;
}

/* Selects in App Drawer */
.side-select.mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin: 0 !important;
    color: #fff !important
}

.side-select.mud-input-control svg {
    fill: #fff !important;
    height: 20px;
}

.side-select .mud-input > input.mud-input-root, .side-select div.mud-input-slot.mud-input-root {
    padding: 4px 0 !important;
}

/* Calendar Styles */
.cal-wrap {
    background-color: #fff;
    border: 1px solid #b6c6c7;
    margin-top: 1rem;
    max-height: 1100px;
    overflow: auto;
    position: relative;
}

.cal-grid {
    display: flex;
    background-color: #fff;
    position: relative;
}

.cal-row {
    display: flex;
    height: 24px;
    border-bottom: 1px solid #b6c6c7;
}

.cal-row:nth-of-type(even) {
    display: flex;
    height: 24px;
    border-bottom: 1px dotted #b6c6c7;
}

.cal-time {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    margin-right: .5rem;
    white-space: nowrap;
    padding: 0 .5rem;
    align-items: end;
    font-weight: 600;
    z-index: 200;
    height: 18px;
    margin-top: -9px;
}

/* For Fixed Header Week and Date */
.cal-row:nth-of-type(1) {
    top: 0;
    position: sticky;
    background: var(--mud-palette-primary);
    z-index: 1200;
    color: #fff;
}

.cal-row:nth-of-type(1) svg {
    fill: #fff;
}

.cal-row:nth-of-type(1):after {
    content: "";
    position: absolute;
    right: -1px;
    height: 100%;
    width: 1px;
    background: var(--mud-palette-primary);
}

.cal-row:nth-of-type(1) .cal-col {
    border: 0;
}

/*
.cal-row:nth-of-type(2) {
    height: 40px;
    position: sticky;
    top: 24px;
    background: #fff;
    z-index: 1200;
}
*/
.cal-month, .cal-day, .cal-day-date {
    display: flex;
    align-content: center;
    align-items: center;
    margin: 0 auto;
    font-weight: 600;
}

.day-number {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    width: 32px;
    height: 32px;
    margin-left: 1rem;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.day-number.active {
    background: rgba(255, 255, 255, 1);
    color: #497174;
}
/* End For Fixed Header Week and Date */

.cal-col {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 200px;
    border-right: 1px solid #b6c6c7;
}

.cal-col:first-of-type {
    flex: 0;
    min-width: min-content;
    background: #fff;
}

.cal-event {
    display: flex;
    flex-direction: column;
    padding: .25rem;
    margin: .1rem;
    outline: 1px solid #ccc;
    box-sizing: border-box;
    flex: auto;
    position: relative;
    z-index: 2;
    border-radius: .25rem;
}

.cal-event:hover {
    z-index: 4;
}

.filtertable th:not(.mud-table-empty-row) {
    background: var(--mud-palette-primary) !important;
    color: #fff !important;
}

.filtertable th.mud-table-empty-row {
    font-style: italic;
    font-weight: normal;
}

.filtertable th svg {
    fill: #fff;
    color: #fff;
}


.mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row:hover {
    background-color: #dbe3e3;
}

.mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(odd) {
    background-color: #edf1f1;
}

.mud-table-hover.mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(odd):hover {
    background-color: #dbe3e3;
}

/* MudTable Simple */
.mud-simple-table.mud-table-striped .mud-table-container table tbody tr:nth-of-type(odd) {
    background-color: #edf1f1;
}

.mud-table-hover.mud-table-striped .mud-table-container table tbody tr:nth-of-type(odd):nth-of-type(odd):hover {
    background-color: #dbe3e3;
}

.mud-simple-table.mud-table-hover .mud-table-container table tbody tr:hover {
    background-color: #dbe3e3;
}


.mud-data-grid .mud-table-cell.sticky-left {
    background-color: #edf1f1;
}

.mud-data-grid .mud-table-cell.sticky-right {
    background-color: #edf1f1;
}

/*
.mud-nav-link.active:not(.mud-nav-link-disabled) {
    background: rgba(0, 0, 0, 0.5);
}

.mud-nav-link.active:not(.mud-nav-link-disabled) .mud-nav-link-icon {
    opacity:1;
}

.mud-nav-link .mud-nav-link-expand-icon {
    color: #fff;
}
 */

/* Probably can remove this below, from old project? */

/*
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.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;
}
*/

/*
.template-table {
    width: 100%;
    table-layout: fixed;
}

.template-table-header-col {
    border-right: 1px solid;
    border-right-color: var(--mud-palette-table-lines);
}

.template-table-col-clipped {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.template-table-col-clipped:hover {
    text-overflow: clip;
    white-space: normal;
    word-break: break-all;
}

.template-table-input {
    outline: none;
    border: 1px solid;
    border-color: var(--mud-palette-table-lines);
    width: 100%;
}

.template-table-input:focus,
.template-table-input:active {
    border-color: transparent;
    border-bottom: 2px solid #005eaa;
}

.mud-charts-gridlines-yaxis path {
    stroke-width: 1.5px;
}

.mud-charts-gridlines-xaxis-lines path {
    stroke-width: 1.5px;
}
*/
