* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.font-small {
  font-size: 0.675em;
}

.text-break-none {
  white-space: nowrap;
}

.bg-brand-primary {
  background-color: #0d6f93;
}

.text-brand-primary {
  color: #0d6f93;
}

a.text-brand-primary {
  color: #0d6f93;
  transition: 0.5s;
}

a.text-brand-primary:hover {
  color: #09526d;
  transition: 0.5s;
}

.btn.bg-brand-blue:hover {
  background-color: #09526d;
}

.bg-brand-invoice {
  background-color: #9accff !important;
}

.bg-brand-yellow {
  background-color: #ffff9a !important;
}

table.tr.bg-brand-yellow {
  background-color: #ffff9a !important;
}

.btn-brand-primary {
  background: #0d6f93 !important;;
  color: white;
}

.btn-brand-primary:hover {
  background: #09526d !important;;
  color: white;
}

.btn-outline-brand-primary {
  border: 1px solid #0d6f93;
  color: #0d6f93;
}

.btn-outline-brand-primary:hover {
  background: #0d6f93;
  color: white;
}

.hide-component {
  display: none !important;
}

.vw-15 {
  min-width: 15vw;
}

.vw-85 {
  min-width: 85vw;
}

#topbar .profile-image {
  height: 35px;
}

#main-page #sidebar {
  min-height: 100vh;
  min-width: 15vw;
  width: 230px;
}

#main-page #sidebar .sidebar-item {
  transition: 0.3s;
  border: 3px solid #0d6f93;
}

#main-page #sidebar .sidebar-item:hover {
  background-color: #09526d !important;
  border: 3px solid #09526d;
  border-left: 3px solid white;
  transition: 0.3s;
}

#main-page #sidebar .dropdown-menu-item {
  /* padding: 20px; */
  padding: 20px 14px;
  display: none;
}

#main-page #sidebar .dropdown-menu-item a {
  transition: 0.3s;
}

#main-page #sidebar .dropdown-menu-item a:hover {
  transition: 0.3s;
  color: rgb(25, 49, 65) !important;
}

#main-page .dashboard-box {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  display: block;
}

#main-page .dashboard-box .quick-view-box {
  min-width: 285px;
}

.display-anyhow {
  opacity: 1 !important;
  z-index: 99;
  transition: 0.3s;
}

#stats, #hideStats {
  display: none;
}

.fancybox__content {
  max-width: 77% !important;
}

.btn-outline-brand-primary.active {
  background: #0d6f93;
  color: white;
}

.fs-14px {
  font-size: 14px;
}

.mh-100 {
  min-height: 100%;
}

.nav .btn-outline-brand-primary {
  border: 1px solid grey;
  color: grey;
  transition: 0.3s;
}

.nav .btn-outline-brand-primary:hover {
  color: #0d6f93;
  background: white;
  transition: 0.3s;
}

.nav .active {
  color: white;
}

.nav .active:hover {
  background: #0d6f93;
  color: white;
}

.bg-image {
  background: url("../img/contract.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: -1;
}

.bg-image:before {
  content: "";
  background: black;
  height: 100%;
  width: 100%;
  position: absolute;
  opacity: 0.2;
  z-index: -2;
}

.display-4 {
  line-height: 55px;
}

.login-form .form-control {
  border: 0px !important;
  border-radius: 0;
  border-bottom: 0.5px solid grey !important;
  padding-left: 0;
}

.error {
  color: red;
  margin-top: 5px;
  display: block;
  font-size: 14px;
}







.transactions{
  padding-left: 2px;
  padding-right: 2px;
}
.transactions .card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transactions .card .card-header h6 {
  font-weight: 600;
  color: #000 !important;
}

.transactions #datatable-index_filter {
  float: right;
  text-align: left;
  margin-bottom: 0px !important;
}

.transactions #datatable-index_filter label {
  font-size: 12px;
}

.transactions #datatable-index_filter input {
  padding: 3px;
  font-size: 12px;
  outline: none;
  box-shadow: none;
}

.transactions #datatable-index_info {
  display: none;
}

.transactions .card .card-body {
  padding: 1rem .5rem !important;
}
.transactions .card-body tbody .party-td{
  font-weight: 600 !important;
}

.transactions button.history {
  border-radius: .89rem !important;
  border: none;
  font-size: 0.7rem;
  padding-right: 0.4rem !important;
padding-left: 0.4rem !important;
}

.transactions .transaction-history {
  border-radius: .89rem !important;
  font-size: 0.7rem;
  padding: .3rem .3rem !important;
}

.customer-multiselect #id_customers{
  height: 200px;
  overflow-y: auto;
  border: 1px solid #dee2e6!important;
  padding: 8px;
}

.customer-multiselect #id_suppliers{
  height: 200px;
  overflow-y: auto;
  border: 1px solid #dee2e6!important;
  padding: 8px;
}

.customer-multiselect #id_agent{
  height: 200px;
  overflow-y: auto;
  border: 1px solid #dee2e6!important;
  padding: 8px;
}




@media print {
  #topbar, #sidebar, footer {
    display: none !important;
  }

  h1, hr {
    display: none;
  }

  .w-50, .w-75 {
    width: 100% !important;
  }

  .alwaysbreak {
    page-break-before: always;
  }

  .border {
    border: 0px !important;
  }

  .p-5 {
    padding: 0px !important;
  }

  .nav {
    display: none !important;
  }

  .dashboard-box {
    background: white !important;
    padding: 0 !important;
  }

  .mx-3, .my-3 {
    margin: 0 !important;
  }
}

#menu_forward_order{
  border-bottom:2px solid rgb(7, 4, 4);
  padding:5px;
  margin:2px;
  font-weight: 600;
}

.load-spinner {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: white;
}


@media screen and (max-width: 767px) {
  #sidebar {
    width: 50vw;
  }

  #topbar .col-md-3 {
    justify-content: center !important;
  }

  #topbar .col-md-3 p:first-of-type {
    display: block;
  }

  #topSearch {
    position: absolute;
    width: 60%;
    right: 0;
    top: 12%;
    opacity: 0;
    transition: 0.3s;
  }

  #topSearch.w-100 {
    width: 100% !important;
    padding: 0 7px;
  }
}

@media screen and (max-width: 502px) {
  #topbar .btn-outline-danger {
    display: none;
  }
}

@media screen and (max-width: 475px) {
  #sidebar {
    width: 100vw;
    height: 100vh;
  }
}

@media screen and (max-width: 1400px) {
  .display-paper .w-50 {
    width: 75% !important;
  }
}

@media screen and (max-width: 1200px) {
  .display-paper .w-50 {
    width: 75% !important;
  }

  .display-paper .w-75 {
    width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .display-paper .w-50 {
    width: 100% !important;
  }
}
.w-60{
  width: 65% !important;
}

input.qntpricefield{
  width: 30%;
  text-align: right;
}
.qntpricefield{
  text-align: right;
}
input.ack_quantity, .ack_quantity {
  width: 30%;
  text-align: center;
  padding: 0;
}
select.choice_field {
  padding: 5px;
  border: 1px solid #f5e1e1;
}
select.choice_field_block{
  padding: 5px;
  border: 1px solid #f5e1e1;
  display: block;
}
.ord_unit_price{
  text-align: right;
}
/*# sourceMappingURL=main.css.map */

.form_errors {
    color: red;
    font-size: 12px;
    font-weight: 400;
}
.pending{
  color: green !important;
  font-size: 14px;
  font-weight: 600;
}
.error_catalog{
  color: red;
  font-size: 16px;
}

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

.table{
    margin-bottom: 0px;
}

@media (min-width: 1200px){
}
.fs-15 {
    font-size: 1.5rem!important;
}

input.ordered_quantity, input.quantity_invoiced {
    width: 80px;
    text-align: center;
}
input.quantity_shipped, input.ack_quantity{
    width: 35%;
    text-align: center;
}

input.unit_price {
    width: 105px;
    text-align: center;
}
#id_receiver{
    width: auto !important
}

.description-width{
    width: 30%;
}

.back-button{
    margin-bottom: 10px;
}
.btn-fixed-width{
    width: 50px;
    text-align: center;
}
.transactions .card .card-body .table-responsive{
    overflow-x: none
}

#main-page .align-items-stretch .dashboard-box {
    width: 100%;
        }

#main-page .align-items-stretch .dashboard-box .display-paper {
    /* width: 974px; abc */ 
    padding: 1.5rem;
}

@media only screen and (max-width: 1080px) {
    /* #main-page .align-items-stretch .dashboard-box {
        width: 100%;
    } */

    #main-page .align-items-stretch .dashboard-box .display-paper {
        width: 100%;
        margin-inline: auto;
    }
    }

 @media only screen and (max-width: 767px) {
    #main-page .align-items-stretch .dashboard-box {
        /* width: min(100% - 2em, 48em); */
        width: 100%;
        min-width: 100%;
    }

    #main-page .align-items-stretch .dashboard-box .display-paper {
        width: 100%;
        /* padding: 10px!important */
    }
    }
.dashboard-box .display-paper .table-responsive {
    overflow-x: auto!important;
    scrollbar-width: thin!important;
}

@media screen and (max-width: 800px) {
    #sidebar {
        display: none;

        }
}
/* @media screen and (max-width: 1090px) {
    #sidebar {
        display: none;

        }
} */

.text-brand-danger{
color: red;
}

.w-80{
width: 80% !important;
}
.card-information ul li {
  
            list-style: none;
        }
.card-information ul li span{
    font-weight: 600;
}

.instructor>p {
    padding-left: 2rem;
}

.identifier>p {
    padding-left: 1.2rem;
}

@media only screen and (max-width: 767px) {
    .instructor {
        display: block !important;
    }

    .identifier {
        display: block !important;
    }
}
#main-page .table-responsive table tbody tr th{
  padding: 0.2rem .5rem!important;
}
/* #main-page .align-items-stretch .dashboard-box {
            width: 100%;
            padding: 0 2rem;
            max-width: 840px;
            transition: max-width 0.5s ease;
        } */

/* 
@media only screen and (max-width: 1100px){
  .transactions {
    width: 100% !important;
  }
}
@media only screen and (max-width: 1400px){
  .transactions {
    width: 50% !important;
  }
} */

.user-mgmt{
  width: 60%;
  min-width: 600px;
}

@media only screen and (max-width: 900px){
  .user-mgmt{
    width: 100%;
    min-width: 200px;
  }
}

.dashboard-box .table-responsive tbody td.d-flex a{
  padding: 15px 0;
}

/* .dashboard-box{
  overflow: auto;
} */


#main-page .align-items-stretch .dashboard-box .display-paper {
  /* width: 960px ; */
  width: 80%;
  padding: 1.5rem;
  min-width: 955px;
}


/* @media screen and (max-width: 1220px){
#sidebar {
  display: none;
} */
/* #main-page .align-items-stretch .dashboard-box .display-paper{
  width: 100% !important;
  min-width: 100% !important;
} */


@media only screen and (max-width: 930px){
  .dashboard-box .display-paper .table-responsive{
    overflow: auto;
  }
}


@media only screen and (max-width: 1080px){
  #main-page .align-items-stretch .dashboard-box {
      /* width: min(100% - 1rem, 47rem); */
      width: 100%;
      overflow: hidden;
  }
}

/* @media only screen and (max-width: 767px){
.dashboard-box .display-paper .table-responsive {
    overflow: auto;
}

} */

@media screen and (max-width: 767px){
#main-page .align-items-stretch .dashboard-box .display-paper {
  width: 100% !important;
  min-width: 100% !important;
}
#main-page .align-items-stretch .dashboard-box {
  overflow: hidden;
  width: 100%;
  min-width: 20%;
}
}


@media screen and (max-width: 1220px){
#main-page .align-items-stretch .dashboard-box .display-paper {
    width: 100% !important;
    min-width: 100% !important;
}
}

.fw-400{
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 400;
}

.required-field::after {
  content: "*";
  color: red;
  margin-right: 4px;
}
.old_orders {
  display: none;
  background: #f4f4f5;
}
.toggle_button {
    background-color: transparent;
    color: #0d6efd;
    border: none;
    cursor: pointer;
}

.clicked_rm_bg{
  background-color: transparent !important; /* Remove background color */
  color: #4a3f3f !important; /* Change text color to the desired color */
  border: 2px solid #5e4b4b !important 
}

input[readonly] {
  background: #efefef;
}