﻿body {
    font-family: "Segoe UI" !important;
    font-size: 14px !important;
    overflow-y: auto;
}

a:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

/*@media only screen and (max-height: 900px) {
    body { overflow-y: scroll; }
}*/

.custom-flex-wrap {
    flex-wrap: wrap !important;
}

.context-menu-list {
    z-index: 5 !important;
}

.inline-form-control {
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    color: #555555;
    display: inline;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857143;
    padding: 6px 12px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.inline-form-control[disabled],
.inline-form-control[readonly], fieldset[disabled] .inline-form-control {
    background-color: #eeeeee;
    opacity: 1;
}

.bottom-margin { margin-bottom: 20px; }

.important-message { color: red; }

.negative-value { color: red; }

.number-column { text-align: right; }

@-ms-viewport { width: auto !important; }

.collapsing {
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

#left-main {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    /*display: flex;*//* NEW, Spec - Opera 12.1, Firefox 20+ */
    height:100vh;
    /*max-height: 90vh*/
}

#right-main {
    -moz-box-flex: 1; /* OLD - Firefox 19- */
    -ms-flex: 1; /* IE 10 */
    -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
    -webkit-flex: 1; /* Chrome */
    flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    height: 100%;
    width: 80%; /* For old syntax, otherwise collapses. */
}

#content { margin-bottom: 0px !important; width: 100%; margin-top: 0;}


.fill-height {
    height: calc(100vh - 100px);
}

#main-top {
    background-color: var(--siteColorMain);
    height: 3em;
}

.no-margin { margin: 0; }

.top-menu-active a {
    color: var(--siteColorText);
}

.top-menu-active > a > svg {
    color: var(--siteColorMain) !important;
}
table.table.dataTable > tbody > tr.selected a {
    color: rgb(255, 255, 255) !important;
    color: rgb(var(--dt-row-selected-text)) !important;
}

.top-menu img {
    height: 30px;
    vertical-align: text-bottom;
    width: 50px;
}

.block { display: block !important }

/* START OF MAIN MENU SIDEBAR */
    #sidebar {
        height: 100vh;
        background-color: #3d3d3d;
        position: relative;
        z-index: 20;
    }

        #sidebar ul {
            list-style: none;
            padding-left: 0;
            padding-right: 0;
        }

        #sidebar a:link {
            color: #FFFFFF;
        }

        #sidebar a:visited {
            color: #FFFFFF;
        }

    .sidebar-rightpanel {
        width: 170px;
        background-color: #3d3d3d
    }

    #sidebar-logo,
    #sidebar-logo img,
    #sidebar .hide-on-collapse,
    #sidebar .sidebar-link,
    #sidebar-expandArrow-icon,
    #sidebar-expandArrow-icon i {
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }

    .mainmenuicon {
        font-size: 1.8rem;
        vertical-align: middle;
        margin: 2px 5px;
    }

    .fa-inverse {
        color: #fff !important;
    }

    #sidebar-expandArrow-icon {
        display: inline-flex;
        margin-top: 6px;
        transition: transform 0.3s;
    }

    .sidebar {
        width: 220px;
        height: 100vh;
        transition: all 0.3s ease;
    }

        .sidebar.collapsed {
            width: 50px;
        }

    .sidebar-link {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        white-space: nowrap;
    }

        .sidebar-link:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .sidebar-link.active {
            background: rgba(255, 255, 255, 0.1);
        }

            .sidebar-link.active > .mainmenuicon {
                color: var(--siteColorMain);
            }

    .sidebar-bottom-links {
        width: 100%;
    }

    .main-content {
        margin-left: 220px;
        background-color: #f8f9fa;
        min-height: 100vh;
        padding: 20px;
        transition: all 0.3s ease;
    }

    .collapsed ~ .main-content {
        margin-left: 50px;
    }

    .toggle-btn {
        color: white;
        border-radius: 50%;
        border: none;
        z-index: 100;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .sidebar.collapsed .hide-on-collapse {
        display: none;
    }

    .sidebar.collapsed .sidebar-link {
        justify-content: center;
    }

    .collapsed .toggle-btn {
        transform: rotate(180deg);
    }

    .collapsed .hide-on-collapse {
        opacity: 0;
        visibility: hidden;
    }

    .collapsed .sidebar-link {
        padding-left: 0.8rem !important
    }

        .collapsed .sidebar-link i {
            margin: 0 !important;
        }

    .collapsed #snapshot {
        padding-left: 0px !important;
    }

    .sidebar-rightpanel > .sidebar-menu > li {
        padding-left: 10px;
        padding-right: 10px;
    }

    .sidebar-menu-container {
        background: #3d3d3d; /* For browsers that do not support gradients */
        /*background: -webkit-linear-gradient(left, #3d3d3d, #3d3d3d 50px, #777777 50px);*/ /* For Safari 5.1 to 6.0 */
        /*background: -o-linear-gradient(right, #3d3d3d, #3d3d3d 50px, #777777 50px);*/ /* For Opera 11.1 to 12.0 */
        /*background: -moz-linear-gradient(right, #3d3d3d, #3d3d3d 50px, #777777 50px);*/ /* For Firefox 3.6 to 15 */
        /*background: linear-gradient(to right, #3d3d3d, #3d3d3d 50px, #777777 50px);*/ /* Standard syntax */
        background-color: var(--siteColorMain);
        display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox; /* TWEENER - IE 10 */
        display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
        margin: 0;
    }

    .sidebar-main-container::-webkit-scrollbar {
        width: 8px;
    }

    #sidebar-expandArrow {
        background-color: var(--siteColorMain);
        text-align: center;
    }

    #sidebar-logo {
        background-color: var(--siteColorMain);
        height: 3em;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

#sidebar-logo img {
    height: 30px;
    margin-top: 0.4em;
}

    .sidebar-menu a {
        display: block;
    }

    #sidebar-expandArrow-image {
        height: 50px;
        width: 50px;
    }

    .sidebar-menu li {
        height: 40px;
        line-height: 40px;
        margin-bottom: 20px;
    }

    #lower-icons {
        width: 50px;
    }
    /*END OF MAIN MENU SIDEBAR*/


    .col-centered {
        float: none;
        margin: 0 auto;
    }

    .loginPanel {
        background: #EBEBEB; /* For browsers that do not support gradients */
        background: -webkit-linear-gradient(left, #EBEBEB, #FFFFFF); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(right, #EBEBEB, #FFFFFF); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(right, #EBEBEB, #FFFFFF); /* For Firefox 3.6 to 15 */
        background: linear-gradient(to right, #EBEBEB, #FFFFFF); /* Standard syntax */
        border-color: #CCCCCC;
        border-width: 2px;
        margin-top: 150px;
        /*color: #666666;*/
        width: 420px;
        border-radius: 7px;
        padding-bottom: 5px;
        box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    }

    .loginButton {
        background-color: var(--siteColorMain);
        color: #FFFFFF;
    }

        .loginButton:hover, .loginButton:active {
            background-color: #f98911;
            color: #FFFFFF;
        }

    .loginForm {
        padding-left: 50px;
        padding-right: 50px;
    }

    .checkbox-column-header {
        text-align: center;
        width: 50px;
        height: 25px;
    }

        .checkbox-column-header label {
            height: 20px;
            display: block;
            font-weight: bold;
            cursor: pointer;
            margin-bottom: 0;
            margin-top: 4px;
        }

    .invoice-tax-column {
        text-align: center;
        /*vertical-align: middle;*/
        width: 75px;
    }

        .invoice-tax-column label {
            font-weight: bold;
            cursor: pointer;
            margin-top: 0;
        }

    .checkbox-column-header #select_all {
        zoom: 1.25;
        padding: 0;
        margin: 0;
        margin-left: 3px;
        vertical-align: middle;
        position: relative;
        top: -0.5px;
        *overflow: hidden;
    }

    #tax_gst_all, #tax_hst_all, #tax_pst_all {
        zoom: 1.25;
        padding: 0;
        margin: 0;
        margin-left: 3px;
        vertical-align: middle;
        position: relative;
        top: -0.5px;
        *overflow: hidden;
    }


    td.invoice-tax-column {
        text-align: center;
        vertical-align: middle;
        width: 50px;
        zoom: 1.25;
    }


    .checkbox-column {
        text-align: center;
        vertical-align: middle;
        width: 50px;
        zoom: 1.25;
    }

    .documentGrid {
        font-size: 12px;
    }

    .itemGrid {
        font-size: 12px;
    }
    /* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

    .dl-horizontal dt {
        white-space: normal;
    }
    /* Set width on the form input elements since they're 100% wide by default */
    /*input, select, textarea {
    max-width: 280px;
}*/

    .dropdown-submenu {
        position: relative;
    }

        .dropdown-submenu > .dropdown-menu {
            -moz-border-radius: 0 6px 6px;
            -webkit-border-radius: 0 6px 6px 6px;
            border-radius: 0 6px 6px 6px;
            left: 100%;
            margin-left: -1px;
            margin-top: -6px;
            top: 0;
        }

        .dropdown-submenu:hover > .dropdown-menu {
            display: block;
        }

        .dropdown-submenu > a:after {
            border-color: transparent;
            border-left-color: #ccc;
            border-style: solid;
            border-width: 5px 0 5px 5px;
            content: " ";
            display: block;
            float: right;
            height: 0;
            margin-right: -10px;
            margin-top: 5px;
            width: 0;
        }

        .dropdown-submenu:hover > a:after {
            border-left-color: #fff;
        }

        .dropdown-submenu.pull-left {
            float: none;
        }

            .dropdown-submenu.pull-left > .dropdown-menu {
                -moz-border-radius: 6px 0 6px 6px;
                -webkit-border-radius: 6px 0 6px 6px;
                border-radius: 6px 0 6px 6px;
                left: -100%;
                margin-left: 10px;
            }

    #container .modal.fade {
        /*left: -25%;*/
        transition: opacity 0.3s linear, left 0.3s ease-out;
    }

    .dialog-font-large .bootstrap-dialog-message {
        font-size: 18px;
    }

    .input-narrow, .label-narrow {
        font-size: 12px !important;
        padding: 2px 5px;
    }

    select.input-narrow {
        /*padding-right: 2.25rem;*/
        /*padding-left: 13px;*/
        padding: 0 0 0 13px;
        background-position-x: right 0.75rem;
    }

    .input-narrow {
        height: 25px;
    }

    .narrowfiled {
        height: auto;
        padding: 2px 5px;
    }

    label {
        font-weight: normal;
    }

    .radio, .checkbox {
        margin-bottom: 0;
        /*position: relative;
    display: block;*/
        margin-top: 0;
    }

        .radio + .radio,
        .checkbox + .checkbox {
            margin-top: 0;
        }

    .nomarginbottom {
        margin-bottom: 0;
    }

    .smallmarginbottom {
        margin-bottom: 5px;
    }

    .nomargintop {
        margin-top: 0;
    }

    .card-narrow {
        padding: 2px 5px;
    }

    .card-inline {
        display: inline;
    }

    .card-body-narrow {
        padding: 5px 5px 5px 0;
    }

    .card-body-thin {
        font-size: 12px;
        padding: 2px;
    }

    .input-required {
        background-color: #f6fbff
    }

    .input-editable {
        background-color: #F0F8FF !important
    }

    .input-readonly {
        background-color: #F5F5F5 !important
    }

    .w-qty {
        width: 60px
    }

    .borderless tbody tr td, .borderless thead tr th {
        border: none !important;
    }
    /*.check_box_sort {
    display: none;
}

.check_box_sort {
    background: transparent url(~/Content/images/SortDesc.svg) no-repeat;
    height: 16px;
    width: 16px;
    display: inline-block;
    padding: 0 0 0 0;
}

.check_box_sort:checked {
    background: transparent url('~/Content/images/SortAsc.svg') no-repeat;
    height: 16px;
    width: 16px;
    display: inline-block;
    padding: 0 0 0 0;
}*/

    .orLoginWithText {
        float: right;
        height: 46px;
        line-height: 46px;
        padding-right: 3px;
    }

.login-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    height: 5em;
}

    .login-languageLinks {
        padding-bottom: 3px;
        text-align: center;
    }

    .login-contactUs {
        padding-top: 3px;
        text-align: center;
    }

    .orLoginWithImages {
        float: right;
        height: 40px;
        line-height: 40px;
    }

    .btn-sharp {
        border-radius: 0;
    }

    input[class=check_box_sort] {
        display: none;
        padding: 2px 5px;
        padding-left: 5px;
    }

        input[class=check_box_sort] + label:before {
            display: inline-block;
        }

        input[class=check_box_sort] + label:before {
            content: "▼";
        }

        input[class=check_box_sort] + label:before {
            letter-spacing: 5px;
        }

        input[class=check_box_sort]:checked + label:before {
            content: "▲";
        }

        input[class=check_box_sort]:checked + label::before {
            letter-spacing: 5px;
        }

    .checktoggle {
    }

    #dashboard .row {
        margin-bottom: 15px;
    }

    .dashboard-panel-padded {
        margin-right: 15px;
    }

    #dashboard .col-xs-3 {
        padding-left: 0;
        padding-right: 0;
    }

    #dashboard .col-xs-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .dashboard-panel {
        background-color: #FFFFFF;
        min-width: 350px;
        padding: 25px;
    }

    .dashboard-panel-small {
        height: 150px;
    }

    .dashboard-panel-large {
        height: 300px;
    }


    .table-form td label {
        line-height: 25px;
        margin: 0;
    }

    .table-form td input, .table-form td select {
        height: 25px;
        padding: 0 5px;
    }

    .table-form td .btn {
        margin-top: 10px;
    }



    .input-wrapper label {
        font-size: 12px;
        padding: 0 5px;
        display: inline-block;
        width: 210px;
    }

    .input-wrapper input, .input-wrapper select {
        display: inline-block;
        height: 25px;
        padding: 0 5px;
        width: 200px;
    }

    .input-wrapper .btn {
        margin-top: 10px;
    }

    .input-wrapper2 label {
        font-size: 12px;
        padding: 0 5px;
        width: 100px;
    }

    .input-wrapper2 input, .input-wrapper2 select {
        display: inline-block;
        height: 25px;
        padding: 0 5px;
        width: 400px;
    }

    .input-wrapperNoWidth label {
        font-size: 12px;
        padding: 0 5px;
    }

    .input-wrapperNoWidth input, .input-wrapperNoWidth select {
        display: inline-block;
        height: 25px;
        padding: 0 5px;
    }

    .input-field {
        background-color: #ffffff;
        display: inline-block;
        height: 25px;
        padding: 0 5px;
    }

    .form-select.is-invalid {
        background-position: right 12px center, 4px 50% !important;
        padding-left: 22px;
    }

    select.form-select {
        padding-right: calc(2.5em + 0vw);
    }

    .form-control.is-invalid {
        background-position: 4px 50% !important;
        padding-left: 22px;
        padding-right: 4px; /* reset the spacing from the original icon position */
    }
    /*label.is-invalid {
    display: none !important;
}

input:hover + label.is-invalid{
    z-index: 1000;
}*/

    .input-table > tbody > tr > td {
        padding: 1px 5px;
    }

    .element-wrapper * {
        display: inline-block;
    }

    .element-wrapper select option {
        display: block;
    }

    .element-label {
        max-width: 325px;
    }

    .element-wrapper-forms {
        display: flex;
    }

        .element-wrapper-forms input, .element-wrapper-forms select {
            max-width: 225px;
        }

        .element-wrapper-forms .customDatePicker input {
            width: 375px;
        }
        /*#moduleActivePage .element-wrapper-forms input, #moduleActivePage .element-wrapper-forms select { width: 150px !important; }*/
        /* ReSharper disable once CssNotResolved */
        .element-wrapper-forms input::placeholder {
            text-transform: none;
        }

    .segment-wrapper-forms {
        margin-bottom: 5px;
        overflow-x: visible;
        white-space: nowrap;
        width: 39.8em;
    }

    #order .customDatePicker input {
        width: 73px;
    }

    #order .customDatePicker div {
        width: 23px !important;
    }

/*    .segment-wrapper-forms a:not(.btn),
    .segment-group-wrapper-forms a:not(.btn) {
        color: #ffffff;
        text-decoration: none;
    }*/

    .segment-wrapper-forms a:hover,
    .segment-wrapper-forms a:focus,
    .segment-group-wrapper-forms a:hover,
    .segment-group-wrapper-forms a:focus {
        text-decoration: underline;
    }

    .segment-group-wrapper-forms {
        margin-bottom: 5px;
        overflow-x: visible;
        white-space: nowrap;
        /*width: 39.8em;*/
    }
    /*.element-wrapper .error,
.element-wrapper-forms .error, input.error, .errorfield {
    background-image: url('../lib/images/error-icon-2.png');
    background-position: left 2px center;
    background-repeat: no-repeat;
    border: 1px solid #ff6666;
    text-indent: 20px;
}*/

    label.error {
        display: none !important;
    }

    .modal-footer .btn {
        line-height: 1;
        margin-top: auto !important;
        margin-left: 5px;
        width: auto !important;
        display: inline-block; /*got rid of !important, it causes problems trying to toggle footer buttons*/
    }

    .modal-header .btn-close {
        margin: unset !important;
        margin-top: -0.85rem !important;
        position: absolute;
        right: 0.5rem;
        display: inline-flex;
        align-items: center;
    }

    .modal {
        margin-top: 50px !important;
    }

        .modal .modal-dialog {
            overflow-y: initial !important;
            margin-top: 0 !important;
            margin-bottom: 0;
        }

        .modal .modal-body {
            max-height: calc(100vh - 230px);
            overflow-y: auto;
        }

    .dialog {
        margin-top: 100px;
    }

    @media (min-width: 1250px) {
        .dialog-lg .modal-dialog {
            margin-top: 100px;
            width: 1200px;
        }
    }

    @media (min-width: 1600px) {
        .dialog-lg .modal-dialog {
            margin-top: 100px;
            width: 1500px;
        }
    }

    .w-10 {
        width: 10% !important;
    }

    .w-90 {
        width: 90% !important;
    }

    .docMenu {
        flex: 0 0 200px;
        height: calc(100vh - 43px);
    }

        .docMenu ul {
            list-style-type: none;
            width: 100%;
        }


    #rightPage {
        flex: 1;
        height: calc(100vh - 3em);
    }

    .docmodule-menu {
        margin: 10px 0 10px 0;
        width: 100%;
    }

        .docmodule-menu ul {
            display: inline-block;
            list-style-type: none;
            margin: 0;
            margin-bottom: 5px;
        }

        .docmodule-menu li {
            display: inline-block;
        }

    .docmodule li a {
        display: inline-block;
    }

    .docmodule-menu-right {
        float: right;
        padding-right: 25px;
    }

    .docmodule-menu-left {
        float: left;
        padding-left: 0;
    }

    .docmodule-form {
        margin-bottom: 0 !important;
    }

    #businessrules {
        max-height: 750px;
        /*overflow-y: scroll;*/
    }

    #viewedi {
        max-height: 730px;
        /*overflow-y: auto;*/
    }

    .documentTitle {
        line-height: 30px;
        font-weight: bold;
        color: white;
        font-size: clamp(12px, 1.4vw, 20px);
        white-space: nowrap;
    }

    .context-menu-icon.context-menu-icon--fa {
        display: list-item;
        font-family: inherit;
    }

    .workflow-actions button {
        width: 100%;
    }

    .selectorListContainer {
        max-height: 400px;
        /*overflow-y: scroll;*/
    }

    .invoice-total-panel label {
        display: inline-block;
    }

    .invoice-total-panel input {
        display: inline-block;
        width: 90px;
    }

    .hide {
        visibility: hidden;
    }
    /*.invoice-total-column { width: 100px; }*/

    .invoice-options label {
        display: inline-block;
        width: 100px;
    }

    .invoice-options input {
        display: inline-block;
        width: 75px;
    }

    .radio-vertical-group-label {
        vertical-align: top;
    }

    .radio-vertical-group-box {
        display: inline-block;
    }

    .invoice-apply-tax-changes-btn {
        margin: 5px;
    }

    .doc-module-item-toolbar {
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .item-picker-filter div {
        display: inline-block;
    }

    .order-ack-detail-tabs {
        font-weight: bold;
    }

    .bold {
        font-weight: bold;
    }

    .table-datatable {
    }

    .detailtable {
    }

    .SaveForm {
    }

    .docmodule-form {
    }

    .text-box {
    }

    .single-line {
    }

    .segmentcollapsable {
    }

    .safelink {
    }

    .noautofocus {
    }

    .ac-row {
    }


    .docmodule-menu li {
        background-color: transparent;
        height: 38px;
        padding: 0px !important;
        margin-right: 7px !important;
    }
    /*Modules: navigation menu*/
    /*:hover MUST come after a:link and a:visited in the CSS definition in order to be effective 
  :active MUST come after a:hover in the CSS definition in order to be effective
 */

    .modulemenu {
        margin: 0px;
        display: inline-block;
        width: 100%;
        height: 100%;
        /*border-radius: 6px;*/
        padding: 4px 10px 0px 2px !important;
        text-decoration: none;
        /*border: 2px solid #F2F2F2;*/
        line-height: 30px;
        color: black;
    }


        .modulemenu .svg-inline--fa {
            vertical-align: middle;
        }




        .modulemenu:hover {
            border: 2px solid var(--siteColorMain);
            /*border-radius: 6px;*/
            background-color: var(--siteColorMain);
            text-decoration: none;
            /*color: white;*/
        }

    .modulemenuActive:link, .modulemenuActive:visited {
        color: var(--siteColorText);
        background-color: var(--siteColorMain) !important;
        font-weight: bold;
        /*border: 2px solid var(--siteColorMain);*/
    }

    .modulemenuActive:hover {
        color: var(--siteColorText);
        background-color: var(--siteColorMain) !important;
        font-weight: bold;
        /*border: 2px solid var(--siteColorMain);*/
    }
    /*fa-25x {
    font-size: 2em;
}*/
    /*.modulemenu:hover,
.modulemenu:active { text-decoration: underline !important; }*/
    /*.modulemenuActive:link, .modulemenuActive:visited {
    background-color: var(--siteColorMain) !important;
    color: #FFFFFF;
    font-weight: bold;
}*/

    .docCapture {
        /*color: var(--siteColorMain);*/
        color: #3d3d3d;
        font-size: 20px;
        margin-bottom: 0;
        margin-top: 0;
        text-align: center;
        font-weight: bold;
    }

    .NoTopNoBottom {
    }

    .divSaveValidation {
        width: 600px;
    }

        .divSaveValidation > .panel, .divSaveValidation .SaveForm > .panel {
            width: 600px;
        }

    .disabledCustom {
        pointer-events: none !important;
    }

    .adjustedDiv {
        display: table;
    }

    .adjustedInlineDiv {
        display: inline-block;
        vertical-align: top
    }

    .dropdown {
        position: inherit;
    }

    .btn-left {
        text-align: left;
    }

    .nopadding {
        padding: 0;
    }
    /*.svg-inline--fa { vertical-align: middle; }*/

    .tblfullwidth {
        width: 100% !important
    }

    .fullScreenHeight {
        height: 100% !important;
    }

    table.dataTable.compact tbody th,
    table.dataTable.compact tbody td {
        padding: 2px 4px !important;
    }

    table.dataTableCondenced {
        margin: 0 !important;
    }

        table.dataTableCondenced.compact tbody th,
        table.dataTableCondenced.compact tbody td {
            padding: 0 5px !important;
        }

    table.subdataTable thead th,
    table.subdataTable thead td {
        border-bottom: 0 solid white !important;
    }

    table.subdataTable {
        display: block !important;
    }

    .wrapcell {
        white-space: pre-wrap;
    }

    .ac-wrapper-forms {
        width: 700px
    }

    .close {
        color: white;
    }

        .close:hover {
            color: var(--siteColorMain);
        }

    .ucase {
        text-transform: uppercase
    }

    .context-menu-item {
        padding: .2em 1em .2em 2em;
    }

    .displayNone {
        display: none !important;
    }

    td input[type="checkbox"] {
        margin: 0 auto;
    }

    td .radio {
        float: left;
        margin: 0 auto;
    }

    .inlineBlock {
        display: inline-block;
    }

    #moduleActivePage .panel-group .panel {
        margin-bottom: 25px; /*width: 100%;*/
    }

    #moduleActivePage .table table input {
        margin-top: -0.5px !important;
    }

    .blinkingButton {
        background-color: #004A7F;
        color: #FFFFFF !important;
        -webkit-animation: glowingGreen 1500ms infinite;
        -moz-animation: glowingGreen 1500ms infinite;
        -o-animation: glowingGreen 1500ms infinite;
        animation: glowingGreen 1500ms infinite;
    }

    .blinkingButtonRed {
        background-color: red;
        color: #FFFFFF;
        /*-webkit-animation: glowingRed 1500ms infinite;
    -moz-animation: glowingRed 1500ms infinite;
    -o-animation: glowingRed 1500ms infinite;
    animation: glowingRed 1500ms infinite;*/
    }

    .module-header-title {
        --bs-text-opacity: 1;
        color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity));
    }

    @-webkit-keyframes glowingGreen {
        0% {
            background-color: #006400;
            -webkit-box-shadow: 0 0 3px #006400;
        }

        50% {
            background-color: #228B22;
            -webkit-box-shadow: 0 0 40px #228B22;
        }

        100% {
            background-color: #006400;
            -webkit-box-shadow: 0 0 3px #006400;
        }
    }

    @-moz-keyframes glowingGreen {
        0% {
            background-color: #006400;
            -moz-box-shadow: 0 0 3px #006400;
        }

        50% {
            background-color: #228B22;
            -moz-box-shadow: 0 0 40px #228B22;
        }

        100% {
            background-color: #006400;
            -moz-box-shadow: 0 0 3px #006400;
        }
    }

    @-o-keyframes glowingGreen {
        0% {
            background-color: #006400;
            box-shadow: 0 0 3px #006400;
        }

        50% {
            background-color: #228B22;
            box-shadow: 0 0 40px #228B22;
        }

        100% {
            background-color: #006400;
            box-shadow: 0 0 3px #006400;
        }
    }

    @keyframes glowingGreen {
        0% {
            background-color: #006400;
            box-shadow: 0 0 3px #006400;
        }

        50% {
            background-color: #228B22;
            box-shadow: 0 0 40px #228B22;
        }

        100% {
            background-color: #006400;
            box-shadow: 0 0 3px #006400;
        }
    }

    @-webkit-keyframes glowingRed {
        0% {
            background-color: #B20000;
            -webkit-box-shadow: 0 0 3px #B20000;
        }

        50% {
            background-color: #FF0000;
            -webkit-box-shadow: 0 0 40px #FF0000;
        }

        100% {
            background-color: #B20000;
            -webkit-box-shadow: 0 0 3px #B20000;
        }
    }

    @-moz-keyframes glowingRed {
        0% {
            background-color: #B20000;
            -moz-box-shadow: 0 0 3px #B20000;
        }

        50% {
            background-color: #FF0000;
            -moz-box-shadow: 0 0 40px #FF0000;
        }

        100% {
            background-color: #B20000;
            -moz-box-shadow: 0 0 3px #B20000;
        }
    }

    @-o-keyframes glowingRed {
        0% {
            background-color: #B20000;
            box-shadow: 0 0 3px #B20000;
        }

        50% {
            background-color: #FF0000;
            box-shadow: 0 0 40px #FF0000;
        }

        100% {
            background-color: #B20000;
            box-shadow: 0 0 3px #B20000;
        }
    }

    @keyframes glowingRed {
        0% {
            background-color: #B20000;
            box-shadow: 0 0 3px #B20000;
        }

        50% {
            background-color: #FF0000;
            box-shadow: 0 0 40px #FF0000;
        }

        100% {
            background-color: #B20000;
            box-shadow: 0 0 3px #B20000;
        }
    }



    .btn-orange {
        color: var(--siteColorText);
        filter: brightness(110%);
        background-color: var(--siteColorMain);
        border-color: var(--siteColorMain);
    }

        .btn-orange:focus,
        .btn-orange.focus {
            color: var(--siteColorText);
            filter: brightness(100%);
            background-color: var(--siteColorMain);
            border-color: var(--siteColorMain);
            outline: 0;
            -moz-outline: 0;
        }

        .btn-orange:hover {
            color: var(--siteColorText);
            filter: brightness(100%);
            background-color: var(--siteColorMain);
            border-color: var(--siteColorMain);
        }

        .btn-orange:active,
        .btn-orange.active {
            color: var(--siteColorText);
            background-color: var(--siteColorMain);
            border-color: var(--siteColorMain);
            filter: brightness(100%);
            outline: 0;
            -moz-outline: 0;
        }

            .btn-orange:active:hover,
            .btn-orange.active:hover,
            .btn-orange:active:focus,
            .btn-orange.active:focus,
            .btn-orange:active.focus,
            .btn-orange.active.focus {
                color: var(--siteColorText);
                background-color: var(--siteColorMain);
                border-color: var(--siteColorMain);
                filter: brightness(90%);
                outline: 0;
                -moz-outline: 0;
            }

    .btn-outline-none:focus {
        outline: none !important;
    }

    .menuIcon button, #messageIcon button:active, .menuIcon button:visited, .menuIcon button:focus,
    #messageIcon #searchBtn:active, .menuIcon #searchBtn:visited, .menuIcon #searchBtn:focus {
        padding: 3px 3px 2px 3px;
        background-color: #F2F2F2;
        border: 2px solid #F2F2F2;
        text-decoration: none;
    }

        .menuIcon button:hover {
            border: 2px solid var(--siteColorMain);
            border-radius: 6px;
            text-decoration: none;
        }

    :root {
        /*--siteColorMain: #FBB03B;
    --siteColorText: white;*/
        --siteColorMain:;
        --siteColorText:;
    }

    .backgroundMainColor {
        background-color: var(--siteColorMain) !important;
    }

    .textMainColor {
        color: var(--siteColorText) !important;
    }

    .filtercondence button {
        min-width: 60px
    }

    .searchable-column {
        border-color: transparent;
        font-weight: bolder;
        field-sizing: content;
        border-radius: 5px;
        opacity: 0.8;
    }

        .searchable-column:hover {
            border: revert;
        }

    .filtercondence {
        padding: 2px 5px !important;
        border-top: 0 !important;
        position: relative;
    }

    .extra-info-icon {
        font-size: 20px;
        position: absolute;
        bottom: -1px;
        padding-left: 5px;
    }

    @media screen and (max-width: 1500px) {
        .top-menu li {
            min-width: 0px
        }
    }
    /*Does the same as above but with a new class*/
    .autoCollapseBtn span.collapseText {
        display: none !important;
    }

    a.autoCollapseBtn {
        padding-right: 2px !important;
        width: unset !important;
    }

    documentCollapseBtn {
        color: black;
    }

    #invoiceNumberSmall {
        display: none;
    }

    .dt-scroll-body:has(#itemGrid) {
        /*overflow-y: scroll !important;*/
        max-height: 50vh !important;
    }


    @media screen and (max-height: 620px) {
        .extra-nav-btn {
            display: none;
        }
    }

    @media screen and (max-width: 770px) {
        .horiz-collapse {
            display: none !important;
        }

        .rotate {
            transition: transform 0.3s !important;
            transform: rotate(360deg) !important;
        }
    }

    @media screen and (max-width: 767px) {
        div.dt-buttons {
            width: 40% !important;
            margin-left: 7px;
        }

        #header {
            flex-direction: column;
        }
    }

    @media screen and (max-width: 950px) {

        .collapsebutton span.collapseText {
            display: none !important;
        }

        a.collapsebutton {
            padding-right: 2px !important;
            width: unset !important;
        }
    }

    @media screen and (min-width: 950px) {

        .collapsebutton span.collapseText {
            display: inline;
        }

        a.collapsebutton {
            padding-right: unset;
            width: 100%;
        }
    }

    @media screen and (max-width: 1350px) {
        div:has(> #footer) {
            width: auto !important;
        }

        #invoiceNumberSmall {
            display: none;
            margin-top: 10px;
        }
    }

    @media screen and (max-width: 950px) {
        .docMenu {
            display: none;
        }

        #invoiceNumberSmall {
            display: block !important;
        }
    }

    .segmentWidth {
        max-width: 39.8em;
    }

    @media(max-width: 850px) {
        .segmentWidth {
            max-width: 30em;
        }
    }

    @media (max-width: 850px) {
        .segment-group-wrapper-forms {
            max-width: 30em;
        }
    }

    @media screen and (max-width: 990px) {
        #releasenumber, #username, #userlevel {
            display: none !important;
        }
    }

    @media screen and (max-width: 650px) {
        #dateRangePicker, #logoutStr, #languagemenuStr {
            display: none !important;
        }
    }

    @media screen and (max-width: 770px) {
        .tip {
            display: none !important;
        }
    }

    @media screen and (max-width: 715px) {
        .documentGrid .dt-container.dt-bootstrap5.dt-empty-footer .float-end {
            float: right !important;
        }

        #dt-length-0 {
            margin-right: -6px !important;
        }
    }

    @media screen and (max-width: 800px) {
        .shrinkableTableBtn {
            display: none !important;
        }

        .custom-flex-wrap {
            flex-wrap: nowrap !important;
        }
    }

    .positive {
    }

    .bootstrap-dialog-draggable {
        cursor: move;
    }
    /*
    bs5 paginate custom color
*/
    .page-item.active .page-link {
        background-color: var(--siteColorMain);
        border-color: var(--siteColorMain);
    }

    .page-link {
        color: var(--siteColorMain);
    }

        .page-link:hover {
            color: var(--siteColorMain);
        }
    /*
 *  styled-scroll for asn according to pallet theme
 */

    .styled-scroll::-webkit-scrollbar-thumb { /*.styled-scroll*/
        background-color: var(--dcColorTitleBackground); /* #F90 - #6c757d*/ /* MAIN COLOR that will be used  */
        border-radius: 10px;
        /*background-image: -webkit-linear-gradient(50deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);*/
    }
    /* Up */
    .styled-scroll::-webkit-scrollbar-button:vertical:decrement {
        border-width: 0 6px 10px 6px;
        height: 12px;
        border-color: transparent transparent var(--dcColorTitleBackground) transparent;
    }
    /* Down */
    .styled-scroll::-webkit-scrollbar-button:vertical:increment {
        border-width: 10px 6px 0 6px;
        height: 12px;
        border-color: var(--dcColorTitleBackground) transparent transparent transparent;
    }
    /* left */
    .styled-scroll::-webkit-scrollbar-button:horizontal:decrement {
        border-width: 8px 14px 8px 0;
        width: 14px;
        border-color: transparent var(--dcColorTitleBackground) transparent transparent;
    }
    /* right */
    .styled-scroll::-webkit-scrollbar-button:horizontal:increment {
        border-width: 8px 0 8px 14px;
        width: 14px;
        border-color: transparent transparent transparent var(--dcColorTitleBackground);
    }
    /*
    /// END of custom Scrollers
*/

    .skeleton {
        animation: skeleton-loading 1s linear infinite alternate;
    }

    @keyframes skeleton-loading {
        0% {
            background-color: hsl(200, 20%, 80%);
        }

        100% {
            background-color: hsl(200, 20%, 95%);
        }
    }

    .skeleton-text {
        width: 100%;
        height: 12px;
        margin: 5px;
        border-radius: 0.25rem;
    }
    /* This class is to optimize rendering later only when content is visible */
    .below-the-fold {
        content-visibility: auto;
    }
    /*.shipSoon48hTag {
    background: #f87d09;
    font-weight: bold;
    padding: 3px;
    border-radius: 10px;
}

.shipSoon24hTag {
    background: #d74338;
    font-weight: bold;
    padding: 3px;
    border-radius: 10px;
}*/

    .largerCheckbox {
        width: 20px;
        height: 20px;
    }

    .wg-shadow {
        box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    }

    .w-full {
        width: 100%;
    }

    .wg-alert {
        /*background-color: rgba(236, 77, 43, 0.2);*/
        border: 2px solid #EC4D2B;
    }

    .contextmenu-custom-anim {
        animation: fadeInContextMenu .225s;
        animation-timing-function: ease-out;
    }

    .internalMenuTitle {
        color: darkblue;
        font-size: smaller;
        padding: 0px 1em;
        pointer-events: none;
    }

    @keyframes fadeInContextMenu {
        0% {
            opacity: 0;
        }

        70% {
            opacity: 0.5;
            /*transform: scale(1.05);*/
        }

        100% {
            opacity: 1;
            /*transform: scale(1);*/
        }
    }

    .multiselectIcon {
        color: #2980b9;
        margin-right: 5px;
        margin-bottom: 2px;
    }
    /* This will make the default Arrows on input buttons dissapear */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        /* display: none; <- Crashes Chrome on hover */
        -webkit-appearance: none;
        margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
    }

    input[type=number] {
        -moz-appearance: textfield; /* Firefox */
    }

    button.dt-button.buttons-columnVisibility:not(.active) {
        background: #ff817b !important;
    }

    button.dt-button.buttons-columnVisibility {
        border-radius: 5px !important;
    }

    .dataTables_filter input {
        border-radius: 5px;
        padding-right: 20px;
        padding-left: 5px;
        height: 27px;
        /* Add font awesome search icon with background property */
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/></svg>');
        background-repeat: no-repeat;
        background-position: top 5px right 3px; /*<style>svg{fill:#6c6c6c}</style>*/
    }

        .dataTables_filter input:focus {
            box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
        }


    .btn-xs {
        padding: .25rem .4rem;
        font-size: .875rem;
        line-height: .5;
        border-radius: .2rem;
    }

    .size-normal > .modal-dialog {
        max-width: 600px;
    }

    .size-wide > .modal-dialog {
        max-width: 900px;
    }

    .size-extrawide > .modal-dialog {
        max-width: 1500px;
    }


    .search-highlight {
        position: relative;
        z-index: 1;
    }

        .search-highlight::after {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            background-color: rgba(255, 219, 88, 0.3); /* soft orange background */
            border: 2px solid rgba(255, 219, 88, 0.4);
            border-radius: 4px;
            box-shadow: 0 0 6px rgba(255, 219, 88, 0.5); /* subtle glow */
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1; /* keep background behind content */
        }

        .search-highlight.highlight-active::after {
            opacity: 1;
        }

    .rotate-icon {
        transition: transform 0.3s ease;
        display: inline-block;
    }

        .rotate-icon.rotate {
            transform: rotate(180deg);
        }

    @media(max-width: 1529px) {
        #showMoreBtnInnerDiv {
            display: none;
        }

        #showMoreBtnOuterDiv {
            display: inline;
        }
    }

    @media(min-width: 1530px) {
        #showMoreBtnInnerDiv {
            display: inline;
        }

        #showMoreBtnOuterDiv {
            display: none;
        }
    }
    /* Lightpick tooltip for max range */
    .lightpick__tooltip {
        font-size: 12px;
        padding: 4px 8px;
        background: #333;
        color: #fff;
        border-radius: 4px;
    }

    .lightpick__day.is-start-date.is-in-range, .lightpick__day.is-end-date.is-in-range.is-flipped {
        background-color: var(--lightpickMainColor) !important;
        color: var(--lightpickMainText) !important;
    }

        .lightpick__day.is-end-date.is-in-range, .lightpick__day.is-start-date.is-in-range.is-flipped {
            background-color: var(--lightpickMainColor) !important;
            color: var(--lightpickMainText) !important;
        }

    .lightpick__day.is-in-range {
        background-color: var(--lightpickInRangeColor) !important;
        color: var(--lightpickInRangeText) !important;
    }

    .lightpick__day.is-start-date, .lightpick__day.is-end-date, .lightpick__day.is-start-date:hover, .lightpick__day.is-end-date:hover {
        /*background-color: var(--lightpickMainColor) !important;*/
        color: var(--lightpickMainText) !important;
    }

        .lightpick__day.is-start-date:not(.is-in-range) {
            /*background-color: var(--lightpickMainColor) !important;*/
            background-image: var(--lightpickDateColor) !important
        }

    .lightpick__apply-action,
    .lightpick__today-action {
        background-color: var(--lightpickMainColor) !important;
        color: var(--lightpickMainText) !important;
        border-radius: 5px;
        font-size: 12px;
        border: none;
    }

    .lightpick__day.is-in-range:hover {
    }

    .lightpick__day.is-in-range:hover, .lightpick__day.is-start-date.is-end-date {
    }

    .lightpick__select.lightpick__select-years,
    .lightpick__select.lightpick__select-year {
        cursor: pointer;
        border-radius: 4px;
        padding: 2px 1.6rem 2px 0.45rem;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%238a4b00' d='M4 6l4 4 4-4z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 0.4rem center;
        background-size: 0.9rem;
    }

    .lightpick__apply-action {
        background-color: var(--lightpickMainColor) !important;
        color: var(--lightpickMainText) !important;
    }

    #dateRangePicker {
        cursor: pointer;
        color: var(--custom-primary-sidebar-text);
    }

#dateRangePicker:hover {
    opacity: 0.85;
}

table.dataTable tbody tr.selected a {
    color: #ffffff !important; /* Change link color to white when selected */
}

table.dataTable tbody tr.selected span.bg-warning, table.dataTable tbody tr.selected span.bg-danger {
    color: #000000 !important; /* Change span color to black when selected */
}

#dateRangePicker:hover {
    opacity: 0.85;
}
/* Lightpick styling for single date picker*/
/* Custom Single Date Picker - mirrors MainMenu dual calendar styles */
.wg-datepicker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1049;
}

.wg-datepicker-popup {
    position: absolute;
    z-index: 1050;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    padding: 16px;
    display: none;
    width: max-content;
}

    .wg-datepicker-popup.show {
        display: block;
    }

.wg-dp-cal {
    width: 260px;
    user-select: none;
}

.wg-dp-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .wg-dp-cal-header span {
        font-weight: 600;
        font-size: 0.9rem;
    }

    .wg-dp-cal-header button {
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        color: var(--bs-body-color, #333);
        font-size: 1rem;
    }

        .wg-dp-cal-header button:hover {
            background: var(--bs-tertiary-bg, #f0f0f0);
        }

.wg-dp-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 2px;
}

.wg-dp-cal-dow {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    padding: 4px 0;
}

.wg-dp-cal-day {
    padding: 6px 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background .15s, color .15s;
    color: var(--bs-body-color, #333);
}

    .wg-dp-cal-day:hover {
        background: var(--bs-tertiary-bg, #e9ecef);
    }

    .wg-dp-cal-day.other-month {
        color: var(--bs-secondary-color, #adb5bd);
    }

    .wg-dp-cal-day.selected {
        background: var(--siteColorMain, #0d6efd);
        color: #fff;
        font-weight: 600;
    }

    .wg-dp-cal-day.today {
        font-weight: 700;
        text-decoration: underline;
    }

    .wg-dp-cal-day.disabled {
        opacity: .35;
        pointer-events: none;
    }

.wg-dp-cal-header .wg-dp-month-btn,
.wg-dp-cal-header .wg-dp-year-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--siteColorMain, #0d6efd);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

    .wg-dp-cal-header .wg-dp-month-btn:hover,
    .wg-dp-cal-header .wg-dp-year-btn:hover {
        background: var(--bs-tertiary-bg, #f0f0f0);
        text-decoration-style: solid;
    }

.wg-dp-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 0;
}

    .wg-dp-selector-grid .wg-dp-selector-item {
        padding: 8px 4px;
        text-align: center;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.8rem;
        transition: background .15s, color .15s;
        color: var(--bs-body-color, #333);
    }

        .wg-dp-selector-grid .wg-dp-selector-item:hover {
            background: var(--bs-tertiary-bg, #e9ecef);
        }

        .wg-dp-selector-grid .wg-dp-selector-item.selected {
            background: var(--siteColorMain, #0d6efd);
            color: #fff;
            font-weight: 600;
        }

        .wg-dp-selector-grid .wg-dp-selector-item.disabled {
            opacity: .35;
            pointer-events: none;
        }

.wg-dp-year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px 0;
}

    .wg-dp-year-grid .wg-dp-selector-item {
        padding: 8px 4px;
        text-align: center;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.8rem;
        transition: background .15s, color .15s;
        color: var(--bs-body-color, #333);
    }

        .wg-dp-year-grid .wg-dp-selector-item:hover {
            background: var(--bs-tertiary-bg, #e9ecef);
        }

        .wg-dp-year-grid .wg-dp-selector-item.selected {
            background: var(--siteColorMain, #0d6efd);
            color: #fff;
            font-weight: 600;
        }

        .wg-dp-year-grid .wg-dp-selector-item.disabled {
            opacity: .35;
            pointer-events: none;
        }

.wg-dp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
}