﻿html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif !important;
}

.full-height {
    height: 100% !important;
}

.full-width {
    width: 100% !important;
}

.margin-zero {
    margin: 0 !important;
}

.padding-zero {
    padding: 0 !important;
}

.borderBottom {
    border-bottom: solid 1px;
    border-color: var(--mud-palette-table-lines);
    margin: 5px;
    padding-bottom: 5px;
}

.treeNodeBorder {
    border-bottom: solid 1px;
    border-color: lightgray;
}

.welcome-title {
    font-size: 4em;
    font-weight: 600;
}

.toolbar-padding-left {
    padding-left: 6px !important;
}

/*MudBlazor overridings*/

.mud-treeview.mud-treeview-selected-info .mud-treeview-item-content.mud-treeview-item-selected .mud-typography-body1 {
    font-weight: bold !important;
}

.mud-treeview-item-label {
    border-bottom: solid 1px;
    border-color: var(--mud-palette-table-lines);
}

.mud-nav-link {
    align-items: center;
}


.mud-drawer.mud-drawer-mini.mud-drawer--closed .mud-nav-link {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
}

.mud-drawer.mud-drawer-mini.mud-drawer--closed .mud-nav-link-text {
    display: none;
}

.mud-nav-link.active:not(.mud-nav-link-disabled) {
    background-color: var(--mud-palette-white);
}

.mud-tooltip-root-sidebar {
    width: 100%;
    text-align: center;
}

.mud-expand-panel .mud-expand-panel-content {
    padding: 0;
    margin: 0;
}

.mud-table-cell {
    display: table-cell;
    padding: 0px;
    font-size: .875rem;
    text-align: start;
    font-weight: 400;
    line-height: 1.43;
    border-bottom: 1px solid var(--mud-palette-table-lines);
    letter-spacing: .01071em;
    vertical-align: inherit;
}

.mud-table-head {
    display: none !important;
}

.mud-elevation-1 {
    box-shadow: none;
}

div.mud-tab.mud-tab-active.mud-ripple {
    min-width: 100px !important;
}

div.mud-tab.mud-ripple {
    min-width: 100px !important;
}

.icon-color {
    color: var(--mud-palette-drawer-icon);
}

.no-border {
    border: 0px !important;
}

.flex-row-direction {
    display: flex;
    flex-direction: row;
}

.hover-card:hover {
    background-color: #00a0dc0f;
}

:root{
 --mud-palette-info-hover2: rgba(33, 150, 243, 0.15);
}

.mud-drop-item {
    touch-action: none;
    transform: translate3d(0px, 0px, 0px);
}

.mud-drop-item-preview-start{
    user-select: none;
}

.no-user-select{
    user-select: none;
}

.clickable{
    cursor: pointer;
}
    
.align-items-center{
    display: flex;
    align-items: center;
}

.align-items-start {
    display: flex;
    align-items: flex-start;
}

.flex-direction-column{
    display: flex;
    flex-direction: column;
}

.flex-space-between{
    display:flex;
    justify-content: space-between;
}

.no-box-shadow{
    box-shadow: none;
}

.box {
    transition: box-shadow 0.3s ease;
}

    .box:hover {
        background-color: var(--mud-palette-info-hover)
    } 

.auto-height{
    height: auto;
}

.gray-color {
    color: var(--mud-palette-lines-inputs);
}

.font-small{
    font-size: small;
}

.font-medium {
    font-size: medium;
}

.font-large {
    font-size: large;
}

.font-x-large {
    font-size: x-large;
}

.postion-relative{
    position: relative
}

.flex{
    display: flex;
}

.margin-left-auto{
    margin-left: auto;
}

.item-selected {
    background-color: var(--mud-palette-info-hover);
    color: var(--mud-palette-info);
}

.rz-splitter-bar.rz-splitter-bar-resizable {
    margin: 0px 8px;
}

.mud-list-custom .mud-list-item-text {
    margin-bottom: 0px;
    margin-top: 0px;
}

.scrollable{
    overflow-y: auto;
    overflow-x: hidden;
}

.carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}

.document-view .view-selector .mud-select-input {
    display: flex !important;
    align-items: center !important;
    height: 100%;
}

.document-view .mud-select-input svg {
    margin-bottom: 0px;
}

.process {
    margin: 10px 0;
    text-align: center;
    background-color: var(--mud-palette-lines-default);
    border-radius: 10px;
}

    .process.previous,
    .process.next {
        font-size: 0.9em;
        border: 1px solid var(--mud-palette-lines-default);
    }

    .process.current {
        padding: 20px;
        border: 1px solid var(--mud-palette-lines-default);
        box-shadow: 5px 2px 2px lightgray;
    }

.no-header-grid .k-grid-header {
    display: none;
}

.margin-left-reverse {
    margin-left: -12px !important;
}

.word-wrap {
    word-wrap: break-word;
}

.min-height-zero {
    min-height : 0;
    overflow-y: auto
}

tr.no-drag td.k-drag-cell {
    display: table-column;
}

.mud-overlay {
    position: relative !important;
    height: 100%;
}

@media(min-width:2560px) {
    .mud-container-maxwidth-xxl {
        max-width: 10000px;
    }
}

div[id*="tabComponent"] .mud-tooltip-root {
    width: 130px !important;
}

.border-mud {
    border: 1px solid var(--mud-palette-lines-default);
}

.stepslist-drag td {
    border-top: 1px solid black !important;
    border-bottom: 1px solid black !important;
}

.hide-header-grid thead {
    display: none !important;
}

.mud-drawer {
    overflow-y: hidden;
}

.pwa-updater {
    background-color: darkorange;
    color: white;
    padding: 0 12px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
    height: 32px;
    line-height: 32px;
    font-size: 13px;
    font-family: sans-serif;
    transition: top linear 0.5s, bottom linear 0.5s;
    display: flex;
    justify-content: end;
    align-items: center;
}

    .pwa-updater.align-top {
        top: calc(-1 * 32px - 1px);
    }

    .pwa-updater.align-bottom {
        bottom: calc(-1 * 32px - 1px);
    }

    .pwa-updater.align-top.visible {
        top: 0;
    }

    .pwa-updater.align-bottom.visible {
        bottom: 0;
    }

.pwa-updater-updatenow-button {
    font-size: calc(13px* 0.9);
    font-family: sans-serif;
    background-color: transparent;
    color: white;
    border: solid 2px #ffffff80;
    border-radius: 4px;
    height: calc(32px - 4px);
    line-height: calc(32px - 4px - 2px);
    padding: 0 8px;
    transition: background-color linear 0.2s;
    margin: 0 0 0 8px;
}

    .pwa-updater-updatenow-button:hover {
        background-color: #ffffff40;
    }

.pwa-updater-close-button {
    position: absolute;
    left: 6px;
    width: 32px;
    text-align: center;
    cursor: pointer;
    color: #ffffff80;
    transition: all linear 0.2s;
}

    .pwa-updater-close-button:hover {
        color: #ffffff;
    }