
.css_attribute_color {
  display: inline-block;
  border: 1px solid #999999;
  text-align: center;
}

.css_attribute_color input {
  margin: 8px;
  height: 13px;
  opacity: 0;
}

.css_attribute_color.active {
  border: 3px ridge #66ee66;
}

.css_attribute_color.active input {
  margin: 6px;
}

.css_attribute_color.custom_value {
  background-image: linear-gradient(to bottom right, #FF0000, #FFF200, #1E9600);
}

.css_not_available_msg {
  display: none;
}

.css_not_available.js_product .css_quantity,
.css_not_available.js_product .product_price {
  display: none;
}

.css_not_available.js_product .css_not_available_msg {
  display: block;
}

.css_not_available.js_product .js_add,
.css_not_available.js_product .oe_price,
.css_not_available.js_product .oe_default_price,
.css_not_available.js_product .oe_optional {
  display: none;
}

.css_quantity {
  width: initial;
}

.css_quantity input[name="add_qty"] {
  max-width: 50px;
  text-align: center;
}

option.css_not_available {
  color: #ccc;
}

label.css_not_available {
  opacity: 0.6;
}

label.css_attribute_color.css_not_available {
  opacity: 1;
  background-image: url("/website_sale/static/src/img/redcross.png");
  background-size: cover;
}

.variant_attribute {
  padding-bottom: 0.5rem;
}

.variant_attribute .attribute_name {
  padding-bottom: 0.5rem;
  display: block;
}

.variant_attribute .radio_input {
  margin-right: 0.7rem;
  vertical-align: middle;
}

.variant_attribute .radio_input_value {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.variant_attribute .variant_custom_value {
  margin-bottom: 0.7rem;
}

.variant_attribute .variant_custom_value.custom_value_own_line {
  display: inline-block;
}

.variant_attribute .custom_value_radio {
  margin: 0.3rem 0rem 0.3rem 1.6rem;
}

.variant_attribute select {
  margin-bottom: 0.5rem;
}

.o_product_configurator .product_detail_img {
  max-height: 240px;
}

.o_product_configurator .variant_attribute .custom_value_radio {
  margin: 0.3rem 0rem 0.3rem 2.1rem;
}

.oe_optional_products_modal .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.025);
}

.oe_optional_products_modal .o_total_row {
  font-size: 1.2rem;
}

.modal.o_technical_modal .oe_optional_products_modal .btn.js_add_cart_json {
  padding: 0.075rem 0.75rem;
}

.js_product.in_cart .js_add_cart_variants {
  display: none;
}

.js_product select {
  -webkit--webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist;
  -moz--webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist;
  -webkit-appearance: menulist; -moz-appearance: menulist; appearance: menulist;
  background-image: none;
}

.js_product .td-product_name {
  word-wrap: break-word;
}

.js_product .td-product_name {
  min-width: 140px;
}

.js_product .td-img {
  width: 100px;
}

.js_product .td-qty {
  width: 200px;
}

.js_product .td-qty a.input-group-addon {
  background-color: transparent;
  border: 0px;
}

.js_product .td-qty .input-group {
  display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex;
}

.js_product .td-action {
  width: 30px;
}

.js_product .td-price,
.js_product .td-price-total {
  width: 120px;
}

@media (max-width: 767.98px) {
  .js_product .td-img,
  .js_product .td-price-total {
    display: none;
  }
  .js_product .td-qty {
    width: 60px;
  }
  .js_product .td-price {
    width: 80px;
  }
}

@media (max-width: 476px) {
  .js_product .td-qty {
    width: 60px;
  }
  .js_product #modal_optional_products table thead,
  .js_product .oe_cart table thead {
    display: none;
  }
  .js_product #modal_optional_products table td.td-img,
  .js_product .oe_cart table td.td-img {
    display: none;
  }
}

.o_total_row {
  height: 50px;
}

.oe_striked_price {
  text-decoration: line-through;
  white-space: nowrap;
}

.o_list_view .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier) .o_field_widget .o_edit_product_configuration {
  padding: 0;
  background-color: inherit;
  margin-left: 3px;
}

