﻿body {
    overflow-x: hidden;
    padding-top: 0px;
    min-height: 100vh;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

    #sidebar-wrapper .sidebar-heading {
        padding: 0.875rem 1.25rem;
        font-size: 1.2rem;
    }

    #sidebar-wrapper .list-group {
        width: 15rem;
    }

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
        padding: 10px;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -17rem;
    }
}

.navbar {
    background-color: #000;
}

* {
    font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 1.42857143;
}

.d6-title-bar {
    padding: 10px;
    min-height: 5px;
    width: 100%;
    white-space: nowrap;
    color: black;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    padding-left: 20px;
    background: #e6a323;
    float: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125)
}

.d6-nav-icon {
    font-weight: 100 !important;
    margin-left: 10px;
    margin-right: 10px;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 12px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 12px;
}


.ts-nav-icon {
    font-weight: 400 !important;
    margin-left: 10px;
    margin-right: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}

.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0,174,239,.15);
    border-right: 6px solid rgba(0,174,239,.15);
    border-bottom: 6px solid rgba(0,174,239,.15);
    border-top: 6px solid rgba(0,174,239,.8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}



.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #e6a323;
}

    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        color: black;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #4f2f01;
            color: white;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #f1f1f1;
            color: #2c464a;
        }

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid black;
    border-top: none;
}


.pagination {
    text-align: right;
}

    .pagination ul li {
        display: inline-block;
    }

    .pagination a {
        color: black;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        transition: background-color .3s;
        border: 1px solid #ddd; /* Gray */
    }

        .pagination a.active {
            border: 1px solid #bfbfbf !important;
            background-color: #2eaad8;
            background: linear-gradient(#2eaad8,#0098c7);
            text-shadow: none;
            color: white;
        }

        .pagination a:hover:not(.active) {
            background-color: #337ab7;
        }

        .pagination a:first-child {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }

        .pagination a:last-child {
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }


.list-group-item {
    border: none;
}



.d6-options-bar {
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 10px;
    vertical-align: middle;
    min-height: 55px;
}

    .d6-options-bar label {
        display: inline-block;
        padding-right: 10px;
        white-space: nowrap;
    }

    .d6-options-bar input {
        vertical-align: middle;
    }

    .d6-options-bar label span {
        vertical-align: middle;
    }


.d6-panel-white {
    background: #fff none;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    /*color: rgba(0, 0, 0, 1);*/
    color: rgba(255, 255, 255, 1);
}

.dropdown-menu {
    z-index: 5000;
    position: relative;
    min-width: 14rem;
}



table.d6-table {
    border-collapse: collapse;
    border: 1px solid #ddd;
    width: 100%;
    background-color: #fff;
}

    table.d6-table thead th {
        background-color: #fdfefe;
        background: linear-gradient(#fdfefe,#f6f7f8);
        white-space: nowrap;
        font-weight: 500;
        border: 1px solid #ddd;
        padding: 7px 10px;
    }

    table.d6-table th a {
        font-weight: 700;
        color: #048fc2;
    }

    table.d6-table tbody tr {
        padding: 10px;
        border: 1px solid #ddd;
    }

    table.d6-table tbody td {
        padding: 10px;
    }

    table.d6-table tr:hover {
        background-color: #4f2f01;
    }

    table.d6-table tbody tr:hover {
        background-color: #4f2f01 !important;
        color: white !important;
    }


table.d6-table-nohover {
    border-collapse: collapse;
    border: 1px solid #ddd;
    width: 100%;
    background-color: #fff;
}

    table.d6-table-nohover thead th {
        background-color: #fdfefe;
        background: linear-gradient(#fdfefe,#f6f7f8);
        white-space: nowrap;
        font-weight: 500;
        border: 1px solid #ddd;
        padding: 7px 10px;
    }

    table.d6-table-nohover th a {
        font-weight: 700;
        color: #048fc2;
    }

    table.d6-table-nohover tbody tr {
        padding: 10px;
        border: 1px solid #ddd;
    }

    table.d6-table-nohover tbody td {
        padding: 10px;
    }



.nav-tabs {
    background-color: transparent;
    border-bottom: none;
    margin-bottom: -8px;
}

    .nav-tabs .nav-item a {
        margin-bottom: -1px;
        font-weight: 700;
        color: #048fc2;
        border-color: #dee2e6 #dee2e6 #fff;
    }

.nav-link {
    font-weight: 400;
    font-size: 16px;
    margin-right: 5px;
}


.d6-dropdown {
    position: relative;
    display: inline-block;
}

.d6-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    /* Links inside the dropdown */
    .d6-dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .d6-dropdown-content a:hover {
            background-color: #f1f1f1
        }


.d6-dropdown:hover .d6-dropdown-content {
    display: block;
}


.d6-dropdown:hover {
    background-color: #4f2f01;
}


.d6-table-dropdown-menu li a {
    font-weight: 200;
}





.form-control:disabled {
    background-color: transparent;
}





input[type='checkbox'] {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: transparent;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

    input[type='checkbox']:checked {
        background: #e6a323;
        -webkit-box-shadow: inset 0px 0px 0px 4px #fff;
        -moz-box-shadow: inset 0px 0px 0px 4px #fff;
        box-shadow: inset 0px 0px 0px 4px #fff;
    }


/*
.select::after {
    display: none;
}

.dropdown-toggle::after {
    content: none;
}
*/
.textarea-lg {
    width: 100% !important;
    height: 100px !important;
    margin: 0px;
    padding: 0px;
    max-width: 100%;
}

.textbox-lg {
    width: 100% !important;
    margin: 0px;
    padding: 0px;
    max-width: 100%;
}

.textboxplanningEdit {
    max-width: 80px !important;
    text-align: right;
}

.textboxplanningReadOnly {
    max-width: 80px !important;
    border: none;
    text-align: right;
}

.textboxplanningReadOnlyWarning {
    max-width: 80px !important;
    border: none;
    text-align: right;
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

textboxplanningReadOnlyDanger {
    max-width: 80px !important;
    border: none;
    text-align: right;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}






.d6-container-verticalscroll {
    overflow-y: auto;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}



a[href^=tel] {
    color: inherit;
    text-decoration: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}



.btn.blue {
    /*background: linear-gradient(#fff,#e6eaec);*/
    border: 1px solid #cfd2d4;
    background-color: #fafafa;
    color: #048fc2;
    font-weight: 500;
    font-size: 14px;
}

    .btn.blue:hover {
        background: linear-gradient(#3d94f6,#1e62d0);
        color: #fff;
    }


.btn.red {
    /*background: linear-gradient(#fff,#e6eaec);*/
    border: 1px solid #cfd2d4;
    background-color: #fafafa;
    color: #b74923;
    font-weight: 500;
    font-size: 14px;
}

    .btn.red:hover {
        background: linear-gradient(#f24537,#c62d1f);
        color: #fff;
    }


.btn.green {
    /*background: linear-gradient(#fff,#e6eaec);*/
    border: 1px solid #cfd2d4;
    background-color: #fafafa;
    color: #71b721;
    font-weight: 500;
    font-size: 14px;
}

    .btn.green:hover {
        background: linear-gradient(#89c403,#77a809);
        color: #fff;
    }


.btn.orange {
    /*background: linear-gradient(#fff,#e6eaec);*/
    border: 1px solid #cfd2d4;
    background-color: #fafafa;
    color: #f0ad4e;
    font-weight: 500;
    font-size: 14px;
}

    .btn.orange:hover {
        background: linear-gradient(#ffc477,#fb9e25);
        color: #fff;
    }

.btn.grey {
    /*background: linear-gradient(#fff,#e6eaec);*/
    border: 1px solid #cfd2d4;
    background-color: #fafafa;
    color: #787878;
    font-weight: 500;
    font-size: 14px;
}

    .btn.grey:hover {
        background: linear-gradient(#ededed,#dfdfdf);
        color: #fff;
    }


.btn.turquoise {
    /*background: linear-gradient(#fff,#e6eaec);*/
    border: 1px solid #cfd2d4;
    background-color: #fafafa;
    color: #17a2b8;
    font-weight: 500;
    font-size: 14px;
}

    .btn.turquoise:hover {
        background: linear-gradient(#599bb3,#408c99);
        color: #fff;
    }



/*
.table-full {
    max-height: calc(100vh - 230px);
    max-width: 100%;
    overflow: auto;
    display: inline-block;
}

*/

.table-full {
    max-height: calc(100vh - 230px);
    max-width: 100%;
    overflow-x: auto;
    display: inline-block;
}

.table-fixedleft tr > :first-child {
    position: sticky;
    z-index: 1;
    left: 0;
    background-color: #4f2f01;
    color: white;
}



.sticky-header-top {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.sticky-header-second {
    position: sticky;
    top: 34px;
    z-index: 9999;
}


.AlertAboveWeeksNoHoldingBadge {
    font-size: 1em;
    color: black;
    font-weight: 400;
}

.AlertBelowWeeksNoHoldingBadge {
    font-size: 1em;
    color: white;
    font-weight: 400;
}




.AlertBalanceBadge {
    font-size: 1em;
    color: white;
    font-weight: 400;
}

.search-button {
    color: #fff;
    border-color: #4cae4c;
    text-shadow: #538716 0 1px 0px;
    background-color: #77c123;
    background-size: 100%;
    background-image: -moz-linear-gradient(top, #7dcc26 0%,#71b721 100%);
    background-image: linear-gradient(to bottom, #7dcc26 0%,#71b721 100%);
}

    .search-button:hover {
        filter: brightness(0.9);
        color: white;
    }

.cross-button {
    color: #fff;
    border-color: #b74923;
    text-shadow: #538716 0 1px 0px;
    background-color: #b74923;
    background-size: 100%;
    background-image: -moz-linear-gradient(top, #b74923 0%,#b74923 100%);
    background-image: linear-gradient(to bottom, #b74923 0%,#b74923 100%);
}

    cross-button:hover {
        filter: brightness(0.9);
        color: white;
    }


.d6-planning-highlighted {
    background-color: #4f2f01 !important;
    color: white !important;
}

.d6-modal {
    z-index: 99999;
}


.d6-total-value {
    border-top: solid 2px #495057 !important;
    border-bottom: double 6px #495057 !important;
}

    .d6-total-value td {
        padding-top: 10px;
    }


.positive-number {
    color: #0fbb6c;
}

.negative-number {
    color: red;
}

.table-column-seperator {
    border-right: 1px solid #ddd;
}

.table-column-left-seperator-bold {
    border-left: 2px solid #ddd;
}
