.app-header {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    width: auto;
}

.user-picture.image {
    background-image: url(/assets/profile_icon.png) !important;
}

.nb-theme-default nb-user.size-medium .user-picture {
    height: 2rem !important;
    width: 2rem !important;
}

/* .user-action nb-user .user-name,
.user-action nb-user .user-title,
.user-action nb-user .user-picture,
.user-action nb-icon {
    
} */

.nb-theme-default nb-menu .menu-item .menu-icon {
    margin: 0 0 0 0.5rem !important;
}

.nb-theme-default nb-action:last-child {
    border-left: none !important;
}

.nb-theme-default nb-action:first-child {
    border-right: none !important;
    border-left: 1px solid #edf1f7 !important;
}

[dir=ltr] .nb-theme-default nb-action:first-child {
    border-right: none !important;
    border-left: 1px solid #edf1f7 !important;
}

.nb-theme-default nb-card-header {
    text-align: right;
}

.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.form-inline .input-inline {
    flex: 1;
}

.nb-theme-default nb-card {
    font-family: IRANSans !important;
}

.table th {
    vertical-align: middle;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: right !important;
    padding-left: var(--bs-breadcrumb-item-padding-x);
    padding-right: unset;
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "/")
        /* rtl: var(--bs-breadcrumb-divider, "/") */
    ;
}

.select2-container.select2-container-dropdown.select2-container--open {
    left: 0 !important;
}

.page-item:last-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius);
    border-bottom-left-radius: var(--bs-pagination-border-radius);
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: var(--bs-pagination-border-radius);
    border-bottom-right-radius: var(--bs-pagination-border-radius);
}

.page-item .page-link {
    text-decoration: none !important;
}

::ng-deep .ng-invalid ng-touched {
    border: solid;
    border-color: red;
    border-width: thin;
}

.ng-valid[required],
.ng-valid.required {
    border-left: 5px solid #42A948;
    /* green */
}

.ng-invalid:not(form) {
    border-left: 5px solid #a94442;
    /* red */

}

.auth-block {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 30rem;
}

.login .title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    text-align: center;
}

.login .sub-title {
    margin-bottom: 2rem;
    text-align: center;
}

.login .form-control-group {
    margin-bottom: 2rem;
}

.login .another-action {
    margin-top: 2rem;
    text-align: center;
}

.select2-container.select2-container-dropdown.select2-container--open {
    right: 0 !important;
    left: auto !important;
}

.select2-selection,
select2-label-content {
    min-width: 150px;
    text-align: right;
    padding-right: 8px;
    font-family: 'IRANSans';
    font-size: 14px;
    font-weight: normal;
    min-height: 38px;
    border-color: var(--bs-border-color) !important;
}

.mdc-dialog__surface {
    overflow-y: visible !important;
}

::ng-deep .mdc-dialog__surface {
    overflow-y: visible !important;
}

.mat-mdc-dialog-surface {
    overflow-y: visible !important;
}

::ng-deep .mat-mdc-dialog-surface {
    overflow-y: visible !important;
}

nb-stepper .header {
    margin: 0 auto;
    width: 80%;
}

.file-upload .input-group {
    width: auto !important;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-loader {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.page-loader-2 {
    position: absolute;
    top: 20;
    left: 25%;
    width: 50%;
    height: 10%;
    z-index: 10000;
}

.sign-in-or-up {
    display: flex;
    justify-content: space-between;
}

.dashboard .icon-container {
    height: 100%;
    padding: 0.625rem;
}

.dashboard .mat-ripple:not(:empty) {
    transform: translateZ(0);
}

.dashboard .mat-ripple {
    overflow: hidden;
    position: relative;
}

.dashboard nb-icon {
    font-size: 3.75rem !important;
}

.dashboard nb-icon.trending-up-outline {
    font-size: 1.25rem !important;
}


.dashboard .icon.status-primary {
    background-image: linear-gradient(to right, #598bff, #3366ff);
}

.dashboard .icon.status-primary {
    background-image: linear-gradient(to right, #598bff, #3366ff);
}

.dashboard .icon.status-primary:hover {
    background-image: linear-gradient(to right, #a6c1ff, #598bff);
}

.dashboard .icon.status-danger {
    background-image: linear-gradient(to right, #ff3d71, #db2c66);
}

.dashboard .icon.status-danger:hover {
    background-image: linear-gradient(to right, #ffa8b4, #ff708d);
}

.dashboard .icon.status-warning {
    background-image: linear-gradient(to right, #ffc94d, #ffaa00);
}

.dashboard .icon.status-warning:hover {
    background-image: linear-gradient(to right, #ffe59e, #ffc94d);
}

.dashboard .icon.status-success {
    background-image: linear-gradient(to right, #8cfac7, #2ce69b);
}

.dashboard .icon.status-success:hover {
    background-image: linear-gradient(to right, #2ce69b, #00d68f);
}

.dashboard .icon.status-info {
    background-image: linear-gradient(to right, #42aaff, #0095ff);
}

.dashboard .icon.status-info:hover {
    background-image: linear-gradient(to right, #94cbff, #42aaff);
}

.dashboard .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border-left: 1px solid transparent;
    padding: 0 0.5rem 0 0.75rem;
}

.dashboard nb-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.75rem;
    height: 4.75rem;
    font-size: 3.75rem;
    border-radius: 0.25rem;
    transition: width .4s ease;
    transform: translateZ(0);
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    color: #fff;
}

.dashboard nb-card .title {
    margin: 0;
    font-size: 1rem !important;
    text-align: right;
}

.dashboard nb-card h5,
nb-card .h5 {
    font-size: 1.375rem;
    font-family: IRANSans !important;
    font-weight: 700;
    line-height: 2rem;
}

.dashboard nb-card {
    flex-direction: row !important;
    align-items: center;
    height: 6rem;
    cursor: pointer;
}

.dashboard nb-card .paragraph-2 {
    color: #222b45;
    font-family: IRANSans !important;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.125rem;
    text-align: right;
}

.logo-container nb-icon {
    font-size: 1.7rem !important;
    line-height: 0.75 !important;
}

.breadcrumb
{
    margin-top :0.5rem !important;
    margin-bottom :0.5rem !important;
}

@media (max-width: 575.98px) {
    /* .control-item {
        display: none !important;
    } */

    .nb-theme-default nb-actions.size-medium nb-action {
        padding: 0 1rem 0 0 !important;
    }

    .nb-theme-default nb-layout-header nav {
        padding: 1rem;
    }

    nb-sidebar.fixed,
    .nb-sidebar .main-container-fixed {
        right: 0 !important;
    }

    .dashboard .mat-ripple:not(:empty) {
        padding: 5px;
        text-align: right;
    }

    .logo-container img {
        height: 35px !important;
    }

    .nb-theme-default nb-icon svg {
         vertical-align: middle !important; 
    }

    .logo-container nb-icon {
        font-size: 1.9rem !important;
        line-height: 0.85 !important;
    }
    .breadcrumb
{
    margin-top :0.3rem !important;
    margin-bottom :0.5rem !important;
}

}

.logo-container img {
    height: 50px;
}



.modal-header .btn-close {
    margin: calc(-0.5 * var(--bs-modal-header-padding-y)) auto calc(-0.5 * var(--bs-modal-header-padding-y)) calc(0.5 * var(--bs-modal-header-padding-x)) !important;
}

th[sortable] {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

th[sortable].desc:after,
th[sortable].asc:after {
    content: '';
    display: block;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAmxJREFUeAHtmksrRVEUx72fH8CIGQNJkpGUUmakDEiZSJRIZsRQmCkTJRmZmJgQE0kpX0D5DJKJgff7v+ru2u3O3vvc67TOvsdatdrnnP1Y///v7HvvubdbUiIhBISAEBACQkAICAEhIAQ4CXSh2DnyDfmCPEG2Iv9F9MPlM/LHyAecdyMzHYNwR3fdNK/OH9HXl1UCozD24TCvILxizEDWIEzA0FcM8woCgRrJCoS5PIwrANQSMAJX1LEI9bqpQo4JYNFFKRSvIgsxHDVnqZgIkPnNBM0rIGtYk9YOOsqgbgepRCfdbmFtqhFkVEDVPjJp0+Z6e6hRHhqBKgg6ZDCvYBygVmUoEGoh5JTRvIJwhJo1aUOoh4CLPMyvxxi7EWOMgnCGsXXI1GIXlZUYX7ucU+kbR8NW8lh3O7cue0Pk32MKndfUxQFAwxdirk3fHappAnc0oqDPzDfGTBrCfHP04dM4oTV8cxr0SVzH9FF07xD3ib6xCDE+M+aUcVygtWzzbtGX2rPBrEUYfecfQkaFzYi6HjVnGBdtL7epqAlc1+jRdAap74RrnPc4BCijttY2tRcdN0g17w7HqZrXhdJTYAuS3hd8z+vKgK3V1zWPae0mZDMykadBn1hTQBLnZNwVrJpSe/NwEeDsEwCctEOsJTsgxLvCqUl2ACftEGvJDgjxrnBqkh3ASTvEWrIDQrwrnJpkB3DSDrGW7IAQ7wqnJtkBnLRztejXXVu4+mxz/nQ9jR1w5VB86ejLTFcnnDwhzV+F6T+CHZlx6THSjn76eyyBIOPHyDakhBAQAkJACAgBISAEhIAQYCLwC8JxpAmsEGt6AAAAAElFTkSuQmCC) no-repeat;
    background-size: 22px;
    width: 22px;
    height: 22px;
    float: right;
    /* margin-right: -22px; */
}

th[sortable].desc:after {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

nb-toast {
    text-align: right;
    direction: rtl;
}

nb-toast .icon-container {
    margin-right: auto;
    margin-left: 1.25rem;
}

.bg-light-2 {
    background-color: #ebebeb;
}

.border-light-2 {
    border-color: #c3c0c0;
}

.bg-report-header {
    background-color: #d7f8d0;
}

table.table-report td {
    border: 2px solid #c3c0c0;
    padding: 0.1rem 0.2rem 0.1rem 0.1rem;
}

.drop-icon-none .dropdown-toggle::after {
    display: none !important;
}

.fs-7 {
    font-size: 0.93rem !important;
}

@media print {
    nb-layout-column {
        padding: 0.15rem !important;
    }

    /* .layout-container {
        padding-top: 0.15rem !important;
        } */
}


.nb-theme-default li {
    font-family: IRANSans !important;
}


