/* Remove spinners for number input */
/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* For Firefox*/
input[type="number"] {
    -moz-appearance: textfield;
}

/* INDEX */
.group_line {
  margin-bottom: 5px;
}

.group_line_content {
  display: flex;
  align-items: center;
}

#orders tbody tr {
  cursor: pointer;
}

.btn_list_bc {
  border: 1px solid black;
}

.btn_light:hover {
  background-color: #acb3c2;
}

.midWidthInput {
  height:70px;
  width:50%;
  border: 2px solid #555;
  border-radius:15px;
  margin-bottom: 1em;
}

.order_last_update {
  font-weight: bold;
}

.order_modified_msg {
  font-size: 2rem;
  color: #e62720;
}

.group_partner_name {
  margin: 0 3px;
}

.goto_group_button {
  margin-left: 10px;
}

.ungroup_orders_icon {
  margin-left: 15px;
  color: #d9534f;
  cursor: pointer;
}

.ungroup_precisions {
  font-style: italic;
}

/* PRODUITS */
.page_body {
  height: 100%;
}

header {
  position: relative;
  overflow: hidden;
}

.arrow-block {
  line-height: 30px;
  position: relative;
}
.arrow-block:after, .arrow-block:before{
  content: "";
  position: absolute;
  width: 20px;
  height: 50%;
  left: 100%;
}

#header_step_one {
  background-color: #ced4da;
  z-index: 3;
}
#header_step_one:after{
  bottom:0;
  background: linear-gradient(to right bottom, #ced4da 50%, transparent 50%);
}
#header_step_one:before{
  top:0;
  background: linear-gradient(to right top, #ced4da 50%, transparent 50%);
}

#header_step_two {
  background-color: #ced4da;
  z-index: 2;
}
#header_step_two:after{
  bottom:0;
  background: linear-gradient(to right bottom, #ced4da 50%, transparent 50%);
}
#header_step_two:before{
  top:0;
  background: linear-gradient(to right top, #ced4da 50%, transparent 50%);
}

#header_step_three{
  background-color: #e7e9ed;
  z-index: 1;
}

.step_one_active {
  background-color: #0275D8 !important;
}
.step_one_active:after{
  background: linear-gradient(to right bottom, #0275D8 50%, transparent 50%) !important;
}
.step_one_active:before{
  background: linear-gradient(to right top, #0275D8 50%, transparent 50%) !important;
}

.step_two_active {
  background-color: #5CB85C !important;
}
.step_two_active:after{
  background: linear-gradient(to right bottom, #5CB85C 50%, transparent 50%) !important;
}
.step_two_active:before{
  background: linear-gradient(to right top, #5CB85C 50%, transparent 50%) !important;
}

table.dataTable {
  width: 99% !important;
}

.searchMultipleTables {
  height:70px;
  width:80%;
  border: 2px solid #555;
  border-radius:15px;
  margin-bottom: 1em;
}

.input_small {
  width:50%;
}

.page_element {
  padding: 15px;
}

.page_title {
  padding-top: 10px;
}

.full_width_button {
  height: 45px;
  width: 80%;
  border-radius: 3px;
}

#all_left_is_good {
  display: none;
}

.connected_actions  .full_width_button, .half_width_button {
  height: 45px;
  width: 40%;
  border-radius: 3px;
}

.container_products {
  border-radius:5px;
}

div#container_edition {
  background-color: #e7e9ed;
}

.blink_me {
  animation: blinker 1s ease-in-out;
}

@keyframes blinker {
  15% { background-color: #218D9B ; } /*  F0AD4E*/
}

.big_button {
  height: 45px;
  width: 20%;
  border-radius: 3px;
}

.order_ref_reminder {
  font-weight: bold;
  color: #D9534F;
}

#container_partner_name {
  padding-bottom: 0px;
}

#container_multiple_partners {
  padding-bottom: 15px;
}

.title_partner_key {
  font-weight: bolder;
  font-size: 2rem;
}

tr.even td.row_product_no_qty {
  background-color: #F2B969 !important;
}

tr.odd td.row_product_no_qty {
  background-color: #f0ad4e !important;
}

tr.even td.row_product_qty_changed {
  background-color: #ffc0b7 !important;
}

tr.odd td.row_product_qty_changed {
  background-color: #FFB7AD !important;
}

.add_products_button_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#add_products_button {
  display: none;
}

.no_products_to_add_area {
  margin: 2rem 0;
  /* display: none; */
}

.search_products_to_add_area {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search_product_input {
  width: 60%;
}

.autocomplete_dropdown {
  z-index: 10000001 !important;
}

.search_product_help {
  margin-left: 10px;
}

.products_lines {
  display: none;
}

.products_lines_title {
  margin: 3rem 0 2rem 0;
}

.add_product_line {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.add_product_line_item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input_uom_container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.product_uom {
  margin-left: 10px;
}

.add_product_line .product_name {
  width: 60%;
}

.add_product_line .product_qty {
  width: 30%;
}

.product_qty_input_alert {
  color: #d9534f;
  font-size: 1.4rem;
  display: none;
}

.remove_line {
  width: 10%;
  color: #d9534f;
  cursor: pointer;
}
.remove_line:hover {
  color: #c9302c;
}

.product_already_selected,
.product_already_selected:hover {
  background-color: #acb3c2;
}


#error_report {
  width: 100%;
  height: 200px;
  border: 2px solid #555;
  border-radius: 10px;
  white-space: pre-wrap;
}

#main_content {width: 100%;}

.select_product_action {
  max-width: 5px;
}

.toProcess_line_edit, .toProcess_line_valid {
  min-width: 11px;
}

.product_qty_cell {
  cursor: pointer;
}
.product_qty_cell:hover {
  background-color: #e7e9ed;
}
td.row_product_no_qty.product_qty_cell:hover {
  background-color: #db9129;
}

/* Accordion style */

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #dee2e6;
  color: #212529;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

hr {
  margin-top: 32px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
 background-color: #acb3c2;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.panel.active:after {
  margin-bottom: 30px;
}