/*  Loader */

#loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    background: rgba(133, 116, 160, 0.36);
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading-wrapper .spinner-wrapper {
    width: 100px;
    height: 120px;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: calc(50% - 60px);
}

#loading-wrapper .spinner {
    width: 100%;
    height: 100%;
    position: absolute;
}

#loading-wrapper .spinner .inner {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 5px solid rgb(137 77 236);
    border-right: none;
    border-top: none;
    backgroudn-clip: padding;
    box-shadow: inset 0px 0px 10px rgb(207 183 247);
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#loading-wrapper .spinner:nth-of-type(0) {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

#loading-wrapper .spinner:nth-of-type(0) .inner {
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

#loading-wrapper .spinner:nth-of-type(1) {
    -webkit-transform: rotate(70deg);
    transform: rotate(70deg);
}

#loading-wrapper .spinner:nth-of-type(1) .inner {
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

#loading-wrapper .spinner:nth-of-type(2) {
    -webkit-transform: rotate(140deg);
    transform: rotate(140deg);
}

#loading-wrapper .spinner:nth-of-type(2) .inner {
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}

#loading-wrapper .loading-wrapper {
    -webkit-animation: spin 5s infinite linear;
    animation: spin 5s infinite linear;
}

/* end loader */

.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}
/* Colores personalizados para sidebar del menú */
.sidebar {
    background-color: #4568f8;
}

.sidebar .nav-link {
    color: #eee;
}

.sidebar.sidebar .nav-link.active {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar .nav-link:hover{
    background: rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link .nav-icon{
    color: #eee;
}

.sidebar .nav-link.active .nav-icon {
    color: #fff;
}

.sidebar-minimized .sidebar .sidebar-minimizer {
    background-color: rgba(0, 0, 0, .3);
}

@media (min-width: 992px) {
    .sidebar-minimized .sidebar .nav-item:hover>.nav-link{
        background: #4568f8;
    }
}
/* Fin - Colores personalizados para sidebar del menú */

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs>.btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}

.searchable-fields {
    padding-left: 5px;
}

.searchable-link {
    padding: 0 5px 0 5px;
}

.searchable-link:hover {
    cursor: pointer;
    background: #eaeaea;
}

.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

/*Label*/
.card-warning:not(.card-outline)>.card-header {
    background-color: #ffc107;
}

.card-header {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 700;
}

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

/*End Label*/

/*Form control*/

.form-control {
    /* height: calc(2.25rem + 2px) !important;
    border: 1px solid #ced4da !important; */
}

/*Home  Boxes*/

.small-box {
    border-radius: .25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    display: block;
    margin-bottom: 20px;
    position: relative;
}

.small-box>.inner {
    padding: 10px;
}

.small-box .icon {
    color: rgba(0, 0, 0, .15);
    z-index: 0;
}

.small-box>.small-box-footer {
    background: rgba(0, 0, 0, .1);
    color: rgba(255, 255, 255, .8);
    display: block;
    padding: 3px 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    z-index: 10;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.small-box p {
    font-size: 1rem;
    z-index: 5;
}

.error {
    color: red;
}


/*Receipt*/

.footer_receipt h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 400;
}

.recipt_no {
    line-height: 40px;
    padding-top: 15px;
}

.footer_receipt {
    border: 2px solid #3f3f3f;
    font-size: 16px;
    line-height: 25px;
    color: #3f3f3f;
    padding: 4px 0;
    text-align: center;
    margin: 40px 0 10px 0;
}

.recipt_main {
    max-width: 800px;
    margin: 5em auto;
    border: 1px solid #bdbdbd;
    padding: 50px;
}

.recipt_main span {
    padding: 0 15px 0 5px !important;
    font-weight: 500;
}

/*.reciptform {
    border: 2px solid #3f3f3f;
    padding: 25px 8px;
}*/
.under_line {
    border-bottom: 2px solid #3f3f3f;
    line-height: 35px;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 400;
}

.receipt_heading .receipt_text {
    color: #0463a7;
    margin: 20px auto !important;
    font-size: 30px;
}

.top_section .receipt_text {
    line-height: 3;
}

.under_line span {
    font-size: 16px;
}

.top_section {
    margin-bottom: 45px;
}

.photo_field {
    border: 2px solid #3f3f3f;
    height: 100%;
    margin-top: 10px;
    padding: 45px 0;
    margin-left: -15px;
}

.dollar_field span {
    float: right;
    padding-right: 5px !important;
}

.dollar_field {
    padding-left: 5px;
    text-align: left;
    margin-top: 15px;
}

.table_field:last-child {
    border: 0;
}

.table_field span:last-child {
    border: 0 !important;
    text-align: center;
    font-weight: 400;
    padding: 0 !important;
}

.table_field span {
    width: 50%;
    border-right: 2px solid #3f3f3f;
    margin-right: 20px;
    font-weight: 500;
    padding: 7px 15px 7px 5px !important;
}

.table_field {
    border-bottom: 2px solid #3f3f3f;
    padding: 0 5px;
    line-height: 40px;
    display: flex;
}

.from_to p {
    margin: 0;
    font-weight: 500;
    /*width: 50%;*/
    padding-left: 5px;
    font-size: 16px;
    margin-bottom: 5px;
}

.from_to p span {
    font-weight: 400;
    padding-left: 10px !important;
}

.from_to {
    display: flex;
}

.leftside_table {
    border: 2px solid #3f3f3f;
    /*height: 100%;    */
}

.rightside_table {
    border-top: 2px solid #3f3f3f;
}

.bottom_section {
    margin-top: 55px;
}

@media only screen and (max-width: 575px) {
    .reciptform {
        padding: 10px 0;
    }

    .receipt_text {
        margin-bottom: 15px;
    }

    .bottom_section:last-child {
        margin-top: 40px;
    }

    .recipt_main {
        margin: 4em 5px;
        padding: 20px;
    }

    .photo_field {
        margin-left: 0px;
    }

    .top_section:first-child {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 767px) and (min-width: 576px) {
    section.recipt_main {
        margin: 4em 5px;
    }

    .reciptform {
        padding: 25px 5px;
    }

    .table_field span {
        margin-right: 2px;
    }
}


.form-control:focus {
    box-shadow: none !important;
}


/** GK **/

.chart-container h3,.header h1 {
    color: #000;
    font-size: 20px;
    font-family: sans-serif;
    font-weight: 600;
}
.header p {
    color: #000;
    font-size: 15px;
}
.date-filter input {
    min-width: 260px;
}
.filter-main {
    display: flex;
    align-items: center;
    justify-content: flex-start !important; 
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 40px;
}
.filter-main label {
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
}
.filter-dd select {
    max-width: 150px;
    font-size: 13px;
}
.filter-dd>* {
    margin: 0 !important;
}
.date-filter,.filter-dd {
    display: flex;
    align-items: center;
    gap: 5px;
}
.filter-dd>div select {
    max-width: 150px;
    min-width: 350px;
}
.chart-container canvas {
    width: 400px !important;
    height: 400px !important;
    margin: 20px auto;
}
.reset_salesby img {
    width: 20px;
    filter: brightness(0) invert(1);
}
.model_button img {
    width: 18px;
    filter: brightness(0) invert(1);
}
.model_button {
    padding: 6px 8px !important;
}
.prochart-modal .chart-container canvas {
    width: 300px !important;
    height: 300px !important;
}
.prochart-modal .chart-container canvas {
    width: 300px !important;
    height: 300px !important;
}
.orders-total {text-align: center;font-weight: 600;}
.prochart-modal .chart-container h3 {
    text-align: center;
    color: #1cb7ec;
}
.prochart-modal .filter-main {
    justify-content: center;
    margin: 30px 0 30px !important;
}
.prochart-modal .modal-dialog {
    max-width: 800px;
}
.prochart-modal .filter-dd>div select {
    min-width: 179px;
}
/**-GK-**/
/* SK */
.margin_chart img {
    width: 18px;
    filter: brightness(0) invert(1);
}

.marginchart-modal .chart-container canvas {
    width: 600px !important;
    height: 350px !important;
}
.marginchart-modal .chart-container h3 {
    text-align: center;
    color: #1cb7ec;
}
.marginchart-modal .filter-main {
    justify-content: flex-start;
    margin: 30px 0 30px !important;
}
.marginchart-modal .modal-dialog {
    max-width: 800px;
}
.marginchart-modal .filter-dd>div select {
    min-width: 179px;
}
.reset_margin img {
    width: 20px;
    filter: brightness(0) invert(1);
}
.model_button_client img {
    width: 18px;
    filter: brightness(0) invert(1);
}

/* SK END */
/*** css start by (py) ****/
.loader_wrap {
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}
.loader_wrap img { 
    width:200px;
    margin-top:25px;
}
.imm_main_wrap label,.filter_main_wrap label {
    font-size:13px;
    color:#616a70;
    margin-bottom:6px;
}
.imm_main_wrap .date-filter {
    margin:12px 0px 0px 1px;
}
.imm_main_wrap .input-group-addon,.filter_main_wrap .input-group-addon {
    margin:10px;
}
.imm_main_wrap>div {
    padding:0px  5px;
}
.date_wrap{
    width:100%;
}
.filter_main_wrap .input-group{
    width:55%;
    position: relative;
}
.main_group .input-group{
    width:unset;
}
.filter_main_wrap button {
    margin-top: 22px;
}
.filter-dd {
    flex-wrap: wrap;
}
.reset_salesby {position: relative;}

.reset_salesby::after {
    content: 'Reset';
    position: absolute;
    background: #ffffff;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 600;
    bottom: 3px;
    right: -63px;
    color: #20a8d8;
    border: 1px solid #20a8d8;
}
.reset_salesby::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #20a8d8;
    bottom: 12px;
    right: -16px;
    transform: rotate(45deg);
}
.reset_salesby::after,.reset_salesby::before{
    display:none;
    transition:all .5s ease-in-out;
}
.reset_salesby:hover::after,.reset_salesby:hover::before{
    display:block !important;
}
.apply_btn_wrap {
    margin-top:15px;
}   
.date_filter_wrap {
    flex-direction: column;
    align-items: flex-start;
    display:flex;
}
.date_filter_wrap .date_wrap{
    width:unset;
}

div#ui-datepicker-div,.cal_modal {
    z-index:9999 !important;
}

/*** css end by (py) ****/

::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(155, 155, 155, 0.5);
border-radius: 20px;
border: transparent;
}


body main {
background-color: #f2f7fb;
}

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}


/* .poppins-light */
h2.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.5rem;
}

.main-card-title{
    font-weight: 500;
}

.card-title {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    margin: 0;
  }