:root {
    --bs-dark-rgb: 78, 175, 78;
    --bs-navbar-color: #fff;
    --bs-link-color: #4eaf4e;
    --bs-link-hover-color: #008974;
}

.navbar {
    border-bottom: 2px solid #f5f5f5;
}

.navbar-brand img {
    max-height: 35px;
}

.navbar .nav-link, .navbar .nav-link:hover, .navbar .nav-link:focus, .navbar-toggler i {
    color: #fff;
}

.nav-underline .nav-link.active {
    font-weight:bold;
    border-bottom:1px solid #fff;
}
 
.nav-item .header-customer-name {
        display: block;
        padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
        font-size: var(--bs-nav-link-font-size);
        font-weight: var(--bs-nav-link-font-weight);
        color: #fff;
        text-decoration: none;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    }

.btn-primary {
    --bs-btn-bg: #4eaf4e;
    --bs-btn-border-color: #4eaf4e;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #202a3b;
    --bs-btn-hover-border-color: #202a3b;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #202a3b;
    --bs-btn-active-border-color: #202a3b;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #4eaf4e;
    --bs-btn-disabled-border-color: #4eaf4e;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    color: var(--bs-btn-color) !important;
    background-color: var(--bs-btn-bg) !important;
}

.btn-outline-primary {
    --bs-btn-color: #4eaf4e;
    --bs-btn-border-color: #4eaf4e;
    --bs-btn-hover-bg: #4eaf4e;
    --bs-btn-hover-border-color: #4eaf4e;
    --bs-btn-active-bg: #4eaf4e;
    --bs-btn-active-border-color: #4eaf4e;
    --bs-btn-disabled-color: #4eaf4e;
    --bs-btn-disabled-border-color: #4eaf4e;
}

.btn-close-primary {
    color: #007a45;
    background-image: none;
    filter: none;
    opacity: 1;
}

.offcanvas-title {
    color: #fff;
}

    .offcanvas-title img {
        max-height: 35px;
    }

.cursor-pointer {
    cursor: pointer;
}

/* timeline */
.timeline-row {
    padding-left: 80px !important;
    position: relative;
    padding-top: 30px !important;
    padding-bottom: 15px !important;
}

.timeline-badge {
    display: block;
    width: 55px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 30px;
}

    .timeline-badge:before {
        content: '';
        display: block;
        height: 100%;
        width: 2px;
        background-color: #dee6e3;
        position: absolute;
        left: 0;
        right: 0;
        top: -50%;
        margin: auto;
        z-index: 1;
    }

    .timeline-badge:after {
        content: '';
        display: block;
        height: 100%;
        width: 2px;
        background-color: #dee6e3;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -50%;
        margin: auto;
        z-index: 1;
    }

.timeline-icon {
    display: block;
    width: 55px;
    height: 55px;
    overflow: hidden;
    background-color: #dee6e3;
    line-height: 53px;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: relative;
    z-index: 99;
}

    .timeline-icon *,
    .timeline-icon img {
        display: inline-block;
        vertical-align: middle;
        max-width: 100%;
        max-height: 100%;
    }

.timeline-body-alerttitle {
    font: 400 20px/25px 'Rubik', sans-serif;
    color: #808f95;
    margin-bottom: 10px;
    cursor: pointer;
}

.timeline-inline-box {
    display: inline-block;
    vertical-align: middle;
}

    .timeline-inline-box .btn {
        font: 400 14px/20px 'Rubik', sans-serif;
        border-radius: 6px;
        cursor: default;
    }

    .timeline-inline-box .btn-info, .timeline-inline-box .btn-info:hover, .timeline-inline-box .btn-info:active, .timeline-inline-box .btn-info:focus {
        color: #fff;
        background-color: #4182d8;
        border-color: #4182d8;
    }

    .timeline-inline-box .btn-success, .timeline-inline-box .btn-success:hover, .timeline-inline-box .btn-success:active, .timeline-inline-box .btn-success:focus {
        color: #fff;
        background-color: #479e47 !important;
        border-color: #479e47 !important;
    }

.time-line-date-text {
    font: 400 16px/20px 'Rubik', sans-serif;
    padding-left: 15px;
    color: #808f95;
}

.ptableBody .row:nth-child(2n+2) {
    background-color: #cae7ca;
}

.ptableTotal {
    background-color: #008974;
    color: #fff;
}

.order-comments-tooltip {
    position: absolute;
    right: 0px;
    color: var(--bs-link-color) !important;
}

.theme-color-green {
    color: var(--bs-link-color) !important;
}

.theme-color-background-green {
    background-color: var(--bs-link-color) !important;
}

/* Kendo overrides */
.k-pager {
    color: #4eaf4e !important;
    background-color: #fff !important;
}

.k-button-flat-primary {
    color: #4eaf4e !important;
}

.k-list-item.k-selected {
    background-color: #4eaf4e !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.k-list-item.k-selected, .k-selected.k-list-optionlabel {
    background-color: #4eaf4e !important;
}

.auto-height-grid {
    height: auto;
}

    .auto-height-grid .k-grid-content {
        height: auto !important;
        min-height: 100px;
    }

.k-loading-mask {
    z-index: 2000 !important;
    position: fixed !important;
}

.k-button-solid-primary:hover, .k-button-solid-primary.k-hover, .k-button-solid-primary, .k-calendar .k-calendar-td.k-selected .k-calendar-cell-inner, .k-calendar .k-calendar-td.k-selected .k-link {
    border-color: #4eaf4e !important;
    background-color: #4eaf4e !important;
    box-shadow: inset 0 0 0 2px #4eaf4e !important;
}

.k-calendar .k-calendar-view .k-today.k-focus .k-calendar-cell-inner, .k-calendar .k-calendar-view .k-today.k-focus .k-link {
    box-shadow: 0 0 7px 0 #4eaf4e !important;
}

.k-calendar .k-calendar-view .k-today .k-calendar-cell-inner, .k-calendar .k-calendar-view .k-today .k-link {
    box-shadow: 0 0 7px 0 #4eaf4e !important;
}

.k-grid-header .k-sort-icon, .k-grid-header .k-sort-order {
    color: #4eaf4e !important;
}

.k-grid-header .k-grid-filter.k-active, .k-grid-header .k-header-column-menu.k-active, .k-grid-header .k-grid-header-menu.k-active, .k-grid-header .k-hierarchy-cell .k-icon.k-active,
.k-grid-header .k-hierarchy-cell .k-svg-icon.k-active {
    background-color: #4eaf4e !important;
}

.k-input-solid:focus-within, .form-control:focus {
    border-color: #4eaf4e !important;
    box-shadow: 0 0 0 0.25rem rgba(78, 175, 78, 0.25) !important;
}

.k-chip-solid-base {
    color: #fff !important;
    border-color: #4eaf4e !important;
    background-color: #4eaf4e !important;
}