﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    background-color: white;
}

a, .btn-link {
    color: #0366d6;
}

.main {
    background-color: white;
    padding: 10px;
    height: 80vh;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.sub-main {
    padding: 0px;
    height: 100%;
}

.validation-message {
    color: red;
}

#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;
    }

.flk-scan-container {
    width: 100%;
}

.flk-scan-form {
    width: calc(100% - 40px);
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 10px;
}

    .flk-scan-form table {
        width: 100%;
    }

        .flk-scan-form table td {
            border: 1px solid whitesmoke;
            padding: 5px;
        }

.flk-scan-qr-video {
    width: calc(100% - 40px);
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 10px;
    text-align: center;
    vertical-align: top;
}


.flk-scan-message {
    padding: 10px;
    color: black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 10px;
    margin-bottom: 10px;
}

.flk-scan-message-success {
    padding: 10px;
    color: darkgreen;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: lightgreen;
}

.flk-scan-message-fail {
    padding: 10px;
    color: maroon;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: lightpink;
}

.flk-scan-message-warning {
    padding: 10px;
    color: darkgoldenrod;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: lightyellow;
}


#qr-canvas {
    width: 200px;
    height: 200px;
}


/*FLK CUSTOM*/
.flk-div-page-wrapper {
    padding: 10px;
}

.flk-div-page-title-wrapper {
    padding: 0px;
    border-bottom: 1px solid lightgray;
    background-color: white;
    border-radius: 5px;
    display: flex;
    width: 100%;
}

.flk-div-page-title-flex {
    flex-wrap: wrap;
    text-align: right;
    margin: auto;
    width: 100%;
    padding: 10px;
}

.flk-div-page-qr {
    padding: 0px 0px 0px 0px;
    z-index: 1000;
}

.flk-div-page-title {
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: bold;
    padding: 0px 0px 0px 0px;
    text-align: left;
}

.flk-div-page-descr {
    text-align: left;
}

.flk-div-page-content-wrapper {
    padding: 10px;
    border: 0px solid gray;
    border-radius: 5px;
    width: 100%;
    min-height: 300px;
}

.flk-page-end-wrapper {
    border-top: 1px solid lightgray;
    padding-top: 15px;
    text-align: center;
}

.flk-page-security-failure {
    padding: 50px;
    background-color: lightpink;
    color: red;
    font-size: 24px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.flk-secure-container-not-configured {
    padding: 5px;
    background-color: lightpink;
    color: red;
    font-size: 12px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.flk-container-wrapper {
    border: 1px solid gray;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: teal;
}

.flk-container-title-wrapper {
    display: flex;
    width: 100%;
}

.flk-container-title {
    font-weight: bold;
    color: white;
    vertical-align: middle;
    flex-wrap: wrap;
    padding: 15px;
}

.flk-container-title-switch {
    text-align: right;
    vertical-align: top;
    flex-wrap: wrap;
    padding: 15px;
    margin-left: auto;
}

.flk-container-descr {
    padding: 5px;
    font-style: italic;
    color: white;
}

.flk-container-content-wrapper {
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
}

.flk-detail-container-wrapper {
    margin: 5px;
    padding: 30px;
    box-shadow: inset 2px 5px 20px #555;
}

.flk-detail-container-wrapper-section {
    width: 99%;
    background-color: olivedrab;
    padding: 10px;
    font-weight: bold;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.flk-groupsection-wrapper {
    width: calc(100% - 40px);
    margin: 20px;
    padding: 20px;
    background-color: #00bdbd;
    color: darkslategray;
    padding: 10px;
    font-weight: bold;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: flex;
}

.flk-groupsection-accent {
    width: 20px;
    background-color: teal;
    color: darkslategray;
    padding: 6px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 0px;
    margin-right: 10px;
    flex-wrap: wrap;
    color: white;
    text-align: center;
}

.flk-groupsection-accent-focus {
    width: 20px;
    background-color: teal;
    color: darkslategray;
    padding: 6px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 0px;
    margin-right: 10px;
    flex-wrap: wrap;
    color: white;
    text-align: center;
    animation: mymove 1s infinite;
}

.flk-groupsection-content {
    width: calc(100% - 40px);
    margin: 20px;
    color: darkslategray;
    padding: 10px;
    font-weight: bold;
    border: 1px dotted lightgray;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.flk-div-detail-section-missing {
    padding: 50px;
    margin-top: 30px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

.flk-detail-container-header {
    font-size: 18px;
    font-weight: bold;
}

.flk-icon-for-telerik {
    width: 20px;
    height: 20px;
    background-image: url("../images/beaker_20.png");
    filter: grayscale(100%);
}


@keyframes mymove {
    from {
        background-color: #00bdbd;
    }

    to {
        background-color: hotpink;
    }
}

.flk-groupsection-title {
    width: 90%;
    background-color: #00bdbd;
    color: darkslategray;
    padding: 6px;
    padding-left: 1px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 0px;
    margin-right: 10px;
    flex-wrap: wrap;
    vertical-align: middle;
}

.flk-comp-wrapper {
    display: flex;
    width: 100%;
}

.flk-comp-toc {
    flex-wrap: wrap;
    width: 150px;
    padding: 5px;
    position: fixed;
    background-color: white;
}

.flk-comp-index {
    width: 100%;
    padding: 5px;
    cursor: pointer;
    color: teal;
}

    .flk-comp-index:hover {
        color: hotpink;
    }

.flk-comp-content {
    flex-wrap: wrap;
    margin-left: 150px;
    width: 100%;
    border-left: solid 1px gray;
    background-color: white;
    z-index: 10;
}

.flk-comp-content-full {
    flex-wrap: wrap;
    width: 100%;
}


.flk-edit-form-wrapper {
    padding: 10px;
}

    .flk-edit-form-wrapper table {
        width: 100%
    }

        .flk-edit-form-wrapper table td {
            padding: 10px;
            vertical-align: top;
        }

            .flk-edit-form-wrapper table td:nth-child(1) {
                width: 20%;
                border-bottom: 1px dotted lightgray;
                vertical-align: top;
            }

            .flk-edit-form-wrapper table td:nth-child(2) {
                width: 50%;
                border-bottom: 1px dotted lightgray;
                vertical-align: top;
                font-weight: bold;
            }

            .flk-edit-form-wrapper table td:nth-child(3) {
                width: 30%;
                border-bottom: 1px dotted lightgray;
                vertical-align: top;
            }


.flk-authentication-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: flex;
    width: 900px;
    padding: 100px;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    .flk-authentication-wrapper table {
        width: 100%;
        padding: 10px;
    }

        .flk-authentication-wrapper table td:nth-child(1) {
            width: 50%;
            padding: 10px;
            text-align: right;
        }

        .flk-authentication-wrapper table td:nth-child(2) {
            width: 50%;
            padding: 10px;
            text-align: left;
        }


.flk-authentication-header-accent {
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: hotpink;
    border-radius: 5px;
    width: 30px;
}

.flk-authentication-header {
    padding: 10px;
    color: white;
    background-color: teal;
    text-decoration: none;
    border-radius: 5px;
}

.flk-loader-wrapper {
    display: flex;
    align-items: center;
}

    .flk-loader-wrapper div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

.flk-img-symbol-not-selected {
    filter: grayscale(100%);
    height: 50px;
    padding: 10px;
}

.flk-img-symbol-selected {
    filter: grayscale(0%);
    height: 50px;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.flk-splitter-wrapper {
    display: flex;
    width: 100%;
    padding: 5px;
}

.flk-splitter-div:nth-child(1) {
    flex-wrap: wrap;
    padding: 5px;
    width: 70%;
}

.flk-splitter-div:nth-child(2) {
    flex-wrap: wrap;
    padding: 5px;
    width: 100%;
}

.flk-splitter-div:nth-child(3) {
    flex-wrap: wrap;
    padding: 5px;
}

.flk-splitter-div-wide {
    flex-wrap: wrap;
    padding: 5px;
    width: 100%;
}

.flk-splitter-full {
    flex-wrap: wrap;
    padding: 5px;
    width: 100%;
}

.flk-select-row {
    background-color: lightpink;
}

.flk-table-summary {
    width: 100%;
    text-align: right;
    font-size: large;
}

    .flk-table-summary table {
        width: 100%;
        margin: auto;
        float: right;
        border: none;
    }


    .flk-table-summary td:nth-child(1) {
        text-align: right;
        width: 0px;
        border-bottom: solid 1px red;
    }

    .flk-table-summary td:nth-child(2) {
        border: none;
        width: 200px;
        text-align: right;
        font-size: large;
    }

    .flk-table-summary td:nth-child(3) {
        text-align: right;
        width: 200px;
        border: none;
        font-size: large;
    }

.flk-div-sub-group-title {
    padding: 5px;
    border: solid 1px teal;
    border-radius: 5px;
    background-color: teal;
    color: white;
}

.flk-div-sub-group-content-wrapper {
    margin-top: 10px;
    padding-top: 5px;
    padding-left: 10px;
    border-left: solid 1px hotpink;
}

.flk-div-sub-group-content-wrapper-no-accent-margin {
    margin-top: 10px;
    padding-top: 5px;
    padding-left: 10px;
}

.flk-filter-table {
    width: 100%;
}

    .flk-filter-table tr:nth-child(1) {
        background-color: white;
        font-weight: bold;
    }

        .flk-filter-table tr:nth-child(1) td {
            margin: 0px;
            padding: 10px;
        }


    .flk-filter-table td {
        padding: 10px;
        vertical-align: top;
        margin: 0px;
    }

.flk-blender-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    width: 100%;
    float: left;
    margin: auto;
}

.flk-blender {
    flex-wrap: wrap;
    width: 300px;
    height: 330px;
    border: 1px solid black;
    padding: 5px;
    margin: 10px;
    overflow: scroll;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.flk-blender-title {
    font-weight: bold;
    padding: 5px;
}

.flk-blender-content {
    padding: 5px;
}

.flk-blender-row {
    display: flex;
    width: 100%;
}

.flk-blender-row-title {
    flex-wrap: wrap;
    min-width: 75px;
}

.flk-blender-row-text {
    flex-wrap: wrap;
    font-weight: bolder;
    width: 100%;
}

.flk-blender-row-icon {
    position: relative;
    display: inline-block;
    width: 32px;
}

    .flk-blender-row-icon:hover {
        color: hotpink;
    }

    .flk-blender-row-icon .tooltiptext {
        visibility: hidden;
        width: 80px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! */
        position: absolute;
        width: 80px;
        bottom: 100%;
        left: 50%;
        margin-left: -20px; /* Use half of the width (120/2 = 60), to center the tooltip */
    }

    .flk-blender-row-icon:hover .tooltiptext {
        visibility: visible;
    }

.flk-blender-row-button {
    position: relative;
    display: inline-block;
    width: 32px;
}

    .flk-blender-row-button:hover {
        cursor: pointer;
        color: hotpink;
    }

    .flk-blender-row-button .tooltiptext {
        visibility: hidden;
        width: 80px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! */
        position: absolute;
        width: 80px;
        bottom: 100%;
        left: 50%;
        margin-left: -20px; /* Use half of the width (120/2 = 60), to center the tooltip */
    }

    .flk-blender-row-button:hover .tooltiptext {
        visibility: visible;
    }

.flk-production-wrapper {
    display: flex;
    padding: 0px;
    width: 100%;
    background-color: white;
    /*border: 1px solid hotpink;*/
}

.flk-production-div1 {
    flex-wrap: wrap;
    width: 40%;
    min-width: 150px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: teal;
    color: white;
    border-radius: 5px;
}

.flk-production-div2 {
    flex-wrap: wrap;
    width: 100%;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    background-color: lightgray;
    color: black;
    border-radius: 5px;
}

.flk-production-div3 {
    flex-wrap: wrap;
    width: 30%;
    min-width: 150px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: teal;
    color: white;
    border-radius: 5px;
    text-align: center;
}

.flk-production-schedule-hidden {
    padding-top: 50px;
    text-align: center;
    font-size: 50px;
    color: lightgrey;
}

.flk-production-open-order-hidden {
    padding-top: 20px;
    text-align: center;
    font-size: 20px;
    color: lightgrey;
}

.flk-general-flex-wrapper {
    width: 100%;
    display: flex;
}

.flk-general-flex-wrap {
    flex-wrap: wrap;
    width: 50%;
    vertical-align: middle;
}

.flk-system-menu {
    display: flex;
    width: 100%;
}

.flk-system-menu-item {
    flex-wrap: wrap;
    border: 1px solid grey;
    margin: 10px;
    text-align: center;
    border-radius: 5px;
    color: white;
    background-color: teal;
    width: 150px;
    height: 150px;
    text-decoration: none;
    line-height: 25px;
    align-content: center;
}

    .flk-system-menu-item:hover {
        flex-wrap: wrap;
        border: 1px solid grey;
        margin: 10px;
        text-align: center;
        border-radius: 5px;
        color: white;
        background-color: hotpink;
        width: 150px;
        height: 150px;
        text-decoration: none;
        box-shadow: 8px 8px 10px 0px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .flk-system-menu-item a {
    }

.flk-tab-strip-header {
    padding: 20px;
    color: white;
    background-color: teal;
    border-radius: 5px;
}

.flk-tab-strip-header-selected {
    padding: 20px;
    color: white;
    background-color: hotpink;
    border-radius: 5px;
}

.flk-tab-strip-header-index {
    flex-wrap: wrap;
    padding: 5px;
    border-right: 1px solid black;
    margin-right: 5px;
    font-size: large;
}

.flk-tab-strip-header-titles {
    flex-wrap: wrap;
}

.flk-notice-bar {
    padding: 10px;
    margin-bottom: 20px;
    background-color: teal;
    color: white;
    border-radius: 5px;
    box-shadow: 8px 8px 10px 0px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*NAV*/
nav {
    background-color: teal;
    padding: 5px 10px;
    color: white;
    font-weight: bolder;
    border-radius: 5px 5px 0 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: auto;
    width: 100%;
    display: flex;
    flex-wrap: nowrap; 
    align-items: center;
}

    nav a {
        color: white;
        text-decoration: none;
        flex: 1 1 150px;
        margin: 5px;
        padding: 10px;
        display: block;
        text-align: center;
        box-sizing: border-box;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        height: inherit;
    }

        nav a:hover {
            color: white;
            text-decoration: none;
            background-color: hotpink;
            border-radius: 5px;
            height: inherit;
        }

.onpage {
    color: white;
    text-decoration: none;
    background-color: hotpink;
    border-radius: 5px;
}

subnav {
    display: flex;
    margin-top: 0px;
    margin-left: auto;
    float: right;
    padding: 15px;
    border-radius: 0px 0px 5px 5px;
    box-shadow: inset 2px 0px 5px #555;
    width: 400px;
    background-size: 400% 400%;
    background-image: repeating-linear-gradient( -90deg, teal, hotpink, teal);
    animation: AnimateBG 30s ease infinite;
}

/**SUB NAV ANIMATIONS*/
.subnav-wrapper-bg {
    display: flex;
    width: 100%;
}

.subnav-content {
    flex-wrap: wrap;
    line-height: 30px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: transparent;
}

@keyframes AnimateBG {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.flk-nav-home-link {
    text-decoration: none;
    margin-top: -10px;
}

.flk-nav-home-logo {
    margin-top: -10px;
}

/*SUB NAV (SIM BUTTON)*/
.flk-sub-menu-wrapper {
    display: flex;
    padding: 4px;
    background-color: teal;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}






.flk-sub-menu-accent {
    flex-wrap: wrap;
    padding: 5px 7px 5px 7px;
    margin: 2px;
    cursor: pointer;
    border-radius: 5px;
    min-width: 30px;
    background-color: hotpink;
    color: white;
}

.flk-sub-menu-button {
    flex-wrap: wrap;
    padding: 5px 7px 5px 7px;
    margin: 2px;
    cursor: pointer;
    border-radius: 5px;
    min-width: 30px;
    background-color: teal;
    color: white;
}

    .flk-sub-menu-button:hover {
        background-color: hotpink;
        color: white;
    }


/*WINDOW DECORATION*/
.flk-window-title-accent {
    background-color: hotpink;
    padding: 6px;
    border-radius: 5px;
}

.flk-window-wrapper {
    border-radius: 6px;
}

.flk-secure-container-edit-mode {
    border: 1px solid red;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(50, 0, 0, 0.19);
}

.flk-secure-container-edit-button {
}

.flk-dashboard {
    display: flex;
    flex-wrap: wrap;
}

.flk-dashboard-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    min-width: 250px;
    min-height: 100px;
    flex-direction: column;
}

.flk-dashboard-title {
    font-size: large;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
}

.flk-dashboard-title-item {
    font-size: large;
    font-weight: bold;
    flex-wrap: wrap;
    vertical-align: middle;
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
}

.flk-dashboard-primaryvalue {
    font-size: x-large;
    text-align: center;
    vertical-align: middle;
    margin: auto;
}

.flk-foot-flk {
}

.flk-foot-version {
    font-weight: bold;
}

.flk-foot-dev {
}

.flk-calender-selected-date {
    font-weight: bold;
    border: 1px solid hotpink;
    background-color: lightpink;
}

.telerik-dialog {
    /*z-index: 2001;  Ensure dialog is on top of window */
    z-index: 100000 !important;
}

.telerik-window {
    z-index: 2000; /* Ensure window is behind dialog */
}

.k-grid-table {
    text-transform: uppercase;
}

/* CUSTOM */


button.telerik-blazor.k-button.burger-menu.k-button-solid.k-rounded-md.k-button-md.k-button-solid-base.k-icon-button {
    align-self: center;
}

.burger-menu {
    display: none;
    position: relative;
    background-color: teal;
    color: white;
    border-radius: 5px;
    height: 32px;
}

.main-menu-container {
    display: flex;
    flex-direction: row;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* This ensures the children stretch to fit the container's width */
}

    .main-container table {
        width: 100%;
    }

        .main-container table, .main-container table td {
            box-sizing: border-box;
        }

            .main-container table td, .main-container table th {
                max-width: 200px; /* Or other appropriate max width */
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .main-container table td {
                white-space: nowrap; /* if you want to keep content on a single line */
                overflow: hidden;
                text-overflow: ellipsis;
            }

                .main-container table td img {
                    max-width: 100%; /* Ensure images do not exceed the cell width */
                    height: 100px;
                }


.flk-nav-home-link {
    flex-shrink: 0;
    margin-right: 10px;
}

.flk-nav-home-logo img {
    display: block;
    width: auto;
    height: auto;
}

.subnav-content-spacing {
    float: right;
    margin-left: auto;
}

.filter-table {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

    .filter-table tr {
        min-width: 200px;
        padding: 5px;
    }

    .filter-table td {
        display: flex;
        flex-direction: column;
        padding: 5px;
    }

        .filter-table td div {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            width: 100%;
        }

    .filter-table input, .filter-table .k-combobox {
        width: 10%;
        margin-bottom: 5px;
    }

/* Hide spin buttons in TelerikNumericTextBox */
.k-numeric-wrap-custom .k-input-spinner {
    display: none;
}

/* Ensure the grid container has a fixed height and allows for scrolling */
.fixed-table  {
    height: 1000px; /* Adjust as needed */
    overflow-y: auto;
}

/* Make the grid header sticky */
.fixed-table .k-grid-header {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Ensure header wrap and table header are sticky */
.fixed-table .k-grid-header-wrap {
    overflow: visible; /* Ensure visibility */
}

    .fixed-table .k-grid-header-wrap thead {
        position: -webkit-sticky; /* For Safari */
        position: sticky;
        top: 0;
        z-index: 2; /* Higher than .k-grid-header */
    }

        /* Ensure individual header cells are sticky */
        .fixed-table .k-grid-header-wrap thead th {
            position: -webkit-sticky; /* For Safari */
            position: sticky;
            top: 0;
            z-index: 3; /* Higher than thead */
        }

.red-row {
    background-color: lightpink !important;
}

/* CUSTOM */