:root {
    --tpblue: #0F1730;
    --tblightblue: #045cb4;
    --tpdarkbluegrey: #002756;
    --tpprimary: var(--tpblue);
    --tpprimaryactive: var(--tblightblue);
    --tpprimarydisabled: var(--tpdarkbluegrey);
    --generalborderradius: 0px;

}

html, body {
    font-family: 'Open Sans',sans-serif;
    --mud-typography-default-family: 'Open Sans',sans-serif;
    --mud-typography-default-size: 1rem;
    --mud-typography-default-letterspacing: normal;
    --mud-typography-button-lineheight: 1.5;
    --mud-palette-primary: var(--tpprimary);
    --mud-palette-primary-darken: var(--tblightblue);
    --mud-default-borderradius: var(--generalborderradius);
    --mud-appbar-height: 16px;
    --
}

.sidebar {
    background-image: none !important;
    background-color: var(--tpblue);
}

.top-row {
    height: 10rem !important;
    background-color: var(--tpprimary) !important;
}

.nav-logo {
    max-height: 100%;
    max-width: 100%;
}

/*.nav-item.px-3::marker
{
    display:none !important;
}*/

.nav-item {
    padding-bottom: 0.5rem !important;
}

.nav-item:last-of-type {
     padding-bottom: 0rem !important;
}

    .nav-item:first-of-type {
        padding-top: 0rem !important;
    }

.nav-item a {
    color: white !important;
    border-radius: var(--generalborderradius) !important;
}

.nav-item:hover a:hover {
    background-color: var(--tpprimaryactive);
}

/*.nav-item a.active {
    background-color: var(--tpprimaryactive) !important;
}*/

/* Nav Submenu Styles */
.nav-submenu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-submenu-icon {
    font-size: 0.7rem;
    margin-left: auto;
}

.nav-submenu {
    padding-left: 1.25rem;
    margin-top: 0.25rem;
}

    .nav-submenu .nav-link {
        padding: 0.3rem 1rem;
        font-size: 0.9rem;
    }

        .nav-submenu .nav-link .oi {
            font-size: 0.8rem;
            margin-right: 0.15rem;
        }

    .nav-submenu .oi {
        top: 0px;
    }

.btn {
    border-radius: var(--generalborderradius);
}

.btn-primary {
    background-color: var(--tpprimary);
    border-color: var(--tpprimary);
}

    .btn-primary:hover, .btn-primary:active {
        background-color: var(--tpprimaryactive);
        border-color: var(--tpprimary);
    }

    .btn-primary.disabled, .btn-primary:disabled {
        background-color: var(--tpdarkbluegrey);
        border-color: var(--tpprimary);
    }

.btn-outline-primary {
    color: var(--tpprimary);
    border-color: var(--tpprimary);
}

    .btn-outline-primary:hover {
        color: white;
        background-color: var(--tpprimary);
        border-color: var(--tpprimary);
    }

.bg-primary {
    background-color: var(--tpprimary) !important;
}

.bg-primary-disabled {
    background-color: var(--tpprimarydisabled) !important;
}

.card {
    border-radius: var(--generalborderradius);
}

.homecard {
    text-align: center;
    text-transform: uppercase;
    min-height: 10em;
    margin: 1.5em !important;
    border-radius: var(--generalborderradius);
}

    .homecard .card-title {
        margin-top: 0.5em;
    }

    .homecard :hover {
        background-color: var(--tpprimaryactive);
    }

    .homecard.disabled, .homecard.disabled :hover {
        background-color: var(--tpprimarydisabled) !important;
    }

.card-title .oi {
    font-size: 3rem;
}

.homenewsitem, .homenewsitem .text-muted {
    background-color: var(--tpprimary) !important;
    color: white !important;
    border-color: var(--tpprimaryactive);
}

.list-group-item:first-child {
    border-top-left-radius: var(--generalborderradius);
    border-top-right-radius: var(--generalborderradius);
}

.list-group-item:last-child {
    border-bottom-right-radius: var(--generalborderradius);
    border-bottom-left-radius: var(--generalborderradius);
}

.newsfeed-toggle-symbol {
    color: var(--tpprimary);
    font-weight: 600;
    margin-left: 14px;
}

.e-grid {
    border-radius: var(--generalborderradius);
}

    .e-grid .e-rowcell {
        font-size: 12px;
    }

    .e-grid .e-headercelldiv {
        font-size: 12px;
    }

    .e-grid td.e-active {
        background: var(--tpprimary);
        color: white !important;
    }

/*.e-grid.e-gridhover tr[role="row"]:not(.e-editedrow):hover {
    background: var(--tpprimaryactive);
    color: white !important;
}*/

.form-control {
    border-radius: var(--generalborderradius);
}

.modal-dialog {
    margin-top: 3em !important;
}

.multiline {
    white-space: pre-line;
}

.e-input-group {
    border-radius: var(--generalborderradius) !important;
    line-height: 1.5 !important;
    height: calc(1.5em + .75rem + 5px) !important;
}

    .e-input-group input {
        padding: .375rem .75rem !important;
        height: auto !important;
    }

.e-grid .e-filtered::before {
    color: var(--tpprimaryactive);
}

.stocklist-head {
    background-color: #c99bc5;
}

.legend-box {
    border: 1px solid #dee2e6;
    border-radius: var(--generalborderradius);
}

.e-resetcolumns:before {
    content: '\e407';
}

.e-filterclear:before {
    content: '\e748';
}

.e-tick:before {
    content: '\e718';
}

.e-paste:before {
    content: '\e739';
}

.e-stamp:before {
    content: '\e74c';
}

.e-active a {
    color: springgreen;
}

.e-treeview .e-list-item.e-active > .e-fullrow {
    background-color: var(--tpprimary);
    border-color: var(--tpprimary);
}

    .e-treeview .e-list-item.e-active > .e-fullrow:hover {
        background-color: var(--tpprimaryactive);
        border-color: var(--tpprimaryactive);
    }

.product-treeview {
    max-height: 50rem;
    overflow: auto;
}

    .product-treeview > .e-ul {
        overflow: initial;
    }

    .product-treeview .e-ul {
        padding: 0px;
    }

    .product-treeview .e-list-item {
        padding: 0px;
    }

    .product-treeview .e-list-text {
        font-size: 12px;
    }

.wiki-admin-treegrid .e-row:hover {
    background-color: #ebebeb;
}

.default-font-size {
    font-size: 14px;
}

/*BEGIN FULL SIDEBAR TOGGLE*/
.hiddenSidebar {
    display: none;
    width: 0px;
    height: 0px;
    position: sticky;
    top: 0;
}

.layout-navbar-toggler {
    position: fixed;
    z-index: 1;
    background: none;
    border: none;
    margin: 3px;
}

    .layout-navbar-toggler.nav-white {
        color: white;
    }

    .layout-navbar-toggler.dark {
        color: var(--tpprimaryactive);
    }

@media (min-width: 641px) 

{

    .layout-navbar-toggler {
        display: block;
    }
}

@media (max-width: 640.98px) {
    .layout-navbar-toggler {
        display: none;
    }
}
/*END FULL SIDEBAR TOGGLE*/

.e-dialog {
    border-radius: var(--generalborderradius);
}

/*BEGIN IMAGE GALLERY*/

.imageGallery {
}

    .imageGallery .mud-dialog-title {
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }

        .imageGallery .mud-dialog-title .mud-typography {
            font-size: 0.95rem;
            font-weight: 400;
        }

    .imageGallery .mainPreviewImage {
        width: 100%;
        max-width: 12.5rem;
        cursor: pointer;
    }

    .imageGallery .secondaryPreviewImage {
        width: 100%;
        max-width: 12.5rem;
        max-height: 9.5rem;
        cursor: pointer
    }

    .imageGallery .lightbox .mainImage {
        max-width: 60vw;
        max-height: 520px;
        object-fit: contain;
        cursor: zoom-in;
    }

    .imageGallery .lightbox .thumbnail {
        max-width: 12.5rem;
        max-height: 9.5rem;
        object-fit: contain;
        cursor: pointer
    }

    .imageGallery .lightbox .fullScreenImageContainer {
        z-index: 10;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #0009;
    }

        .imageGallery .lightbox .fullScreenImageContainer .fullScreenImage {
            cursor: zoom-out;
            object-fit: contain
        }

.fullScreenImageContainer {
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0009;
}

    .fullScreenImageContainer .fullScreenImage {
        cursor: zoom-out;
        object-fit: none;
    }

/*END IMAGE GALLERY*/

.showCursorPointer {
    cursor: pointer;
}

.toggleSwitch {
    /*background-color: var(--tpprimary);*/
}

.e-switch-wrapper .e-switch-on {
    background-color: var(--tpprimary);
}

.e-switch-wrapper:hover .e-switch-inner.e-switch-active .e-switch-on, .e-switch-wrapper:hover .e-switch-inner.e-switch-active {
    background-color: var(--tpprimaryactive);
}

.e-switch-wrapper .e-switch-inner {
    /*   border:none;*/
}

.toggleSwitch-label {
    padding: 10px 10px 0 0;
    font-size: 0.9rem;
}

.multilineTextBox {
    height: 10rem !important;
}

    .multilineTextbox
    .textarea.e-input,
    .e-float-input textarea,
    .e-float-input.e-control-wrapper textarea,
    .e-input-group textarea,
    .e-input-group.e-control-wrapper textarea {
        resize: none !important;
    }

.wiki-nav-link {
    color: var(--tpprimary);
}

    .wiki-nav-link.active {
        color: var(--tpprimaryactive);
        font-style: italic;
    }

    .wiki-nav-link a {
        color: var(--tpprimary);
    }

.wiki-nav-link-sf-blazor {
    padding: 0px;
    font-size: 90%;
    line-height: 25px;
}

.wiki-treeview-sf-blazor {
    margin-left: -14px;
}

    .wiki-treeview-sf-blazor .e-fullrow {
        /*    height: 0px;*/
        background-color: white !important;
        border: none;
    }

    .wiki-treeview-sf-blazor a {
        color: var(--tpprimary);
    }

.e-treeview .e-list-item.e-active > .e-text-content .e-icon-expandable {
    color: red;
}

.wiki-treeview-sf-blazor.e-treeview .e-list-item .e-icon-expandable::before, .wiki-treeview-sf-blazor.e-treeview .e-list-item .e-icon-collapsible:before {
    /*   content: '\e700';
    font-size: 12px;*/
    color: #495057;
}

.wiki-treeview-sf-blazor.e-treeview .e-icon-collapsible::before, .wiki-treeview-sf-blazor.e-treeview .e-icon-expandable::before {
    /*padding: 6px;*/
}

.wiki-treeview-sf-blazor.e-treeview .e-list-text {
    min-height: 15px;
}

.wiki-treeview-sf-blazor.e-treeview .e-list-item {
    padding: 4px 0;
}

.wiki-treeview-sf-blazor.e-treeview .e-ul {
    margin: 0;
    padding: 0 0 0 10px;
}


/*.wiki-treeview-sf-blazor .e-fullrow {
    background-color: none !important;
    border-color: none !important;
}

.wiki-treeview-sf-blazor .e-hover .e-fullrow, .wiki-treeview-sf-blazor > .e-fullrow, .e-treeview .e-list-item.e-active > .e-fullrow .e-hover {
    background-color: white;
    border-color: white;
}

.wiki-treeview-sf-blazor .e-active{
    color: var(--tpprimary);
}*/
/*.wiki-nav-link-sf-blazor > .e-treeview .e-list-item.e-active > .e-fullrow {
    background-color: none;
    border-color: none;
}  
*/

.wiki-static-nav-tree {
    list-style-type: none;
    padding-inline-start: 12px;
}

.wiki-static-nav-link {
    font-size: 80%;
    line-height: 1rem;
}

/*.wiki-static-nav-rotate-icon .collapsed {
    transform: rotate(90deg);
}
*/

.wiki-static-nav-toggle-button {
    padding: 0px;
}

.wiki-static-nav-tree .wiki-static-nav-rotate-icon {
    transform: scale(0.6);
}

.wiki-static-nav-tree .collapsed .wiki-static-nav-rotate-icon {
    transform: rotate(-90deg) scale(0.6);
}

.wiki-static-nav-tree .nav-link {
    padding-left: 0.5rem;
}

.blockquote {
    border-left: .25em solid;
    padding: 0 1em;
    color: var(--tpprimary);
}

@media print {
    .noprint {
        /* visibility: hidden;*/
        display: none;
    }
}

.bg-highlight {
    background-color: yellow;
}

.e-listbox-container .e-list-item.e-selected {
    background-color: var(--tpprimary);
}

.alert {
    border-radius: var(--generalborderradius);
}

.markdown-content {
    text-align: justify;
}

/*.markdown-content img {
    display: block;
    margin: auto;
}
*/


.chat-messages {
    display: flex;
    flex-direction: column;
    max-height: 900px;
    overflow-y: auto
}

.chat-messages p {
    margin-block-end: 4px;
}

.chat-message-left,
.chat-message-right {
    display: flex;
    flex-shrink: 0
}

.chat-message-left {
    margin-right: auto
}

.chat-message-right {
    flex-direction: row-reverse;
    margin-left: auto
}

.shape-divider svg {
    fill: var(--tpprimary);
}

/*
    MUDBLAZOR
*/

.mud-button {
    height: 39px;
}

/* Custom icon sizing for inline status edit in grid */
.status-edit-menu .mud-svg-icon {
    font-size: 0.9rem;
        color: var(--tpprimary);
}

/* Custom icon sizing for ticket type conversion menu */
.ticket-type-convert-menu .mud-svg-icon {
    font-size: 1.1rem;
}

/* Priority row highlighting for service ticket grid */
.priority-row {
    background-color: #f8d7da !important;
}

    .priority-row:hover {
        background-color: #f5c6cb !important;
    }

    .priority-row.e-row.e-altrow {
        background-color: #f8d7da !important;
    }

.border-bottom {
    border-bottom: 1px solid #e9ecef;
}


/* MudBlazor table header bold */
.mud-table-sort-label {
    font-weight: bold;
}

.mud-table-cell {
    font-size: 0.8rem;
}

.th{
  font-weight:  bold;
}