@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300&family=Changa:wght@200&family=El+Messiri&family=Noto+Sans+Arabic:wght@300&family=Tajawal:wght@300&display=swap');
body {
    overflow-x: hidden;
}

.rtl {
    text-align: right;
}
:root {
    --primary: #3488d2;
    --hover_primary: #effaffe3;
    --secondary: #06355f;
    --white-color: #f8f5f5;
    --input-color: #f4f7f8;
}
.modal-content .modal-header button {
    left: 15px;
    right: unset;
}

.rtl .modal-content .modal-header button {
    left: auto;
    right: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.rtl .slider:before {
    right: 4px;
    left: auto;
}
input:checked+.slider {
    background-color: #1f8b97;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 6px;
    padding-right: 6px;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.add-attach {
    height: unset !important;
    padding: 5px 6px;
}
.custom-filter-style .card-body {
    height: auto !important;
    min-height: 140px;
}
.card-body-start {
    min-height: 1px;
    padding: 2.40rem;
    display: flex;
    gap: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.loginButtons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}
.switches_parent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    padding: 0px 6px;
}
.gap-30 {
    gap: 30px;
}
.gap-10 {
  gap: 10px;
}
.gap-5 {
    gap: 5px;
}
.row {
    margin-inline: 0px;
}
.login_img {
  max-width: 100%;
}
.custom-filter-style label {
    color: #0D0A0A
}

.error {
    color: red;
}

.hidden {
    display: none !important;
}

.img-index {
    width: 50px;
    height: 50px;
    display: block;
    margin: auto
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #e1e5f1;
    background-image: none;
}

.table-responsive {
    overflow-y: hidden;
}

.breadcrumb {
    margin-bottom: 0;
    background: #fff;
    padding: 0;
}

.side-nav .unifyMenu ul a {
    /* color: #fff !important; */
}

.side-nav .unifyMenu ul a:hover {
    /* color: #fff !important; */
}

.side-nav .unifyMenu ul {
    background: var(--white-color);
}
.customFloat a.text-light:hover,
.customFloat a.text-light:focus {
    color: #fff !important;
}
.customFloat a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.customFloat a .icon-plus {
    font-size: 12px;
}
.side-nav .unifyMenu ul a {
    color: var(--primary) !important;
}
.side-nav .unifyMenu>li.selected .current-page {
    background: #2d3948
}

.app-side {
    background: var(--primary)!important;
}

.rtl .app-side {
    background: var(--primary)!important;
}
.side-nav .unifyMenu a:active, .side-nav .unifyMenu a:focus, .side-nav .unifyMenu a:hover , .side-nav .unifyMenu > li.selected > a ,
.side-nav .unifyMenu>li.selected .current-page
{
    background-color: var(--secondary) !important;
    color: #fff !important;
}
.inputFileCustomLabel {
    display: flex;
    align-items: center;
    border: 1px solid #e1e5f1 !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    height: 35px;
    width: 100%;
}

.inputFileCustom {
    visibility: hidden;
    display: none;
}

.custom-pagination {
    margin: 1.5rem !important;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}

.btn-custom {
    padding-top: 6px;
    padding-bottom: 6px;
}

.slimScrollDiv {
    height: 85vh !important;
}

.sidebarNavScroll {
    height: 100% !important;
}

.invalid-feedback {
    color: red;
    font-size: 14px;
}

table {
    width: 100%;
}

.modal-body .form-control {
    padding: 10px;
    resize: none;
    /*height: 40px;*/
    max-width: 100%;
    background-color: #fff;
    border-color: #d9d9d9;
}

.btn-light-danger,
.bg-light-danger {
    color: #ff5454 !important;
}

.btn-light-gold,
.bg-light-gold {
    color: #c7af71 !important;
}
.btn-light-blue,
.bg-light-blue {
     background-color: var(--hover_primary);
    color: var(--primary) !important;
}
/*.modal-body textarea {*/
/*    height: 150px !important;*/
/*}*/

table.dt-responsive>thead .sorting:before,
table.dt-responsive>thead .sorting_asc:before,
table.dt-responsive>thead .sorting_desc:before,
table.dt-responsive>thead .sorting_asc_disabled:before,
table.dt-responsive>thead .sorting_desc_disabled:before {
    right: 1em;
    content: "↑";
}

.rtl table.dt-responsive>thead .sorting:before,
.rtl table.dt-responsive>thead .sorting_asc:before,
.rtl table.dt-responsive>thead .sorting_desc:before,
.rtl table.dt-responsive>thead .sorting_asc_disabled:before,
.rtl table.dt-responsive>thead .sorting_desc_disabled:before {
    left: 1em;
    right: auto;
}

table.dt-responsive>thead .sorting:after,
table.dt-responsive>thead .sorting_asc:after,
table.dt-responsive>thead .sorting_desc:after,
table.dt-responsive>thead .sorting_asc_disabled:after,
table.dt-responsive>thead .sorting_desc_disabled:after {
    right: 0.5em;
    content: "↓";
}

.rtl table.dt-responsive>thead .sorting:after,
.rtl table.dt-responsive>thead .sorting_asc:after,
.rtl table.dt-responsive>thead .sorting_desc:after,
.rtl table.dt-responsive>thead .sorting_asc_disabled:after,
.rtl table.dt-responsive>thead .sorting_desc_disabled:after {
    left: 0.5em;
    right: auto;
}



table.dt-responsive>thead .sorting:before,
table.dt-responsive>thead .sorting:after,
table.dt-responsive>thead .sorting_asc:before,
table.dt-responsive>thead .sorting_asc:after,
table.dt-responsive>thead .sorting_desc:before,
table.dt-responsive>thead .sorting_desc:after,
table.dt-responsive>thead .sorting_asc_disabled:before,
table.dt-responsive>thead .sorting_asc_disabled:after,
table.dt-responsive>thead .sorting_desc_disabled:before,
table.dt-responsive>thead .sorting_desc_disabled:after {
    position: absolute;
    bottom: 0.9em;
    display: block;
    opacity: .3;
}

table.dt-responsive>thead .sorting,
table.dt-responsive>thead .sorting_asc,
table.dt-responsive>thead .sorting_desc,
table.dt-responsive>thead .sorting_asc_disabled,
table.dt-responsive>thead .sorting_desc_disabled {
    cursor: pointer;
    position: relative;
}

table.dt-responsive>thead .sorting_asc:before,
table.dt-responsive>thead .sorting_desc:after {
    opacity: 1;
}

.modal-header {
    flex-direction: row !important;
}

.card-default {
    position: relative;
    display: block;
    background-color: #f5f5f5;
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
}

.custom_upload_file img{
    height: 100px;
    width: 100%;
}
.custom_image_btn{
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.rtl .custom_image_btn{
    left: 0;
    right: auto;
}
.custom_image_btn .fa{
    color: red;
}
.custom_image_preview{
    /*max-width: 100px;*/
    max-height: 100px;
}
.custom_image_preview p{font-size: 10px;}
.swal2-content .select2-container--default .select2-selection--single .select2-selection__arrow b{display: none !important;}
.swal2-container .select2-container{
    display: none !important;
}


/* remove number input arrows */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.background_grey{
    background-color: #e9ecef;
}
table tr.mainTr .form-control:disabled, table tr.mainTr .form-control[readonly], table tr.mainTr .select2-container .select2-selection--single:disabled, table tr.mainTr .select2-container .select2-selection--single[readonly] {
    background-color: #dbdbdb;
}

.p-3 {
    padding: 1rem!important;
}

.bg-white {
    background-color: #fff!important;
}
.popup_attachment , .switches_parent {
    padding: 8px;
    background: #248dcc21;
    border-radius: 9px;
}
details {
    font-size: 1rem;
    width: 100%;
    background: #ebebeb;
    position: relative;
    font-weight: bold;
}
.details_attachment {
    max-width: 88%;
}
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}
details summary {
    list-style: none;
    padding: 1em;
}

details .summary-content {
    border-top: 1px solid #e2e8f0;
    cursor: default;
    padding: 1em;
    font-weight: 300;
    line-height: 1.5;
    background: #fff;
}
details .summary-chevron-up, details .summary-chevron-down {
    pointer-events: none;
    position: absolute;
    top: 1.2em;
    right: 1em;
    background: #ebebeb;
}
.rtl details .summary-chevron-up, details .summary-chevron-down {
    left: 1em;
    right: unset;
}
