@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.add-charge {
    color: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    width: 100% !important;
    text-align: center !important;
}
.add-charge:hover {
    color: #333 !important;
    font-weight: bolder !important;
}

.add-charge:focus {
    color: white !important;
    font-weight: bolder !important;
    background-color: #333 !important;
}

.regular-price {
    background-color: #e0e0e0 !important; /* slightly darker gray */
    color: #333 !important; /* keep text dark */
}

.debit-price {
    background-color: #f8d7da !important; /* red tint for debit */
    color: #721c24 !important; /* dark red text */
}
body {
    /* padding-top: 50px;*/
    padding-bottom: 20px;
}
.popover-body{
    direction : rtl;
}

.menu-text {
    color: #383DC1;
    font-weight: bold;
    padding-right: 10px;
}
.menu-icon {
    color: #FFBA00;
    padding-left: 3px;
}
.menu-top-text {
    color: #383DC1;
    font-size: 25px;
    font: bold;
    text-align:center;
}

.btn-border-menu {
    border-color: #FFBA00;
    border-width: 3px;
}
.btn-border-menu:focus{
    border-right:none;
    border-left:none;
}

.nav-item a {
    color: black;
    border-radius: 0px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

    .nav-item a.active {
        background-color: rgba(255,255,255,0.25);
        color: white;
    }

    .nav-item a:hover {
        background-color: gold;
        color: black;
    }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem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jMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}
.my-fl .form-group {
    margin-bottom: 5px;
    direction: rtl;
}

.formLayoutButton {
    width: 100%;
}

.PageContentHeader {
    font-size: large;
    font-weight: 500;
    text-align: center;
    color: cornflowerblue;
}

.sticky-div {
    position: sticky;
    top: 0px;
    padding: 10px 0px;
}
.appointment-color-light-blue {
    background-color: #39B8F3;
}
.appointment-color-red {
    background-color: #DC626D;
}
.appointment-color-yellow {
    background-color: #FEEE65;
}
.appointment-color-green {
    background-color: #52CE90;
}
.appointment-color-blue {
    background-color: #5DA9E5;
}
.appointment-color-orange {
    background-color: #E8825C;
}
.appointment-color-purple {
    background-color: #B1ABEB;
}

.dxbl-accordion-group-header {
    background-color: #ffffff;
}
.dxbl-accordion-item {
    border-color: #ffffff;
}

.dxbl-text-edit-input {
    border-radius: 0px;
}

.dxbl-text-edit {
    border-radius: 0px;
    border-color: #E7EAED;
}

.dxbl-scroll-viewer {
    direction: ltr;
}
/*.dxbl-scroll-viewer-hor-scroll-bar
{
    direction:ltr;
}
.dxbl-scroll-viewer-scroll-thumb {
    direction: rtl;
}*/

.dxbs-sc-headers-scroll-area {
    direction: ltr;
}

.numeric {
    direction: ltr;
}
/*.dxbl-scroll-viewer {
    right: initial !important;
    left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}
.dxbl-scroll-viewer-content {
    direction: rtl;
    right: initial !important;
    left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}
.dxbl-scroll-viewer-scroll-thumb {
    direction: rtl;
    right: initial !important;
    left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}
.dxbl-scroll-viewer-hor-scroll-bar {
    direction: rtl;
    right: initial !important;
    left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}
.dxbl-grid {
    direction: rtl;
    right: initial !important;
    left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}
*/
.devExpressGrid .dxbl-grid-table {
    border-right: none !important;
    border-left: none !important;
    border-color: #F2F4F7;
    direction: rtl;
/*    margin: 15px;
*/    /*right: initial !important;
    left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;*/
}
.dxbl-fl .dxbl-fl-group > .dxbl-group {
    direction: rtl;
    border-radius: 7px;
    border-color: #F5F6FA;
}
.dxbl-group > .dxbl-group-header {
    background-color: white;
    border-bottom:none;
    font-size:20px;
}

.dxbl-grid {
    border-color: #F6F7FB;
    border-width: 2px;
    border-radius: 7px;
    background-color: #ffffff;
    padding:15px;
}
.dxbl-accordion .dxbl-accordion-filter > .dxbl-accordion-group-header {
    background-color: #FFF;
    color: #1C384C;
    /*    background: linear-gradient(#E4C4EA, #ECD5F0);
*/
}
.dxbl-accordion .dxbl-accordion-group:first-child:not(:last-child), .dxbl-accordion .dxbl-accordion-group:first-child:not(:last-child) > .dxbl-accordion-group-header {
    border-color: #1C384C;
    color: #1C384C;
    border-radius: 0px;
    border-spacing: 2px;
}
.dxbl-accordion-item .dxbl-active{
    background-color: #F8D039;
}
.dxbl-accordion .dxbl-accordion-group:not(.dxbl-disabled):not(:disabled):not(.dxbl-accordion-filter):not(.dxbl-disabled):not(:disabled).dxbl-active > .dxbl-accordion-group-header {
    background-color: #F8D039;
}

.dxbl-accordion-item-content .dxbl-image {
    padding-left: 1rem !important;
    color: #1C384C;
}
.dxbl-accordion-item-content .dxbl-accordion-item-text {
    padding-left: 1rem !important;
    color: #1C384C;
}
.devExpressGrid
.dxbl-align-right {
    direction: ltr;
}
/*:not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group.dxbl-btn-group-right > .dxbl-btn, :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-btn-group.dxbl-btn-group-right > .dxbl-btn, :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-btn-group > .dxbl-btn-split:not(:first-child) > .dxbl-btn:first-child, :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-btn-group > .dxbl-btn:not(:first-child):not(.dxbl-btn-first), :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-btn-group > .dxbl-text-edit:not(:first-child), :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-btn-group > .dxbl-text-edit:not(:first-child) > .dxbl-btn-group-left > .dxbl-btn:first-child, :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-btn-split:not(:first-child) > .dxbl-btn:first-child, :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-btn:not(:first-child):not(.dxbl-btn-first), :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-text-edit:not(:first-child), :not(.dxbl-btn-plain-toolbar) > .dxbl-btn-group > .dxbl-text-edit:not(:first-child) > .dxbl-btn-group-left > .dxbl-btn:first-child {
    background-color: #64B7CB;
    color: #fff;
}*/

.dxbl-pager {
    --dxbl-pager-active-page-btn-bg: #F75631;
}

.dxbl-group > .dxbl-group-header > .dxbl-btn.dxbl-group-expand-btn > svg.dxbl-image {
    color: transparent;
}
.dxbl-accordion-item-text {
    font-size: 15px;
    font-family:Arial;
}
.dxbl-grid-header-row {
    background-color: #fff;
    border-bottom: #A3A3A3 solid 0.5px;
    height: 50px;
    border-radius: 0px;
    color: #1C384C;
    height: 10px;
    text-align: right;
}

.dxbl-grid .dxbl-grid-table > thead .dxbl-grid-header-row > th:not(.dxbl-grid-empty-cell) {
    background-color: #fff;
    border-bottom: #A3A3A3 solid 0.5px;
    height: 50px;
    border-radius: 0px;
    color: #1C384C;
    height: 10px;
    text-align: right;
}

.dxbl-group > .dxbl-group-header {
    font-weight: bold;
}

.devExpressGrid
.dxbl-grid-focused-row {
    background: #F4F4F4;
    color: black;
}

.dxbl-grid
.dxbl-grid-table
.dxbl-grid-focused-row.dxbl-grid-selected-row:not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell) {
    color: black;
    background: #F4F4F4;
}
.dxbl-grid
.dxbl-grid-table
.dxbl-grid-focused-row:not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell) {
    color: black;
    background: #F4F4F4;
}

.dxbl-grid
.dxbl-grid-table
.dxbl-grid-focused-row.dxbl-grid-selected-row:not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell)::before {
    color: black;
    background: #F4F4F4;
}

.dxbl-grid
.dxbl-grid-table
.dxbl-grid-focused-row:not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell)::before {
    color: black;
    background: #F4F4F4;
}
@media (min-width: 768px) {
    .navbar-toggler {
            display: none;
        }
    }

    @media (max-width: 768px) {
    }

    .navbar.header-navbar {
    flex-grow: 0;
    flex-wrap: nowrap;
    border: none;
    background-color: #fff;
    border-radius: 0;
    height: 3.5rem;
    min-height: 3.5rem;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.12);
    justify-content: flex-start;
}

.header-navbar .navbar-toggler {
    outline: none;
    border-radius: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    box-shadow: none;
    align-self: stretch;
}

    .header-navbar .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
        background-color: transparent !important;
        height: 2rem;
        width: 2rem;
    }
.sidebar {
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    transition: transform 0.1s ease-out;
    height: 100%;
    max-height: 100%;
    overflow: auto;
}

    .sidebar.collapse {
        display: none;
    }

    .sidebar.expand {
        display: block;
    }

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

        .sidebar.expand {
            position: fixed;
            top: 3.5rem;
            left: 0;
            height: auto;
            min-width: 100%;
            background-color: #fff;
            z-index: 1050;
            padding-bottom: 10rem;
        }
}

::deep .app-sidebar {
    --dxbl-treeview-spacing-x: 0.5rem;
    --dxbl-treeview-spacing-y: 1rem;
}

    ::deep .app-sidebar .root-item > :first-child {
        --dxbl-treeview-font-weight: 600;
    }

    ::deep .app-sidebar .root-item > :only-child:not(.dxbl-treeview-tmpl) > button {
        display: none;
    }

@media (max-width: 768px) {
    ::deep .app-sidebar {
        padding-bottom: 0;
    }
}
.page-layout {
    direction: rtl;
    background-color: #F4F4F4;
    /*    background: linear-gradient(to bottom right, #F3F3DE, #EBEBC7);
*/
}
.page-layout-white {
    direction: rtl;
    background-color: #fff;
}



@media (max-width: 768px) {
    :: deep .page-layout > .dxbl-gridlayout-root {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
.xaf-alert-message {
    white-space: pre-line !important;
}
.bg-toast {
    background: linear-gradient(to bottom right, #FFD70C, #FFFBE6);
}

.header-group-bold
.dxbl-group > .dxbl-group-header {
    background-color: #1C384C;
    color: #fff;
}

