﻿/* MUD VARS START*/
:root {
    --mud-drawer-width-mini-left: 90px !important;
    --mud-typography-body1-size: .875rem !important;
    --mud-typography-body2-size: .75rem !important;
    --mud-typography-caption-weight: 400 !important;
    /* --mud-palette-background: #f5f5f5 !important;
    --mud-palette-drawer-background: #f5f5f5 !important;
    --mud-palette-appbar-background: #f5f5f5 !important;*/
    /*--mud-palette-surface: #f2f3f3 !important;*/
    /*--mud-drawer-width-left: 200px !important;*/
    --mud-palette-table-lines: #d7d9db !important;
    --mud-table-pagination-toolbar: 52px !important;
}

:root, .mud-toolbar {
    --mud-internal-toolbar-height: 80px !important;
}

@media (max-width: 600px){
    .mud-table-pagination-information {
        display: none;
    }

    :root {
        --mud-drawer-width-mini-left: 0px !important;
    }
}

/*@media (min-width: 601px) {
    :root, .mud-toolbar {
        --mud-internal-toolbar-height: 115px !important;
    }
}*/
/* MUD VARS END*/

.validation-message {
    color: var(--mud-palette-error) !important;
    margin: 0;
    font-size: .75rem;
    text-align: start;
    font-weight: 400;
    line-height: 1.66;
    letter-spacing: .03333em;
}

.fsh-text-center {
    text-align: center !important;
}

.fsh-text-uppercase {
    text-transform: uppercase;
}

.fsh-nav-child {
    padding-left: 10px !important;
}

.mud-button-filled {
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 30%), 0 2px 2px 0 rgb(0 0 0 / 0), 0 1px 5px 0 rgb(0 0 0 / 10%) !important;
}

/* MUD NavMenu START */
/*.mud-navmenu .mud-tooltip-root
{
    width: 100% !important;
}

.mud-nav-link {
    white-space: normal !important;*/
    /*padding: 12px 16px 12px 38px;*/
    /*padding: 12px 16px 12px 15px !important;
}

    .mud-nav-link.active:not(.mud-nav-link-disabled) {
        border-right: 3px solid var(--mud-palette-primary);
        background-color: rgba(var(--mud-palette-primary-rgb), 0.1);
    }*/
/* MUD NavMenu END */

#blazor-error-ui {
    color: var(--mud-palette-drawer-text);
    background: var(--mud-palette-drawer-background);
}

.mud-overlay-dark {
    backdrop-filter: blur(2px);
}

/* Custom Scrollbar START */
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--mud-palette-primary);
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--mud-palette-primary-darken);
    }
/* Custom Scrollbar END*/

/* MUD Main Container START*/
/*@media (max-width: 600px) {
    .mud-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}*/

/*.mud-container {
    background-color: #f4f4f4 !important;
}*/
/* MUD Main Container END*/

/* MUD input START */
/*.mud-input {
    font-size: .875rem !important;
}*/
/* MUD input END */

/* MUD DIALOG START*/
.mud-dialog {
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 10%), 0 2px 2px 0 rgb(0 0 0 / 0), 0 10px 10px 0 rgb(0 0 0 / 5%) !important;
}

.dialog-fab-button {
    position: fixed;
    bottom: 10%;
    /* background: var(--mud-palette-primary); */
    z-index: 2000;
    right: 0;
    /* cursor: pointer; */
}

.mud-dialog-content {
    max-height: 75vh !important;
    overflow-y: auto !important;
    overflow-x: hidden;
}

.mud-dialog-fullscreen .mud-dialog-title {
    box-shadow: var(--mud-elevation-25);
}

.mud-dialog-fullscreen .mud-dialog-content {
    max-height: calc(100vh - 65px) !important;
    height: calc(100vh - 65px) !important;
    background-color: var(--mud-palette-drawer-background);
    /*background-color: #f5f5f5 !important;*/
    padding: 24px 24px;
}

/*.mud-dialog-fullscreen .mud-dialog-actions {
    display: none !important;
}*/

@media (max-width: 600px) {
    .mud-dialog-fullscreen .mud-dialog-actions {
        position: sticky;
        bottom: 0px !important;
        z-index: calc(var(--mud-zindex-dialog) + 5) !important;
        background-color: var(--mud-palette-drawer-background);
    }
}
/* MUD DIALOG END*/

/* MUD DRAWER START*/
.mud-drawer-mini {
    overflow: hidden;
    height: 100vh !important;
}

.mud-drawer {
    color: var(--mud-palette-text-primary) !important;
}

/*aside.mud-drawer.mud-drawer-fixed.mud-drawer-pos-right.mud-drawer--open.mud-drawer-md.mud-drawer-clipped-never.mud-elevation-25.mud-drawer-temporary {
    max-width: 1536px;
}*/

.mud-drawer-header.flex-column {
    position: sticky;
    top: 0px !important;
    z-index: 5 !important;
    background-color: var(--mud-palette-surface) !important;
}

/*.mud-drawer-content .mud-input-control.mud-input-control-boolean-input:last-child {
    padding-bottom: 100px;
}*/

/*@media (max-width: 600px){
    .mud-drawer-advanced-search .mud-grid .mud-gird-item:last-child{
        padding-bottom: 100px !important;
    }
}*/

/*@media (max-width: 600px) {
    .mud-drawer {
        --mud-drawer-width: 100vw;
    }
}*/

.nav-drawer .mud-drawer-header {
    padding-left: unset !important;
}
/* MUD DRAWER END */

.mud-grid-spacing-xs-3 {
    margin: 0px !important;
    margin-left: -12px !important;
}

::-webkit-scrollbar {
    width: 2px !important;
    height: 6px !important;
}

/* MUD TABLE START */
/*.mud-toolbar {
    height: unset;
}*/

/*.mud-table-toolbar {
    height: unset;
    padding-bottom: 10px !important;
    padding-top: 20px;
}*/

/*.mud-table .mud-toolbar.mud-toolbar-gutters.mud-table-toolbar {
    padding-left: unset !important;
    padding-right: unset !important;
    border-bottom: inset;
}*/

/*.mud-xs-table .mud-table-toolbar {*/
    /*position: sticky;
    top: calc(var(--mud-appbar-height) - var(--mud-appbar-height)/8);
    z-index: 5 !important;*/
    /*background-color: var(--mud-palette-surface);
}*/

    /*.mud-xs-table .mud-table-toolbar button.mud-icon-button {
        width: 55px;
    }*/

/*.mud-table.entity-table .sticky-left {
    left: 0 !important;
    position: sticky !important;
    background-color: var(--mud-palette-background-gray) !important;
    z-index: 3 !important;
    border-right: 1px solid var(--mud-palette-table-lines) !important;
}*/

/*.mud-table.mud-data-grid {
    padding: unset !important;
    height: calc(100vh - 150px) !important;
}*/

/*.entity-table .mud-table-container {
    height: calc(100vh - 285px) !important;
}*/

/*.mud-table-pagination-caption {
    padding-right: unset !important;
}*/

/*.mud-table-pagination-toolbar {
    min-height: unset !important;
    border-top: unset !important;
}*/

.mud-xs-table .mud-table-smalldevices-sortselect {
    display: none !important;
}
/*.mud-xs-table .mud-table-row .mud-table-cell:first-child {
    padding-top: 1rem !important;
}*/
/*.mud-xs-table .mud-table-row .mud-table-cell:last-child {
    padding-bottom: 1rem !important;
}*/
/*@media (max-width: 600px) {
    .mud-table-container {
        height: 630px;
    }
}*/
/* MUD Table END */

/*MUD Card START*/
.mud-card {
    margin-bottom: 20px !important;
}

.mud-card-header .mud-card-header-avatar {
    margin-inline-end: 10px !important;
}

/*.mud-card .mud-card-header {
    background-color: var(--mud-palette-action-disabled-background);
}*/

.mud-card .mud-card-header .mud-card-header-content p {
    font-weight: 500 !important;
}
/*MUD Card END*/


/*MudTabs START*/
.mud-tabs-vertical .mud-tab.uniform-tab {
    width: 300px !important;
    min-width: unset !important;
    justify-content: flex-start !important;
}
/*MudTabs END*/

/*PWA UPDATER START */
body .pwa-updater[b-pwa-updater] {
    --pwa-updater-bar-backcolor: forestgreen;
}

.pwa-updater.align-top.visible[b-pwa-updater] {
    z-index: 4000;
}
/* PWA UPDATER END */

/* Property Photo Drawer START */
#image-viewer-container.form-card:last-child {
    margin-bottom: 100px;
}
/* Property Photo Drawer END */

/* PropertyAddEdit START */

/* PropertyAddEdit END */

.mud-table-pagination-display {
    align-items: center !important;
}