
.o_field_invalid.o_input, .o_field_invalid .o_input, .o_field_invalid.o_form_label {
  color: #DC6965 !important;
  border-color: #DC6965 !important;
}

.o_field_empty {
  display: none !important;
}

.o_field_number {
  white-space: nowrap;
}

.o_field_widget, .o_field_widget input.o_input {
  display: inline-block;
  text-align: inherit;
}

.o_field_widget.note-editor, .o_field_widget.oe_form_field_html, .o_field_widget.oe_form_field_text, .o_field_widget.o_field_domain, .o_field_widget.o_graph_linechart, .o_field_widget.o_graph_barchart {
  display: block;
}

.o_field_widget.o_field_many2one, .o_field_widget.o_field_radio, .o_field_widget.o_field_many2manytags, .o_field_widget.o_field_percent_pie, .o_field_widget.o_field_monetary, .o_field_widget.o_field_binary_file, .o_field_widget.o_field_float_percentage {
  display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex;
}

.o_field_widget.o_field_many2one > span, .o_field_widget.o_field_many2one > button, .o_field_widget.o_field_radio > span, .o_field_widget.o_field_radio > button, .o_field_widget.o_field_many2manytags > span, .o_field_widget.o_field_many2manytags > button, .o_field_widget.o_field_percent_pie > span, .o_field_widget.o_field_percent_pie > button, .o_field_widget.o_field_monetary > span, .o_field_widget.o_field_monetary > button, .o_field_widget.o_field_binary_file > span, .o_field_widget.o_field_binary_file > button, .o_field_widget.o_field_float_percentage > span, .o_field_widget.o_field_float_percentage > button {
  -webkit-box-flex: 0; -webkit-flex: 0 0 auto; flex: 0 0 auto;
}

.o_field_widget .o_input_dropdown {
  -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto;
  position: relative;
  width: 100%;
}

.o_field_widget .o_input_dropdown > input {
  padding-right: 15px;
  cursor: pointer;
}

.o_field_widget .o_input_dropdown > input::-ms-clear {
  display: none;
}

.o_field_widget .o_input_dropdown .o_dropdown_button {
  position: absolute;
  top: 0;
  left: auto;
  bottom: auto;
  right: 0;
  pointer-events: none;
}

.o_field_widget .o_input_dropdown .o_dropdown_button:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  border-right: 0.3em solid transparent;
  border-top: 0.3em solid;
  -moz-transform: scale(0.9999);
}

.o_field_widget.o_field_text, .o_field_widget.oe_form_field_text .oe_form_text_content {
  width: 100%;
  white-space: pre-wrap;
}

.o_field_widget.o_field_monetary.o_input, .o_field_widget.o_field_float_percentage.o_input {
  align-items: baseline;
}

.o_field_widget.o_field_monetary.o_input > input, .o_field_widget.o_field_float_percentage.o_input > input {
  width: 100px;
  -webkit-box-flex: 1; -webkit-flex: 1 0 auto; flex: 1 0 auto;
}

.o_field_widget.o_field_many2one_avatar > img.o_m2o_avatar {
  border-radius: 50%;
  width: 19px;
  height: 19px;
  object-fit: cover;
  margin-right: 4px;
}

.o_field_widget.o_field_many2manytags {
  -webkit-flex-flow: row wrap; flex-flow: row wrap;
  align-items: baseline;
  max-width: 100%;
}

.o_field_widget.o_field_many2manytags > .o_field_widget {
  flex: 1 0 100px;
  position: initial;
  max-width: 100%;
}

.o_field_widget.o_field_many2manytags .badge {
  -webkit-box-flex: 0; -webkit-flex: 0 0 auto; flex: 0 0 auto;
  border: 0;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  display: -webkit-box; display: -webkit-flex; display: flex;
  max-width: 100%;
}

.o_field_widget.o_field_many2manytags .badge a {
  color: inherit;
}

.o_field_widget.o_field_many2manytags .badge .o_badge_text {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  max-width: 200px;
  color: inherit;
}

.o_field_widget.o_field_many2manytags .badge .o_delete {
  color: inherit;
  cursor: pointer;
  padding-left: 4px;
}

.o_field_widget.o_field_many2manytags .tagcolor_dropdown_menu {
  min-width: 150px;
  margin-right: 0px;
}

.o_field_widget.o_field_many2manytags .o_colorpicker > ul {
  max-width: 100%;
  padding: 3px 10px 3px 20px;
  white-space: normal;
}

.o_field_widget.o_field_many2manytags .o_colorpicker > ul > li {
  display: inline-block;
  margin: 5px 5px 0 0;
  border: 1px solid white;
  box-shadow: 0 0 0 1px #dee2e6;
}

.o_field_widget.o_field_many2manytags .o_colorpicker > ul > li > a {
  display: block;
}

.o_field_widget.o_field_many2manytags .o_colorpicker > ul > li > a::after {
  content: "";
  display: block;
  width: 20px;
  height: 15px;
}

.o_field_widget.o_field_many2manytags .o_colorpicker > ul > li:last-of-type {
  box-shadow: 0 0 0 0px white;
  color: #666666;
}

.o_field_widget.o_field_many2manytags .o_colorpicker > ul li > .o_hide_in_kanban label {
  line-height: 1.5;
}

.o_field_widget.o_field_many2manytags .o_tag_color_0 {
  background-color: white;
  color: #777777;
  box-shadow: inset 0 0 0 2px #777777;
}

.o_field_widget.o_field_many2manytags .o_tag_color_0::after {
  background-color: #777777;
}

.o_field_widget.o_field_many2manytags .o_tag_color_1, .o_field_widget.o_field_many2manytags .o_tag_color_1::after {
  background-color: #F06050;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_2, .o_field_widget.o_field_many2manytags .o_tag_color_2::after {
  background-color: #F4A460;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_3, .o_field_widget.o_field_many2manytags .o_tag_color_3::after {
  background-color: #F7CD1F;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_4, .o_field_widget.o_field_many2manytags .o_tag_color_4::after {
  background-color: #6CC1ED;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_5, .o_field_widget.o_field_many2manytags .o_tag_color_5::after {
  background-color: #814968;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_6, .o_field_widget.o_field_many2manytags .o_tag_color_6::after {
  background-color: #EB7E7F;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_7, .o_field_widget.o_field_many2manytags .o_tag_color_7::after {
  background-color: #2C8397;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_8, .o_field_widget.o_field_many2manytags .o_tag_color_8::after {
  background-color: #475577;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_9, .o_field_widget.o_field_many2manytags .o_tag_color_9::after {
  background-color: #D6145F;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_10, .o_field_widget.o_field_many2manytags .o_tag_color_10::after {
  background-color: #30C381;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_color_11, .o_field_widget.o_field_many2manytags .o_tag_color_11::after {
  background-color: #9365B8;
  color: #FFFFFF;
}

.o_field_widget.o_field_many2manytags .o_tag_error {
  box-shadow: inset 0 0 0 2px #FF0000;
}

.o_field_widget.o_field_many2manytags .o_tag_error .o_delete {
  color: #FF0000;
}

.o_field_widget.o_field_many2manytags.avatar .badge {
  padding-left: 4px;
}

.o_field_widget.o_field_many2manytags.avatar .badge img {
  height: 18px;
  width: 18px;
  object-fit: cover;
}

.o_field_widget.o_field_many2manytags.avatar .badge.o_tag_color_0 {
  background-color: #F1F1F1;
  box-shadow: none;
  border: 1px solid #dee2e6;
}

.o_field_widget.o_field_many2manytags.avatar .badge .o_delete {
  margin-top: 3px;
}

.o_field_widget.o_priority {
  display: inline-block;
  padding: 0;
  margin: 0;
  vertical-align: baseline;
}

.o_field_widget.o_priority > .o_priority_star {
  display: inline-block;
  font-size: 1.35em;
}

.o_field_widget.o_priority > .o_priority_star:hover, .o_field_widget.o_priority > .o_priority_star:focus {
  text-decoration: none;
  outline: none;
}

.o_field_widget.o_priority > .o_priority_star + .o_priority_star {
  padding-left: 5px;
}

.o_field_widget.o_priority > .o_priority_star.fa-star-o {
  color: #a8a8a8;
}

.o_field_widget.o_priority > .o_priority_star.fa-star {
  color: gold;
}

.o_field_widget.o_favorite i.fa {
  font-size: 16px;
}

.o_field_widget.o_favorite i.fa-star-o {
  color: #a8a8a8;
}

.o_field_widget.o_favorite i.fa-star-o:hover {
  color: gold;
}

.o_field_widget.o_favorite i.fa-star {
  color: gold;
}

.o_field_widget .fa.o_toggle_button_success {
  color: #00A04A;
}

.o_field_widget.o_row_handle {
  cursor: ns-resize;
}

.o_field_widget.o_field_selection_badge .o_selection_badge {
  display: inline-block;
  margin: 0px 0px 4px 4px;
  padding: 1px 6px;
  color: #a8a8a8;
  border: 1px solid #dee2e6;
  cursor: pointer;
}

.o_field_widget.o_field_selection_badge .o_selection_badge.active {
  color: #00A09D;
  border-color: #00A09D;
}

.o_field_widget.o_field_selection_badge .o_selection_badge:hover:not(.active) {
  color: #8796a4;
  border-color: #8796a4;
}

@media (max-width: 767.98px) {
  .o_field_widget.o_field_radio {
    display: inline-block;
  }
}

.o_field_widget.o_field_radio .o_radio_input {
  outline: none;
}

.o_field_widget.o_field_radio .o_radio_item {
  -webkit-box-flex: 0; -webkit-flex: 0 0 auto; flex: 0 0 auto;
}

.o_field_widget.o_field_radio.o_horizontal .o_radio_item {
  margin-right: 10px;
}

.o_field_widget.o_field_radio.o_vertical {
  -webkit-flex-flow: column nowrap; flex-flow: column nowrap;
}

.o_field_widget.o_field_radio.o_vertical .o_radio_item {
  margin-bottom: 5px;
}

.o_field_widget.o_field_percent_pie {
  align-items: center;
}

.o_field_widget.o_field_percent_pie > .o_pie {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 100%;
  overflow: hidden;
  background-color: #00A09D;
}

.o_field_widget.o_field_percent_pie > .o_pie:after {
  content: " ";
  position: absolute;
  top: 0;
  left: auto;
  bottom: auto;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.o_field_widget.o_field_percent_pie > .o_pie .o_mask {
  position: absolute;
  top: 0;
  left: auto;
  bottom: auto;
  right: 0;
  transform-origin: 0;
  width: 50%;
  height: 100%;
  background-color: white;
}

.o_field_widget.o_field_percent_pie > .o_pie .o_mask.o_full {
  background-color: inherit;
}

.o_field_widget.o_field_percent_pie > .o_pie .o_pie_value {
  display: -webkit-box; display: -webkit-flex; display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  font-weight: 700;
  color: #875A7B;
}

.o_field_widget.o_ace_view_editor {
  width: 100%;
}

.o_field_widget.o_ace_view_editor .ace-view-editor {
  height: 300px;
  padding: 0 1em;
}

.o_field_widget.o_field_image {
  position: relative;
}

.o_field_widget.o_field_image .o_form_image_controls {
  position: absolute;
  top: 0;
  left: auto;
  bottom: auto;
  right: 0;
  width: 100%;
  color: white;
  background-color: #00A09D;
  opacity: 0;
  transition: opacity ease 400ms;
  min-width: 35px;
}

.o_field_widget.o_field_image .o_form_image_controls > button.fa {
  border: none;
  background-color: transparent;
}

.o_field_widget.o_field_image .o_form_image_controls > .fa {
  padding: 4px;
  margin: 5px;
  cursor: pointer;
}

@media (max-width: 474.98px) {
  .o_field_widget.o_field_image .o_form_image_controls {
    position: initial;
    opacity: 1;
  }
  .o_field_widget.o_field_image .o_form_image_controls > .fa {
    width: 50%;
    padding: 6px;
    margin: 0px;
    text-align: center;
  }
  .o_field_widget.o_field_image .o_form_image_controls > .fa.o_select_file_button {
    background: #00A09D;
  }
  .o_field_widget.o_field_image .o_form_image_controls > .fa.o_clear_file_button {
    background: #DC6965;
  }
}

.o_field_widget.o_field_image:hover .o_form_image_controls {
  opacity: 0.8;
}

.o_field_widget.o_field_image.o_field_invalid > img {
  border: 1px solid #DC6965;
}

.o_field_widget .o_form_binary_progress, .o_field_widget .o_hidden_input_file .o_input_file {
  display: none;
}

.o_field_widget.o_field_domain > .o_field_domain_panel {
  margin-top: 8px;
}

.o_field_widget.o_field_domain.o_inline_mode.o_edit_mode {
  position: relative;
}

.o_field_widget.o_field_domain.o_inline_mode.o_edit_mode > .o_field_domain_panel {
  position: absolute;
  top: 0;
  left: auto;
  bottom: auto;
  right: 0;
  margin-top: 0;
}

.o_field_widget.o_field_pdfviewer, .o_field_widget .o_pdfview_iframe {
  width: 100%;
  height: 450px;
  border: 0;
  margin-top: 10px;
}

.o_field_widget.o_field_copy {
  position: relative;
  width: 100% !important;
  border-radius: 5px;
  border: 1px solid #00A09D;
  font-size: 0.94791667rem;
  color: #00A09D;
  font-weight: 700;
  text-align: center;
  padding-right: 100px;
  word-break: break-word;
}

.o_field_widget.o_field_copy .o_clipboard_button {
  position: absolute;
  top: 0;
  left: auto;
  bottom: auto;
  right: 0;
}

.o_field_widget.o_field_copy .o_clipboard_button.o_btn_text_copy {
  position: absolute;
  top: 0;
  right: 0;
}

.o_field_widget.o_field_copy .o_clipboard_button.o_btn_char_copy {
  padding-top: 2px;
  height: 100%;
}

.o_field_widget > .o_field_color {
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-radius: 100px;
  width: 30px;
  height: 30px;
  margin: 0 5px 0 0;
  display: inline-block;
}

.o_field_widget.o_field_badge {
  border: 0;
  font-size: 12px;
  user-select: none;
  background-color: rgba(211, 211, 211, 0.5);
  font-weight: 500;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  transition: none;
}

span.o_field_copy:empty {
  border: none;
}

button.o_field_float_toggle {
  width: 100%;
  text-align: center;
}

select.o_field_widget.o_input {
  padding: 1px;
}

