.blazor-error-boundary {
    background: url("/img/error.svg") no-repeat 1rem/1.8rem, var(--mud-palette-error);
    padding: 1rem 1rem 1rem 3.7rem;
    color: var(--mud-palette-error-text);
}

.bg-primary-lightest {
    background-color: var(--byggdok-palette-primary-lightest);
}

.lower-app-bar {
    position: fixed;
    top: var(--mud-appbar-height);
    width: 100%;
    transition: margin 225ms cubic-bezier(0, 0, 0.2, 1) 0ms, width 225ms cubic-bezier(0, 0, 0.2, 1) 0ms;
    background-color: var(--byggdok-palette-lower-appbar);
}

.appbar-logo {
    color: var(--byggdok-palette-primary-darker);
    margin-right: 50px;
    font-weight: 300;
    display: flex;
    align-items: center;
}


.appbar-logo-mobile {
    color: var(--byggdok-palette-primary-darker);
    font-weight: 300;
    display: flex;
    align-items: center;
    transform: scale(0.8);
}

.table-fixed-columns{
    width: 100%;
    table-layout: fixed;
}

.logout-link {
    margin-right: 40px;
}

    .logout-link > a {
        white-space: nowrap;
    }
/*Drag and Drop Upload DropZone*/
.dropzone {
    border: 1px dashed #bdbdbd;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--byggdok-palette-text-background);
    font-size: 1.5rem;
    position: relative;
}

    .dropzone:not(.dropzone-disabled):hover {
        color: #00B5D8;
    }

    .dropzone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

        .dropzone input[type=file]:disabled {
            cursor: not-allowed;
        }

        .dropzone input[type=file]::file-selector-button {
            display: none;
        }

.dropzone-disabled {
    color: #00000060;
}

.dropzone-drag {
    background-color: lightgrey;
}

.center-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.byggdok-tab-panel {
    text-transform: initial;
    font-family: 'soleto', 'sans-serif';
    font-size: var(--mud-typography-subtitle1-size);
    font-weight: var(--mud-typography-subtitle1-weight);
    color: var(--byggdok-palette-primary);
    border-bottom: 2px solid white;
}
.byggdok-tab-panel-header {
    background-color: transparent !important;
}
.byggdok-tab-panel-header-active {
    border-bottom: 2px solid var(--byggdok-palette-primary) !important;
}
.byggdok-tab-panel-tab {
    background-color: var(--mud-palette-surface) !important;
    border-top-left-radius: var(--mud-default-borderradius) !important;
    border-top-right-radius: var(--mud-default-borderradius) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-right: 10px !important;
}

.bold {
    font-weight: bold;
}
.no-wrap-text {
    white-space: nowrap;
}

.link-color {
    color: var(--byggdok-palette-primary-mild);
}

.text-color {
    color: var(--byggdok-palette-dark-gray);
}

.disabled-color {
    background-color: var(--byggdok-palette-disabled);
}

.mild-gray-color {
    color: var(--byggdok-palette-gray-mild);
}

.primary-dark-color {
    color: var(--byggdok-palette-primary-darker)
}

.lighter-text {
    color: #5A5A5A;
}

.gray-color {
    color: gray;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.w-90 {
    width: 90%;
}

.rounded-border {
    border-radius: 12px;
}

.remove-skip-buttons > .mud-table-pagination-actions > button:first-child,
.remove-skip-buttons > .mud-table-pagination-actions > button:last-child {
    display: none !important;
}

@media (max-width: 960px){
    .bt-table-toolbar .mud-toolbar {
        height: auto;
        padding: 8px;
    }

    .bt-table-toolbar .mud-table-pagination-toolbar {
        flex-wrap: wrap;
    }
}

.bt-paragraph {
    font-family: 'soleto', 'sans-serif';
    font-size: 14px;
}

.justify-self-center {
    justify-self: center;
}

.preview-image-container {
    position: relative;
    width: fit-content;
    overflow: visible;
}

.h-fit-content {
    height: fit-content;
}

.min-height-100vh{
    min-height: 100vh;
}

.column-checkbox {
    width: 40px;
    text-align: center;
}

.max-content-width {
    width: max-content;
}

@media (max-width: 600px) {
    .mud-dialog-fullscreen {
        overflow-y: auto;
    }
    .max-content-width {
        width: unset;
    }
}

@media (min-width: 960px) {
    .w-50-desktop {
        width: 50%;
    }
}

@media (min-width: 960px) {
    .dialog-fixed-height {
        height: 1100px;
    }
}