﻿body {
    background: #F5F7F9;
}

.app-content {
    padding: 0.5rem 1rem 1rem 1.5rem;
    height: 100%;
    overflow: auto;
    margin-left: 19rem;
}

.dx-datagrid-headers {
    color: #000;
    font-weight: 600;
}

.dx-datagrid .dx-row > td {
    padding: 10px 2px;
}

.link-export {
    color: var( --bs-success );
    font-size: medium;
    text-decoration: none;
    font-weight: 500;
}

    .link-export:hover {
        color: var( --bs-success );
        font-size: medium;
        text-decoration: none;
        font-weight: 500;
    }

.link-edit {
    color: var( --bs-warning );
    font-size: medium;
    text-decoration: none;
    font-weight: 500;
}

    .link-edit:hover {
        color: var( --bs-warning );
        font-size: medium;
        text-decoration: none;
        font-weight: 500;
    }

.dx-datagrid .dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-edit-with-icons .dx-link {
    width: 32px;
    height: 32px;
    padding: 5px 0px 0px 0px;
}

.dx-button-mode-text, .dx-button-mode-text.dx-state-focused {
    background-color: #ccc;
    font-weight: 600;
    border-color: transparent;
    color: #fff;
}


    .dx-button-mode-text:hover, .dx-button-mode-text.dx-state-focused:hover {
        background-color: #cdccdc;
        font-weight: 600;
        border-color: transparent;
        color: #fff;
    }




.dx-command-edit.dx-command-edit-with-icons {
    padding: 6px 0px !important;
}

.dx-command-edit .dx-link + .dx-link {
    margin-left: 8px;
}



.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    border-bottom: 0;
}

.dx-datagrid-headers {
    border-bottom: 0;
    background: #F5F5F5;
    border-radius: 4px;
}

    .dx-datagrid-borders .dx-datagrid-rowsview, .dx-datagrid-headers + .dx-datagrid-rowsview, .dx-datagrid-rowsview.dx-datagrid-after-headers {
        border-top: none;
    }


.dx-scheduler-a11y-status-container {
    display: none !important;
}

.button-sep {
    width: 2px;
    height: 25px;
    background: #eff2f7;
}

.excel-button {
    border: 0;
    background: #fff;
    color: #007447;
    font-weight: 500;
}

    .excel-button i {
        margin-right: 5px;
    }

    .excel-button:hover {
        text-decoration: underline;
    }

.edit-table-button {
    border: 0;
    background: #fff;
    color: #A913EF;
    font-weight: 500;
}

    /*.edit-table-button i {
        margin-right: 5px;
    }*/

    .edit-table-button:hover {
        text-decoration: underline;
    }

.mr-auto, .mx-auto {
    margin-right: auto !important;
}

.dx-datagrid-header-panel {
    display: none;
}

.show-datagrid-header-panel .dx-datagrid-header-panel {
    display: block;
}

.hide {
    display: none;
}

.grid-refresh-button {
    margin-top: -5px;
    margin-bottom: -5px;
    float: right;
    margin-right: -2px;
}

.grid-icon {
    height: 30px;
}

.page-header {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.breadcrumb {
    padding-top: 10px;
    height: 18px;
    padding-left: 1px;
}

.dx-footer-row td {
    padding: 0 !important;
}

.dx-command-edit {
    text-align: end !important;
}


.form-caption {
    margin-top: 3px;
    margin-bottom: 5px;
    padding-left: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-left: -8px;
    border-bottom: 1px solid #EBECED;
    margin-right: -30px;
    height: 30px;
    padding-top: 3px;
}

.form-area {
    margin-left: 10px;
    padding-right: 30px;
    padding-bottom: 20px;
    width: calc(33% - 10px);
    margin-bottom: 10px;
    border: 1px solid #EBECED;
    background: white;
    border-radius: 6px;
}

    .form-area.col-12 {
        width: calc(100% - 29px);
    }

.grid-area {
    margin-left: 10px;
    padding-right: 30px;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border: 1px solid #EBECED;
    background: white;
    border-radius: 6px;
}

    .grid-area.col-12 {
        width: calc( 100% - 27px);
    }

.grid-add-button {
    height: 30px;
    border: 1px solid #EBECED;
    background: white;
    border-radius: 4px;
    width: 30px;
    margin-top: -5px;
    margin-bottom: -5px;
}

.col-8.grid-area {
    width: calc( 66% - 15px );
}

    .col-8.grid-area .form-caption {
        margin-left: 0px;
    }

.dx-texteditor-label {
    color: #000;
}

.dx-accordion {
    margin: 10px;
}

.btn-min i {
    margin-right: 5px;
}

.btn-min {
    min-width: 120px;
    margin-left: 5px;
}

.f-xl {
    font-size: 20px;
}

.brand {
    width: 100%;
    height: 60px;
    background: white;
    padding-top: 17px;
    border-right: 1px solid #EBECED;
}

    .brand .brand-logo {
        padding-left: 5%;
    }

        .brand .brand-logo img {
            width: 90%;
        }

hr {
    color: #EBECED;
    border-top: 1px solid;
    opacity: 1;
}

:root {
    --app-sidebar-width: 19rem;
}

.app-header {
    box-shadow: none;
    border-bottom: 1px solid #EBECED;
    margin-left: 19rem;
}

.app-sidebar .app-sidebar-content {
    border-right: 1px solid #EBECED;
}

.app-sidebar .menu .menu-item.active:not(.has-sub) > .menu-link {
    color: var(--app-sidebar-menu-link-color);
    background: #F3F3F3;
}

.app-header .brand {
}

.app-header .menu .menu-item .menu-link {
}

.app-header .menu .menu-item .menu-img, .app-header .menu .menu-item .menu-img-text {
}

.app {
}

.app-sidebar {
    top: 0;
    border-right: 0;
    background: white;
    width: 19rem;
}

.app-sidebar .app-sidebar-content {
    width: 19rem;
}

.app-header .desktop-toggler .menu-toggler {
}

.btn-sm {
    height: 30px;
}

.c-white {
    color: white !important;
}

.app-header .brand .brand-logo {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 0.5rem !important;
}

.desktop-toggler {
    position: absolute;
    left: 18.5rem;
    background: var(--bs-body-bg);
    height: 30px;
    padding-top: 4px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 25px;
    top: 60px;
}

.app-sidebar-minified
.desktop-toggler {
    left: 3.5625rem;
}

.app-sidebar-minified .h-sidebar-minify {
    display: none;
}

.s-sidebar-minify {
    display: none;
}

.app-sidebar-minified .s-sidebar-minify {
    display: block;
}

.menu-toggler {
    background-color: transparent;
    border: none;
    color: var(--app-sidebar-menu-header-color);
}


.app-header .menu .menu-item .menu-img, .app-header .menu .menu-item .menu-img-text {
    border: 1px solid;
    border-radius: 20px;
    background-color: #E019FE;
    color: white;
}

.grid-message {
    overflow-wrap: break-word;
    /* width: 500px; */
    /* word-break: break-all; */
    /* word-spacing: normal; */
    white-space: break-spaces;
    max-height: 100px;
    height: 100px;
    overflow-x: auto;
}

.view-log {
    width: 100%;
    height: 100%;
    overflow: auto;
}


.form-img {
    width: auto;
    min-width: 80px;
    height: 80px;
    object-fit: cover;
}

.form-img-area {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    min-width: 90px;
    width: auto;
    float: left;
}

.form-img-btn {
    float: left;
    width: 40px;
    margin-left: 5px;
}

    .form-img-btn button:last-child {
        margin-top: 17px;
    }

.card-area {
    width: calc( 100% - 30px);
    margin: 15px;
    border: 1px solid #d1d9e7;
    border-radius: 5px;
    padding: 5px;
}

.card-header {
    text-align: center;
    height: 30px;
    font-size: large;
    font-weight: 600;
    padding-bottom: 15px;
}

.card-image {
    text-align: center;
    padding-bottom: 15px;
}

    .card-image img {
        height: 40px;
        width: auto;
    }

.card-button {
    height: 50px;
    text-align: center;
    padding-bottom: 15px;
}

.form-caption img {
    height: 30px;
    width: auto;
}


.button-menu {
    margin-left: 2px;
    font-size: 14px;
    font-weight: 600;
    padding-left: 5px;
    padding-right: 5px;
    color: #000;
}

.answer-line {
    font-size: 13px;
    height: 8px;
}

.fw-600 {
    font-weight: 600;
}


.btn-outline-soho {
    --bs-btn-color: #d12131;
    --bs-btn-border-color: #d12131;
    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: #d12131;
    --bs-btn-hover-border-color: #d12131;
    --bs-btn-focus-shadow-rgb: 209,33,49;
    --bs-btn-active-color: #FFFFFF;
    --bs-btn-active-bg: #d12131;
    --bs-btn-active-border-color: #d12131;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #d12131;
    --bs-btn-disabled-bg: transparent;
    --bs-gradient: none;
}

.dx-multiview-item-content {
    padding: 10px;
}

.form-text {
    padding-left: 1px;
    font-size: 14px;
    color: #000;
}

.currency-total-text {
    font-size: smaller;
    padding: 2px 4px;
    background: gray;
    float: right;
    border-radius: 5px;
    color: white;
}

.row-sub-text {
    font-size: small;
    color: #616161;
}

.dropdown {
    /*height:40px;*/
    margin-top: 1px;
}

    .dropdown button {
        height: 35px;
        margin-top: -1px;
    }

a.menu-link {
    height: 40px;
}

.menu-submenu a.menu-link {
    height: 35px;
}

.caret:before {
    content: "\f0da";
}

.expand .caret:before {
    content: "\f0d7";
}

.app-sidebar .menu .menu-item .menu-submenu {
    padding-left: 0.50rem;
}

.menu-icon-img {
    width: 24px;
    height: 24px;
}

.app-sidebar .menu .menu-item .menu-icon {
    font-size: 1.2rem;
    /*    background: -webkit-linear-gradient(#F16360,#AB74B1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
}

.app-sidebar .menu .menu-item .menu-link .menu-text {
    white-space: nowrap;
}

.filter-bar {
    background: white;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px 5px;
    border: 1px solid #EBECED;
    border-radius: 4px;
}

.filtered-bar {
    background: white;
    border-radius: 4px;
    display: none;
}

    .filtered-bar.show {
        display: -webkit-box;
    }

.filtered-value {
    border: 1px solid #EBECED;
    margin-right: 5px;
    background: #EBECED;
    border-radius: 4px;
    float: right;
    padding: 0 5px;
}

span.filtered-value {
    margin-right: 10px;
}

.filtered-caption {
    font-weight: bold;
    margin-right: 5px;
}

.filtered-item {
    min-width: 80px;
    padding: 3px;
}

.filtered-remove {
    color: #D38330;
    float: right;
    height: 20px;
    padding: 0;
    cursor: pointer;
    margin-left: 5px;
}

/*div#search {
    line-height: 30px;
    height: 30px;
}

    div#search .dx-texteditor-input {
        padding: 2px 0 2px 0;
        min-height: 30px;
    }

    div#search .dx-placeholder {
        top: -8px;
    }
    */
div#search .dx-button {
    background: white;
}

div#search {
    height: 35px !important;
    align-self: flex-start;
}

.filter-bar label {
    padding-top: 7px;
}

.btn-filter {
    height: 35px;
    border: 1px solid #EBECED;
    background: white;
    margin-left: 2px;
    border-radius: 4px;
}



.btn {
    line-height: 1.3;
    border-radius: 4px;
    height: 35px;
    ;
}

    .btn > .far, .btn > .fas, .btn > .fa {
        padding-right: 5px;
    }

.list-page-header {
    margin-top: 10px;
}

#grid {
    border: 1px solid #EBECED;
    border-radius: 4px;
    background: white;
}

.alert-primary {
    --bs-alert-color: #FFFFFF;
    --bs-alert-bg: #1f6bff;
    --bs-alert-border-color: #1f6bff;
}

.alert-light {
    --bs-alert-color: #000000;
    --bs-alert-bg: #FFFFFF;
    --bs-alert-border-color: #EBECED;
    border: 1px solid #EBECED;
    border-radius: 3px;
}

.dx-datagrid .dx-row-lines > td {
    border-bottom: 0;
}

.dx-datagrid-rowsview .dx-row {
    border-top: 1px solid transparent;
    border-bottom: 0;
}

.card-header {
    height: 40px;
    background-color: white;
}

.card-body {
    min-height: 480px;
}

.app-sidebar .menu .menu-item .menu-link:hover {
    color: #1963D1;
}

.app-sidebar .menu .menu-item .menu-link:hover {
    color: #1963D1;
}

label {
    font-weight: 500;
}

.mr-3px {
    margin-right: 3px;
}

.btn-check:active + .btn:focus, .btn-check:checked + .btn:focus, .btn.active:focus, .btn.show:focus, .btn:active:focus {
    box-shadow: none;
}

.btn-primary {
    --bs-btn-active-shadow: none;
}

.btn {
    --bs-btn-focus-box-shadow: none;
}

.dx-datagrid {
    padding: 10px;
}

td {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.dx-toast-warning {
    background-color: white;
    color: #f0ad4e;
    border-radius: 0;
    top: 10px !important;
    left: -10px !important;
}

.dx-toast-success {
    background-color: white;
    color: #5cb85c;
    border-radius: 0;
    top: 10px !important;
    left: -10px !important;
}

.dx-toast-message {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    line-height: 16px;
    font-size: 14px;
    font-weight: 300;
    color: black;
}

.dx-toast-warning .dx-toast-icon {
    background-image: none;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-family: "Font Awesome 6 Free";
}

.filter-bar .row:has(.voucher-filters) { flex-wrap: nowrap; align-items: center; overflow-x: auto; }
.filter-bar .row > .col-6:has(.voucher-filters) { flex: 0 0 auto; width: auto; max-width: none; }
.filter-bar .row > .col-6:has(.voucher-filters) + .col-6 { flex: 1 0 auto; width: auto; max-width: none; }
.filter-bar .row > .col-6:has(.voucher-filters) + .col-6 #search { width: 270px !important; min-width: 270px; max-width: 270px; }
.filter-bar .row > .col-6:has(.voucher-filters) + .col-6 .btn-filter { white-space: nowrap; }

.voucher-filters { display: flex; flex-wrap: nowrap; gap: 6px 14px; align-items: center; }
.voucher-filters .filter-item { display: flex; align-items: center; gap: 4px; white-space: nowrap; flex: 0 0 auto; }
.voucher-filters .filter-item .filter-dropdown { flex: 0 0 auto; min-width: 0; }
.voucher-filters .filter-item.source-filter .filter-dropdown { width: 140px; }
.voucher-filters .filter-item.firm-filter .filter-dropdown { width: 140px; }
.voucher-filters .filter-item.period-filter .filter-dropdown { width: 90px; }
.voucher-filters .filter-item.month-filter .filter-dropdown { width: 90px; }

.filter-bar .row:has(.coa-filters) { flex-wrap: nowrap; align-items: center; overflow-x: auto; }
.filter-bar .row > .col-6:has(.coa-filters) { flex: 0 0 auto; width: auto; max-width: none; }
.filter-bar .row > .col-6:has(.coa-filters) + .col-6 { flex: 1 0 auto; width: auto; max-width: none; }
.filter-bar .row > .col-6:has(.coa-filters) + .col-6 #search { width: 270px !important; min-width: 270px; max-width: 270px; }
.filter-bar .row > .col-6:has(.coa-filters) + .col-6 .btn-filter { white-space: nowrap; }

.coa-filters { display: flex; flex-wrap: nowrap; gap: 6px 16px; align-items: center; }
.coa-filters .filter-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 0 auto; }
.coa-filters .filter-item > label { position: relative; top: -1px; }
.coa-filters .filter-item .filter-dropdown { flex: 0 0 auto; min-width: 0; }
.coa-filters .filter-item.source-filter .filter-dropdown { width: 200px; }
.coa-filters .filter-item.firm-filter .filter-dropdown { width: 180px; }
.coa-filters .filter-item.period-filter .filter-dropdown { width: 90px; }

.voucher-list-grid .dx-datagrid-headers .dx-header-row > td:not(.dx-command-edit),
.voucher-list-grid .dx-datagrid-rowsview .dx-data-row > td:not(.dx-command-edit) {
    padding-left: 12px !important;
    padding-right: 12px !important;
    text-align: left !important;
}

.voucher-list-grid .dx-datagrid-headers .dx-datagrid-text-content {
    text-align: left !important;
}

.voucher-list-grid .dx-datagrid-headers .dx-command-edit,
.voucher-list-grid .dx-datagrid-rowsview .dx-command-edit {
    text-align: center !important;
}

.dx-toast-success .dx-toast-icon {
    background-image: none;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-family: "Font Awesome 6 Free";
}

.dx-toast-icon {
    padding-top: 12px;
    font-size: 20px;
    height: 45px;
    padding-left: 7px;
}

.dx-toast-success .dx-toast-icon {
    border-left: 5px solid #5cb85c;
}

dx-toast-warning .dx-toast-icon {
    border-left: 5px solid #f0ad4e;
}

.dx-toast-success .dx-toast-icon:before {
    content: "\f058";
}

.dx-toast-warning .dx-toast-icon:before {
    content: "\f06a";
}

.grid-gray-value {
    float: left;
    color: gray;
    padding-top: 5px;
    font-size: 12px;
}

.grid-normal-value {
    float: left;
    padding-top: 5px;
}

.grid-cell-refresh-area {
    float: right;
    margin-right: 5px;
}

.grid-cell-refresh-button {
    height: 30px;
    border: 1px solid #EBECED;
    background: white;
    margin-left: 2px;
    border-radius: 4px;
}

button.primary-doc {
    background: rgba(25,86,204,0.35);
    border: none;
    border-radius: 3px;
    color: rgba(25,86,204,1);
    font-weight: 600;
    text-align: center;
    padding: 0.35em 0.65em !important;
    font-size: 0.75em;
    border-radius: 6px;
}

button.success-doc {
    background: rgba(2,109,129,0.35);
    border: none;
    border-radius: 3px;
    color: rgba(2,109,12,1);
    font-weight: 600;
    text-align: center;
    padding: 0.35em 0.65em !important;
    font-size: 0.75em;
    border-radius: 6px;
}

button.success-doc {
    background: rgba(2,109,129,0.35);
    border: none;
    border-radius: 3px;
    color: rgba(2,109,12,1);
    font-weight: 600;
    text-align: center;
    padding: 0.35em 0.65em !important;
    font-size: 0.75em;
    border-radius: 6px;
}

button.secondary-doc {
    background: rgba(108,117,125,0.35);
    border: none;
    border-radius: 3px;
    color: rgba(108,117,125,1);
    font-weight: 600;
    text-align: center;
    padding: 0.35em 0.65em !important;
    font-size: 0.75em;
    border-radius: 6px;
}


.mid-width-content.dx-overlay-content {
    width: 350px !important;
    flex-direction: row;
}

iframe {
    width: 100%;
    height: 90%;
}

.no-margin {
    margin: 0 0;
}

.dx-datagrid-content .dx-datagrid-table .dx-row > td, .dx-datagrid-content .dx-datagrid-table .dx-row > tr > td {
    vertical-align: middle !important;
}

    .dx-datagrid-content .dx-datagrid-table .dx-row > td.dx-datagrid-group-space, .dx-datagrid-content .dx-datagrid-table .dx-row > tr > td.dx-datagrid-group-space {
        vertical-align: middle !important;
    }
.dx-tab-text-span-pseudo {
    display: none !important;
}

.dx-texteditor-input {
    background-color: #fff !important;
    color: #000 !important;
}

#toEmailAddress .dx-placeholder {
    display: none !important;
}

#gridWaitInvoice .dx-texteditor-input::placeholder {
    opacity: 0 !important;
}

.voucher-readonly .dx-texteditor-input,
.voucher-readonly.dx-texteditor.dx-state-readonly {
    background-color: #e9ecef !important;
    color: #6c757d !important;
}

.voucher-readonly.dx-texteditor.dx-state-readonly .dx-texteditor-input {
    background-color: #e9ecef !important;
}

.voucher-edit-page .card-body {
    min-height: 0;
}

.voucher-edit-page {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voucher-edit-page > .card {
    margin-bottom: 0 !important;
}

.voucher-edit-page .voucher-header-card .card-body,
.voucher-edit-page .voucher-footer-card .card-body {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.voucher-edit-page .voucher-header-card .card-body {
    min-height: 180px;
}

.voucher-edit-page .voucher-lines-card .card-body {
    padding-bottom: 0;
}

.voucher-edit-page .voucher-lines-card .nav-tabs {
    min-height: 42px;
}


#voucherLinesGrid .dx-texteditor-input::placeholder {
    opacity: 0 !important;
}

#voucherLinesGrid .dx-editor-cell .dx-placeholder {
    color: #999;
}

.popup-footer-buttons {
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .popup-footer-buttons .btn {
        min-height: 42px;
        padding: 8px 18px;
    }

.dx-gridbase-a11y-status-container {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

