:root {
    --color1: #113D93;
    --color2: #1E66F0;
    --color3: #DAE7F4;
    --color4: #6a829b;
    --success: #10BA62;
    --light-success: rgba(16, 186, 98, 0.102);
    --primary: #1E66F0;
    --primary-light: rgba(30, 102, 240, 0.102);
    --danger: #F01E1E;
    --danger-light: rgba(240, 30, 30, 0.102);
    --warning: #E3891F;
    --warning-light: rgba(227, 137, 31, 0.102);
}
.alert {
    border: none !important;
}
.colored-success {
    color: var(--success) !important;
}
.colored-warning {
    color: var(--warning) !important;
}
.colored-primary {
    color: var(--primary) !important;
}
.alert-danger {
    background: var(--danger-light) !important;
    color: var(--danger) !important;
}
.alert-success {
    background: var(--light-success) !important;
    color: var(--success) !important;
}
.alert-primary {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}
.alert-warning {
    background: var(--warning-light) !important;
    color: var(--warning) !important;
}
.nav-tabs {
    border: none !important;
}
.nav-tabs .nav-link {
    border-radius: 20px;
    margin: 0 5px;
}
.nav-tabs .nav-link.active {
    background-color: var(--primary);
    color: #fff;
}
.colored4 {
    color: var(--color4) !important;
}
@font-face {
    font-family: GraphikArabictRegular;
    src: url('../font/GraphikArabic-Regular.ttf'),
}
@font-face {
    font-family: GraphikArabictMedium;
    src: url('../font/GraphikArabic-Medium.ttf');
}
@font-face {
    font-family: GraphikArabictBold;
    src: url('../font/GraphikArabic-Black.ttf'), url('../font/GraphikArabic-Bold.ttf'), url('../font/GraphikArabic-Extralight.ttf'), url('../font/GraphikArabic-Light.ttf'), url('../font/GraphikArabic-Medium.ttf'), url('../font/GraphikArabic-Regular.ttf'), url('../font/GraphikArabic-Semibold.ttf'), url('../font/GraphikArabic-Super.ttf'), url('../font/GraphikArabic-Thin.ttf');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a, a:hover {
    text-decoration: none;
}
body {
    font-family: GraphikArabictRegular;
    font-weight: normal;
    font-size: 16px;
    position: relative;
}
body[dir="rtl"] .form-select {
    padding: .375rem .75rem .375rem 2.25rem;
    background-position: left .75rem center;
}
body[dir="rtl"] .page-item:last-child .page-link {
    border-radius: .375rem 0 0 .375rem !important;
}
body[dir="rtl"] .page-item:first-child .page-link {
    border-radius: 0 .375rem .375rem 0 !important;
}
.colored-gray {
    color: #6A829B;
}
.custom-pagination .page-item .page-link {
    border: none !important;
    outline: none !important;
    background: none !important;
    color: #666;
    font-size: 18px;
}
.custom-pagination .page-item .page-link:hover {
    color: var(--primary);
}
.custom-pagination .page-item.active .page-link {
    color: var(--primary);
    font-weight: bold;
}
.custom-pagination .page-item:first-child .page-link, .custom-pagination .page-item:last-child .page-link {
    font-size: 20px;
}
.custom-pagination ul {
    margin-bottom: 0;
}
.form-select.colored-light, .form-control.colored-light {
    background-color: #F6FAFF !important;
    border-color: #DAE7F4 !important;
}
.main-btn {
    background-color: var(--color2);
    color: #fff;
}
.info-icon {
    border: 1px solid;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.dropdown-years {
    margin-right: auto;
}
.dropdown-years .toggler {
    color: #333;
}
.dropdown-years .dropdown-menu {
    transform: translate3d(0px, 36.4px, 0px) !important;
    min-width: 5rem;
}
.login-page {
    min-height: 100vh;
    background-color: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.intire-box {
    height: 600px;
    width: 1200px;
    max-width: 100%;
    display: flex;
    border-radius: 10px;
}
.side1, .side2 {
    flex: 1;
    padding: 20px;
}
.side1 {
    background-color: #fff;
    border-radius: 0 10px 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    font-weight: 500;
}
.side1-custom {
    justify-content: center;
    position: relative;
}
.form-title {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 24px;
}
.form-title h5 {
    margin-bottom: 0 !important;
}
.back-btn {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    top: -15px;
    right: 60px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ccc;
}
.side2 {
    background-color: var(--color2);
    border-radius: 10px 0 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.side2 img {
    width: 470px;
    max-width: 90%;
}
.login-page .form-group input {
    width: 460px;
    max-width: 100%;
    background-color: var(--color3);
}
.login-page .form-group label {
    margin-bottom: 10px;
}
.login-page .form-group {
    margin-bottom: 20px;
}
.fg-password {
    position: relative;
}
.fg-password .icon {
    position: absolute;
    left: 20px;
    bottom: 4px;
}
@media(max-width:991px) {
    .login-page {
        padding: 0px;
        min-height: 100vh;
    }
    .login-page .form-group {
        margin-bottom: 10px;
    }
    .login-page .intire-box {
        width: 100%;
        height: auto;
        flex-direction: column-reverse;
        padding: 10px;
    }
    .side1, .side2 {
        flex: unset;
    }
    .side2 {
        border-radius: 10px 10px 0 0;
    }
    .side1 {
        border-radius: 0 0 10px 10px;
        padding: 15px;
    }
    .form-title {
        position: relative !important;
        top: unset;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
    }
    .back-btn {
        width: 30px;
        height: 30px;
        line-height: 30px;
        top: -8px;
        position: unset;
        margin: 10px;
    }
}
@media(max-width:530px) {
    .login-page form {
        width: 100%;
    }
}
/*
   ============== Dashboard Pages ================
*/

.sidenav-toggler {
    color: var(--color1);
    font-size: 50px;
    line-height: 50px;
    cursor: pointer;
    margin-left: 10px;
    display: none;
}
.dashboard {
    /* display: flex; */
    min-height: 100vh;
    max-width: 100vw;
}
.dashboard aside {
    min-height: 100dvh;
    width: 250px;
    background-color: var(--color2);
    color: #fff;
    padding: 24px 12px;
    overflow-y: auto;
}
.side-menu {
    margin-top: 40px;
}
.side-menu a {
    display: block;
    color: #fff;
    border-radius: 5px;
    font-size: 20px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 6px;
}
.side-menu a span {
    margin-right: 10px;
}
.side-menu a i {
    font-size: 24px;
}
.side-menu a.active, .side-menu a:hover {
    background-color: var(--color1);
}
.date-time {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.date-time .icon {
    font-size: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashboard main {
    flex: 1;
    background: #F1F1F1;
    position: relative;
    transition: all 0.3s;
}
.top-nav {
    height: 80px;
    display: flex;
    position: sticky;
    box-shadow: 0 0 2px var(--color1);
    top: 0;
    /* width: 100%; */
    left: 0;
    align-items: center;
    padding: 10px 15px;
    background: #FDFDFD;
    z-index: 10;
}
.top-nav form input {
    border-radius: 0 5px 5px 0;
}
.top-nav form .main-btn {
    border-radius: 5px 0 0 5px;
}
.brand-name {
    margin-left: auto;
    align-items: center;
    color: #222;
}
.brand-name .name1 {
    font-size: 20px;
    font-weight: bold;
}
.alerts-btn, .whats-btn {
    border: 1px solid #ddd;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
}
.whats-btn {
    color: var(--success);
    margin-left: 8px;
}
.alerts-btn .num {
    position: absolute;
    font-size: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #D93232;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -8px;
    right: 5px;
}
.content {
    padding: 15px 0;
}
.box {
    background-color: #fff;
    border-radius: 5px;
}
@media(max-width:767px) {
    .content .box {
        font-size: 14px;
    }
}
.icon-box {
    display: flex;
    align-items: center;
    padding: 0 10px;
    min-height: 94px;
    margin-bottom: 15px;
}
.icon-div {
    height: 62px;
    width: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-left: 15px;
}
.icon-box span {
    font-size: 20px;
    font-weight: bold;
}
.cash-row {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}
.cash-row:nth-last-child() {
    margin-bottom: 0;
}
.cash-row i {
    font-size: 24px;
    margin-left: 10px;
    color: #71a2f7;
}
.cash-row .number {
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}
.blue-frame {
    background-color: var(--color2);
    border-radius: 5px;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 10px;
    color: #fff;
}
.blue-frame .input-div {
    position: relative;
    margin-right: auto;
    margin-left: 10px;
}
.blue-frame .input-div input {
    background-color: var(--color1);
    border-color: var(--color1);
    padding-left: 20px;
    color: #ddd;
}
.blue-frame .input-div input::placeholder {
    color: #ccc;
}
.blue-frame .input-div .search-icon {
    position: absolute;
    color: #eee;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.btn2 {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    background-color: var(--color1);
}
.btn2:hover {
    background-color: var(--color1);
    opacity: 0.8;
}
.btn2 span {
    margin-right: 10px;
}
.overlay {
    position: absolute;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    display: none;
}
.close {
  /*  font-size: 30px;
    position: absolute;
    top: 20px;
    right: 280px;
    color: #fff;*/
    cursor: pointer;
     content: "\00d7"; 
     border: none;
}

.close>span {
  /*  font-size: 30px;
    position: absolute;
    top: 20px;
    right: 280px;
    color: #fff;*/
    cursor: pointer;
     content: "\00d7"; 
}
nav form {
    margin-left: 0.5rem;
    display: flex;
}
.text-div span {
    font-weight: bold;
}
.tab-content {
    text-align: center;
}
@media(max-width:1200px) {
    .tab-content {
        max-width: 100%;
        overflow-x: auto;
    }
}
@media(min-width:531px) and (max-width:991px) {
    .sidenav-toggler {
        display: flex;
    }
    nav form {
        display: none;
    }
    .dashboard {
        display: block;
    }
    aside {
        /* display: none; */
        position: fixed;
        z-index: 10;
        top: 0;
        height: 100vh;
        right: -250px;
        transition: all 0.3s;
        overflow-y: auto;
    }
    aside.opened {
        right: 0;
    }
    aside.opened .side-menu {
        overflow-y: auto;
        padding-bottom: 30px;
    }
    .header-content {
        overflow-x: auto;
    }
    .tab-content {
        max-width: 100%;
        overflow-x: auto;
    }
}
@media(max-width:530px) {
    nav form {
        /* width: 180px; */
        display: none !important;
    }
    nav .user-dropdown .name {
        display: none;
    }
    .sidenav-toggler {
        display: flex;
    }
    .dashboard {
        display: block;
    }
    aside {
        /* display: none; */
        position: fixed;
        z-index: 10;
        top: 0;
        height: 100vh;
        right: -250px;
        transition: all 0.3s;
        overflow-y: auto;
    }
    aside.opened {
        right: 0;
    }
    aside.opened .side-menu {
        overflow-y: auto;
        padding-bottom: 30px;
    }
    .header-content {
        overflow-x: auto;
    }
    .tab-content {
        max-width: 100%;
        overflow-x: auto;
    }
}
@media(min-width:992px) {
    .sidenav-toggler {
        display: flex;
    }
    aside {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        z-index: 10;
    }
    main {
        margin-right: 250px;
    }
}
.modal-header {
    border-bottom: none;
}
.modal-footer {
    border-top: none;
}
.modal-header h5 {
    width: 100%;
}
.modal-header .btn-close {
    position: absolute;
    padding: 5px;
    border: 1px solid #ddd;
}
.client-row {
    display: flex;
    align-items: stretch;
    font-size: 18px;
    margin-bottom: 10px;
}
.client-row .num {
    background: #1E66F01A;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    margin-left: 5px;
    border-radius: 0 5px 5px 0;
}
.client-row-text {
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    padding: 5px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.client-row-text span {
    font-size: 14px;
    color: gray;
}
.clients-modal {
    width: 400px;
}
/*PRODUCTS PAGE*/

.form-search {
    position: relative;
}
.form-search .btn-search {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #1e66f0;
}
.new-tbl {
    font-size: 14px;
    font-weight: bold;
}
.new-tbl th {
    color: #6A829B;
    font-size: 11px;
}
.new-tbl .form-check {
    margin: 0 !important;
}
.new-tbl .form-check .form-check-input {
    float: unset !important;
}
/*add-product page*/

.form-switch .form-check-input {
    background-color: #D93232;
    border-color: #D93232;
}
.form-switch .form-check-input:checked {
    background-color: #10BA62 !important;
     border-color:#10BA62;
}
.form-switch .form-check-input {
    margin-left: unset;
    margin-right: unset;
    height: 1.5em;
    width: 3em;
}
aside {
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
aside .side-menu {
    flex: 1;
}
@media(max-width:767px) {
    .order1-mob {
        order: 1;
    }
    .order2-mob {
        order: 2;
    }
}
main.wide {
    margin-right: 0;
}
aside.closed {
    right: -250px;
}
a>div>div>span {
    color: black !important;
}
.hidden {
    display: none !important;
    ;
}
.badge {
    color: black;
}
.badge-success {
    background-color: green;
    color: white !important;
    width: auto;
}
.badge-danger {
    background-color: red;
    color: white !important;
}
td>div.alert {
    padding: 5px;
    margin: auto;
}
.slider {
    background-color: #D93232 !important;
    border-color: #D93232 !important;
}
.slider:before {
    background-color: #a32525 !important;
}
input:checked+.slider {
    background-color: #10BA62 !important;
    border-color: #10BA62 !important;
}
input:checked+.slider:before {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}
.ui-helper-hidden-accessible {
    display: none !important;
}
.pagination{

    display: -webkit-box;
}
