/***** Font *****/
/*@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');*/
@import url('/assets/font2.css');

html,
body {
    font-family: 'Cairo', sans-serif;
}

/***** End Font *****/
/***** Theme *****/
:root,
[data-bs-theme=light] {
    --bs-font-sans-serif: 'Cairo', sans-serif;
}

/***** End Theme *****/
/***** Main *****/
.input-group-text {
    border: 2px solid var(--bs-app-border-color);
    border-left-width: 2px;
    border-right-width: 2px;
}

[type="number"] {
    direction: rtl;
}

/***** End Main *****/
/***** Icons *****/
.fa-chevron-right:before {
    content: "\f053";
}

.fa-chevron-left:before {
    content: "\f054";
}

.fa-arrow-left:before {
    content: "\f061";
}

.fa-arrow-right:before {
    content: "\f060";
}

/***** End Icons *****/
/***** Buttons *****/
.btn svg {
    margin-right: unset;
    margin-left: 5px;
}

.btn-icon svg {
    margin-right: unset;
    margin-left: 0;
}

/***** End Buttons *****/
/***** Info Boxes *****/
.info-box .info-box-icon {
    margin-right: unset;
    margin-left: 1rem;
}

/***** End Info Boxes *****/
/***** Special data *****/
.special-data {
    padding-left: unset;
    padding-right: 1.25rem;
    border-left: unset;
    border-right: 0.2rem solid #5E9DF0;
}

/***** End Special data *****/
/***** Custom RadioButton and checkBox *****/
.custom-check label {
    padding: 0.6rem 1rem 0.6rem 2.25rem;
}

.custom-check label::after {
    right: unset;
    left: 10px;
}

/***** End Custom RadioButton and checkBox *****/
/***** Custom List *****/
.custom-list {
    padding-left: unset;
    padding-right: 0;
}

.custom-list li {
    padding-left: unset;
    padding-right: 2rem;
}

.custom-list li:before {
    left: unset;
    right: 0;
}

/***** End Custom List *****/
/***** Header *****/
[data-kt-app-header-fixed=true][data-kt-app-sidebar-fixed=true][data-kt-app-sidebar-push-header=true] .app-header,
[data-kt-app-header-fixed=true][data-kt-app-sidebar-sticky=on][data-kt-app-sidebar-push-header=true] .app-header {
    left: unset;
    right: 0;
}

@media (min-width: 992px) {
    .app-container {
        padding-left: 30px !important;
        padding-right: 15px !important;
    }
}

/***** End Header *****/
/***** Sidebar *****/
[data-kt-app-layout=light-sidebar] .app-sidebar {
    border-right: unset !important;
    border-left: 1px solid var(--bs-app-border-color) !important;
}

[data-kt-app-layout=light-sidebar] .app-sidebar .app-sidebar-wrapper>.menu.menu-sub-indention {
    left: unset;
    right: 0;
}

/***** End Sidebar *****/
/***** App wrapper *****/
@media (min-width: 992px) {
    [data-kt-app-sidebar-fixed=true] .app-wrapper {
        margin-left: unset;
        margin-right: calc(var(--bs-app-sidebar-width) + var(--bs-app-sidebar-gap-start, 0px) + var(--bs-app-sidebar-gap-end, 0px) + 15px);
    }
}

/***** End App wrapper *****/
/***** Table *****/
.table.table-bordered thead tr th {
    border-right: unset;
    border-left: 0;
}

.table.table-bordered thead tr th:first-child {
    border-left: unset;
    border-right: 2px solid var(--bs-app-border-color);
    border-top-left-radius: unset;
    border-top-right-radius: 8px;
}

.table.table-bordered thead tr th:last-child {
    border-top-right-radius: unset;
    border-top-left-radius: 8px;
    border-right: unset;
    border-left: 2px solid var(--bs-app-border-color);
}

.table.table-bordered tbody tr td {
    border-right: unset;
    border-left: 0;
}

.table.table-bordered tbody tr td:first-child {
    border-left: unset !important;
    border-right: 2px solid var(--bs-app-border-color) !important;
}

.table.table-bordered tbody tr td:last-child {
    border-right: unset !important;
    border-left: 2px solid var(--bs-app-border-color) !important;
}

.table tbody tr:last-child>td:last-child {
    border-bottom-right-radius: unset;
    border-bottom-left-radius: 8px;
}

.table tbody tr:last-child>td:first-child {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: 8px;
}

table.table-bordered.dataTable td:first-child,
table.table-bordered.dataTable th:first-child {
    border-left-width: unset;
    border-right-width: 2px;
}

table.table-bordered.dataTable td:last-child,
table.table-bordered.dataTable th:last-child {
    border-right-width: unset;
    border-left-width: 2px;
}

/* Appetite Level Table */
table.appetiteLevelTable.table-striped>tbody>tr:nth-child(3n+1) td:nth-child(2) {
    border-left: unset !important;
    border-right: 2px solid var(--bs-app-border-color) !important;
}

table.appetiteLevelTable.table-striped>tbody>tr:nth-of-type(3n+3)>td:first-child,
table.appetiteLevelTable.table-striped>tbody>tr:nth-of-type(3n+2)>td:first-child {
    border-left: unset !important;
    border-right: 2px solid var(--bs-app-border-color) !important;
}

table.appetiteLevelTable.table-striped>tbody>tr:nth-last-child(3)>td:first-child {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: 8px;
}

.table.appetiteLevelTable tbody tr:last-child>td:first-child {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: 0;
}

/* Collapse Table */
.table.table-bordered.collapse-table thead tr th:first-child {
    border-left: unset;
    border-right: 0;
}

.table.table-bordered.collapse-table tbody tr td:first-child {
    border-left: unset !important;
    border-right: 0 !important;
}

.table.table-bordered.collapse-table thead tr th:last-child {
    border-right: unset;
    border-left: 0;
}

.table.table-bordered.collapse-table tbody tr td:last-child {
    border-right: unset !important;
    border-left: 0 !important;
}

/*Multi Levels Table*/
.multiLevelsTable.table.table-bordered tbody .dt-hasChild+tr>td {
    border-right: 2px solid var(--bs-app-border-color) !important;
    border-left: 2px solid var(--bs-app-border-color) !important;
}

/* Table pagination  */
.page-item:last-child {
    margin-left: unset;
    margin-right: 1.5rem;
}

.page-item:first-child {
    margin-right: unset;
    margin-left: 1.5rem;
}

.page-item {
    margin-left: unset;
    margin-right: 1.5rem;
}

@media (max-width: 575.9px) {
    .page-item:first-child {
        margin-right: unset;
        margin-left: 1rem;
    }

    .page-item:last-child {
        margin-left: unset;
        margin-right: 1rem;
    }
}

/***** End Table *****/
/***** Data table *****/
div.dataTables_length+div.dataTables_info {
    margin-left: unset;
    margin-right: 1rem;
}

table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_desc:before {
    margin-left: unset;
    margin-right: 0.5rem;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    text-align: right;
}

table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting_asc_disabled,
table.dataTable thead>tr>th.sorting_desc_disabled,
table.dataTable thead>tr>td.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting_asc_disabled,
table.dataTable thead>tr>td.sorting_desc_disabled {
    padding-left: 26px;
    padding-right: 10px;
}

table.dataTable>thead>tr>td:not(.sorting_disabled),
table.dataTable>thead>tr>th:not(.sorting_disabled) {
    padding-right: 10px;
    padding-left: 0;
}

/***** End Data table *****/
/***** Custom Tree *****/

.jstree-node .jstree-icon.jstree-ocl {
    left: unset;
    right: 0;
}

.jstree-node.jstree-closed>.jstree-ocl:before {
    content: "\f053";
}

.jstree .jstree-open>.jstree-children:after {
    left: unset;
    right: 11px;
}

.jstree-node .jstree-anchor {
    padding: 10px 34px 10px 10px;
}

.jstree-default.jstree-rtl .jstree-node {
    background-image: none;
}

/***** End Custom Tree *****/
/***** Group Tree *****/
.group-tree.jstree-default.jstree-rtl .jstree-node {
    margin-left: 0;
}

.group-tree.jstree-default.jstree-rtl .jstree-node.jstree-closed>.jstree-ocl:before {
    display: none;
}

/***** End Group Tree *****/
/***** Second menu *****/
.app-sidebar .second-menu {
    margin-left: unset;
    margin-right: 100px;
}

.app-sidebar .second-menu .menu-item .menu-link {
    padding-left: unset;
    padding-right: 0;
}


/***** End Second menu *****/
/***** Filter Accordion *****/

.filter-accordion .form-check {
    padding-right: 3rem;
    padding-left: 1rem;
}

/***** End Filter Accordion *****/
/***** Select2 *****/
.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected:after {
    left: 1.25rem;
    right: unset;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice .select2-selection__choice__display {
    margin-right: 1.1rem;
    margin-left: unset;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice {
    margin-left: 0.5rem;
    margin-right: unset;
}

.select2-container--bootstrap5 .select2-selection__clear {
    left: 3rem;
    right: unset;
}

.select2-container--bootstrap5.select2-container--focus:not(.select2-container--disabled) .form-select:not(.form-select-solid):not(.form-select-transparent),
.select2-container--bootstrap5.select2-container--open:not(.select2-container--disabled) .form-select:not(.form-select-solid):not(.form-select-transparent) {
    border-color: var(--bs-app-border-color);
}

/***** End Select2 *****/
/***** CK Editor *****/
.ck-reset_all :not(.ck-reset_all-excluded *),
.ck.ck-reset_all {
    text-align: right;
}

.ck.ck-toolbar {
    direction: rtl;
}

.ck.ck-editor__editable_inline[dir=ltr] {
    text-align: right;
}

/***** End CK Editor *****/
/***** Max length Lib *****/
.bootstrap-maxlength {
    margin-left: unset;
    margin-right: -45px;
}

/***** End Max length Lib *****/
/***** Matrix Table *****/
.matrix-table .sticky-col:first-child {
    right: 0px;
    left: unset;
}

.matrix-table .sticky-col:nth-child(2) {
    right: 60px;
    left: unset;
}

.matrix-table .sticky-col:nth-child(3) {
    right: 309px;
    left: unset;
}

.matrix-table .sticky-col:nth-child(4) {
    right: 369px;
    left: unset;
}



/***** End Matrix Table *****/