/* Custom CSS frp ERP - addy */

/* Global Styles  */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Source+Sans+Pro&display=swap");
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-style: 400;
    src: url("../fonts/Inter-Medium.woff2?v=3.15") format("woff2"),
        url("../fonts/Inter-Medium.woff?v=3.15") format("woff");
}

@font-face {
    font-family: "Droid Arabic Kufi";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/DroidKufi-Regular.eot");
    src: url("../fonts/DroidKufi-Regular.eot?#iefix")
            format("embedded-opentype"),
        url("../fonts/DroidKufi-Regular.woff") format("woff"),
        url("../fonts/DroidKufi-Regular.woff2") format("woff2"),
        url("../fonts/DroidKufi-Regular.ttf") format("truetype"),
        url("../fonts/DroidKufi-Regular.svg#Droid Arabic Kufi") format("svg");
}

@font-face {
    font-family: "Droid Arabic Kufi";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/DroidKufi-Bold.eot");
    src: url("../fonts/DroidKufi-Bold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/DroidKufi-Bold.woff") format("woff"),
        url("../fonts/DroidKufi-Bold.woff2") format("woff2"),
        url("../fonts/DroidKufi-Bold.ttf") format("truetype"),
        url("../fonts/DroidKufi-Bold.svg#Droid Arabic Kufi") format("svg");
}

:root {
    --theme-background: #ffc107;
    --theme-foreground-color: #222222;
    --bs-dark-border: #8bbafe;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* HAMAD */
thead td {
    border-bottom: 1px solid lightgrey !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button{
    padding: 0 !important;
}
.nav li select, .nav li input {
    border:none;
}
.modal-body .bootbox-close-button{
    background-color: aliceblue;
    border: none;
    float: right;
}
.toast .btn-close{
    display: none;
}
.pointer{
    cursor: pointer;
}

.dropdown-menu li a, .dropdown-menu li button{
    font-size: 0.68em;
}
/*
.table tbody tr td .btn{
    visibility: hidden;
}
.table tbody tr:hover td .btn{
    visibility: visible;
} */

/* Theme specific */
.text-theme {
    color: #222 !important;
}
.header-bg {
    background-color: #ffffff !important;
}

.blink-notify:empty {
    /* padding: 0; */
}
.blink-notify {
    display: none;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.font-en {
    font-family: "Inter", "Source Sans Pro", Helvetica, Arial, sans-serif !important;
}
.font-ar {
    font-family: "Droid Arabic Kufi", serif !important;
}
html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
    font-family: "Inter", "Source Sans Pro", Helvetica, Arial, sans-serif;
    color: #222222;
    font-size: 13px;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    background-color: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
    cursor: default !important;
}
hr:not([size]) {
    height: 0.1px;
}
.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}
.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}
.page-item.active .page-link {
    background-color: #ffc107;
    border-color: #ffc107;
}
fieldset {
    border: 1px solid #f3f4f5 !important;
    padding: 0.8em !important;
    margin: 0 0 0.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #e9ecef;
}
legend {
    font-size: 12px !important;
    font-weight: 600;
    text-align: left !important;
    width: auto;
    border: 1px solid rgb(189, 195, 199);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    background-color: #f9fafd;
    font-size: 16px;
    padding: 2px 8px;
}
.border-bottom-dashed {
    border-bottom-style: dashed !important;
}
.no-deco {
    text-decoration: none !important;
}
#sort-columns li a {
    padding: 0.25rem 1rem;
    font-size: 1rem;
}
.scroll-y {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 80px;
}
.fixed-content {
    width: calc(100% - 210px);
}
.font-600 {
    font-weight: 600 !important;
}
.font-500 {
    font-weight: 500 !important;
}
.font-400 {
    font-weight: 400 !important;
}
.font-light {
    font-weight: light !important;
}
.font-sm {
    font-size: 13px;
}
.font-md {
    font-size: 105%;
}
.font-lg {
    font-size: 110%;
}
.fixed-content.barhide {
    width: 100%;
}
.comp-menu-btn:hover,
.comp-menu-btn:focus {
    transform: translateY(2px);
    background: #eee;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 0.22rem 0.45rem;
    font-size: 0.575rem;
}
.nav-tabs .nav-link {
    color: #898989;
    font-weight: 500 !important;
}
#backup .nav-pills .nav-link.active {
    background-color: var(--theme-background);
    color: var(--theme-foreground-color);
}
#backup .nav-pills .nav-link {
    color: #222222;
}
.erp-gradient-primary {
    background: linear-gradient(315deg, #e7f1ff 0%, #eff6fc 74%);
}
.error {
    -webkit-box-shadow: 0 0 14px -6px #dc3545;
    -moz-box-shadow: 0 0 14px -6px #dc3545;
    box-shadow: 0 0 14px -6px #dc3545;
    border: 1px solid #dc3545;
    border-radius: 0.2rem;
}
.error .select2-selection {
    border: none !important;
}

.range-dash {
    position: relative;
}
.range-dash::after {
    content: "-";
    position: absolute;
    left: 99%;
    top: 3px;
}
.nav-scroller {
    position: static;
    z-index: 2;
    overflow-x: auto;
    background-color: #f8f9fa;
}
.nav-scroller .nav {
    display: flex;
    position: static;
    align-items: center;
    height: 3.3em;
    padding-right: 5px;
    padding-left: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.nav-scroller .nav .nav-link {
    padding: 0.5rem 0.6rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    /* transition: .2s; */
}
.nav-scroller .nav .nav-link.bg-warning:hover {
    transform: scale(1.03);
}
.nav-scroller .nav .nav-link.bg-warning:active {
    transform: translateY(1px);
}
.nav-scroller .nav li a {
    color: #222;
}
.nav-underline input[type="number"] {
    width: 200px !important;
}
.btn-check:focus + .btn,
.btn:focus {
    box-shadow: none;
}

/* Input number steps hide - Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* input number steps hide - Firefox */
input[type="number"][type="number"] {
    -moz-appearance: textfield;
}
input[type="number"] {
    text-align: left;
}
#header-right-menu > button {
    transition: transform 160ms;
}
#header-right-menu > button:hover {
    transform: translateY(1px);
}

/****************** Side Navbar **********************/
.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    position: fixed;
    min-width: 210px;
    max-width: 210px;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 999;
    background: #eee;
    /* color: #222; */
    transition: all 0.3s;
    overflow-y: scroll;
}
#sidebar::-webkit-scrollbar-thumb{
    background: #f3f3f3 !important;
}
#sidebar.barhide {
    margin-left: -210px;
}

#sidebar .sidebar-header {
    padding: 05px 05px;
    background: #eee;
    display: flex;
    /* border-bottom: 1px solid #e4e4e4; */
    justify-content: space-around;
    align-items: flex-end;
}

#sidebar .sidebar-header h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: capitalize;
}

#sidebar ul.components {
    padding: 10px 0;
    overflow-y: auto !important;
}
/* ul.components {
  background: #eeeeee;
  color: #8c8c8c;
  overflow-y:auto !important;
} */
/* .overflo {
    overflow-y: auto;
    height: 83vh;
} */
#sidebar ul.components a svg {
    margin-right: 5px;
    font-size: 16px;
}

#sidebar ul li a {
    padding: 6px 20px;
    font-size: 1.1em;
    display: block;
    font-weight: 500;
}
#sidebar ul li a:hover {
    color: #151b22;
    background: #fff;
}

#sidebar .components li > ul li {
    margin-left: 5px !important;
}
#sidebar .components li > ul li:last-child {
    margin-bottom: 20px;
}
#sidebar .components li > ul li a {
    font-size: 13px !important;
    padding-left: 3.1em;
}

#sidebar .components li > ul li a:hover {
    padding-left: 3.3em !important;
    transition: padding 0.3s ease;
}

.svg-inline--fa {
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
}

#content {
    width: calc(100% - 210px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content.barhide {
    width: 100%;
}

a[data-toggle="collapse"] {
    position: relative;
}

#sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transition: inherit;
    /* transform: translateY(-50%);
  transform: rotate(0deg); */
}
a.dropdown-toggle[aria-expanded="false"]::after {
    transform: rotate(-90deg);
}

a.dropdown-toggle[aria-expanded="true"] {
    background: #f8f8f8;
}

#sidebar a,
#sidebar a:hover,
#sidebar a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar .custoggle {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 0;
    margin-right: -25px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

#sidebar .custoggle .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    color: #222;
    background: transparent;
    border-color: transparent;
}
#sidebar .custoggle .btn i::before {
    margin-right: -22px;
    font-size: 18px;
    transition: transform 0.5s ease-in-out;
}
#sidebar.barhide .custoggle .btn i::before {
    transform: rotate(180deg) !important;
}
#sidebar .custoggle .btn:after {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #eee;
    border-radius: 10px;
}
#sidebar .custoggle .btn:focus {
    outline: 0;
    box-shadow: none;
}

/* header  */
.erp-header {
    line-height: 1;
    border-bottom: 1px solid #e5e5e5;
}

.erp-header-logo {
    font-size: 2.25rem;
}

.erp-header-logo:hover {
    text-decoration: none;
}

/* -webkit-overflow-scrolling: touch; */

.flex-auto {
    flex: 0 0 auto;
}

/* company-menu header  */
ul.header-menu li:not(.dropdown-submenu) {
    display: inline;
    font-size: 0.9em;
}
ul.header-menu li a {
    text-decoration: none;
    color: #222;
    text-transform: capitalize;
    border-radius: 3px;
    font-weight: 500;
    font-size: 13px;
    transition: none;
}
ul.header-menu li a:hover,
.nav-scroller nav li a:hover {
    background: #eee;
    color: #222;
}

a#dropdownMenuLink {
    transition: 0.3s;
}
a#dropdownMenuLink:hover,
a#dropdownMenuLink:focus {
    transform: translateY(2px);
    background: #eee;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Button Sqaure  */
/* .btn-sq {
   min-height: 85px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   border-right: 1px solid var( --bs-primary-border) ;
   font-size: 14px;
   background: var(--bs-primary);
   padding: 0.7rem 1rem !important;
   color: #fff !important;
   transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
} */

/* .btn-sq:hover,
.btn-sq:focus{
  background: var(--bs-primary-hover);
}
.btn-sq svg{
  margin-bottom: 5px;
}
.btn-sq::after {
  display: none;
} */

.btn-grid {
    min-height: 85px;
    display: flex;
    border-radius: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* cursor: pointer; */
    font-size: 14px;
    padding: 0.7rem 1rem !important;
    color: var(--bs-dark) !important;
    transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out,
        border-color 0.1s ease-in-out;
}
.btn-grid:hover,
.btn-grid:focus {
    background: #343a4012;
    color: #222 !important;
}
.btn-grid svg {
    margin-bottom: 5px;
}
.btn-grid::after {
    display: none;
}

/* Dropdwon Menu  */
.dropdown-large {
    padding: 1rem !important;
}

@media all and (min-width: 992px) {
    .dropdown-large {
        min-width: 500px;
    }
    .dropdown-large > .row {
        flex-direction: column;
        flex-wrap: wrap;
        overflow-y: scroll;
        height: 400px;
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .dropdown-large.show {
        width: 11rem !important;
        height: auto !important;
        padding: 8px 0 !important;
    }
}
@media screen and (max-width: 576px) {
    .header-menu .dropdown-menu {
        position: relative;
        margin-left: 0;
        margin-right: 0;
        width: fit-content;
    }
    .dropdown-large.show {
        position: relative;
        width: auto !important;
        height: 400px !important;
    }
    .mobile_view {
        margin: 18px 0px 0px 0px;
    }
}

.dropdown-menu {
    padding: 0;
    margin-top: 4px !important;
    border-width: 0;
    box-shadow: 0 0 0 1px rgba(111, 119, 130, 0.15),
        0 5px 20px 0 rgba(21, 27, 38, 0.08);
}

.dropdown-large.show {
    width: 500px;
    margin: 0.5%;
    height: 400px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.dropdown-submenu {
    position: relative;
    border-bottom: none !important;
}
.dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px !important;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.btn-sq ~ ul.dropdown-menu {
    min-width: 200px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--bs-dark) !important;
    color: #fff !important;
}
.dropdown-item {
    padding: 0.45rem 1rem;
}

.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #ededed;
}
.dropdown-large ul.list-unstyled > li:last-child {
    margin-bottom: 1rem;
}

/* Toggler  */
.navbar-toggler:focus {
    box-shadow: none;
}

/*
 * Scrolbar
 */
::-webkit-scrollbar {
    width: 8px;
    height: 5px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #f3f3f3;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #ffc107;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

/*
* Cards Invoices
*/
.search-icon svg {
    vertical-align: initial !important;
    cursor: pointer;
    /* color: var(--bs-primary); */
}

.card-invoice .h3 {
    font-size: 1.7rem;
}
.card-invoice .form-label {
    margin-bottom: 0.1rem;
    /* font-weight: 500; */
    font-size: 95%;
}

input:focus,
select:focus,
textarea:focus,
.select2-container--default .select2-selection--single:focus,
.erp-modal input:focus,
.erp-modal select:focus,
.erp-modal textarea:focus,
.form-check-input:focus {
    box-shadow: var(--bs-primary-box-shadow) !important;
    border-color: var(--bs-dark-border) !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    box-shadow: var(--bs-primary-box-shadow) !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
}
.card-invoice .form-check-lg {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    padding-left: 0 !important;
    box-shadow: none;
}
.card-invoice .form-check-lg .form-check-input {
    float: none;
    padding: 11px 12px;
    margin-top: 0.45em;
    margin-left: 0 !important;
}
.card-invoice .btn {
    font-weight: 500;
    white-space: nowrap;
}
.card-invoice .btn svg {
    /* margin-right: 4px; */
    vertical-align: text-bottom;
}

/* Scollable Table  */
.table-scroll {
    overflow-y: auto !important;
    overflow-x: auto;
    /* max-height: 12.7em; */
    max-height: auto;
    min-height: 5em;
}

.table-scroll .table > thead th {
    position: sticky;
    /* box-shadow: inset 1px 1px #ccc, 0 1px #ccc; */
    top: 0;
    background: #e3e6ea;
    color: #222222a1;
    border-width: 2px;
}
.table-lists .table > thead th {
    position: sticky;
    /* box-shadow: inset 1px 1px #ccc, 0 1px #ccc; */
    top: 0;
    background: var(--bs-light);
    color: #222222a1;
}
.table-lists .checkbox-row {
    width: 35px;
}
.table-lists .checkbox-row input {
    vertical-align: middle !important;
}
.table-lists td {
    vertical-align: middle !important;
}
table kbd {
    margin: 6px;
}
kbd {
    background: linear-gradient(180deg, #eee, #fff);
    background-color: #eee;
    border: 1px solid #cdd5d7;
    border-radius: 6px;
    box-shadow: 0 1px 2px 1px #cdd5d7;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    margin: 3px;
    color: #222;
    padding: 4px 6px;
    white-space: nowrap;
}

.card-invoice input:disabled,
.card-invoice select:disabled,
.card-invoice textarea:disabled,
.balance-table input:read-only,
.balance-table select:read-only,
.balance-table textarea:read-only {
    background: #fafafa !important;
    border: none;
    resize: none;
}
.form-control[readonly] {
    background-color: #fafafa;
    border: 1px solid #ced4da;
    opacity: 1;
}
.card-invoice .form-check-input:checked {
    background-color: var(--bs-dark);
    border-color: var(--bs-dark);
}
.card-invoice input:disabled:hover,
.card-invoice input:read-only:hover {
    box-shadow: 1px 4px 8px 0px #00000014;
}
.card-invoice input:disabled:focus,
.card-invoice input:read-only:focus {
    box-shadow: none !important;
}

.table-scroll .table > :not(:last-child) > :last-child > * {
    border-bottom-color: inherit;
}

.item_edit_box,
select.item_check {
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    -webkit-appearance: none;
    border: 1px solid #ccc;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    text-align: right;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.item_edit_box:not(.iamount),
select.item_check {
    width: 100px;
}
.item_check:not(.item_check.item_edit_box) {
    width: 100px;
}
.item_check:not(.item_check.item_edit_box):not(select.item_check),
select.item_check:not(:disabled) {
    border: 1px solid rgb(204 204 204) !important;
}
.w-100px {
    width: 100px;
}
.item_edit_box:read-only {
    border-color: transparent;
}
.item_edit_box:focus,
.item_edit_box:active {
    border: 1px solid #ced4da;
}

/* Modal  */

.erp-modal .col-form-label {
    white-space: pre;
}

/* tab-pills  */

.time-tab#rules p,
.time-tab#rules label {
    font-size: 14px;
}
.time-tab#rules .info-text {
    font-size: 14px;
    /* color: #b5b5b5; */
}
.time-tab#rules .form-check-input {
    width: 1.6em;
    height: 1.6em;
    margin-right: 8px;
}

/* Flyout  */
.flyout {
    top: 80px;
    width: 400px;
    bottom: 0;
    position: fixed;
    right: 3px;
    min-height: 80%;
    overflow: hidden;
    height: fit-content;
    transition: right 0.2s ease-in-out;
    box-shadow: 0 1rem 1.4rem rgba(0, 0, 0, 0.175) !important;
    border-radius: 0.25em;
    z-index: 1000001;
    background-color: #fff;
}
.flyout-header {
    padding: 10px 20px;
    border-bottom: 1px solid #d7d7d7;
    background-color: #f3f8fe;
}
.flyout-header > p {
    color: #6c757d;
}
.flyout-body {
    overflow-y: scroll;
    padding-bottom: 10px;
}
.close-details {
    float: right;
    cursor: pointer;
    padding-top: 3px;
}
.close-details svg {
    width: 12px;
}
.user-profile .profile-pic {
    width: 75px;
    height: 75px;
    margin: 20px auto;
    border-radius: 50%;
}
.user-profile .user-id {
    line-height: 9.3px;
    padding-bottom: 3px;
}
.user-profile .profile-accounts a {
    text-decoration: none;
    color: #222;
}
.font-xxs {
    font-size: 11px;
}
.font-large {
    font-size: 16px;
}

/*
 * Footer
 */
.erp-footer {
    padding: 2.5rem 0;
    color: #727272;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 0.05rem solid #e5e5e5;
}
.erp-footer p:last-child {
    margin-bottom: 0;
}

/*Reports page list   */
ul.reports-list li {
    border-bottom: 1px dashed #e9e9e9;
}
ul.reports-list li a {
    font-size: 0.875rem;
    color: #428bca;
    text-decoration: none;
}
ul.reports-list li a:hover {
    color: #495057;
}
ul.reports-list a svg {
    margin-right: 5px;
    vertical-align: text-top;
    color: #495057aa;
}

/* recipt print table  */
#print-reciept {
    font-family: "Droid Arabic Kufi", Inter !important;
}
#print-reciept table tbody tr:not(:last-child) {
    border-top-color: transparent;
    border-bottom-color: transparent;
}
#print-reciept table tbody tr td:nth-child(1),
#print-reciept table tbody tr td:nth-child(3) {
    width: 5%;
}
#print-reciept table tbody tr td:nth-child(2),
#print-reciept table tbody tr td:nth-child(4),
#print-reciept table tbody tr td:nth-child(5) {
    width: 10%;
}
#print-reciept table tbody tr td:nth-child(6) {
    width: 60%;
}

/* Print  */
.print {
    display: none !important;
}
.invisible {
    visibility: none !important;
}

@media print {
    .print {
        display: block !important;
    }
    #sidebar {
        display: none;
    }
}
form#invoice_form {
    padding-bottom: 80px;
}
form#invoice_form table tr td:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
form#invoice_form table tr {
    vertical-align: middle;
}

.settings-menu {
    /*width: 180px;*/
    padding-right: 1.2rem;
}
.setting-links {
    position: -webkit-sticky;
    position: sticky;
    /*top: 5rem;*/
    display: block !important;
    height: calc(100vh - 10rem);
    overflow-y: auto;
    background-color: rgb(248 249 250);
}
.setting-links .btn {
    font-size: 13px;
    padding: 0.25rem 0.5rem;
    color: rgb(0 0 0 / 65%);
    background-color: none;
    border: 0;
}
.setting-links ul li {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.setting-links ul li:hover,
.setting-links ul li:focus {
    color: rgb(0 0 0 / 85%);
    background-color: rgb(238 238 238);
}
.setting-links ul li:focus {
    box-shadow: 0 0 0 1px rgb(223 227 231 / 0%);
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: rgb(73 80 87);
    background-color: rgb(255 255 255);
    border-color: rgb(222 226 230 / 0%) rgb(222 226 230 / 0%)
        rgb(255 255 255 / 0%);
    border-bottom: 2px solid var(--theme-background);
}
#print-templates .template {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 300px;
    height: 400px;
    border: 1px solid rgb(222 226 230);
    transition: all 0.1s;
    /* cursor: pointer; */
    position: relative;
    margin-bottom: 20px;
}
#print-templates .template:hover {
    box-shadow: 0 0.25rem 0.45rem rgba(0, 0, 0, 0.075);
}
#print-templates .template p {
    position: absolute;
    bottom: -10px;
}
#print-templates .template.active {
    border-color: #0d6efd;
    backdrop-filter: blur(100px);
}
#print-templates .template.active:before {
    content: "\2713";
    color: rgb(255 255 255);
    font-weight: 600;
    width: 60px;
    height: 60px;
    font-size: 40px;
    line-height: 61px;
    background-color: rgb(13 110 253);
    border-radius: 50%;
    position: absolute;
}

#print-receipt .logo {
    margin-top: -130px;
}

#print-receipt .footer {
    margin-top: 5rem;
}
#print-receipt .footer h5 i {
    font-size: 1.2em;
    margin-left: 10px;
    margin-right: 10px;
}
#print-receipt .footer h5.font-ar i:before {
    vertical-align: sub;
}

@media print {
    .table-font-sm td,
    .table-font-sm th {
        font-size: 10px !important;
    }
}
/* New version css style costomization coding =====Start======= */
.card-icon {
    float: right;
}
.btn_costom {
    float: right;
    margin: 10px;
}
.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bs-light);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    font-size: 14px;
    color: var(--bs-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--bs-secondary);
}

/* .dropdown:hover .dropdown-content {
  display: block;
} */

.dropdown-btn {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 14px;
    color: var(--bs-dark);
    display: block;
    border: none;
    background: none;
    width: 100%;
    background-color: var(--bs-light);
    text-align: left;
    cursor: pointer;
    outline: none;
}

/* On mouse-over */
.dropdown-btn:hover {
    color: var(--bs-dark);
}
.dropdown-container {
    display: none;

    padding-left: 8px;
}

.fa-sort-down {
    float: right;
    padding-right: 8px;
}
/* round slider  */
.circular {
    height: 100px;
    width: 100px;
    position: relative;
}
.circular .inner {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    height: 80px;
    width: 80px;
    margin: -40px 0 0 -40px;
    background: #f8f9fa;
    border-radius: 100%;
}
.circular .number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 18px;
    font-weight: 500;
    color: #4158d0;
}
.circular .bar {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #fff;
    -webkit-border-radius: 100%;
    clip: rect(0px, 100px, 100px, 50px);
}
.circle .bar .progress {
    position: absolute;
    height: 100%;
    width: 100%;
    -webkit-border-radius: 100%;
    clip: rect(0px, 50px, 100px, 0px);
}
.circle .left .progress {
    z-index: 1;
    animation: left 4s linear both;
}
@keyframes left {
    100% {
        transform: rotate(180deg);
    }
}
.circle .right {
    transform: rotate(180deg);
    z-index: 3;
}
.circle .right .progress {
    animation: right 4s linear both;
    animation-delay: 4s;
}
div.dataTables_wrapper div.dataTables_filter input {
    border: none;
    margin-top: 15px;
    border-radius: 50px;
    background: #f0f0f0;
}

@keyframes right {
    100% {
        transform: rotate(180deg);
    }
}

@media screen and (max-width: 480px) {
    .d-N-M {
        display: none;
    }
}

/* New version css style costomization coding =====end======= */
/* remove the double arrows :before and :after from tables */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
    content: "" !important;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    content: "" !important;
}

.table > tbody {
    vertical-align: middle;
}
table.dataTable {
    border-collapse: separate;
    border-spacing: 0 10px;
}
table.dataTable tr.even > td,
table.dataTable tr.odd > td {
    border: none;
    border-bottom: 1px solid #DFDFDF;
    border-collapse: separate;
    border-top: 1px solid #DFDFDF;
}
table.dataTable tr.even > td:first-child,
table.dataTable tr.odd > td:first-child {
    border-left: 1px solid #DFDFDF;
    border-radius: 5px 0 0 5px;
}
table.dataTable tr.even > td:last-child,
table.dataTable tr.odd > td:last-child {
    border-right: 1px solid #DFDFDF;
    border-radius: 0 5px 5px 0;
}
table.dataTable.no-footer {
    border-bottom: 0px solid #DFDFDF;
}
.table > :not(:last-child) > :last-child > * {
    border-bottom-color: transparent;
}
.admin_css_dot {
    display: flex;
    background-color: #f4bd05;
    text-decoration: none;
    color: white !important;
    /* padding: 7px; */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
}
.admin_css_dot:hover {
    background-color: #f0bf1e !important;
}

/* ================================= */
@media screen and (max-width: 480px) {
    .admin_css_dot {
        padding: 8px;
    }
}

 /* edit button */
 .edit-btn:hover{
     color: #ffffff !important;
 }


.switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 23px;
  margin-top:6px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #BB2D3B;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 3px;
}

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

input:checked + .slider {
  background-color: #157347;
}

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

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  margin-bottom: 0px;
  color:#ffffff;
}

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

.slider.round:before {
  border-radius: 50%;
}

 /* for image */

