﻿:root {
    --tpblue: #0078b9;
    --tblightblue: #4cbced;
    --tpdarkbluegrey: #002756;
    --tpprimary: var(--tpblue);
    --tpprimaryactive: var(--tblightblue);
    --tpprimarydisabled: var(--tpdarkbluegrey);
    --generalborderradius: 0px;
}

html, body {
    font-family: 'Open Sans',sans-serif;
}

.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 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;
}*/

.btn {
    border-radius: var(--generalborderradius);
}

.btn-primary {
    background-color: var(--tpprimary);
}

    .btn-primary:hover, .btn-primary:active {
        background-color: var(--tpprimaryactive);
    }

    .btn-primary.disabled, .btn-primary:disabled {
        background-color: var(--tpdarkbluegrey);
    }

.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;
}

.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: 1.75em;
    }

    .homecard :hover {
        background-color: var(--tpprimaryactive);
    }

.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);
}

.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;
}

.table-success {
    background: #d1e7dd !important;
    color: #212529 !important;
}

    .table-success:hover {
        background: #c1d7cd !important;
        color: #212529 !important;
    }

.e-grid .table-danger {
    background: #f8d7da !important;
    color: #212529 !important;
}

.table-danger:hover {
    background: #e8c7ca !important;
    color: #212529 !important;
}


/*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.white {
        color: white;
        background-color: transparent !important;
    }

    .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-custom3 {
    font-size: 18px;
    border-radius: var(--generalborderradius);
    height: 60px;
/*    width: 250px;*/
    box-shadow: 0px 8px 15px rgba( 0, 200, 120, 0.2);
    background-color: rgb(80, 200, 120);
}


.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;
    }

.mud-table-row.selected {
    background-color: var(--mud-palette-primary) !important;
}

    .mud-table-row.selected > .mud-table-cell {
        color: var( --mud-palette-primary-text) !important;
    }

.mud-button-label {
    align-items: center;
}

.showCursorPointer {
    cursor: pointer;
}

.Typewriter_cursor {
    animation: blinkTextCursor 900ms steps(44) infinite alternate;
}

@keyframes blinkTextCursor {
    from {
        opacity: 0.1;
    }

    to {
        opacity: 1;
    }
}