 * {
     -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
     box-sizing: border-box;
 }

 a {
     text-decoration: none;
     transition: all .4s ease-in-out;
     color: inherit;
 }

 a,
 button,
 input[type="button"] {
     cursor: pointer;
     transition: all .5s ease-in-out;
 }

 a:focus,
 a:hover {
     text-decoration: none;
     color: inherit;
 }

 button {
     background: transparent;
     border: none;
 }

 button:focus {
     outline: none
 }

 .list-inline-item:not(:last-child),
 ul {
     margin-right: 0;
 }

 ul {
     padding-left: 0;
     padding-right: 0;
     transition: all .4s ease-in-out;
     margin: 0;
 }

 ul li {
     list-style-type: none
 }

 :focus {
     outline: none;
 }

 .text-center {
     text-align: center;
 }

 .text-right {
     text-align: right
 }

 .text-left {
     text-align: left
 }

 /*
 .row {
     margin-left: 0;
     margin-right: 0;
 }
*/
 .padd-0 {
     padding-left: 0;
     padding-right: 0
 }

 .padd-5 {
     padding-left: 5px;
     padding-right: 5px
 }

 .sec-padd {
     padding-top: 50px;
     padding-bottom: 50px;
 }

 .pl-10 {
     padding-left: 10px;
 }

 .pr-10 {
     padding-right: 10px;
 }

 .pt-10 {
     padding-top: 10px;
 }

 .pb-10 {
     padding-bottom: 10px;
 }

 .pl-20 {
     padding-left: 20px;
 }

 .pr-20 {
     padding-right: 20px;
 }

 .pt-20 {
     padding-top: 20px;
 }

 .pb-20 {
     padding-bottom: 20px;
 }

 .ml-10 {
     margin-left: 10px !important;
 }

 .mr-10 {
     margin-right: 10px;
 }

 .mt-10 {
     margin-top: 10px;
 }

 .mb-10 {
     margin-bottom: 10px !important;
 }

 .ml-20 {
     margin-left: 20px !important;
 }

 .mr-20 {
     margin-right: 20px;
 }

 .mt-20 {
     margin-top: 20px !important;
 }

 .mb-20 {
     margin-bottom: 20px;
 }

 .m-20 {
     margin: 20px;
 }

 .mb-30 {
     margin-bottom: 30px
 }

 .p-15 {
     padding: 15px;
 }

 .r-0 {
     border-radius: 0 !important;
 }

 .p-0 {
     padding: 0 !important;
 }

 .f-b {
     font-weight: 600;
 }

 .mx-1 {
     margin-left: .25rem !important;
 }

 .po_R {
     position: relative
 }

 :focus {
     box-shadow: none !important;
     border-color: inherit;
 }

 .d-none {
     display: none
 }

 .d-block {
     display: block
 }

 .owl-carousel {
     direction: ltr
 }

 .dropdown-toggle::after {
     display: none
 }

 .dropdown {
     display: inline-block;
 }

 .dropdown-menu {
     float: none;
     text-align: start;
 }

 select.form-control:not([size]):not([multiple]) {
     height: auto;
 }

 input::-webkit-outer-spin-button,
 input::-webkit-inner-spin-button {
     -webkit-appearance: none;
     margin: 0;
 }

 p {
     margin: 0;
 }

 .flex-grow-1 {
     flex-grow: 1
 }

 input[type=checkbox],
 input[type=radio] {
     position: relative;
     width: 20px;
     height: 20px;
     vertical-align: middle;
 }

 input[type=checkbox]:before {
     top: 0;
     left: 0;
     width: 20px;
     height: 20px;
     border: 2px solid #949494;
     content: "";
     position: absolute;
     background: #E9E9E9;
     border-radius: 3px;
 }

 input[type=checkbox]:checked::after {
     background: transparent;
     border: 2px solid #fff;
     top: 0px;
     left: 7px;
     width: 7px;
     height: 15px;
     content: "";
     position: absolute;
     border-top-color: transparent;
     border-left-color: transparent;
     transform: rotate(45deg);
 }

 input[type=checkbox]:checked:before {
     background: var(--main);
     border-color: var(--main);
 }



 input[type=radio]:before {
     top: 0;
     left: 0;
     width: 20px;
     height: 20px;
     border: 1px solid var(--main);
     content: "";
     position: absolute;
     background: #fff;
     border-radius: 50%;
 }

 input[type=radio]:checked::after {
     top: 50%;
     left: 50%;
     width: 12px;
     height: 12px;
     content: "";
     position: absolute;
     transform: translate(-50%, -50%);
     background: var(--main);
     border-radius: 50%;
 }

 :root {
     --main: #BE1622;
     --white: #ffffff;
     --gray: #858585;
     --red: #FF4E54;
     --green: #54C97B;
 }

 .main-color {
     color: var(--main) !important;
 }

 .grey-color {
     color: var(--gray);
 }

 .red-color {
     color: crimson !important;
 }

 .red-back {
     background: var(--red) !important
 }

 .green-back {
     background: var(--green) !important
 }


 .font-11 {
     font-size: 11px;
 }

 .font-18 {
     font-size: 18px;
 }

 .font-20 {
     font-size: 20px;
 }

 .under-line {
     text-decoration: underline !important;
 }


 .through-line {
     text-decoration: line-through
 }

 .btn-main {
     display: block;
     background: var(--main);
     color: var(--white) !important;
     width: 200px;
     max-width: 100%;
     padding: 0;
     border-radius: 5px;
     text-align: center;
     text-shadow: 0 0;
     font-weight: 500;
     margin: 20px auto;
     height: 50px;
     line-height: 46px;
     border: 1px solid var(--main);
 }

 .btn-main-w {
     background: #fff;
     color: var(--main) !important;
 }

 textarea {
     resize: none;
 }

 @font-face {
     font-family: "myFont";
     src: url(../fonts/URW-DIN-Arabic.ttf);
 }

 .rounded {
     border-radius: .25rem !important;
 }

 body {
     direction: rtl;
     text-align: right;
     font-family: "myFont";
     word-spacing: 1px;
     background: #F9F9F9;
     color: #535455;
     overflow-x: hidden;
     font-size: 15px;
 }

 #main {
     transition: all .5s ease-in-out;
     margin-right: 250px;
 }


 .sidenav {
     height: 100%;
     width: 250px;
     position: fixed;
     z-index: 1;
     top: 0;
     right: 0;
     background-color: #FFFFFF;
     overflow-x: hidden;
     transition: 0.5s;

 }

 .top-nav {
     text-align: center;
     height: 180px;
     display: flex;
     align-items: center;
     justify-content: center;
     background: url(../imgs/Group%2064396.png);
     background-size: cover;
     background-position: bottom;
 }

 .top-nav img {
     width: auto;
     height: auto;
     max-width: 175px;
 }

 .top-info {
     padding: 15px;
     margin: 10px 0;
     display: flex;
     align-items: center;
 }

 .top-info img {
     width: 65px;
     height: 65px;
     border-radius: 50%;
     border: 1px solid #eee;
 }


 .top-info h5 {
     font-size: 14px;
     font-weight: 600;
     margin: 0;
     margin-inline-start: 10px;
 }

 .nav-links-dash a {
     color: var(--gray);
     padding: 15px 20px;
     display: flex;
     align-items: center;
     position: relative;
     margin: 4px 0
 }

 .nav-links-dash ul > li.active > a {
     color: var(--main);
     text-shadow: 0 0;
 }

 .nav-links-dash li a span {
     margin-inline-end: 6px;
     width: 20px;
     height: 20px;
     display: inline-flex;
     justify-content: center;
     align-items: center;
 }

 .nav-links-dash li.active a span img:first-of-type,
 .nav-links-dash li a span img:last-of-type {
     display: none;
 }

 .nav-links-dash li.active a span img:last-of-type {
     display: inline-block;
 }

 .nav-links-dash li a:before {
     width: 9px;
     height: 9px;
     left: 10px;
     top: 50%;
     border: 1px solid var(--gray);
     content: "";
     position: absolute;
     border-top: transparent;
     border-left: transparent;
     transform: translateY(-50%) rotate(135deg);
 }

 .nav-links-dash li.active a:before {
     border: 1px solid var(--main);
     border-top: transparent;
     border-left: transparent;
 }


 .header-dashbord {
     background: #FFFFFF;
     padding: 11px 10px 11px 7%;
     display: flex;
     justify-content: space-between;
     position: sticky;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 50;
 }


 .header-dashbord .top-link {
     display: inline-block;
     font-size: 20px;
     position: relative;
     color: #8A8F94;
     margin-inline-start: 20px
 }


 .header-dashbord .top-link img {
     width: 50px;
     height: 50px;
     border: 2px solid #CCC;
     border-radius: 50%;
 }


 .noti-on::before {
     content: attr(data-account);
     width: 15px;
     height: 15px;
     border-radius: 50%;
     background-color: crimson;
     right: -6px;
     top: 1px;
     position: absolute;
     font-size: 8px;
     display: flex;
     justify-content: center;
     align-items: center;
     color: #FFF;
     border: 1px solid #FFF;
 }

 .conact:after {
     content: "";
     width: 14px;
     height: 14px;
     background: #0CB70C;
     display: block;
     position: absolute;
     bottom: 1px;
     right: 1px;
     border-radius: 50%;
     border: 1px solid #FFF;
 }

 #main .body-content {
     padding: 20px 20px 20px 7%;
     background: #F9F9F9;
 }

 .title-dash h5 {
     font-size: 18px;
     font-weight: bold;
 }

 .home-box {
     background: #fff;
     padding: 15px;
     text-align: center;
     border-radius: 5px;
     box-shadow: 0 0 3px #eee;
     margin: 10px 0px;
     display: block;
 }

 .home-box img {
     width: 55px;
     height: 55px;
     border-radius: 5px;
 }

 .home-box h5 {
     font-size: 25px;
     margin-top: 5px;
     font-weight: bolder;
     color: var(--color2);
 }

 .home-box h6 {
     color: gray;
     font-weight: bold;
     font-size: 13px
 }

 .chart-content {
     margin: 15px 0;
     background: #fff;
     padding: 20px;
     display: block;
 }

 .chart-contentP {
     padding: 20px 0px
 }

 .chart-contentP .title-dash {
     padding: 0px 20px;
 }

 .chart-content2 {
     background: none
 }

 #myChart {
     width: 100% !important
 }

 #main.mainclosenav {
     margin-right: 0;
 }

 .sideclosenav {
     right: -250px;
 }


 .form-group {
     margin-bottom: 1.1rem;
     position: relative;
 }


 .form-content label {
     display: inline-block;
     margin-bottom: 9px;
     font-weight: bold
 }

 .form-control {
     border: 1px solid #E2E8F0;
     padding: 5px 10px;
     border-radius: 5px;
     background: #FFFFFF;
     font-size: 13px;
     height: 50px;
 }

 .form-control:focus {
     border-color: var(--main) !important
 }

 textarea.form-control {
     height: 130px
 }

 .icon_fa {
     position: absolute;
     font-size: 22px;
     left: 15px;
     top: 50%;
     transform: translateY(-50%);
     color: #858585;
 }

 .table-abs .select2-container .select2-selection--single .select2-selection__rendered {
     padding: 0 10px;
     line-height: 45px;
     background: #F9F9F9;
     border: none
 }

 .select2-container--default .select2-selection--single {
     background-color: transparent;
     border: none;
     border-radius: 4px;
     height: auto;
 }


 .select2 {
     border: none;
     background: #F9F9F9;
     width: 100% !important
 }

 .select2-container--default .select2-selection--single .select2-selection__arrow {
     left: 0px;
     height: 100%
 }


 .select2-container .select2-selection--single .select2-selection__rendered {
     padding: 3px 10px;
     line-height: 50px;
     background: #FFFFFF;
     border: 1px solid rgba(0, 0, 0, .2);
     border-radius: 5px;
 }


 .select2-container--default .select2-results__option--highlighted[aria-selected] {
     background: var(--main);
 }


 .login_page {
     width: 100%;
     min-height: 100vh;
     height: 100%;
     padding: 20px;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .login_page .form-content {
     width: 500px;
     max-width: 100%;
 }

 .form_logen {
     background: #FFFFFF;
     padding: 20px;
     border-radius: 20px;
     border: 1px solid #EEE;
 }

 .login_page img {
     max-width: 235px;
     display: block;
     margin: 0px auto 25px;
 }

 .notific-dash .item {
     background: #FFFFFF;
     border-radius: 10px;
     padding: 15px;
     display: flex;
     align-items: center;
     margin: 20px 0;
 }

 .notific-dash .item img {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     margin-inline-end: 15px;
     border: 1px solid var(--main);
 }

 .box-callus {
     margin: 25px 0px;
     display: flex;
     align-items: center;
 }

 .box-callus .icone {
     width: 50px;
     height: 50px;
     color: var(--main);
     background: #F7EFDC;
     font-size: 22px;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     margin-inline-end: 15px;
 }

 .boxTotal-amount .btn-main {
     width: 150px;
     margin: 10px auto
 }


 .box-Settlement {
     border: 1px solid #EBEBEB;
     background-color: #FCFCFC;
     font-weight: bolder;
     margin: 10px 0px;
     padding: 10px;
 }


 .box-Settlement .info {
     margin: 8px 0px;
 }

 .box-Settlement .info > span {
     color: var(--main);
 }

 /*Data-table*/

 .table-content {
     position: relative;
 }


 .table-content .table-abs {
     position: absolute;
     left: 20px;
     top: 0px;
     width: 100%;
     justify-content: flex-end;
     align-items: center;
     gap: 15px;
 }

 .table-abs .btn-main {
     height: 44px;
     line-height: 44px;
     margin: 0;
     width: 160px;
 }

 .table-content .table-abs2 {
     margin-inline-end: 100px
 }


 .table-abs .select2-container {
     width: 137px !important;
     margin-inline-end: 9px;
 }


 .table-abs .btn-add {
     padding: 8px;
     border-radius: 5px;
     background: var(--main);
     color: #FFFFFF;
     height: 100%;
     margin-inline-start: 25px;
     width: 170px;
     text-align: center;

 }

 .table-content .select2-container {
     height: 40px !important;
     border-radius: 5px;
 }

 .dataTables_wrapper .page-item .page-link {
     color: #666;
     border: none;
     background-color: transparent;
     border-radius: 4px;
     padding: 5px;
     min-width: 25px;
     text-align: center;
 }

 .dataTables_wrapper .page-item.previous .page-link {
     background: var(--main);
     color: #fff;
 }

 .dataTables_wrapper .page-item.next .page-link {
     background: #eee;
 }

 .dataTables_wrapper .page-item.active .page-link {
     z-index: 1;
     color: var(--main) !important;
     background-color: transparent;
     border: none;
 }

 div.dataTables_wrapper div.dataTables_filter label {
     width: 100%;
 }

 div.dataTables_wrapper div.dataTables_filter input {
     margin-left: .5em;
     display: inline-block;
     width: 100% !important;
     padding: 11px;
     border-color: transparent;
     background: #F9F9F9;
     height: 45px
 }

 div.dataTables_wrapper div.dataTables_length select {
     width: 80px;
     padding: 12px !important;
     border-color: transparent;
     background: #F9F9F9;
 }

 .dataTables_wrapper .form-control:focus {
     border-color: var(--main);
 }

 div.dataTables_wrapper div.dataTables_info {
     padding: 0
 }

 .table td,
 .table th {
     text-align: center;
     vertical-align: middle;
     background: #FFF !important
 }

 div.dataTables_wrapper div.dataTables_filter label,
 div.dataTables_wrapper div.dataTables_length label {
     position: relative;
 }

 /*div.dataTables_wrapper div.dataTables_filter label::before {*/
 /*    font-family: 'Font Awesome 5 Free';*/
 /*    content: "\f13a";*/
 /*    position: absolute;*/
 /*    left: 4px;*/
 /*    top: 50%;*/
 /*    transform: translateY(-50%);*/
 /*    color: #aaa;*/
 /*    font-weight: 500;*/
 /*}*/

 div.dataTables_wrapper div.dataTables_length label::before {
     content: "";
     position: absolute;
     left: 4px;
     left: 13px;
     top: 50%;
     transform: translateY(-50%)rotate(46deg);
     color: #aaa;
     font-weight: 500;
     margin-left: -4px;
     margin-top: -2px;
     position: absolute;
     width: 8px;
     height: 8px;
     border: 1px solid #888;
     border-top: none;
     border-left: none;
 }

 table.dataTable th {
     background: var(--main) !important;
     color: #fff;
     text-align: center;
     padding: 13px 5px !important;
     border: none;
     width: 6% !important;
 }

 .dataTables_wrapper > div:first-child,
 .dataTables_wrapper > div:last-child {
     margin: 0
 }

 /*Data-table*/

 .filter_order .nav-link.active {
     background: var(--main);
 }

 .sectable_1 {
     background: #F5D9DB;
     padding: 6px;
     border-radius: 20px;
     color: var(--main);
 }

 .sectable_2 {
     background: #D9EBF4;
     padding: 6px;
     border-radius: 20px;
     color: #1783BB;
 }


 /*--------------------------------------------*/
 .user-box {
     display: flex;
     align-items: center;
 }

 .images-upload-block {
     width: 75px;
     height: 75px;
     border-radius: 50%;
     border: 1px solid #EEE;
     position: relative
 }

 .images-upload-block .upload-img,
 .images-upload-block .uploaded-block .close {
     position: absolute;
     width: 25px;
     height: 25px;
     border-radius: 50%;
     background: var(--main);
     bottom: 0px;
     overflow: hidden;
     display: flex;
     color: #FFFFFF;
     font-size: 12px;
     opacity: 1;
     justify-content: center;
     align-items: center;
     z-index: 3;
     right: 50%;
     transform: translate(50%, 50%);
     margin: 0;
 }

 .images-upload-block .image-uploader {
     position: absolute;
     width: 100%;
     height: 100%;
     opacity: 0
 }

 .images-upload-block img {
     border-radius: 50%;
     max-width: 100%;
     width: 100%;
     height: 100%;
     object-fit: cover
 }

 .images-upload-block .uploaded-block {
     position: absolute;
     top: 0px;
     left: 0px;
     width: 100%;
     height: 100%;
     border-radius: 50%;
 }

 /*--------------------------------------------*/
 .nav-link {
     padding: 9px 40px;
     margin: 5px 10px;
     background: #231F20;
     color: #FFFFFF !important;
     border-radius: 0.25rem;
 }

 .nav-pills .nav-link.active,
 .nav-pills .show > .nav-link {
     background: var(--main);
 }

 .modal button.close {
     position: absolute;
     top: 5px;
     left: 5px;
     background: #CCC;
     padding: 0px 5px;
     border-radius: 50%;
     border: 1px solid var(--main);
     opacity: 1;
     z-index: 5;
 }


 .chose_sec {
     display: flex;
     flex-wrap: wrap;
     gap: 10px
 }

 .chose_sec li {
     position: relative
 }

 .chose_sec li span {
     display: block;
     border: 1px solid var(--main);
     position: relative;
     padding: 12px;
     width: 220px;
     text-align: center;
     color: var(--main);
     overflow: hidden;
     border-radius: 5px
 }

 .chose_sec input[type="radio"] {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     z-index: 2;
     cursor: pointer
 }

 .chose_sec input[type="radio"]:checked + span,
 .chose_itemServ input[type="checkbox"]:checked + span {
     background: var(--main);
     color: #FFF;
 }

 .chose_serv .form-control {
     height: 45px;
     border-radius: 0px;
     background: #F9F9F9;
     border-color: #F9F9F9
 }

 .chose_itemServ {
     display: flex;
     gap: 15px;
     align-items: center;
 }

 .chose_itemServ span {
     padding: 11px;
     background: #F9F9F9;
     flex-grow: 1
 }

 .chose_serv > div {
     margin-bottom: 15px
 }

 /* .inputSalary, */
 .all_medical {
     display: none
 }


 .info_mony li {
     display: flex;
     font-weight: 600;
     justify-content: space-between;
     margin: 12px 0;
 }

 .info_mony li span:last-of-type {
     color: var(--main);
 }

 /*Extra small devices (portrait phones, less than 576px)*/
 @media (max-width: 575.98px) {
     ...
 }

 /*Small devices (landscape phones, less than 768px)*/
 @media (max-width: 767.98px) {
     .sidenav {
         right: -250px;
     }

     #main {
         margin-right: 0px;
     }

     #main.mainclosenav {
         margin-right: 0;
         overflow: hidden;
         transform: translateX(-250px);
     }

     .sideclosenav {
         right: 0px;
     }

#main .body-content , .header-dashbord {
    padding: 10px !important;
}

 }

 /*Medium devices (tablets, less than 992px)*/

 @media (max-width: 991.98px) {
     .table-content .table-abs {
         position: relative;
         left: 0;
         width: 100%;
         padding: 0 10px;
         margin-bottom: 10px !important;
         justify-content: center;
         gap: 11px;
     }
     
     .table-content .table-abs2 {
    margin-inline-end: 0;
}
     
 }

 /*Large devices (desktops, less than 1200px)*/
 @media (max-width: 1199.98px) {}


 /*============================ start loader================================== */



 .loader {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 9999999999;
     background: #FFFFFF;
     overflow: hidden;
     display: -webkit-flex;
     display: -moz-flex;
     display: -ms-flex;
     display: -o-flex;
     display: flex;
     -ms-align-items: center;
     align-items: center;
     justify-content: center;
 }

 .loader img {
     width: 200px;
 }


 /*============================ end loader================================== */
 ::-webkit-scrollbar,
 body::-webkit-scrollbar,
 .scroll::-webkit-scrollbar {
     width: 6px;
     height: 6px;

 }

 ::-webkit-scrollbar-track,
 body::-webkit-scrollbar-track,
 .scroll::-webkit-scrollbar-track {
     box-shadow: inset 0 0 6px #FFFFFF;
     background: #FFFFFF
 }

 ::-webkit-scrollbar-thumb,
 body::-webkit-scrollbar-thumb,
 .scroll::-webkit-scrollbar-thumb {
     background: rgba(0, 0, 0, 0.3);
     border-radius: 20px;
 }

 ::-webkit-scrollbar-thumb:hover,
 body::-webkit-scrollbar-thumb:hover,
 .scroll::-webkit-scrollbar-thumb:hover {
     background: rgba(0, 0, 0, 0.5);
 }