:root {
    --dark-fill-color: #242424;
    --dark-text-color: #ffffff;
    --dark-horizontalnav-active-text: #69A1FA;
    --dark-neutral-foreground-rest: #f5f5f5;
    --dark-homeItem-list-background: #FFFFFF1A;
    --dark-homeItem-list-border-color: #FFFFFF1A;
    --base-font-size: 14px;
    --base-line-height: 20px;
    --card-base-height: 146;
    --card-base-width: 312;
    --card-base-gap: 12;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --bs-offcanvas-bg: #212529;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}


.header {
    background: var(--dark-fill-color);
    color: var(--dark-text-color);
}

.top-container {
    align-items: center;
    display: grid;
    grid-column: 1;
    gap: 10px;
    padding: 1px 0px;
    margin: 0px 24px;
    justify-content: space-between;
}

.root-container {
    width: 100%;
    margin: auto;
    position: fixed;
    z-index: 1054;
    text-align: center;
    top: 0;
    background: var(--dark-fill-color);
    color: var(--dark-text-color);
    display: grid;
}

div#top-navbar {
    top: 57px;
    justify-content: center;
}

.top-start-container {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo {
    cursor: pointer;
    grid-area: 1 / 1;
    width: fit-content;
}

    .logo a {
        display: flex;
        outline: none;
    }

.logo-container {
    display: flex;
    outline: none;
    flex-direction: row;
    align-items: center;
    font-size: 24px;
}

.webStartLogo {
    width: 133px;
    height: 20px;
    background: url(logo.png) center center no-repeat;
    background-size: contain;
}

.user-pref-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    grid-area: 1 / 2;
    justify-self: end;
    /*min-height: 48px;*/
    gap: 0px;
}

.list {
    align-items: center;
    display: inline-flex;
    padding-inline: 0px;
}

.defaultItemList {
    height: auto;
    margin: 0px;
    /*margin-inline-end: 2px;*/
    overflow: hidden;
    padding-inline: 0px;
}

.homeItemList {
    background: var(--dark-homeItem-list-background,#FFFFFFE6);
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    border-color: var(--dark-homeItem-list-border-color,#D1D1D1);
    border-radius: 12px;
    height: 34px;
    margin: 0px;
    /*margin-inline-end: 10px;*/
    overflow: visible;
    padding: 4px 8px;
}

.nav-container li {
    display: flex;
    list-style: none;
    padding: 0px 6px;
}

.control {
    font-weight: normal;
    align-items: center;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
    color: var(--dark-neutral-foreground-rest);
    cursor: pointer;
    fill: var(--dark-neutral-foreground-rest);
    font-size: var(--base-font-size);
    justify-content: center;
    line-height: var(--base-line-height);
    outline: none;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

    .control.active {
        font-weight: bold;
    }

.nav-container {
    align-items: center;
    display: flex;
    flex-direction: row;
    height: 46px;
    grid-column: 1;
    justify-self: center;
    transition: all 0.2s ease 0s;
    width: inherit;
}

#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;
    }

.card-header {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.datatable-custom .sorting_desc::after {
    background-image: url("data:image/svg+xml,%3Csvg width='0.7rem' height='0.7rem' viewBox='0 0 292 375' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M131.965 15.3808C139.5 7.12345 152.5 7.12346 160.035 15.3808L262.976 128.193C274.106 140.39 265.453 160 248.941 160H43.0589C26.5474 160 17.8943 140.39 29.0238 128.193L131.965 15.3808Z' fill='%23377dff'/%3E%3Cpath d='M160.035 359.619C152.5 367.877 139.5 367.877 131.965 359.619L29.0238 246.807C17.8942 234.61 26.5473 215 43.0589 215L248.941 215C265.453 215 274.106 234.61 262.976 246.807L160.035 359.619Z' fill='%23dde1ee'/%3E%3C/svg%3E%0A");
    content: "";
}

.datatable-custom .sorting::after, .datatable-custom .sorting_asc::after, .datatable-custom .sorting_desc::after {
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    width: 0.7rem;
    height: 0.7rem;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 0.7rem 0.7rem;
    content: "";
    margin-left: 0.5rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='0.7rem' height='0.7rem' viewBox='0 0 292 375' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M131.965 15.3808C139.5 7.12345 152.5 7.12346 160.035 15.3808L262.976 128.193C274.106 140.39 265.453 160 248.941 160H43.0589C26.5474 160 17.8943 140.39 29.0238 128.193L131.965 15.3808Z' fill='%23dde1ee'/%3E%3Cpath d='M160.035 359.619C152.5 367.877 139.5 367.877 131.965 359.619L29.0238 246.807C17.8942 234.61 26.5473 215 43.0589 215L248.941 215C265.453 215 274.106 234.61 262.976 246.807L160.035 359.619Z' fill='%23dde1ee'/%3E%3C/svg%3E%0A");
}

.datatable-custom .sorting_asc::after {
    background-image: url("data:image/svg+xml,%3Csvg width='0.7rem' height='0.7rem' viewBox='0 0 292 375' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M131.965 15.3808C139.5 7.12345 152.5 7.12346 160.035 15.3808L262.976 128.193C274.106 140.39 265.453 160 248.941 160H43.0589C26.5474 160 17.8943 140.39 29.0238 128.193L131.965 15.3808Z' fill='%23dde1ee'/%3E%3Cpath d='M160.035 359.619C152.5 367.877 139.5 367.877 131.965 359.619L29.0238 246.807C17.8942 234.61 26.5473 215 43.0589 215L248.941 215C265.453 215 274.106 234.61 262.976 246.807L160.035 359.619Z' fill='%23377dff'/%3E%3C/svg%3E%0A");
    content: "";
}

.card .card-header + .table .table-thead-bordered > :not(:last-child) > :last-child > *, .card .card-header + .table-responsive .table-thead-bordered > :not(:last-child) > :last-child > * {
    border-top: 0.0625rem solid rgba(231,234,243,.7);
}

.table-thead-bordered > :not(:last-child) > :last-child > * {
    border-bottom: .0625rem solid rgba(231,234,243,.7);
}

.table thead th {
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
}

.thead-light th {
    background-color: #f8fafd;
}

.datatable-custom tbody td {
    font-size: 0.9rem;
}

.grid-text {
    font-size: 0.8rem;
}

.validation-message {
    color: var(--bs-form-invalid-color);
}

.spinner {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 999999;
}

    .spinner .spindata {
        position: absolute;
        top: 50%;
        left: 45%;
    }

.model-categories {
    max-height: 400px;
    overflow-y: scroll;
}

.ck.ck-powered-by {
    display: none !important;
}

.ck-content {
    padding: 10px !important;
    height: 500px;
}

.s_card_x {
    max-height: calc((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px));
    object-fit: cover;
}

.nav-link.active {
    font-weight: bold;
}

.offcanvas {
    background: #212529 !important;
    color: #dee2e6 !important;
}

.offcanvas.offcanvas-end {
    width: 350px;
}

#bntcloseoffcanvas {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff' %3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z' /%3e%3c/svg%3e");
    height: 7px;
    width: 7px;
}

/*.s_card_2x_2y {*/
/*width: calc((var(--card-base-width) * 2px) + (var(--card-base-gap) * 1px));*/
/*height: calc((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px));
}

.s_card_1x_2y {*/
/*width: calc(var(--card-base-width) * 1px);*/
/*height: calc((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px));
}*/

/*.s_card_2x_2y {
    width: calc((var(--card-base-width) * 2px) + (var(--card-base-gap) * 1px));
    max-height: calc((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px));
}*/

/*.s_card_1x_2y {
    width: calc(var(--card-base-width) * 1px);
    max-height: calc((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px));
}*/
