* {
    -webkit-print-color-adjust: exact !important;
}

td.customer_state,
td.customer_address {
    color: blueviolet;
}

/*.debit tr td {
    /*border-top: 1px solid black !important;*/
/*    border-right: 1px solid black !important;
    border-bottom: 1px solid black !important;
}

.return tr td {
    border-top: 1px solid black !important;
    border-right: 1px solid black !important;
    border-bottom: 1px solid black !important;
}

.payment tr td {
    border-top: 1px solid black !important;
    border-right: 1px solid black !important;
    border-bottom: 1px solid black !important;
}*/
*/
/*.debit tr td, .payment tr
 td, .return tr td {
    font-size: 16px;
}*/



.sales_edit .tax_rate,
.sales_edit .qty,
.sales_edit .discount,
.sales_edit .unit_type {
    max-width: 5em;
}

.details-control {
    display: flex;
}

.info-number {
    padding: 6px 15px !important;
}

.sales_edit .rateXqty {
    max-width: 10em;
}

hr.line {
    border-top: 2px solid #000;
}

hr.total {
    margin: 0;
}

.table {
    background: #fff;
}

/* .dozen_input_calc_column {
    display: none;
} */

.control-label {
    padding: 8px;
    margin: 0;
}


.error_popup {
    position: fixed;
    z-index: 9999999999;
    background: red;
    color: white;
    width: 18em;
    padding: 2em;
    top: 3em;
    right: 3em;
    border-radius: 2%;
    box-shadow: 0 0 20px 3px #565656;
}

a.user-profile.dropdown-toggle {
    padding: 6px;
}

.nav.toggle {
    padding: 8px;
}

.table-responsive td {
    font-size: 13px;
}

.table-responsive th {
    font-size: 15px;
}

/* .adjustment1, .adjustment2 {
    display: none;
} */

.sales_config_mods {
    opacity: 0.1;
    transition: 300ms;
}

.sticky-save-button {
    position: sticky;
    bottom: 0;
}

.sales_config_mods:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    body {
        background: #F7F7F7;
    }
}

input:focus {
    box-shadow: inset 0px 0px 8px -4px black;
}

table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting {
    padding-right: 0;
}

.btn-primary:focus,
button.btn.btn-primary:focus,
.btn:focus,
button:focus {
    box-shadow: 0 0 2px 0px red;
}

.ui-pnotify-closer,
.ui-pnotify-sticker {
    float: right;
    margin-left: .2em
}

.error {
    color: red;
}

input.error {
    box-shadow: 0 0 5px red;
}

td.product-id span.select2.select2-container.select2-container--default {
    width: 12em !important;
}

.purchase-entry i.fa.fa-check.text-success {
    background: #fff;
    border-radius: 4px;
    padding: 1px;
    border: 2.5px solid #3c763d;
}

.purchase-entry td,
.sales-entry td {
    padding: 0 !important;
    background: #fff;
}

.t-v {
    text-align: center;
    vertical-align: middle;
}

.block {
    background: #fff;
    padding: 1em;
    border: 1px solid #dedede;
    margin: 1em auto;
    border-radius: 4px;
    color: #333;
}

.required {
    color: red;
}

.left_col,
body,
.right_col {
    transition: 300ms;
}

.table-input {
    width: 100%;
    height: 2.2em;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding-left: 3px;
}

table td label.error {
    display: none !important;
}

.table-input:focus {
    background: #f3f3f3;
    box-shadow: inset 0px 0px 9px -2px black;
}

table.table-input:read-only {
    background: #f6f6f6;
}







/*
.table-input:read-only:focus  {
    background: #fff;
}*/

.suggestion {
    font-weight: bold;
    color: red;
}

.tableRowProductUpload .btn-xs,
.sales-entry .btn-xs {
    margin: 3px;
}

.pId {
    max-width: 4em;
}

.bNo {
    max-width: 7em;
}

.pRate,
.sRate {
    max-width: 7em;
}

.pSize {
    max-width: 8em;
}

.tRate,
.disc {
    max-width: 5em;
}

.pUnit,
.pUnitType {
    max-width: 5em;
}

.pAmount {
    max-width: 7em;
}

.pName {
    min-width: 16em;
}

.product_size {
    min-width: 5em
}

.sales_rate,
.total_amount {
    min-width: 10em;
}

.sales-entry td:nth-child(1),
.sales-entry td:nth-child(9) {
    text-align: center;
}

/* table .select2-container--default .select2-selection--single .select2-selection__arrow { */
/*height: 27px;*/
/* } */

table .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-top: 0;
    color: black;
}

tfoot .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 29px;
    border: none;
}

span.select2-selection.select2-selection--single:focus {
    box-shadow: 0 0 18px 1px black !important;
}

.site_title img {
    background: #eee;
    padding: 3px;
    margin: 2px;
}

.toggle a {
    color: #2f9aba;
}

input:focus {
    box-shadow: 0 0 18px 1px black !important;
}

.ajax_form_submit_loading {
    position: fixed;
    top: 50%;
    left: 50%;
    right: 50%;
    background: #333333;
    width: 100px;
    height: 100px;
    text-align: center;
    padding: 2em;
    border-radius: 1em;
    transform: translate(-50%, -50%);
    transition: 300ms;
    z-index: 9999;
}

.login {
    background: #eee;
}

body.login:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom right, #191919, rgb(86, 86, 86), #FFCB47);
    /*opacity: .6;*/
}

.login_content a {
    color: #ed6126;
    font-size: 14px;
}

.login_content {
    text-shadow: none;
}

.separator {
    color: white;
}

.login_content .btn.btn-primary {
    background: #ed6126;
    border-color: #ed6126;
    margin-left: 0;
}

.login_content form {
    /*margin: 14px;*/
    padding: 2em;
    border-radius: 5px;
    background: #cecece;
    box-shadow: 4px 5px 22px 0px black;
    width: 100%;
}

.login-error {
    color: white;
    background: #ce0000;
    /*padding: 8px;*/
    font-weight: bold;
    letter-spacing: 1px;
    transition: 300ms;
    border-radius: 6px;
}

span.select2-selection {
    overflow: hidden;
}

h1.company_name {
    /*color: red;*/
    /*text-transform: uppercase;*/
    font-weight: bold;
    /*font-family: Times;*/
}


span.error {
    line-height: initial;
}



table td span {
    line-height: 1;
}

.total_table td {
    border-top: none !important;
}

.total_table td:nth-child(2) {
    text-align: right;
}

.top_tr {
    border-top: 1px solid #e9e9e9;
}

span.shortcut {
    float: right;
    font-size: 8px;
    background: #222;
    padding: 4px;
    line-height: 1;
    border: 1px solid #999;
    border-radius: 2px;
}

.bottom_tr {
    border-bottom: 4px solid #e5e5e5;
}

table.table.total_table tr td {
    padding: 2px;
    position: relative;
}


fieldset {
    border: 1px solid #ccc;
    padding: 15px;
    /* border: none; */
    margin: 0;
    /*padding: 0;*/
}

legend {
    width: auto;
    padding: 5px;
    border: none;
}

.field_change {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9999;
    width: 80px;
}

.ajax_form_submit_loading img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4em;
    height: 200px;
    filter: invert(1);
}

tr.selected {
    background: #9cc3ff !important;
    cursor: copy;
}

.border-left {
    border-left: 1px solid #000 !important;
}

.form-table th,
.form-table td {
    /*border: 3px solid transparent !important;*/
    padding: 0.3em;
}


.supernet {
    /* position: absolute; */
    /* bottom: 188px; */
    /* left: 78px; */
    font-size: 37px;
    font-weight: bold;
}



.btn:active {
    box-shadow: 0 0 11px black;
}


.select2-container--default .select2-results>.select2-results__options {
    max-height: 400px;
    overflow-y: auto;
}

.product_select_char {
    border: 1px dotted;
}

.btn-group-sm>.btn,
.btn-sm {
    padding: 6px 9px;
    font-size: 11px;
    line-height: 1.5;
    border-radius: 3px;
}

.table-hover>tbody>tr:hover {
    box-shadow: inset 0px 1px 13px 0px #a5a5a5;
}

.table-hover tr {
    transition: 300ms;
}

.table tbody tr .btn {
    border: 0;
    border-radius: 50%;
    transition: 300ms;
    margin-bottom: 2px;
    text-shadow: 2px 2px 1px black;
}


.table tbody tr .btn:hover {
    border-radius: 0%;
    box-shadow: 3px 3px 7px -2px black;
}

.x_panel,
.tile-stats,
.block {
    border-radius: 0;
    border: 0;
    border-top: 6px solid #696969;
    box-shadow: 1px 3px 10px 0px rgba(0, 0, 0, 0.15);
}

.print_company_name {
    display: none;
}

.archive-product {
    display: none;
}

/* .bell-no-column-sales,.sort-no-column-sales,.bell-no-column-view,.sort-no-column-view {
    display: none;
} */

.pre {
    background: #eee;
    margin: 7px;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 5px;
    font-family: monospace;
    font-size: 11px;
}

.open-configuration {
    position: absolute;
    top: 3.8em;
    right: 2em;
    z-index: 2;
    transition: 600ms;
}

.configuration {
    background: #eee;
    box-shadow: inset 0px 0px 10px 4px #949494;
    padding: 1em;
    position: absolute;
    width: calc(100% - 230px);
    top: 3.8em;
    z-index: 1;
    left: 18.45em;
}



.flip {
    transform: rotate(-180deg);
}

.fa-caret-down {
    transition: 300ms;
}

.show-hide-columns {
    position: absolute;
    top: 4.4em;
    right: 2em;
    z-index: 2;
    transition: 600ms;
}

.hide_all_footer_section {
    background: #eee;
    box-shadow: inset 0px 0px 10px 4px #949494;
    padding: 1em;
    position: absolute;
    width: calc(100% - 575px);
    top: -0.7em;
    z-index: 1;
    left: 45.45em;
}

.dropdown-item-sales {
    text-transform: none;
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-size: 15px;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: 300ms;
    cursor: pointer;
}

.dropdown-item-sales:hover {
    background: #111;
    color: #eee;
}

.dropdown-item-sales.active,
.dropdown-item-sales:active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}

h6.dropdown-header-sales {
    margin: 22px;
}

.bordered {
    border: 1px solid #d9d9d9;
}

@media (min-width: 992px) {
    .modal-xl {
        width: 90vw;
    }
}

.mb-2 {
    margin-bottom: 0.7em !important;
}

.modal-body {
    max-height: 79vh !important;
    overflow: auto;
}

td.product_name.sales-items-column {
    vertical-align: middle;
    padding-left: 3px !important;
}

tr.selected:hover {
    background-color: #78a1df !important;
}

#whole-table {
    background: #fff;
}

.pb-2 {
    padding-bottom: 0.7em;
}

.p-5 {
    padding: 1em;
}

tfoot {
    page-break-after: avoid !important;
}

#account_ledger_new_header_company_image {
    display: none;
}

#challan-image-placeholder {
    max-width: 100px;
}

#challan-image-placeholder.showBigImage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    max-width: 80%;
    z-index: 99;
    max-height: 80%;
    height: auto;
}



div.dt-button-background {
    z-index: 99 !important;
}
