﻿@import url('fontawesome/css/solid.css');
@import url('fontawesome/css/fontawesome.css');
@import url('variables.css');
@import url('notification.css');
@import url('mud-extensions.css');


html, body, #app {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background-color-main);
}

#app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    z-index: 1;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.page {
    flex: 1;
}

.page .top-row {
  justify-content: flex-end;
}

.page .top-row > a {
   margin-left: 1.5rem;
 }

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

.nav-item {
  font-size: 0.9rem;
}

.nav-item a {
  border-radius: 4px;
  height: 3rem;
  display: flex;
  align-items: center;
  line-height: 3rem;
}

.sidebar .oi {
  width: 1.5rem;
  font-size: 1.1rem;
}

.sidebar .fas {
  width: 1.5rem;
  font-size: 1.1rem;
}

.content {
  padding-top: 1.1rem;
}

.validation-message {
  color: red;
}

.active .mud-icon-root {
  color: var( --mud-palette-primary) !important;
}

@media (min-width: 768px) {
    #app {
        flex-direction: row;
    }
    
    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .page .top-row {
        position: sticky;
        top: 0;
    }

    .page > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
    
    .sidebar .collapse {
        display: block;
    }
}

@media (min-width:992px) {
    .modal-dialog {
        max-width: 800px;
        margin: 1.75rem auto
    }
}

@media (min-width:1200px) {
    .modal-dialog {
        max-width: 1000px;
        margin: 1.75rem auto
    }
}

.dxbs-modal > .dxbs-popup {
    width: 1000px !important;
}

.mud-breadcrumb-item.mud-disabled>a {
    color: initial;
    opacity: 0.6;
}

.tabs-left {
    min-height: 70vh;
}

.tabs-left .mud-tabs-tabbar.mud-tabs-vertical .mud-tab {
    justify-content: start;
    padding-left: 2rem;
    padding-right: 1rem;
}

.tabs-left .mud-tabs-tabbar.mud-tabs-vertical {
    background-color: transparent;
}

.tabs-left .mud-tabs-tabbar.mud-tabs-vertical .mud-tabs-tabbar-inner {
    background-color: var(--mud-palette-background-gray);
    margin-right: 1rem;
    border-radius: var(--mud-default-borderradius);
}