@font-face {
    font-family: 'Alternate Gothic Std No 2';
    /*src: url('path/to/your/font.otf') format('opentype');*/
    src: url('../fonts/AlternateGothicStd-No2.woff2') format('woff2'), url('../fonts/AlternateGothicStd-No2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'proximanova-bold';
    src: url('../fonts/proximanova-bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/proximanova-regular.woff2') format('woff2');
}

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    background-color: white;
    color: rgb(48, 48, 73);
    font-family: 'Proxima Nova', sans-serif
}

app {
    display: flex;
    flex-flow: column nowrap;
    height: 100vh;
}

.h1, h1 {
    font-family: 'Alternate Gothic Std No 2', sans-serif;
    font-size: 4vmin;
    font-weight: 400;
    line-height: 3.2rem;
    margin: 0 0 1px;
    text-transform: uppercase;
}

h4 {
    font-family: 'Alternate Gothic Std No 2', sans-serif;
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

a, p {
    display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.875rem;
}


.label {
    font-family: Alternate Gothic Std No 2,sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1px;
}

.pre {
    color: rgb(232,82,90);
}

.heading {
    color: rgb(48, 48, 73);
}

.navbar.header-navbar {
    flex-grow: 0;
    flex-wrap: nowrap;
    border: none;
    background-color: inherit;
    border-radius: 0;
    height: 3.5rem;
    min-height: 3.5rem;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.12);
    justify-content: flex-start;
}

.header-navbar .navbar-toggler {
    outline: none;
    border-radius: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    align-self: stretch;
}

    .header-navbar .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
        background-color: transparent !important;
        height: 2rem;
        width: 2rem;
    }

.main {
    display: flex;
    flex-flow: row nowrap;
    flex-grow: 1;
    overflow: auto;
    align-content: flex-start;
}

.sidebar {
    min-width: 200px;
    max-width: 200px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    transition: transform 0.1s ease-out;
    max-height: calc(100vh - 3.5rem);
    overflow: auto;
}

.content {
    flex: 1 1 auto;
    position: center;
    align-content: flex-start;
    justify-content: left;
    align-items: flex-start;
}

.sidebar.collapse {
    display: none;
}

.sidebar.expand {
    display: block;
}

.center-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-text {
    display: grid !important;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.col-budget {
    background-color: antiquewhite;
    padding: 0px;
}

.col-info {
    background-color: bisque;
    padding: 0px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.title {
    font-size: clamp(0.7rem,1.6vw,0.8rem);
    text-overflow: ellipsis;
    overflow: hidden;
}

.title-site-mark {
    font-size: clamp(0.7rem,1.6vw,0.8rem);
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 20px;
}


.title-site {
    font-family: 'Alternate Gothic Std No 2', sans-serif;
    font-size: 1.3rem;
    margin-left: 10px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    overflow: hidden;
    min-width: 100px;
}


#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;
    }

.app-sidebar > .nav-pills > .nav-item:first-of-type {
    padding-top: 1rem;
}

.app-sidebar > .nav-pills > .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.app-sidebar .nav-pills > .nav-item a {
    border-radius: 0px;
    display: flex;
    align-items: center;
}

.app-sidebar > .nav-pills > .nav-item > a {
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: .25rem 1rem .25rem .125rem;
}

.fit-width {
    max-width: 100%;
    background-color: brown;
}

.text-med-varning {
    color: red;
    background-color: white;
}

.text-med-green-color {
    color: green;
    background-color: white;
    font-weight: bold;
}

.invisible {
    visibility: hidden
}

.schemaForm {
    width: 107%;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

    .schemaForm .row {
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px !important;
    }

    .schemaForm .card-header {
        font-size: 14px;
        font-weight: bold;
        height: 24px;
    }

    .schemaForm .form-group {
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

        .schemaForm .form-group label {
            font-weight: 100;
            margin: 0px 0px 0px 0px;
            padding: 0px 0px 0px 0px !important;
            border-spacing: 0px 0px;
        }

        .schemaForm .form-group input {
            margin: -5px 0px 0px 0px;
            border-spacing: 0px 0px;
        }

.schema-bottom {
    margin: 0px 0px 0px 0px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.schema-ass {
    height: 30px;
    width: 100%;
}

.schema-pass {
    margin: 20px 0px 0px 0px;
}

.schema-ass-cap {
    font-size: 11px;
    font-weight: 600;
    width: 30px;
    height: 22px;
}

.schema-grp {
    margin: 10px 0px 0px 0px !important;
    padding: 0px 20px 0px 10px;
}

.at-bottom {
    margin: 0px 0px 0px 0px;
    display: flex;
    align-items: end;
}

.knapp {
    margin: 10px 0px 10px 10px;
}

.myForm {
    margin: 0px;
    padding: 0px;
}

    .myForm .row {
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    .myForm .card-header {
        font-size: 12px;
        font-weight: bold;
        height: 20px;
        padding: 1px 0px 0px 0px;
    }

    .myForm .card {
        padding: 0px;
        margin: 0px;
    }

        .myForm .card .row {
            padding: 0px 0px 3px 0px !important;
            margin: 0px;
        }

    .myForm .form-group {
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
    }

    .myForm .form-control:disabled, .form-control:read-only {
        background-color: rgb(239, 236, 239);
    }

    .myForm .form-group label {
        font-weight: 100;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
        border-spacing: 0px 0px;
    }

    .myForm .form-group input {
        margin: 0px 0px 0px 0px !important;
        padding: 0px 0px 0px 0px !important;
        border-spacing: 0px 0px;
    }

    .myForm .dxbs-fl-item {
        padding: 0px 1px 0px 3px;
    }

    .myForm .dxbs-fl-ctrl {
        display: grid;
    }

.rowseparator {
    min-height: 2px;
}

.chkbox-center {
    width: 10px;
    height: 10px;
    margin: 7px 2px 7px 0px;
    align-self:;
    justify-self: center;
}

.chkbox-left {
    width: 10px;
    height: 10px;
    margin: 7px 2px 7px 0px;
    justify-self: left;
}

.rapportertree {
    font-size: 5px; /* 0.5vm;*/
    text-overflow: ellipsis;
    overflow: hidden;
}

.rapportertree {
}

    .rapportertree .treeview-item-text-container {
        font-size: clamp(0.7rem,1.1vw,1.1rem);
    }

.rappa {
    background-color: red;
}

.field-1r {
    font-size: 11px;
    text-align: right;
    width: 100%;
}

.field-1rs {
    font-size: 9px;
    text-align: right;
    width: 100%;
}

.field-1l {
    font-size: 11px;
    text-align: left;
    width: 100%;
}

.field-1ls {
    font-size: 9px;
    text-align: left;
    width: 100%;
}


.field-err {
    border-color: red;
    background-color: lightpink;
}

.field-2l {
    font-size: 11px;
    text-align: left;
}

.field-2r {
    font-size: 11px;
    text-align: right;
}

.field-3l {
    text-align: left;
    font-size: 11px;
}

.field-3r {
    text-align: right;
    font-size: 11px;
    width: 50%;
}

.field-4 {
    text-align: left;
    font-size: 11px;
}

.field-4l {
    text-align: left;
    font-size: 11px;
    width: 40%;
}

.field-4r {
    font-size: 11px;
    text-align: right;
    width: 40%;
}

.fcap-1l {
    font-size: 9px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.fcap-1r {
    font-size: 9px;
    text-align: right;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.fcap-1c {
    font-size: 9px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.fcap-2l {
    font-size: 9px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.fcap-2r {
    font-size: 9px;
    text-align: right;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.fcap-3l {
    font-size: 9px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.fcap-3r {
    font-size: 9px;
    text-align: right;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.fcap-4l {
    font-size: 9px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.fcap-4r {
    font-size: 9px;
    text-align: right;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.fcap-wl {
    font-size: 9px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.fcap2line {
    height: 30px;
}

.ass-group {
    padding: 0px 2px 0px 0px;
    margin: 0px;
    width: 100px;
}

.assrow {
}

.rubrik {
    border-bottom: 1px solid lightgray;
    font-size: 12px;
    text-align: left;
    width: 100%;
}

.rubrikomkostnaderf {
    border-bottom: 1px solid lightgray;
    font-size: 12px;
    text-align: left;
    width: 100%;
}

.bdggrp1 {
    padding: 0px 5px;
    margin: 0px;
}

.bdggrp1-hdr {
    background-color: #32A09D;
    border-block-color: #32A09D;
    color: white;
    height: 25px;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.bdggrp1-cpt {
    margin: 0px 0px 0px 8px;
    padding: 0px 0px 0px 0px;
    font-size: 13px;
    font-weight: 500;
}

.bdggrp2 {
    margin: 0px 0px 0px 0px !important;
    padding: 10px 10px 0px 10px;
}

    .bdggrp2 .card {
        border: none;
    }

.bdggrp2-hdr {
    background-color: transparent;
    border-block-color: transparent;
    border-bottom: 1px solid black;
    font-weight: 400;
    height: 25px;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.bdggrp2-cpt {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    font-size: 12px;
    font-weight: 400;
}

.fetled {
    font-weight: bolder;
}

.infotext {
    padding: 6px 0px 0px 0px;
    height: auto;
}

.ass-buttons {
}

.ass-button {
}

.just-updated-10 {
    color: white;
    background-color: hsl(240, 100%, 70%);
}

.just-updated-9 {
    color: white;
    background-color: hsl(240, 100%, 72%);
}

.just-updated-8 {
    color: white;
    background-color: hsl(240, 100%, 74%);
}

.just-updated-7 {
    color: white;
    background-color: hsl(240, 100%, 76%);
}

.just-updated-6 {
    color: white;
    background-color: hsl(240, 100%, 78%);
}

.just-updated-5 {
    color: white;
    background-color: hsl(240, 100%, 80%);
}

.just-updated-4 {
    color: white;
    background-color: hsl(240, 100%, 82%);
}

.just-updated-3 {
    color: white;
    background-color: hsl(240, 100%, 84%);
}

.just-updated-2 {
    color: white;
    background-color: hsl(240, 100%, 86%);
}

.just-updated-1 {
    color: white;
    background-color: hsl(240, 100%, 88%);
}

/*.e-checkbox-wrapper .e-frame.e-check,
.e-css.e-checkbox-wrapper .e-frame.e-check {
    background-color: rgb(102, 51, 153);
    border-color: transparent;
    color: #fff;
}

.e-checkbox-wrapper .e-ripple-element,
.e-css.e-checkbox-wrapper .e-ripple-element {
    background: rgba(102, 51, 153, 0.26);
}

.e-checkbox-wrapper:active .e-ripple-check .e-ripple-element,
.e-css.e-checkbox-wrapper:active .e-ripple-check .e-ripple-element {
    background: rgba(102, 51, 153, 0.26);
}


.e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check,
.e-css.e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check {
    background-color: rgb(102, 51, 153);
    border-color: transparent;
    box-shadow: none;
    color: #fff;
}


.e-checkbox-wrapper .e-checkbox:active + .e-frame.e-check,
.e-css.e-checkbox-wrapper .e-checkbox:active + .e-frame.e-check {
    background-color: rgb(102, 51, 153);
    border-color: transparent;
    box-shadow: none;
    color: #fff;
}

.e-checkbox-wrapper:hover .e-frame.e-check,
.e-css.e-checkbox-wrapper:hover .e-frame.e-check {
    background-color: rgb(102, 51, 153);
    border-color: transparent;
    color: #fff;
}

.e-checkbox-wrapper.e-focus .e-ripple-container.e-ripple-check,
.e-css.e-checkbox-wrapper.e-focus .e-ripple-container.e-ripple-check {
    background-color: rgba(102, 51, 153, 0.26);
}

*/ .btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: rgb(232,82,90) !important;
    border-color: rgb(232,82,90) !important;
}

.bg-primary {
    background-color: rgb(48, 48, 73) !important;
}

.btn-primary:hover {
    background-color: rgb(232,82,90);
    border-color: rgb(232,82,90);
}

.nav-item .nav-link.active {
    background-image: none;
    background-color: rgb(48,48,72);
    border-color: rgb(48,48,72);
}

.godkänd {
    background-color: rgba(50, 160, 157, 0.2) !important;
    font-weight: bold;
}


@media (max-width: 1199.98px) {
    .main {
        min-width: 100vw;
        display: flex;
        flex-flow: column nowrap;
    }

    .sidebar {
        display: none;
    }

        .sidebar.expand {
            position: fixed;
            top: 3.5rem;
            left: 0;
            min-width: 100vw;
            background-color: #fff;
            z-index: 1050;
        }

    .app-sidebar > .nav-pills > .nav-item:last-of-type {
        padding-bottom: 0;
    }
}

@media (max-width: 350px) {
    .title {
        font-size: inherit;
    }
}
