﻿html, body {
    height: 100%;
    

}

app {
    display: block;
    height: 100%;
}

/*.header-logo {
    -webkit-mask: url('../images/CustomLogo.svg');
    mask: url('../images/CustomLogo.svg');*/
    /* ... */
    /*width: 180px;
    height: 24px;
}*/

.logon-template-header{
    background:#fff;
}
.header-logo {
    flex-shrink: 0;
    background: url('../images/plexus.png') no-repeat;
    cursor:pointer;
    /* -webkit-mask: url('../images/plexus.png');
    mask: url('../images/plexus.png');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;*/
    width: 180px;
    height: 32px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

[tooltip]:hover::after {
    content: attr(tooltip);
    position: absolute;
    background-color: antiquewhite;
    right: 0px;
    top: 0px;
    padding: 0px 5px;
    z-index: 10;
}
div[data-action-name="Filter"] .form-control:disabled, div[data-action-name="Filter"] .form-control[readonly] {
    background-color: white;
    opacity: 1;
}

.my-grid th, .dxbs-gridview tr, .main-content div:not(.card) > .row > .col-md-1:last-child, .main-content div:not(.card) > .row > .col-md-2:last-child, .main-content div:not(.card) > .row > .col-md-3:last-child, .main-content div:not(.card) > .row > .col-md-4:last-child, .main-content div:not(.card) > .row > .col-md-5:last-child, .main-content div:not(.card) > .row > .col-md-6:last-child, .main-content div:not(.card) > .row > .col-md-7:last-child, .main-content div:not(.card) > .row > .col-md-8:last-child, .main-content div:not(.card) > .row > .col-md-9:last-child, .main-content div:not(.card) > .row > .col-md-10:last-child, .main-content div:not(.card) > .row > .col-md-11:last-child {
    white-space: nowrap;
}

.dxbs-combobox input.dx-reset-readonly-style, .form-control:disabled, .form-control[readonly] {
    background-color: white;
    opacity: 1;
}

dxbl-modal > .dxbs-modal > .dxbs-popup.dxbs-popup-fixed-width {
    min-width: 80%;
    white-space: nowrap;
}

.dxbs-fl-group .card .card-header {
    background-color: #305874;
    color: white;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #305874;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: #305874;
    background-color: #305874;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: black;
    background-color: lightgrey;
    border-color: transparent transparent #adb5bd;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #305874;
    background-color: #305874;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.custom-checkbox .custom-control-input:not(:checked):not(:indeterminate):not(:disabled) ~ .custom-control-label::before, .custom-radio .custom-control-input:not(:checked):not(:indeterminate):not(:disabled) ~ .custom-control-label::before {
    background-color: gray;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #305874;
    border-color: #305874;
}

 .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
 .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: none;
}

.rebate-pool-show-edit .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.rebate-pool-show-edit .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) 
{
    display: block;
}

.nav-preview-line .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.nav-preview-line .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.nav-preview-line .dxbs-editor-dropdown-button{
    display: none;
}

.invoices-lock .dxbs-editor-dropdown-button{
    display: none;
}

.invoices-lock .btn-secondary {
    display: block;
}

    .invoices-lock .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1) {
        display: block;
    }

.invoices .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1) {
    display: block;
}

.commission .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.commission .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.credit-note .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.credit-note .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.dividends .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.dividends .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.payment-allocation-header .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.payment-allocation-header .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}
/*.btn-primary, .btn-primary:hover, .btn-primary:visited, .btn-primary:active, .btn-primary:focus {
    color: #fff;
    background-color: #305874;
    border-color: #305874;
}*/
/*.btn-primary:hover {
        color: #fff;
        background-color: cornflowerblue;
        border-color: cornflowerblue;
}*/
.hiddenButtons .dxbs-editor-dropdown-button ~ button {
    display: none;
}

.case-stage-totals{
    overflow: scroll;
    max-height: 670px;
}

.case-stage-totals-luboils {
    overflow: scroll;
    max-height: 740px;
}

.case-stage-totals-supplier-offers {
    overflow: scroll;
    max-height: 900px;
}

.case-stage-totals-customer-quotations-luboils{
    overflow: scroll;
    max-height: 840px;
}

.case-stage-totals-customer-quotations-spareparts {
    overflow: scroll;
    max-height: 915px;
}

.case-stage-totals-customer-acknowledgement {
    overflow: scroll;
    max-height: 740px;
}

.case-stage-totals-customer-order-spareparts {
    overflow: scroll;
    max-height: 1130px;
}

.case-stage-totals-customer-order-luboils {
    overflow: scroll;
    max-height: 890px;
}

.case-stage-totals-customer-invoices {
    overflow: scroll;
    max-height: 820px;
}

.case-information {
    overflow: scroll;
    max-height: 925px;
}
 
.case-stage-totals-supplier-invoices {
    overflow: scroll;
    max-height: 890px;
}

.case-stage-totals-supplier-orders {
    overflow: scroll;
    max-height: 900px;
}

.supplier-orders-commission-case, .supplier-offers-commission-case {
    margin-top: 0px;
}

.case-stage-totals-request-for-readiness {
    overflow: scroll;
    max-height: 850px;
}

.case-stage-totals-request-for-delivery-instructions {
    overflow: scroll;
    max-height: 850px;
}

.case-inquiries-information {
    overflow: scroll;
    max-height: 440px;
    height: 100%;
}

.xaf-grid-item-icon {
    visibility: hidden;
}
/*[data-action-name="Invoice Status"], [data-action-name="Posting"], [data-action-name="Others"], [data-action-name="Commission Status"] {
    background: #edf2f8 !important;
    color: black !important;
    cursor: none !important;
    font-weight: 500;
    width: 100%;
    padding: 0.2rem 2rem !important;
    pointer-events: none;
}*/

/*[data-action-name="Invoice Actions"], [data-action-name="Commission Actions"] {
    pointer-events: none;
}*/
    /*.table-bordered td, .table-bordered th {
    width: 100%;
}*/
    /*
.xaf-item-totals::after {
    content: attr(tooltip);
    position: absolute;
    content: url('../images/menu.png');
    background-color: inherit;
    right: 10px;
    width: 40px;
    top: 0px;
    padding: 12px 10px;
    z-index: 10;
    cursor: pointer;
}*/
    /*.dxbs-fl-group.dxbs-fl-gd.col-md-3 {
    width: 100px;
    height: 100px;
    background-color: blue;
    outline: none;
    cursor: pointer;
}

    .dxbs-fl-group.dxbs-fl-gd.col-md-3:focus {
        width: 200px;
        height: 200px;
    }*/
    /*.dxbs-fl-group.dxbs-fl-gd.col-md-3:hover {
    max-width: 50px;
}*/


.xaf-alert-message {
    white-space: pre-line !important;
}


/*sidebar*/

.sidebar {
    background: #edf2f8;
}

/*div[class *="sidebar"] {
    background: #edf2f8;
}*/

nav > ul {
    color: #212529;
    font-weight: 500;
    font-size: 15px;
}

    nav > ul > li > ul > li {
        color: #212529;
        font-weight: 400;
        font-size: 14px;
    }

    .dxbs-tree > ul.nav ul.nav {
        margin: 0.1em 0 0.2em 1.3em !important;
    }

    nav > ul > li > ul > li > ul > li {
        color: #212529;
        font-weight: 300;
        font-size: 13px;
    }


/*header*/

.header {
    background-color: white;
}


/*scrollbar*/

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    
/*.btn-secondary*/ /*, .btn-secondary*/ /*{
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0.5em !important;
}*/

.disabled, .dxbs-dropdown-toggle {
    color: black !important;
}

.disabled:hover {
    color: black !important;
    cursor: not-allowed;
}

input {
    border-radius: 0.5em !important;
    box-shadow: 0 0 2px #305874 !important;
    border: 0px !important;
}

    input:focus {
        box-shadow: 0 0 8px #568cb3 !important;
        border:0px !important;
    }

th {
    background: #305874;
    color: white;
}

.dxbs-select-cell {
    background: #ffffff;
}

/**For the info panel/*/
.inforPanelCase {
    height: 570px;
    overflow-x: scroll;
    overflow-y: scroll;
    
}

/**For the info panel/*/
.inforPanelCaseSP {
    height:900px;
    overflow-x: scroll;
    overflow-y: scroll;
    position: sticky;
   
}

.dxbs-grid-header-row {
    background-color: #305874;
}

.xaf-validation-message-container > .dxbs-checkbox {
    background-color: transparent !important;
}

.xaf-view-caption-lg{
    font-size: 17px;
}

.bg-primary {
    background-color: #305874 !important;
}

.dropdown-item:active {
    background-color: #305874;
}

.nav-tabs .nav-link.active:before {
    border-bottom-color: #305874;
}

/*.bg-primary:hover{
    color: black !important;
}*/

.file-manager-wrapper{
    height:700px;
}
    .file-manager-wrapper .file-manager {
       
    }
    .file-manager-wrapper .file-viewer-content {
       overflow:auto;
       width:900px;
    }

    .file-manager-wrapper .file-component-content {
        overflow: auto;
        width: 950px;
    }

    /* File Manager Drawer */
.dx-filemanager-container.dx-widget .dx-drawer-panel-content.dx-drawer-panel-content-initial {
    display: none;
}

/* Changes for merge*/
.ms-auto {
    margin-left: auto !important;
}

.dxbl-fl .dxbl-fl-group > .dxbl-group > .dxbl-group-header:not(.dxbl-fl-group-header-tmpl) {
    font-weight: bold !important;
    background-color: #e8f4f8 !important;
}

.provisional-gp{
    font-size:20px;
    text-align: center;
    text-transform:uppercase;
    background-color:yellow;
}

.case-feedback {
    font-size: 15px;
    text-align: left;
    color: darkblue;
    font-weight: bold;
}

.currencies-unmatched-message {
    margin-top: 10px;
}

    .currencies-unmatched-message .dxbl-fl-ctrl-nc .dxbl-text-edit-input {
        text-align: center;
        font-size: 15px;
        color: white;
        font-weight: bold;
        background-color: dodgerblue !important;
        border-radius: 0px !important;
        border: 1px solid transparent;
    }


.automation-msg 
{
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    background-color:cornflowerblue;
    color: white;
}


.validation-failed {
    border-style: solid;
    border-color: #E8939A;
    border-width: 2px;
    border-radius: 10px;
}

    .validation-failed::after {
        content: url('../images/alert.svg');
        font-size: 22px;
        margin-right: 1px;
    }

.validation-success {
    border-style: solid;
    border-color: #87BD9B;
    border-width: 2px;
    border-radius: 10px;
}

    .validation-success::after {
        content: url('../images/ValidationValid.svg');
        font-size: 22px;
        margin-right: 1px;
    }

.automation-actions-container {
    position: sticky;
    z-index: 1000;
    top: 0px;
    background-color: #f4f7fc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding-bottom: 3px;
    padding-top: 4px;
    margin-left: 4px;
}

.btn-style {
    background-color: #007bff !important;
    color: white !important;
    border-radius: 10px;
    box-shadow: 0 1px 4px 0 #007bff !important;
    border: hidden;
}

    .btn-style:hover {
        background-color: #0b5ed7 !important;
        color: white !important;
    }

/*.already-process {
    background-color: blue;
}

.already-process2 {
    background-color: green;
}

.already-process3 {
    background-color: orange;
}
.already-process4{
    background-color: red;
}*/

.ui-state-highlight {
    background-color: rgba(var(--bs-primary-rgb), .3);
}

.ui-state-hover {
    background: rgba(var(--bs-primary-rgb), .3);
}

.ui-draggable-dragging {
    box-shadow: 0 2px 6px 0 rgb(0 0 0 / 12%);
}

.dxbl-grid .dxbl-grid-table > tbody > tr[data-visible-index] {
    cursor: pointer;
}

.ui-draggable-handle{
    z-index: 1000;
}

.dxbl-fl .dxbl-fl-item .dxbl-fl-ctrl-nc, .dxbl-fl .dxbl-fl-item .dxbl-fl-empty-caption + .dxbl-fl-ctrl{
    margin-top:0px !important;
}

.mt-0{
    margin-top: 0px;
}

.ai-results-field{
   margin-top:0px;
}

    .ai-results-field .dxbl-fl-ctrl-nc .dxbl-text-edit-input {
        background-color: rgba(149, 179, 226) !important;
        border: none;
        color: white;
        font-weight: bold;
        border-radius:0px !important;
        height:20px;
    }

    .ai-results-field > .dxbl-fl-ctrl-nc > .dxbl-text-edit > .dxbl-btn.dxbl-edit-btn-clear {
        display: none;
    }

.ai-order-msg .dxbl-fl-ctrl-nc .dxbl-text-edit-input {
    background-color: yellowgreen !important;
    font-size: 16px;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 0px !important;
    height: 20px;
    text-align: center;
}

.ai-order-msg > .dxbl-fl-ctrl-nc > .dxbl-text-edit > .dxbl-btn.dxbl-edit-btn-clear {
    display: none;
}

.case-stage-items-sticky .dxbl-fl-ctrl .nested-frame .nested-content .grid-content .xaf-grid-batchedit-mode {
    max-height: 700px !important;
    position: sticky !important;
}

.settings-bar{
    position: absolute !important;
}

button[title = 'GenerateCase'], button[title = 'DeclineCase'] {
    color: black;
} 

.automation-quotation-items .dxbl-fl-ctrl-nc .nested-frame .nested-content .grid-content .xaf-grid-batchedit-mode {
    position: sticky;
    max-height: 700px;
}}

.saf-grid .dxbl-grid-table .dxbl-grid-detail-cell{
    padding:5px!important;
}

.receivable-row{
    background-color:limegreen!important;
    color:white!important;
}

.payable-row {
    background-color: red !important;
    color: white !important;
}

.confirm-accounts {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41);
    border-color: rgb(206, 212, 218);
    background-color:rgb(255,255,255);
}

.confirm-accounts-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/sale_item.svg");
    margin: 0 0 0 0;
}

.gp-history-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/gp_history_16px.svg");
    margin: 0 0 0 0;
}

.gp_history {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41);
    border-color: rgb(206, 212, 218);
    background-color: rgb(255,255,255);
     
}

.gp_history:hover {
        background-color: none;
}

.customer-exists {
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    background-color: yellow;
    font-weight: bold !important;
}

.restore-approval-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/restore.svg");
    margin: 0 0 0 0;
}

.restore-approval {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41);
    border-color: rgb(206, 212, 218);
    background-color: rgb(255,255,255);
}

    .restore-approval:hover {
        color: none !important;
    }


.feedback_icon {
    width: 24px;
    height: 24px;
    background-image: url("../images/icons/feedback.svg");
    margin: 0 0 0 0;
}

.feedback {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41) !important;
    border-color: rgb(206, 212, 218) !important;
    background-color: rgb(255,255,255);
}


.amountrecord-icon {
    width: 24px;
    height: 24px;
    background-image: url("../images/icons/amountrecord.svg");
    margin: 0 0 0 0;
}

.amountrecord {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41) ;
    border-color: rgb(206, 212, 218);
    background-color: rgb(255,255,255);
}


.amountrecord:hover {
        color: none !important;
    }

.safename-textboxes .dxbl-text-edit {
    font-size: 12px !important;
    width:70%;
}

.safename-textboxes .dxbl-text {
    font-size: 12px !important;
}
    }

.card {
    box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #a6bfe6;
}


.folder_up_icon {
    width: 20px !important;
    height: 24px !important;
    background-image: url("../images/icons/folder-up.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.folder_up {
 
    height:30px;
    width: 40px;
    color: rgb(33, 37, 41) !important;
    border-color: rgb(206, 212, 218) !important;
    background-color: rgb(255,255,255);
}

 
.drop-area {
    flex: 1 1 100%;
    min-width: 300px;
}

.dx-preview-pane {
    flex: 1 1 100%;
    margin-top: 1rem;
}

.dx-preview-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.dxUploadToSharePoint .dxbl-upload-cancel-btn {
    visibility: collapse;
    display: none;
}

.plexusTooltip {
    position: relative;
    display: inline-block;
}

.plexusTooltip .plexusTooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 50%;
        margin-left: -60px;
    }


.plexusTooltip:hover .plexusTooltiptext {
        visibility: visible;
    }


.vessel_properties_icon svg {
    width: 20px;
    height: 24px;
    color: green;
}

.vessel_properties_warning_icon svg {
    width: 20px;
    height: 24px;
    color: red;
}

.documentflagaction {
    margin-top: 42px;
}