.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.215rem 0.8rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.25;
    color: #2b79c1;
    text-align: center;
    white-space: nowrap;
    background-color: #f0f3f9;
    border: 1px solid #e4e7ea;
    border-radius: 0.25rem;
}

.redClass {
    background-color: rgba(255, 0, 0, 0.65) !important;
}

.btn-primary,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #fff;
    background-color: #467fcf;
    border-color: #467fcf;
}

.btn {
    border: 1px solid transparent;
    padding: 0.215rem 0.5rem;
    font-size: 0.9rem;
    margin-top: 3px;
    /* line-height: 1.5; */
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    margin-right: 60px;
    margin-left: 5px;
}

.bg-primary {
    /* background-color: #467fd0!important; */
    background: -webkit-linear-gradient(#893232, #4697d0) !important;
    -webkit-text-fill-color: white !important;
}

.dropdown-item {
    background-color: royalblue;
}

.dropdown-item:hover {
    background-color: red;
}

.btn-group-sm > .btn,
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:focus {
    border-color: rgba(241, 241, 241, 0.66);
    border-bottom: 2px solid #467fcf;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #0d67ec;
    background-color: #fefefe;
    border: 1px solid #548adf91;
}

.nav-pills .nav-link {
    border-radius: 0.25rem;
    background-color: #d7dce4;
    margin-right: 3px;
}

.nav-tabs {
    border-bottom: 2px solid #77b4e257;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.form-control {
    display: block;
    width: 100%;
    /* height: 2.15rem;
    padding: .075rem .75rem; */
    height: 1.85rem;
    padding: 0.1rem 0.75rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 40, 100, 0.12);
    border-radius: 3px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-warning {
    color: #ffffff;
    background-color: #ffc107;
    border-color: #ffc107;
}

.form-center {
    display: flex;
    flex-flow: column;
    /* flex-direction: column; */
    align-items: center;
}
/* css for sidebar*/

.sidebar .nav-link.active {
    color: orange;
}

.sidebar .nav-link {
    color: black;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 2px;
}

.sidebar .nav-dropdown.open .nav-link.active {
    color: orange;
    font-weight: bold;
}

.sidebar .nav-dropdown.open .nav-link {
    color: black;
}

.sidebar .nav-dropdown-items .nav-item {
    color: white;
    margin-left: 15px;
    font-size: 14px;
}

.sidebar .nav-dropdown-toggle {
    font-weight: bold;
}

.sidebar .sidebar-nav,
.sidebar .sidebar-scroll,
.sidebar .nav {
    width: 230px;
}
/* css for current focus element */

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus,
.form-control:focus,
.select2-container.select2-container--bootstrap:focus,
.select2-container--bootstrap
    .select2-search--dropdown
    .select2-search__field:focus {
    background-color: #def9be;
    box-shadow: 0 0 0 3px rgba(70, 127, 207, 0.88);
}

.radio-inline input[type="radio"]:focus,
.checkbox input:focus,
.form-check input:focus {
    box-shadow: 0 0 0 6px rgba(75, 230, 139, 0.88);
}

.select2-search__field:focus,
.select2-selection.select2-selection--multiple:focus,
.select2-selection.select2-selection--single:focus {
    background-color: #def9be;
    box-shadow: 0 0 0 3px rgba(70, 127, 207, 0.88) !important;
}
/* DataTable related customization */

.dataTables_scrollFoot,
.DTFC_RightFootWrapper {
    display: none;
}

.DTFC_RightBodyLiner td {
    vertical-align: middle;
}

.DTFC_RightBodyLiner {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.DTFC_RightBodyLiner {
    left: -12px;
}

td p {
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

.table th {
    /* padding: 0.4rem !important; */
    border-top: none;
    background-color: #c8ced3;
}

.table td {
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
    border-top: none;
}
/* form controls */

c3bfbf .form-control.amount-field {
    max-width: 150px;
}

textarea[readonly],
input[readonly] {
    background-color: #e2e2e2 !important;
}

.amount-field {
    min-width: 80px !important;
    max-width: 120px !important;
}

.quantity-field {
    min-width: 50px !important;
    max-width: 80px !important;
}

.date-field {
    min-width: 50px !important;
    max-width: 125px !important;
}

.date-en-field {
    min-width: 50px !important;
    max-width: 170px !important;
}

.form-inline {
    justify-content: space-between;
}

.hr-field {
    min-width: 10px !important;
    max-width: 80px !important;
}

legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 2px;
    margin-bottom: -5px;
    margin-top: 15px;
    font-size: 1.3rem;
    line-height: inherit;
    color: #9c27b0;
    background-color: #c4d8e2;
}

.empty-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 0.45rem;
}

label {
    display: inline-block;
    margin-bottom: 0.15rem;
}

.bg-header {
    background-color: #c4d8e2 !important;
    color: rebeccapurple;
    font-weight: 600;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    text-align: center;
    /* background-color: #f0f3f9;
    border-bottom: 1px solid #c8ced3; */
}

.nav-tabs .nav-link {
    color: #3a83ea;
}

.nav-tabs .nav-link.active {
    color: #da4040;
    font-weight: 550;
}

.nav-tabs .nav-link {
    border: 1px solid #bbbdbf;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.app-header {
    height: 70px !important;
}

@font-face {
    font-family: kalimati;
    src: url("/fonts/Kalimati.ttf");
}

html:not([dir="rtl"]) .sidebar {
    margin-left: -238px;
}

.danger-class > label {
    color: red;
}
