@charset "UTF-8";
/* Served as-is by Propshaft; there is no build step for this file. */
/* Third-party base CSS (font-awesome, jquery-ui, choices-base) are served as */
/* separate stylesheet_link_tag entries in the layout. */
/* Fonts */
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fira-sans-400-b02aa936.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fira-sans-500-2fb764e1.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fira-sans-700-d7aeff42.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fira-sans-400-italic-a4d11268.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fira-sans-500-italic-ec90bc39.woff2") format("woff2");
}
@font-face {
  font-family: "Fira Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fira-sans-700-italic-9f634aaf.woff2") format("woff2");
}
@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fa-regular-400-401b5f62.eot");
  src: url("/assets/fa-regular-400-401b5f62.eot?#iefix") format("embedded-opentype"), url("/assets/fa-regular-400-f0c61eae.woff2") format("woff2"), url("/assets/fa-regular-400-60584a35.woff") format("woff"), url("/assets/fa-regular-400-182e0c4d.ttf") format("truetype"), url("/assets/fa-regular-400-95f8f4e7.svg#fontawesome") format("svg");
}
@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: normal;
  src: url("/assets/fa-solid-900-e6288d2e.eot");
  src: url("/assets/fa-solid-900-e6288d2e.eot?#iefix") format("embedded-opentype"), url("/assets/fa-solid-900-15418500.woff2") format("woff2"), url("/assets/fa-solid-900-45caad63.woff") format("woff"), url("/assets/fa-solid-900-1bda8e1d.ttf") format("truetype"), url("/assets/fa-solid-900-d838c2d6.svg#fontawesome") format("svg");
}
@font-face {
  font-family: "FontAwesomeBrands";
  font-style: normal;
  font-weight: normal;
  src: url("/assets/fa-brands-400-ebc6d36a.eot");
  src: url("/assets/fa-brands-400-ebc6d36a.eot?#iefix") format("embedded-opentype"), url("/assets/fa-brands-400-58149edc.woff2") format("woff2"), url("/assets/fa-brands-400-c5a04b89.woff") format("woff"), url("/assets/fa-brands-400-db279886.ttf") format("truetype"), url("/assets/fa-brands-400-3d6023eb.svg#fontawesome") format("svg");
}
/* Custom properties */
:root {
  --project-font: 'Fira Sans';
  --green-jade: #468966;
  --yellow-bright: #FFF0A5;
  --orange-light: #FFB03B;
  --orange-dark: #FD7400;
  --red-gentle: #B64926;
  --red-light: #E74C3C;
  --red-harsh: #8E2800;
  --blue-navy: #2C3E50;
  --white-imperfect: #ECF0F1;
  --blue-sky: #3498DB;
  --blue-darksky: #2980B9;
  --violet: #6c69ff;
  --teal: #1F8A70;
  --green-hazard: #BEDB39;
  --yellow-banana: #FFE11A;
  --pink-hot: #F2385A;
  --pink-gentle: #D95B5B;
  --blue-lighter: #4AD9D9;
  --brown-wooddark: #D95B5B;
  --brown-woodlight: #F2CA80;
  --purple-dark: #5C2849;
  --gold-light: #FFDA66;
  --gold-dark: #FFCC33;
  --metal-iron: #EFEFEF;
  --metal-irondark: #5F5F5F;
  --metal-silver: #BFBFBF;
  --metal-dark: #2F2F2F;
  --original-info-color: #f7f9f4;
  --original-info-border: #d0d0d0;
  --grey: #f2f2f2;
  --dark-grey: #cbcbcb;
  --body-bg: var(--grey);
  --panel-bg: rgba(255,255,255, 0.5); /* #f9f9f9; */
  --panel-head-bg: #ffffff; /* #f9f9f9; */
  --tussell-green: #65c178;
  --tussell-mid-green: #9dd4a6;
  --text-color: #696969;
  --tussell-light-green: #f0f7f0;
  --faint-green: #e9f5e9;
  --faint-red: #ff858514;
  --blue-light: #36B1BF;
  --brown-wood: #BF8A49;
  --border: solid 1px #dfdfdf;
  --thick-border: solid 2px #afaeae;
  --legacy-spacing: 20px;
  --double-pacing: 40px;
  --half-spacing: 10px;
  --button-radius: 3px;
  --button-radius-sml: 2px;
  --button-radius-lrg: 5px;
  --transition: all 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
  --transition-fast: all 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
  --transition-slow: all 0.8s cubic-bezier(0.77,0.2,0.05,1.0);
  --animation-pulse: pulse 1.5s ease-out infinite;
  --animation-spin: pulse 2s infinite;
  --animation-swipe: swipe 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  100% {
    transform: rotate(360deg) translate(0, 0);
  }
}
@keyframes swipe {
  0% {
    transform: translate(-30px, -50%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translate(10px, -50%);
    opacity: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* Minimal jQuery UI theme rules needed for the tooltip widget. */
/* The jquery-ui-rails gem uses Sprockets manifests which Propshaft does not */
/* process, so these rules are inlined here instead of relying on the theme file. */
/*  */
/* TODO: remove jquery-ui-rails gem because it is outdated and replace with a modern alternative */
/*  */
/* It is only used in one place where js-html-tooltip is applied */
/* engines/spend_data/app/views/spend_data/invoice_supplier_matches/_search_results.html.haml */
/* So there isn't really justification to keep this library */
.ui-widget-content {
  border: 1px solid #dddddd;
  background: #ffffff;
  color: #333333;
}

.ui-widget.ui-widget-content {
  border: 1px solid #c5c5c5;
}

.ui-corner-all {
  border-radius: 3px;
}

.burger-menu {
  float: right;
  display: block;
  width: 33px;
  height: 33px;
}
.burger-menu .matte {
  display: none;
}
.burger-menu .icon {
  border: 0;
  padding: 10px;
  margin: 10px;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  cursor: pointer;
  z-index: 1000;
}
.burger-menu .icon span {
  left: 0;
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 6px;
  position: relative;
  background: var(--blue-light);
  border-radius: var(--button-radius-sml);
  z-index: 101;
  transform-origin: 4px 0px;
  transition: var(--transition);
}
.burger-menu .icon span:first-child {
  transform-origin: 0% 0%;
}
.burger-menu .icon span:nth-last-child(1) {
  transform-origin: 0% 100%;
}
.burger-menu .icon:hover {
  /* middle bar */
}
.burger-menu .icon:hover span:nth-last-child(2) {
  width: 23px;
  left: 5px;
}
.burger-menu .content {
  display: block;
  position: fixed;
  right: -305px;
  width: 300px;
  background: white;
  z-index: 999;
  height: 100%;
  top: 0px;
  padding: 55px 15px 0 15px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  border-bottom: var(--border);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  overflow-y: scroll;
  transition: var(--transition-slow);
}
.burger-menu .content ul {
  list-style: none;
  padding: 0;
}
.burger-menu .content ul li {
  animation-name: fadeOut;
  animation-duration: 0.2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
.burger-menu .content ul li:nth-child(1) {
  animation-delay: 0.2s;
}
.burger-menu .content ul li:nth-child(2) {
  animation-delay: 0.25s;
}
.burger-menu .content ul li:nth-child(3) {
  animation-delay: 0.3s;
}
.burger-menu .content ul li:nth-child(4) {
  animation-delay: 0.35s;
}
.burger-menu .content ul li:nth-child(5) {
  animation-delay: 0.4s;
}
.burger-menu .content ul li:nth-child(6) {
  animation-delay: 0.45s;
}
.burger-menu .content ul li:nth-child(7) {
  animation-delay: 0.5s;
}
.burger-menu .content ul li:nth-child(8) {
  animation-delay: 0.65s;
}
.burger-menu .content ul li:nth-child(9) {
  animation-delay: 0.6s;
}
.burger-menu .content ul li:nth-child(10) {
  animation-delay: 0.65s;
}
.burger-menu .content ul li:nth-child(11) {
  animation-delay: 0.7s;
}
.burger-menu .content ul li:nth-child(12) {
  animation-delay: 0.75s;
}
.burger-menu .content ul li:nth-child(13) {
  animation-delay: 0.8s;
}
.burger-menu .content ul li:nth-child(14) {
  animation-delay: 0.85s;
}
.burger-menu .content ul li:nth-child(15) {
  animation-delay: 0.9s;
}
.burger-menu .content ul li:nth-child(16) {
  animation-delay: 0.95s;
}
.burger-menu .content ul li:nth-child(17) {
  animation-delay: 1.15s;
}
.burger-menu .content ul li:nth-child(18) {
  animation-delay: 1.2s;
}
.burger-menu .content ul li:nth-child(19) {
  animation-delay: 1.25s;
}
.burger-menu .content ul li:nth-child(20) {
  animation-delay: 1.3s;
}
.burger-menu .content ul li:nth-child(21) {
  animation-delay: 1.35s;
}
.burger-menu .content ul li:nth-child(22) {
  animation-delay: 1.4s;
}
.burger-menu .content ul li:nth-child(23) {
  animation-delay: 1.45s;
}
.burger-menu .content ul li:nth-child(24) {
  animation-delay: 1.5s;
}
.burger-menu .content ul li:nth-child(25) {
  animation-delay: 1.55s;
}
.burger-menu .content ul li:nth-child(26) {
  animation-delay: 1.6s;
}
.burger-menu .content ul li:nth-child(27) {
  animation-delay: 1.65s;
}
.burger-menu .content ul li:nth-child(28) {
  animation-delay: 1.7s;
}
.burger-menu .content ul li:nth-child(29) {
  animation-delay: 1.75s;
}
.burger-menu .content ul li:nth-child(30) {
  animation-delay: 1.8s;
}
.burger-menu .content ul li:nth-child(31) {
  animation-delay: 1.85s;
}
.burger-menu .content ul li:nth-child(32) {
  animation-delay: 1.9s;
}
.burger-menu .content ul li:nth-child(33) {
  animation-delay: 1.95s;
}
.burger-menu .content ul li:nth-child(34) {
  animation-delay: 2s;
}
.burger-menu .content ul li:nth-child(35) {
  animation-delay: 2.05s;
}
.burger-menu .content ul .divider {
  background: var(--tussell-green);
  width: 100%;
  height: 1px;
  float: left;
  margin-bottom: 10px;
}
.burger-menu .content ul .title {
  color: var(--tussell-green);
  margin-bottom: 10px;
  margin-top: 5px;
  font-weight: bold;
  float: left;
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
}
.burger-menu .content ul a {
  display: block;
  float: left;
  width: 100%;
  border: 1px solid var(--blue-light);
  color: var(--blue-light);
  margin-bottom: 10px;
  box-sizing: border-box;
  height: 40px;
  line-height: 40px;
  border-radius: var(--button-radius);
  padding: 0 20px;
  position: relative;
  transition: var(--transition-fast);
}
.burger-menu .content ul a:before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--blue-light);
  position: absolute;
  left: 50%;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}
.burger-menu .content ul a:hover {
  color: #ffffff;
  text-decoration: none;
}
.burger-menu .content ul a:hover:before {
  width: 100%;
  opacity: 1;
  left: 0;
}
.burger-menu .content ul a.red {
  background: var(--pink-hot);
  color: white;
  border-color: white;
}
.burger-menu .content ul a.brown {
  background: var(--orange-dark);
  color: white;
  border-color: white;
}
.burger-menu .content ul a.green {
  background: var(--tussell-green);
  color: white;
  border-color: white;
}

.burger-menu.open .icon span {
  width: 33px;
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}
.burger-menu.open .icon {
  /* middle bar */
}
.burger-menu.open .icon span:nth-last-child(2) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
.burger-menu.open .icon {
  /* bottom bar */
}
.burger-menu.open .icon span:nth-last-child(3) {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
}
.burger-menu.open .content {
  right: 0;
}
.burger-menu.open .content ul li {
  opacity: 0;
  animation-name: fadeIn;
}

.button {
  float: left;
  text-decoration: none;
  color: white;
  min-width: 80px;
  min-height: 18px;
  line-height: 18px;
  background: var(--blue-light);
  position: relative;
  margin: 10px;
  top: 0px;
  padding: 12px;
  font-size: 15px;
  border-radius: var(--button-radius);
  border: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.button:before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--blue-light);
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}
.button:hover {
  color: #ffffff;
  text-decoration: none;
}
.button:hover:before {
  width: 100%;
  opacity: 1;
  left: 0;
}
.button[disabled] {
  pointer-events: none;
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.button.right {
  float: right;
}

input.button {
  cursor: pointer;
  border: solid 1px var(--blue-light);
  transition: all 0.2s ease-in;
}
input.button:hover {
  background-color: #ffffff;
  color: var(--blue-light);
  text-decoration: none;
}

.btn-sml {
  min-height: 20px;
  min-width: 20px;
  line-height: 20px;
  margin: 3px;
  padding: 3px 5px;
  font-size: 12px;
  border-radius: var(--button-radius-sml);
}

.btn-x-sml {
  margin: 0px;
  padding: 0px 0px;
  font-size: 12px;
  border-radius: var(--button-radius-sml);
  min-width: 55px;
}

.green-btn {
  background-color: var(--tussell-green);
}

.blue-btn {
  background-color: var(--blue-sky);
}

.red-btn {
  background-color: var(--pink-hot);
}

.orange-btn {
  background-color: var(--orange-dark);
}

.blue-light-btn {
  background-color: var(--blue-light);
}

.green-btn-inverse {
  color: var(--tussell-green);
  background-color: #ffffff;
  border: solid 1px var(--tussell-green);
}
.green-btn-inverse:hover {
  color: #378948;
}

.process-button {
  float: left;
  text-decoration: none;
  color: #ffffff;
  min-width: 80px;
  min-height: 10px;
  border: solid 1px var(--blue-light);
  position: relative;
  margin: 10px 0;
  top: 0px;
  padding: 5px 10px;
  font-size: 15px;
  border-radius: var(--button-radius);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 1;
}
.process-button:after {
  content: "\f054";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}
.process-button:before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: #ffffff;
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}
.process-button:hover {
  color: var(--blue-light);
  text-decoration: none;
}
.process-button:hover:before {
  width: 100%;
  opacity: 1;
  left: 0;
}
.process-button:hover:after {
  animation: var(--animation-swipe);
}

.disabled {
  pointer-events: none;
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.review-button {
  border: none;
  color: var(--tussell-green);
  font-size: 20px;
}
.review-button:hover {
  cursor: pointer;
}

.process-button.red {
  background-color: var(--pink-hot);
  color: white;
  border: solid 1px var(--pink-hot);
}
.process-button.red:hover {
  background-color: #ffffff;
  color: var(--pink-hot);
}
.process-button.red:before {
  background-color: #ffffff;
}

.append-button {
  color: white;
  border: solid 1px var(--violet);
  background-color: var(--violet);
  padding: 2px 10px;
  border-radius: var(--button-radius);
  margin-bottom: auto;
  cursor: pointer;
}
.append-button:after {
  content: "\f0fe";
  display: inline;
  font-family: FontAwesome;
  padding-left: 10px;
}

.process-button-o {
  float: left;
  text-decoration: none;
  color: var(--blue-light);
  min-width: 120px;
  min-height: 10px;
  border: solid 1px var(--blue-light);
  position: relative;
  margin: 10px 0;
  top: 0px;
  padding: 10px 30px 10px 10px;
  font-size: 15px;
  border-radius: var(--button-radius);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition-fast);
  z-index: 1;
}
.process-button-o:after {
  content: "\f054";
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
  transition: var(--transition-fast);
  transform: rotate(0deg) translate(0, -50%);
}
.process-button-o:before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--blue-light);
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}
.process-button-o:hover {
  color: #ffffff;
  text-decoration: none;
}
.process-button-o:hover:before {
  width: 100%;
  opacity: 1;
  left: 0;
}
.process-button-o:hover:after {
  animation: var(--animation-swipe);
}

/* Browsers don't render ::before/::after generated content on <select> (it's */
/* a replaced/native form control), so the sliding fill above never appears - */
/* fake the same hover look by colouring the select box directly instead. */
select.process-button-o:hover {
  background-color: var(--blue-light);
}

.process-button-o.sml {
  width: auto;
  padding: 7px;
}

.process-button-o.red {
  color: var(--pink-hot);
  border: solid 1px var(--pink-hot);
}
.process-button-o.red:hover {
  color: #ffffff;
}
.process-button-o.red:before {
  background-color: var(--pink-hot);
}

.process-button-o.green {
  color: var(--tussell-green);
  border: solid 1px var(--tussell-green);
}
.process-button-o.green:hover {
  color: #ffffff;
}
.process-button-o.green:before {
  background-color: var(--tussell-green);
}

.process-button.green {
  color: #ffffff;
  border: solid 1px var(--tussell-green);
  background-color: var(--tussell-green);
}
.process-button.green:hover {
  color: var(--tussell-green);
}

.process-button.orange {
  color: var(--orange-light);
  border: solid 1px var(--orange-light);
  background-color: none;
}
.process-button.orange:hover {
  color: #ffffff;
}
.process-button.orange:before {
  background-color: var(--orange-light);
}

.process-button.grey {
  color: #767676;
  border: solid 1px #767676;
  background-color: none;
}
.process-button.grey:hover {
  color: #ffffff;
}
.process-button.grey:before {
  background-color: #767676;
}

.process-button.brown {
  color: var(--brown-wood);
  border: solid 1px var(--brown-wood);
  background-color: none;
}
.process-button.brown:hover {
  color: #ffffff;
}
.process-button.brown:before {
  background-color: var(--brown-wood);
}

.process-button.blue {
  color: var(--blue-light);
  border: solid 1px var(--blue-light);
}
.process-button.blue:hover {
  color: #ffffff;
}
.process-button.blue:before {
  background-color: var(--blue-light);
}

.process-button.blue-solid {
  background-color: var(--blue-light);
}

.process-button.white {
  color: #767676;
  border: solid 1px #767676;
  background-color: white;
}

.process-button-o.brown {
  color: var(--brown-wood);
  border: solid 1px var(--brown-wood);
}
.process-button-o.brown:hover {
  color: #ffffff;
}
.process-button-o.brown:before {
  background-color: var(--brown-wood);
}

.process-button-o.for-table {
  margin: 0;
  float: right;
  width: 20%;
}

.set-button-o {
  float: left;
  text-decoration: none;
  color: var(--blue-light);
  min-width: 80px;
  min-height: 10px;
  border: solid 1px var(--blue-light);
  position: relative;
  margin: 5px 0;
  top: 0px;
  padding: 10px;
  /* Account for the tick in &:before below, and some space around it. */
  padding-right: 35px;
  font-size: 14px;
  border-radius: var(--button-radius);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}
.set-button-o:before {
  content: "\f00c";
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}
.set-button-o:hover {
  background: var(--blue-light);
  color: white;
  text-decoration: none;
}

.btn-group .button {
  border: 1px solid white;
  /* Green border */
  /* color: white; White text */
  /* padding: 10px 24px; Some padding */
  cursor: pointer;
  /* Pointer/hand icon */
  width: 50%;
  /* Set a width if needed */
  display: block;
  /* Make the buttons appear below each other */
}

.btn-group .button:not(:last-child) {
  border-bottom: none;
  /* Prevent double borders */
}

/* Add a background color on hover */
.btn-group .button:hover {
  background-color: white;
  color: grey;
  border: 1px solid grey;
}

ul.menu-list {
  float: right;
  padding: 0;
  margin: 9px 0;
  list-style: none;
  font-size: 16px;
  line-height: 17px;
}
ul.menu-list li {
  position: relative;
  float: left;
}
ul.menu-list li .badge {
  position: absolute;
  right: -0px;
  top: -8px;
  height: 20px;
  min-width: 20px;
  padding: 0 5px;
  border-radius: 20px;
  background-color: red;
  color: #ffffff;
  line-height: 20px;
  text-align: center;
  z-index: 2000;
  font-size: 13px;
}
ul.menu-list li a {
  display: block;
  padding: 6px 13px;
  background: #ffffff;
  border: solid 1px var(--brown-wood);
  color: var(--brown-wood);
  border-radius: var(--button-radius);
  margin-left: 7px;
  position: relative;
  z-index: 0;
  -moz-transition: var(--transition);
  transition: var(--transition-fast);
}
ul.menu-list li a:before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--brown-wood);
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}
ul.menu-list li a:hover {
  border-color: var(--brown-wood);
}
ul.menu-list li a.blue-btn {
  border: solid 1px var(--blue-light);
  color: var(--blue-light);
}
ul.menu-list li a.blue-btn:before {
  background-color: var(--blue-light);
}
ul.menu-list li a.blue-btn.selected {
  background-color: var(--blue-light);
  color: #ffffff;
}
ul.menu-list li a.green-btn {
  border: solid 1px var(--tussell-green);
  color: var(--tussell-green);
}
ul.menu-list li a.green-btn:before {
  background-color: var(--tussell-green);
}
ul.menu-list li a.green-btn.selected {
  background-color: var(--tussell-green);
  color: #ffffff;
}
ul.menu-list li a.red-btn {
  border: solid 1px var(--pink-hot);
  color: var(--pink-hot);
}
ul.menu-list li a.red-btn:before {
  background-color: var(--pink-hot);
}
ul.menu-list li a.save-btn {
  border: solid 1px var(--tussell-green);
  background-color: var(--tussell-green);
  color: #ffffff;
  padding-right: 35px;
}
ul.menu-list li a.save-btn:before {
  background-color: #ffffff;
}
ul.menu-list li a.save-btn:after {
  content: "\f00c";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}
ul.menu-list li a.cancel-btn {
  border: solid 1px var(--pink-hot);
  background-color: var(--pink-hot);
  color: #ffffff;
  padding-right: 35px;
}
ul.menu-list li a.cancel-btn:before {
  background-color: #ffffff;
}
ul.menu-list li a.cancel-btn:after {
  content: "\f00d";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}
ul.menu-list li a.disabled {
  border: solid 1px var(--metal-silver);
  color: var(--metal-silver);
  opacity: 0.5;
}
ul.menu-list li a.disabled:before {
  background-color: var(--metal-silver);
}
ul.menu-list li a.disabled {
  background-color: #ffffff;
}
ul.menu-list li a.disabled:hover {
  color: var(--metal-silver);
  background-color: #ffffff;
}
ul.menu-list li a:hover {
  color: #ffffff;
  text-decoration: none;
}
ul.menu-list li a:hover:before {
  width: 100%;
  opacity: 1;
  left: 0;
}
ul.menu-list li .save-btn:hover {
  color: var(--tussell-green);
}
ul.menu-list li .cancel-btn:hover {
  color: var(--pink-hot);
}
ul.menu-list li.divider {
  display: block;
  width: 0px;
  height: 30px;
  border-left: solid 1px rgba(100, 100, 100, 0.4);
  border-right: solid 1px rgba(255, 255, 255, 0.4);
  margin: 0 3px 0 10px;
}
ul.menu-list li.with-badge a {
  margin-right: 10px;
}
ul.menu-list li.no-badge .badge {
  display: none;
}

.type-badge {
  background-color: var(--tussell-green);
  border-radius: var(--button-radius-sml);
  color: white;
  display: block;
  float: left;
  padding: 3px 7px;
  margin-right: 4px;
  position: relative;
}

.type-badge.verified {
  background-color: var(--teal);
  border-radius: var(--button-radius-lrg);
  float: none;
  display: inline;
  margin-left: 8px;
}

.type-badge.supplier {
  background-color: var(--blue-light);
}

.inline-links {
  float: left;
  width: calc(100% + 10px);
  margin-left: -10px;
}
.inline-links a,
.inline-links select {
  margin-left: 10px;
}

.inline-links.two a,
.inline-links.two select {
  width: calc(50% - 10px);
}

.inline-links.three a,
.inline-links.three select {
  width: calc(33% - 10px);
}

.inline-links.four a,
.inline-links.four select {
  width: calc(25% - 10px);
}

.inline-links.five a,
.inline-links.five select {
  width: calc(20% - 10px);
}

.button-sm {
  border-radius: 4px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
  background-color: whitesmoke;
  color: black;
  font-weight: normal;
  border: none;
}
.button-sm:hover {
  background-color: lightgray;
  cursor: pointer;
  text-decoration: none;
}

.button-sm.red {
  background-color: indianred;
  color: white;
}
.button-sm.red:hover {
  background-color: firebrick;
}

.button-sm.purple {
  background-color: var(--violet);
  color: white;
}
.button-sm.purple:hover {
  background-color: #3a36ff;
}

.green-simple-btn {
  background-color: var(--tussell-green);
  border: 1px solid var(--tussell-green) !important;
}
.green-simple-btn:hover {
  background-color: white;
  color: var(--tussell-green) !important;
}

.blue-simple-btn {
  background-color: var(--blue-sky);
  border: 1px solid var(--blue-sky) !important;
}
.blue-simple-btn:hover {
  background-color: white;
  color: var(--blue-sky) !important;
}

.red-simple-btn {
  background-color: var(--pink-hot);
  border: 1px solid var(--pink-hot) !important;
}
.red-simple-btn:hover {
  background-color: white;
  color: var(--pink-hot) !important;
}

.orange-simple-btn {
  background-color: var(--orange-dark);
  border: 1px solid var(--orange-dark) !important;
}
.orange-simple-btn:hover {
  background-color: white;
  color: var(--orange-dark) !important;
}

.blue-light-simple-btn {
  background-color: var(--blue-light);
  border: 1px solid var(--blue-light) !important;
}
.blue-light-simple-btn:hover {
  background-color: white;
  color: var(--blue-light) !important;
}

.category-tag {
  display: inline-block;
  color: white;
  background-color: var(--tussell-green);
  border-radius: var(--button-radius);
  padding: 8px;
}

.category-tag-content {
  margin: 0 4px;
}

.category-tag-confidence {
  margin-left: 4px;
  opacity: 0.8;
  font-size: 0.85em;
}

.category-tag-count {
  margin-left: 4px;
  display: inline-block;
  color: white;
  background-color: var(--tussell-mid-green);
  border-radius: 9999px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 8px;
  padding-right: 8px;
}

/* used by the choices.js library for select inputs, eg for setting supplier groups */
.choices__inner {
  display: block;
  min-height: unset;
  width: 100%;
  font-size: 17px;
  border-color: var(--metal-silver);
  background-image: none;
  background-color: white;
}

.choices__list--multiple .choices__item {
  background-color: var(--tussell-light-green);
  background-image: none;
  border: none;
  color: black;
  font-size: 17px;
}
.choices__list--multiple .choices__item.is-highlighted {
  background-color: #cfe5cf;
  border-color: #cfe5cf;
}
.choices__list--multiple .choices__item .choices__button {
  filter: invert(1);
  width: 12px;
  height: 12px;
  background-size: 12px;
  border-left: none;
  padding-left: 0;
  margin-right: 4px;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
  font-size: 17px;
}

.choices__input {
  float: none !important;
  font-size: 17px;
  background-color: white;
}
.choices__input::selection {
  background: transparent;
}
.choices__input::placeholder {
  color: lightgray;
  opacity: 1;
}
.choices__input::-webkit-input-placeholder {
  color: lightgray;
  opacity: 1;
}
.choices__input:-moz-placeholder {
  color: lightgray;
  opacity: 1;
}
.choices__input::-moz-placeholder {
  color: lightgray;
  opacity: 1;
}
.choices__input:-ms-input-placeholder {
  color: lightgray;
  opacity: 1;
}
.choices__input:focus::placeholder {
  transform: none;
  opacity: 1;
}
.choices__input:focus::-webkit-input-placeholder {
  transform: none;
  opacity: 1;
}
.choices__input:focus:-moz-placeholder {
  transform: none;
  opacity: 1;
}
.choices__input:focus:-ms-input-placeholder {
  transform: none;
  opacity: 1;
}

.row {
  float: left;
  width: 100%;
}

.col {
  float: left;
  padding: var(--legacy-spacing) 3px;
}

.col-2 {
  float: left;
  width: 16.6666666667%;
}

.col-3 {
  float: left;
  width: 25%;
}

.col-4 {
  float: left;
  width: 33.3333333333%;
}

.col-6 {
  float: left;
  width: 50%;
}

.col-8 {
  float: left;
  width: 66.6666666667%;
}

.col-9 {
  float: left;
  width: 75%;
}

.col-12 {
  float: left;
  width: 100%;
}

@media (max-width: 1670px) {
  .col-6:not(.sm), .col-8:not(.sm), .col-4:not(.sm) {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .col-6, .col-8, .col-4 {
    width: 100%;
  }
}
.stat {
  float: left;
  width: 150px;
  padding: 5px 0;
  border: solid 1px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  margin: 5px;
  min-height: 80px;
}
.stat .title {
  text-align: center;
  font-weight: bold;
  border-bottom: solid 1px rgba(100, 100, 100, 0.4);
  font-size: 20px;
}
.stat .value {
  text-align: center;
  padding: 5px 0;
  font-size: 32px;
}

.stat.green {
  background-color: #c5f5cb;
}

.result-row {
  float: left;
  width: 100%;
  padding: 5px;
  border-bottom: solid 1px rgba(100, 100, 100, 0.4);
}
.result-row .result-col {
  float: left;
  text-overflow: ellipsis;
  overflow: hidden;
  min-width: 30px;
  min-height: 30px;
}
.result-row .name {
  float: left;
  width: 20%;
}
.result-row .bad {
  position: relative;
}
.result-row .bad:before {
  content: "";
  display: block;
  background-color: #ff9085;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  position: absolute;
  left: 0px;
  top: 4px;
}
.result-row .good {
  position: relative;
}
.result-row .good:before {
  content: "";
  display: block;
  background-color: #67e477;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  position: absolute;
  left: 0px;
  top: 4px;
}

.js-expandable-row-link {
  color: var(--blue-light);
}
.js-expandable-row-link:hover {
  cursor: pointer;
  text-decoration: underline;
}

.js-expandable-row-target {
  display: none;
  background-color: var(--body-bg);
}
.js-expandable-row-target .expandable-row-table {
  margin-bottom: unset;
}
.js-expandable-row-target .expandable-row-table td:nth-child(1) {
  width: 20%;
}

input[type=text], input[type=number], input[type=date], textarea {
  font-family: var(--project-font);
  float: left;
  width: 100%;
  padding: 10px 5px;
  box-sizing: border-box;
  font-size: 14px;
}
input[type=text].w-auto, input[type=number].w-auto, input[type=date].w-auto, textarea.w-auto {
  width: auto;
}

input[type=submit].filter-btn {
  width: 100%;
}

.filter-btn {
  float: none;
  display: block;
  margin-left: 0px;
  margin-right: 0px;
}

textarea {
  min-height: 400px;
}

.input.date select {
  float: right;
  width: 30%;
  margin-right: 3%;
}

/* Large checkboxes generated by Simple Form. Don't work on Firefox. */
.checkbox-large {
  /* Use this to display the checkbox next to the label. Checkbox first! */
}
.checkbox-large.inline {
  display: flex;
  align-items: center;
}
.checkbox-large.inline input[type=checkbox] {
  margin-right: 15px;
}
.checkbox-large input[type=checkbox] {
  width: 34px;
  height: 34px;
  left: 0px;
  top: 0px;
  border: solid 2px transparent;
  color: #ffffff;
  background: #ffffff;
  position: relative;
  margin-left: 0 !important;
}
.checkbox-large input[type=checkbox]:before {
  content: "";
  position: absolute;
  top: -0px;
  left: -0px;
  display: block;
  width: 34px;
  height: 34px;
  border: solid 2px #cfd5dd;
  border-radius: 2px;
  background: #ffffff;
  font-family: FontAwesome;
  color: #ffffff;
  transform: rotate(90deg);
  font-size: 5px;
}
.checkbox-large input[type=checkbox]:checked:before {
  content: "\f00c";
  background: #04c9b8;
  font-size: 22px;
  text-align: center;
  line-height: 35px;
  color: #ffffff;
  border: solid 2px transparent;
  transform: rotate(0deg);
}
.checkbox-large input[type=checkbox]:disabled:before {
  background: lightgrey;
}

.filter-panel .row {
  margin-top: 0.5rem;
  margin-right: 0.5rem;
}

.filter-label {
  color: var(--tussell-green);
  font-weight: bold;
}

select {
  font-size: 18px;
  font-family: var(--project-font);
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  width: 100%;
  padding: 10px;
  background: white;
  cursor: pointer;
}

input[type=file] {
  width: 100%;
  height: 80px;
  overflow: hidden;
  position: relative;
}
input[type=file]:disabled {
  filter: grayscale(100%);
  cursor: no-drop;
}
input[type=file]:after {
  content: attr(data-content);
  box-sizing: border-box;
  background-color: var(--blue-light);
  border: double 7px white;
  font-size: 16px;
  text-align: center;
  border-radius: 5px;
  color: #ffffff;
  padding: 15px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

::-webkit-input-placeholder {
  opacity: 0.5;
  font-size: 18px;
  font-weight: 100;
  color: #000000;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

:-moz-placeholder {
  opacity: 0.5;
  font-size: 18px;
  font-weight: 100;
  color: #000000;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

:-ms-input-placeholder {
  opacity: 0.5;
  font-size: 18px;
  font-weight: 100;
  color: #000000;
  -ms-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

/* Place Holder CSS for Focus */
:focus::-webkit-input-placeholder {
  transform: translate(0, -40px);
  opacity: 0;
}

:focus:-moz-placeholder {
  transform: translate(0, -40px);
  opacity: 0;
}

:focus:-ms-input-placeholder {
  transform: translate(0, -40px);
  opacity: 0;
}

.blue-link {
  color: var(--blue-light);
}

.edit-links {
  min-width: 85px;
  float: right;
}
.edit-links a {
  float: left;
  width: 34px;
  height: 34px;
  display: block;
  position: relative;
  border: solid 1px;
  border-radius: var(--button-radius);
  margin-left: 10px;
  background-color: #ffffff;
  border-color: var(--tussell-green);
  color: var(--tussell-green);
  transition: var(--transition);
}
.edit-links a:before {
  content: "\f303";
  position: absolute;
  top: -0px;
  left: -0px;
  font-family: FontAwesome;
  font-style: normal;
  line-height: 36px;
  text-align: center;
  width: 100%;
  height: 100%;
  font-size: 22px;
}
.edit-links a:hover {
  background-color: var(--tussell-green);
  color: #ffffff;
}
.edit-links a:first-of-type {
  margin-left: 0;
}
.edit-links a.delete {
  border-color: var(--pink-hot);
  color: var(--pink-hot);
}
.edit-links a.delete:before {
  content: "\f00d";
}
.edit-links a.delete:hover {
  background-color: var(--pink-hot);
  color: #ffffff;
}
.edit-links a.alias {
  border-color: var(--orange-light);
  color: var(--orange-light);
}
.edit-links a.alias:before {
  content: "\f069";
}
.edit-links a.alias:hover, .edit-links a.alias.selected {
  background-color: var(--orange-light);
  color: #ffffff;
}
.edit-links a.primary {
  border-color: var(--blue-light);
  color: var(--blue-light);
}
.edit-links a.primary:before {
  content: "\f015";
}
.edit-links a.primary:hover, .edit-links a.primary.selected {
  background-color: var(--blue-light);
  color: #ffffff;
}
.edit-links a.merge {
  border-color: var(--blue-light);
  color: var(--blue-light);
}
.edit-links a.merge:before {
  content: "\f126";
}
.edit-links a.merge:hover {
  background-color: var(--blue-light);
  color: #ffffff;
}

.audit-good:before {
  content: "";
  width: 30px;
  height: 30px;
  color: var(--tussell-green);
  content: "\f00c";
  font-size: 27px;
  display: block;
  font-family: FontAwesome;
}

.audit-bad {
  border-bottom: solid 3px var(--pink-hot);
}

.field-in-error {
  background-color: var(--pink-hot);
  color: white;
}

.drop-links {
  margin: 5px;
  max-width: 180px;
  float: left;
  width: 180px;
  position: relative;
}
.drop-links.full-width {
  max-width: unset;
  width: unset;
}
.drop-links .title {
  position: relative;
  z-index: 81;
  font-weight: bold;
  height: 30px;
  color: var(--tussell-green);
}
.drop-links .title:after {
  content: "\f078";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  opacity: 1;
  font-family: FontAwesome;
  transition: all 1s ease-in-out;
  font-size: 20px;
}
.drop-links ul {
  list-style: none;
  position: absolute;
  top: -13px;
  left: -8px;
  width: 100%;
  opacity: 0;
  padding: 40px 6px 10px 6px;
  margin: 0;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  border-radius: var(--button-radius);
  background-color: white;
  overflow: hidden;
  transition: var(--transition);
  z-index: 80;
  height: 0px;
}
.drop-links ul li a {
  display: block;
  float: left;
  width: 100%;
  margin: 2px 0;
  padding: 5px 10px;
  border-radius: var(--button-radius-sml);
  background-color: white;
  border: solid 1px var(--tussell-green);
  color: var(--tussell-green);
  box-sizing: border-box;
}
.drop-links ul .hi a {
  background-color: var(--tussell-green);
  color: white;
}
.drop-links .drop-list {
  list-style: none;
  top: -13px;
  left: -8px;
  width: 100%;
  opacity: 0;
  margin: 0;
  border-radius: var(--button-radius);
  background-color: white;
  overflow: hidden;
  transition: var(--transition);
  z-index: 80;
  height: 0px;
}
.drop-links .drop-list .first-button {
  padding: 51px 0px 51px 0px;
  margin: 3px 6px 3px 4px;
  margin-right: 9px;
}
.drop-links:hover .title:after {
  opacity: 0;
}
.drop-links:hover ul, .drop-links:hover .drop-list {
  opacity: 1;
  height: auto;
}

.droplist, .filterable-list, .autocomplete-list {
  width: 100%;
  max-width: 350px;
}
.droplist .field, .filterable-list .field, .autocomplete-list .field {
  display: none;
}
.droplist .trigger, .filterable-list .trigger, .autocomplete-list .trigger {
  float: left;
  width: 100%;
  border: solid 2px #cfd5dd;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
}
.droplist .trigger:before, .filterable-list .trigger:before, .autocomplete-list .trigger:before {
  content: "\f078";
  position: absolute;
  font-family: FontAwesome;
  right: 0;
  top: 13px;
  display: block;
  width: 30px;
  height: 30px;
  font-size: 20px;
}
.droplist .trigger.open:before, .filterable-list .trigger.open:before, .autocomplete-list .trigger.open:before {
  content: "\f077";
}
.droplist .list, .filterable-list .list, .autocomplete-list .list {
  display: none;
  float: left;
  width: 100%;
  border: solid 1px var(--metal-silver);
  background-color: #f6f6f6;
  box-sizing: border-box;
}
.droplist .list input, .filterable-list .list input, .autocomplete-list .list input {
  border-width: 0 0 2px 0;
}
.droplist .list .loading, .filterable-list .list .loading, .autocomplete-list .list .loading {
  margin: 20px auto;
  display: none;
}
.droplist ul, .filterable-list ul, .autocomplete-list ul {
  float: left;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 500px;
  overflow-y: scroll;
  box-sizing: border-box;
}
.droplist ul li, .filterable-list ul li, .autocomplete-list ul li {
  padding: 12px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.droplist ul li:hover, .filterable-list ul li:hover, .autocomplete-list ul li:hover {
  background-color: #f2f2f6;
}

.upload-example {
  width: 100%;
  min-height: unset;
  height: 100px;
  font-size: 15px;
}

.letter-links {
  padding: 10px;
}
.letter-links a {
  margin: 3px;
  border-radius: var(--button-radius);
  border: var(--border);
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  display: block;
  float: left;
  cursor: pointer;
}
.letter-links a:hover {
  background-color: var(--tussell-green);
  color: white;
  text-decoration: none;
}

.merge-panel .attr-label {
  margin-bottom: 10px;
  font-weight: bold;
}
.merge-panel .attr_description {
  margin-bottom: 10px;
  font-weight: 500;
}
.merge-panel .title-display {
  font-size: 18px;
  font-family: "Fira Sans";
  float: left;
  width: 100%;
  padding: 15px 10px;
  box-sizing: border-box;
  border: solid 1px #dddddd;
}
.merge-panel .merged-col {
  background-color: #f7f9f4;
}

.highlighted-merge-col {
  background: repeating-linear-gradient(45deg, #f7f9f4, #f7f9f4 10px, #ffffff 10px, #ffffff 20px);
}

.review-fields-panel .merge-origin {
  min-height: 17px;
}
.review-fields-panel .changed-field {
  background-color: rgba(242, 56, 90, 0.1);
  border-color: var(--pink-hot);
}
.review-fields-panel .changed-field:hover {
  background-color: rgba(242, 56, 90, 0.2);
}
.review-fields-panel .highlighted-merge-col {
  background: none;
}
.review-fields-panel .highlighted-merge-col .merge-origin {
  background-color: rgba(54, 177, 191, 0.1);
  border-color: var(--blue-light);
}
.review-fields-panel .merge-origin[data-lots-unverified] {
  cursor: not-allowed;
  border-color: var(--pink-hot);
  background-color: rgba(242, 56, 90, 0.05);
}
.review-fields-panel .merge-origin[data-lots-unverified]:hover {
  background-color: rgba(242, 56, 90, 0.15);
}
.review-fields-panel .rounded-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.review-fields-panel .new-notice-col-top {
  border-top: 5px solid var(--brown-wood) !important;
  border-left: 5px solid var(--brown-wood);
  border-right: 5px solid var(--brown-wood);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  overflow: hidden;
}
.review-fields-panel .new-notice-col {
  border-left: 5px solid var(--brown-wood);
  border-right: 5px solid var(--brown-wood);
}
.review-fields-panel .new-notice-col-bottom {
  border-bottom: 5px solid var(--brown-wood);
  border-left: 5px solid var(--brown-wood);
  border-right: 5px solid var(--brown-wood);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
}
.review-fields-panel .field-differences {
  padding: 20px;
  margin-top: 20px;
  margin-left: 20px;
}
.review-fields-panel .field-differences .diff {
  overflow: auto;
  font-style: italic;
  border: 1px solid var(--dark-grey);
  border-radius: 3px;
  padding: 10px;
}
.review-fields-panel .field-differences .diff ul {
  overflow: auto;
  font-size: 14px;
  list-style: none;
  margin: 0;
  display: table;
  width: 100%;
}
.review-fields-panel .field-differences .diff del,
.review-fields-panel .field-differences .diff ins {
  display: block;
  text-decoration: none;
}
.review-fields-panel .field-differences .diff li {
  display: table-row;
  margin: 0;
  height: 1em;
}
.review-fields-panel .field-differences .diff li.ins {
  background: #dfd;
  color: #080;
}
.review-fields-panel .field-differences .diff li.del {
  background: #fee;
  color: #b00;
}
.review-fields-panel .field-differences .diff li.diff-comment {
  display: none;
}
.review-fields-panel .field-differences .diff li.diff-block-info {
  background: none repeat scroll 0 0 gray;
}
.review-fields-panel .field-differences .diff {
  /* try 'whitespace:pre;' if you don't want lines to wrap */
}
.review-fields-panel .field-differences .diff del,
.review-fields-panel .field-differences .diff ins,
.review-fields-panel .field-differences .diff span {
  white-space: pre-wrap;
}
.review-fields-panel .field-differences .diff del strong {
  font-weight: normal;
  background: #fcc;
}
.review-fields-panel .field-differences .diff ins strong {
  font-weight: normal;
  background: #9f9;
}
.review-fields-panel .from-notice-link a {
  color: var(--brown-wood);
  text-decoration: underline;
}
.review-fields-panel .to-notice-link a {
  color: var(--blue-light);
  text-decoration: underline;
}
.review-fields-panel .table-headers {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
}
.review-fields-panel .framework-context {
  margin-top: 6px;
  padding: 10px;
  background-color: #ffffff;
  border: solid 1px var(--dark-grey);
  border-radius: 5px;
}
.review-fields-panel .framework-context .framework-context-stat {
  font-size: 14px;
  margin-bottom: 4px;
}
.review-fields-panel .framework-context .framework-context-count {
  font-weight: bold;
}
.review-fields-panel .lot-status {
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  color: #ffffff;
}
.review-fields-panel .lot-status.verified {
  background-color: var(--green-jade);
}
.review-fields-panel .lot-status.unverified {
  background-color: var(--dark-grey);
  color: var(--blue-navy);
}

.merge-origin {
  cursor: pointer;
  padding: 20px;
  border: solid 1px #c3e1ec;
  border-radius: 5px;
  height: 100%;
}
.merge-origin:hover {
  background-color: rgba(195, 225, 236, 0.2);
}

.merged-col .div, .merge-origin .div {
  margin: 4px;
  padding: 8px 4px;
  border: solid 1px #dbdbdb;
  font-size: 14px;
}

.search-box {
  position: absolute;
  right: 70px;
  top: 10px;
  width: 280px;
}
.search-box form input {
  float: right;
  height: 50px;
  width: 180px;
  transition: var(--transition);
}
.search-box form input:focus {
  width: 280px;
}

.share-notice .open-share {
  position: absolute;
  top: 125px;
  z-index: 99;
  right: 10px;
  width: 30px;
  height: 30px;
}
.share-notice .open-share:after {
  content: "\f0a1";
  position: absolute;
  top: 4px;
  right: 5px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}
.share-notice .edit-share-message {
  display: none;
}
.share-notice .share-notice_field {
  box-sizing: border-box;
  font-size: 1em;
  width: 100%;
  min-height: 500px;
}

.panel .user-row {
  position: relative;
  padding-left: 30px;
}
.panel .user-row:after {
  content: "";
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  left: 10px;
  top: 5px;
  border-radius: 50%;
  background-color: var(--tussell-green);
}
.panel .user-row.disabled:after {
  background-color: var(--pink-hot);
}
.panel .user-row.administrator:after {
  background-color: var(--orange-light);
}

.inline-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inline-input .input {
  margin: 10px;
  margin-left: 0;
  flex-grow: 1;
}
.inline-input .button {
  margin: 10px 0;
}

.settings-box {
  margin: 25px;
  margin-left: 5px;
}
.settings-box .switch {
  float: right;
}

#framework-suppliers {
  overflow-y: scroll;
  max-height: 500px;
}

.loading {
  --loader-size: 80px;
  --loader-band-width: 30px;
  --loader-bed-color: #ececec;
  --loader-field-color: #ffffff;
  --loader-spinner-color-2: #65c178;
  --loader-spinner-color-1: #BF8A49;
  --loader-spinner-color-3: #36B1BF;
  --loader-duration: 4s;
  position: relative;
  margin: auto;
  width: var(--loader-size);
  height: var(--loader-size);
  border-radius: 100%;
  overflow: hidden;
  background-color: var(--loader-bed-color);
  box-shadow: inset 0px 0px 4px rgba(0, 0, 0, 0.3);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.loading:after {
  display: block;
  content: "";
  width: calc(var(--loader-size) - var(--loader-band-width));
  height: calc(var(--loader-size) - var(--loader-band-width));
  background-color: var(--loader-field-color);
  position: absolute;
  top: calc(var(--loader-band-width) / 2);
  left: calc(var(--loader-band-width) / 2);
  border-radius: 100%;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  -webkit-transform: translate3d(0, 0, 0);
}
.loading:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--loader-size);
  height: var(--loader-size);
  animation-name: loading;
  animation-duration: var(--loader-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background-color: var(--loader-spinner-color-1);
}

.mini-loader {
  opacity: 0;
  transform: scale(0.5);
  position: absolute;
  left: 200px;
  top: -4px;
  transition: opacity 0.8s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.mini-loader.visible {
  opacity: 1;
}

@keyframes loading {
  0% {
    background-color: var(--loader-spinner-color-1);
    transform: rotate(0deg) translate(calc(var(--loader-size) / 2), calc(var(--loader-size) / 2));
  }
  33% {
    background-color: var(--loader-spinner-color-2);
    transform: rotate(120deg) translate(calc(var(--loader-size) / 2), calc(var(--loader-size) / 2));
  }
  66% {
    background-color: var(--loader-spinner-color-3);
    transform: rotate(240deg) translate(calc(var(--loader-size) / 2), calc(var(--loader-size) / 2));
  }
  100% {
    background-color: var(--loader-spinner-color-1);
    transform: rotate(360deg) translate(calc(var(--loader-size) / 2), calc(var(--loader-size) / 2));
  }
}
.congestion {
  top: 20px;
  left: 270px;
  display: none;
  position: absolute;
  background: orange;
  color: white;
  padding: 5px 8px 5px 33px;
  border-radius: 5px;
  line-height: 24px;
}
.congestion:after {
  content: "\f071";
  position: absolute;
  top: 5px;
  left: 5px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}

.modal {
  display: none;
  position: fixed;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}
.modal .modal-matte {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-close:after {
  content: "\f00d";
  position: absolute;
  top: calc(50% - 10px);
  right: 13px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}
.modal .modal-close {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  top: 10px;
  right: 15px;
}
.modal .modal-body,
.modal .spend-data-modal-body {
  position: relative;
  float: left;
  width: 80%;
  height: calc(100% - 160px);
  margin: 80px 10%;
  background: var(--body-bg);
  border-radius: 5px;
  overflow: scroll;
}
.modal .modal-body .loading,
.modal .spend-data-modal-body .loading {
  margin-top: 30px;
  margin-bottom: 30px;
}
.modal .modal-body .fixed-banner,
.modal .spend-data-modal-body .fixed-banner {
  position: fixed;
  width: 80%;
  margin: 0;
  z-index: 2005;
  background: white;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.modal .modal-body .fixed-banner table,
.modal .spend-data-modal-body .fixed-banner table {
  margin-bottom: 0;
}
.modal .modal-body .fixed-banner table td,
.modal .spend-data-modal-body .fixed-banner table td {
  padding: 3px 10px;
}
.modal .modal-body .fixed-banner-body,
.modal .spend-data-modal-body .fixed-banner-body {
  margin-top: 70px;
}
.modal .spend-data-modal-body {
  position: absolute;
  height: unset;
  max-height: 85vh;
  overflow-y: auto;
  top: 5%;
  left: 50%;
  margin-left: -300px;
  width: 600px;
}
.modal .spend-data-modal-body textarea {
  min-height: 150px;
  width: 100%;
  margin-bottom: 10px;
}

.login-page {
  width: 520px;
  margin: auto;
}
.login-page h2 {
  margin-left: 100px;
}
.login-page .input {
  display: flex;
  margin: 20px 0;
  align-items: center;
}
.login-page .input label {
  flex: 0 0 20%;
}
.login-page .input input.string, .login-page .input input.password {
  flex: 1 0 auto;
  padding: 5px;
  font-size: 20px;
}
.login-page .input.boolean {
  display: flex;
}
.login-page .input.boolean label {
  cursor: pointer;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  margin-left: 20%;
}
.login-page .form-actions {
  width: 100%;
  padding-left: 90px;
}
.login-page .shared-links {
  text-align: right;
}

#notice-checklist table td {
  padding: 0;
}
#notice-checklist table td .yes, #notice-checklist table td .no {
  width: 100%;
  text-align: center;
  line-height: 30px;
}

.awarded-value {
  font-size: 20px;
}

/* Container for a lot on a notice edit form. */
/* Encapsulates the lot and its award criteria in a */
/* nice background so you can tell what's what. */
.lot-container {
  background-color: white;
  border: 1px solid var(--grey);
  padding: 10px;
}
.lot-container table caption {
  font-size: 20px;
  font-weight: medium;
  margin-bottom: 10px;
}

.notice-type {
  position: relative;
}
.notice-type:before {
  content: "O";
  font-size: 12px;
  text-align: center;
  color: white;
  line-height: 20px;
  display: block;
  background-color: var(--blue-light);
  width: 20px;
  height: 20px;
  border-radius: 20px;
  position: absolute;
  right: 5px;
  top: 5px;
}
.notice-type:after {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  color: white;
  line-height: 20px;
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 5px;
  top: 30px;
}

.legacy-text-lg {
  font-size: 24px;
  font-weight: 700;
}

.notice-type.contract:before {
  content: "O";
  background-color: var(--blue-light);
}

.notice-type.award:before {
  content: "A";
  background-color: var(--orange-light);
}

.notice-type.Tussell:after {
  content: "TU";
  background-color: var(--gold-light);
}

.notice-type.TED:after {
  content: "TD";
  background-color: var(--green-hazard);
}

.notice-type.CF:after {
  content: "CF";
  background-color: var(--blue-lighter);
}

.notice-type.local_government:before {
  content: "LG";
  background-color: var(--green-hazard);
}

.notice-type.central_government:before {
  content: "CG";
  background-color: var(--blue-light);
}

.notice-type.FTS:after {
  content: "FT";
  background-color: var(--red-light);
}
.notice-type.FTS--ukpga:after {
  content: "FT";
  background-color: var(--green-jade);
}

.notice-type.positioned {
  position: absolute;
  top: 0;
  right: 10px;
  width: 100%;
}

.panel {
  float: left;
  width: calc(100% - 15px);
  background-color: var(--panel-bg);
  border-radius: var(--button-radius-sml);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
  margin: var(--half-spacing);
}
.panel .panel-head {
  border-bottom: var(--border);
  background-color: var(--panel-head-bg);
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: var(--half-spacing);
  color: var(--tussell-green);
  font-weight: bold;
  font-size: 20px;
}
.panel .panel-body {
  margin: var(--half-spacing);
}
.panel .panel-body .boxout {
  border: var(--border);
  border-radius: var(--button-radius-sml);
  margin: 5px;
}
.panel .panel-body .boxout .boxout-title {
  padding: 4px;
  border-bottom: var(--border);
}
.panel .panel-body .boxout .boxout-content {
  padding: 4px;
}
.panel .panel-head-stat {
  display: inline-block;
  margin-right: 50px;
}
.panel .panel-head-stat button {
  padding: 8px;
}
.panel .panel-head .button {
  display: block;
  float: none;
  margin: 10px 0;
}
.panel .panel-body.widest {
  width: auto;
}
.panel table {
  float: left;
  width: 100%;
  table-layout: fixed;
  margin-bottom: var(--legacy-spacing);
  border: var(--border);
  border-radius: var(--button-radius-sml);
  background-color: white;
  border-collapse: collapse;
  overflow-wrap: break-word;
  font-size: 14px;
}
.panel table.side-scroll {
  display: block;
  white-space: nowrap;
}
.panel table.no-float {
  float: none;
}
.panel table.bordered {
  border: var(--border);
}
.panel table .comparison {
  max-width: 500px;
  word-wrap: break-word;
}
.panel table thead {
  color: var(--tussell-green);
  font-weight: bold;
}
.panel table thead td {
  position: relative;
  padding-right: 20px;
}
.panel table thead a {
  color: var(--tussell-green);
}
.panel table thead a:hover {
  text-decoration: none;
}
.panel table thead .sort-by {
  text-decoration: underline;
}
.panel table thead .sort-by:after {
  content: "\f0dd";
  position: absolute;
  top: calc(50% - 10px);
  right: 10px;
  display: block;
  font-family: FontAwesome;
  font-size: 20px;
}
.panel table thead .sort-desc:after {
  content: "\f0de";
}
.panel table thead.legacy-sticky td {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 119px;
  background: white;
  z-index: 98;
}
.panel table thead.legacy-sticky td:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.panel table td, .panel table thead th {
  padding: var(--half-spacing);
}
.panel table td .centered, .panel table thead th .centered {
  text-align: center;
}
.panel table tr td {
  border-top: var(--border);
  position: relative;
}
.panel table tr:first-of-type td {
  border-top: none;
}
.panel table tr .centerd {
  text-align: center;
}
.panel table tr.collected-row-top {
  border-top: var(--thick-border);
}
.panel table tr.collected-row-top:first-of-type {
  border-top: none;
}
.panel table tr.collected-row-top td {
  padding-top: 30px;
}
.panel table tr.progress-bar-row td {
  padding-top: 0;
  border: none;
}
.panel table tr.bad-row, .panel table tr.dupe-row {
  border-left: solid 3px var(--pink-hot);
}
.panel table tr.amber-row {
  border-left: solid 3px var(--orange-light);
}
.panel table tr.green-row {
  border-left: solid 3px var(--tussell-green);
}
.panel table tr.green-background-row {
  background-color: var(--faint-green);
}
.panel table tr.auto-matched-row {
  height: 250px;
}
.panel .set-organisation {
  background-color: var(--original-info-color);
  border-color: var(--original-info-border);
}
.panel .set-organisation td {
  border-color: var(--original-info-border);
}
.panel .set-organisation input[type=text] {
  background-color: var(--original-info-color);
  border: solid 1px var(--original-info-border);
}

.danger-panel {
  border: solid 1px var(--red-light);
}
.danger-panel .panel-head {
  color: var(--red-light);
  border-bottom: solid 1px var(--red-light);
}

.mini-matches .comparison .grey-text {
  display: none;
}

.inverted-progress .comparison .grey-text {
  color: var(--brown-wood);
}
.inverted-progress .comparison .div {
  color: var(--blue-light);
}
.inverted-progress td.actions {
  vertical-align: middle;
  text-align: center;
}

.limited-description {
  max-height: 200px;
  overflow-y: scroll;
}

.panel.hollow {
  background-color: var(--panel-bg);
}
.panel.hollow > .panel-head {
  background-color: #f9f9f9;
}
.panel.hollow > .panel-body {
  width: calc(100% - 10px);
  margin: 5px;
}

.results-title {
  float: left;
  width: 100%;
  text-align: center;
}

@media (max-width: 700px) {
  .sub-menu {
    height: 150px !important;
    overflow: scroll;
    position: absolute !important;
  }
  .sub-menu .menu-list li.divider {
    display: none;
  }
  .sub-menu .menu-list li {
    width: 100%;
    margin-bottom: 10px;
  }
  .page-content {
    margin-top: 70px;
  }
  .mobile-hidden {
    display: none;
  }
  td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}
table.not-fixed {
  table-layout: auto;
}

td.wrap {
  word-break: break-all;
}

.invoices-stats-panel td:first-child {
  color: var(--text-color);
}
.invoices-stats-panel td:last-child {
  font-size: 16px;
}
.invoices-stats-panel h4 {
  margin-top: 0;
}

.upload-panel .button {
  display: none;
  float: right;
  margin: 10px 0;
}

.notice-failures-table a {
  color: var(--blue-light);
}
.notice-failures-table thead a {
  color: var(--tussell-green);
}

#supplier_groups_list > table > tbody {
  color: var(--tussell-green);
}
#supplier_groups_list > table > tbody a {
  color: var(--tussell-green);
  text-decoration: underline;
}

.fa.fa-times {
  color: var(--pink-hot);
}

/* Styles the sliding toggle that we use on the settings page. */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #65c178;
}

input:focus + .slider {
  box-shadow: 0 0 1px #65c178;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

input:disabled + .slider {
  cursor: not-allowed;
}

.source-runs-table a, .notice-failures-table a {
  color: var(--blue-light);
}
.source-runs-table thead a, .notice-failures-table thead a {
  color: var(--tussell-green);
}

.source-runs-table.filtered tbody tr.success:first-child {
  border: 2px solid var(--tussell-green);
}
.source-runs-table.filtered tbody tr.failure:first-child {
  border: 2px solid red;
}

:root {
  --status-good: #3f9a52;
  --status-warning: #b7791f;
  --status-critical: #c53030;
}

.source-activity {
  display: flow-root;
}
.source-activity .muted {
  color: var(--text-color);
  font-weight: normal;
}
.source-activity .error-text {
  color: var(--status-critical);
}
.source-activity .nowrap {
  white-space: nowrap;
}
.source-activity .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.source-activity .badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 4px;
}
.source-activity .badge.badge--on {
  background: var(--faint-green);
  color: var(--status-good);
}
.source-activity .badge.badge--off {
  background: var(--grey);
  color: var(--text-color);
}
.source-activity .badge.badge--failed {
  background: #fdecec;
  color: var(--status-critical);
}
.source-activity .badge.badge--warning {
  background: #fdf3e1;
  color: var(--status-warning);
}
.source-activity .source-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.source-activity .source-activity-table a {
  color: var(--blue-light);
}
.source-activity .source-activity-table tr.failure {
  border-left: solid 3px var(--status-critical);
}

.source-activity__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--half-spacing);
  margin: var(--half-spacing);
}
.source-activity__head p {
  margin: 0;
}

.source-activity__days {
  display: flex;
  gap: 6px;
}
.source-activity__days .button {
  float: none;
  margin: 0;
}
.source-activity__days .button.active {
  background: var(--tussell-green);
  color: white;
}

.source-health {
  margin: var(--half-spacing);
  padding: var(--half-spacing) var(--legacy-spacing);
  border-radius: var(--button-radius-lrg);
  border-left: solid 4px var(--status-good);
  background: white;
}
.source-health.source-health--warning {
  border-left-color: var(--status-warning);
}
.source-health.source-health--critical {
  border-left-color: var(--status-critical);
}
.source-health .source-health__title {
  font-size: 18px;
  font-weight: 500;
}
.source-health .source-health__problems {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.source-health .source-health__problems li {
  margin: 6px 0;
}
.source-health .source-health__problems a {
  color: var(--blue-light);
}
.source-health .source-health__detail {
  display: block;
  margin-top: 2px;
  color: var(--text-color);
  word-break: break-all;
}

.source-activity__stats {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--half-spacing);
  margin: var(--half-spacing);
}
.source-activity__stats .stat {
  background: white;
  border-radius: var(--button-radius-lrg);
  padding: var(--half-spacing) var(--legacy-spacing);
}
.source-activity__stats .stat__label {
  font-size: 13px;
  color: var(--text-color);
}
.source-activity__stats .stat__value {
  font-size: 26px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.source-activity__stats .stat__note {
  font-size: 13px;
  color: var(--text-color);
}

.source-activity__charts {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}
.source-activity__charts .panel {
  float: none;
  width: auto;
}

.source-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px var(--legacy-spacing);
  margin: 0 0 var(--legacy-spacing);
}
.source-facts dt {
  color: var(--text-color);
}
.source-facts dd {
  margin: 0;
}

.chart {
  margin: 0;
}
.chart .chart__title {
  font-weight: 500;
  color: var(--tussell-green);
  margin-bottom: 8px;
}
.chart .chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 13px;
}
.chart .chart__legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart .chart__swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.chart .chart__svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart .chart__svg rect:hover {
  opacity: 0.8;
}
.chart .chart__grid {
  stroke: #eeeeee;
}
.chart .chart__baseline {
  stroke: #bbbbbb;
}
.chart .chart__tick {
  fill: var(--text-color);
  font-size: 11px;
}
.chart .chart__empty {
  color: var(--text-color);
  margin: var(--legacy-spacing) 0;
}
.chart .chart__data {
  margin-top: 8px;
  font-size: 13px;
}
.chart .chart__data summary {
  cursor: pointer;
}

.source-urls {
  display: inline-block;
  margin: 0.5rem 0;
  font-size: 1rem;
  overflow: hidden;
  max-height: 3.75rem;
  overflow-y: scroll;
  border-radius: 3px;
  width: 100%;
}
.source-urls__new .source-urls__link {
  color: var(--brown-wood);
}
.source-urls__existing .source-urls__link {
  color: var(--blue-light);
}
.source-urls__link {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
  text-decoration: underline;
}

.spend-data-table a, .source-runs-table a {
  color: var(--blue-light);
}
.spend-data-table a.red-btn, .source-runs-table a.red-btn {
  color: white;
}
.spend-data-table thead a, .source-runs-table thead a {
  color: var(--tussell-green);
}
.spend-data-table .fa, .source-runs-table .fa {
  color: white;
}
.spend-data-table .set-buyer-link, .spend-data-table .set-supplier-link, .source-runs-table .set-buyer-link, .source-runs-table .set-supplier-link {
  color: var(--red-light);
  font-weight: bold;
}
.spend-data-table .unset-supplier-link, .source-runs-table .unset-supplier-link {
  color: var(--blue-sky);
  font-weight: bold;
}

.invoices-action-buttons {
  margin-right: 20px;
}
.invoices-action-buttons button {
  width: 100%;
}

.match-low {
  color: var(--red-light);
  font-weight: bold;
}

.match-high {
  color: var(--tussell-green);
  font-weight: bold;
}

abbr:hover {
  cursor: help;
}

.info-box,
.success-box,
.error-box,
.warning-box {
  height: 20px;
  text-align: center;
  padding: 10px;
  color: white;
  background-color: var(--blue-light);
}
.info-box .button,
.success-box .button,
.error-box .button,
.warning-box .button {
  float: none;
  border: solid 1px grey;
  background: white;
  color: grey;
}

.success-box {
  background-color: var(--tussell-green);
}

.error-box {
  background-color: var(--red-gentle);
}

.warning-box {
  background-color: var(--orange-light);
}

.grouped-mappings-container {
  display: inline-block;
}
.grouped-mappings-container .title {
  margin: 10px;
}

.mappings-container {
  display: flex;
  overflow-x: auto;
}
.mappings-container .mappings-panel {
  width: 290px;
  flex-shrink: 0;
}
.mappings-container .mappings-panel select {
  margin-bottom: 20px;
}

.mappings-container.unused-mappings {
  display: none;
}
.mappings-container.unused-mappings select {
  display: none;
}
.mappings-container.unused-mappings .panel-head {
  color: var(--dark-grey);
  border: unset;
}

.toggle-button {
  margin: 10px;
  float: unset;
  width: 160px;
}

.toggle-button:hover {
  cursor: pointer;
}

.spend-field-samples {
  padding-top: 10px;
}
.spend-field-samples .button {
  float: none;
  display: inline-block;
  margin-left: 149px;
}
.spend-field-samples .title {
  display: contents;
  color: var(--tussell-green);
}
.spend-field-samples .items p {
  margin: 0px;
  font-size: small;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.tab-container {
  border-bottom: var(--border);
}
.tab-container .tab {
  display: inline-block;
  padding: 20px;
}
.tab-container .tab-link.active {
  text-decoration: underline;
  font-weight: bold;
}

body {
  margin: 0;
  font-family: var(--project-font);
  background-color: var(--body-bg);
  float: left;
  width: 100%;
  padding: 150px 0 100px 0;
  color: var(--text-color);
}
body .strong {
  font-weight: 500;
}
body .top-margin {
  margin-top: 20px;
}
body a {
  text-decoration: none;
  color: var(--text-color);
}
body a:hover {
  text-decoration: underline;
}
body a .external-link:before {
  content: "\f071";
  color: var(--orange-light);
}
body .text-right {
  text-align: right;
}
body .text-center {
  text-align: center;
}
body .scroll-to-top {
  display: none;
  width: 60px;
  height: 60px;
  border-top-left-radius: var(--button-radius);
  border-bottom-left-radius: var(--button-radius);
  background-color: #ffffff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  position: fixed;
  right: 0;
  bottom: 40px;
  z-index: 1000;
  cursor: pointer;
}
body .scroll-to-top:before {
  content: "\f077";
  position: relative;
  top: 5px;
  left: 0;
  display: block;
  font-family: FontAwesome;
  -moz-transition: all 0.65s ease-in-out;
  transition: all 0.35s ease-in-out;
  font-size: 40px;
  text-align: center;
}

.title-bar {
  width: 100%;
  background-color: #f9f9f9;
  border-bottom: var(--border);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  height: 70px;
  padding: 0 var(--legacy-spacing);
  box-sizing: border-box;
  position: fixed;
  top: 0;
  z-index: 101;
}
.title-bar h1 {
  margin: 0;
  padding: 0;
  line-height: 70px;
  color: var(--tussell-green);
  float: left;
}
.title-bar h1 a {
  color: var(--tussell-green);
}
.title-bar .button {
  float: right;
}

.sub-menu {
  width: 100%;
  background-color: #f9f9f9;
  border-bottom: var(--border);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  height: 50px;
  padding: 0 var(--legacy-spacing);
  box-sizing: border-box;
  position: fixed;
  top: 70px;
  z-index: 100;
}
.sub-menu h2 {
  margin: 0;
  padding: 0;
  line-height: 50px;
  height: 100%;
  overflow: hidden;
  color: var(--tussell-green);
  float: left;
  max-width: calc(100% - 580px);
}
.sub-menu a {
  color: var(--tussell-green);
}

p.notice, p.alert, p.fixed-alert {
  cursor: pointer;
  position: fixed;
  top: 120px;
  width: 100%;
  z-index: 99;
  margin: 0;
  background: var(--orange-dark);
  line-height: 50px;
  padding: 0 10px;
  color: #ffffff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

div.alert {
  cursor: pointer;
  position: fixed;
  top: 120px;
  width: 100%;
  z-index: 99;
  margin: 0;
  background: var(--orange-dark);
  line-height: 50px;
  padding: 0 10px;
  color: #ffffff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  line-height: 1rem;
}

.spring {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.warning {
  font-weight: bold;
  background-color: var(--orange-light);
}

.warning-text {
  color: var(--red-light);
}

div.notice {
  margin: var(--legacy-spacing) 0;
  padding: var(--half-spacing);
  background-color: #f9fdc2;
  border-radius: var(--button-radius);
  border: var(--border);
  float: left;
  width: 100%;
  box-sizing: border-box;
}

.new {
  padding-left: 13px;
}
.new:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  position: relative;
  top: 3px;
  left: -10px;
  background-color: var(--green-hazard);
}

.highlight:before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  position: absolute;
  top: 2px;
  left: -9px;
  background-color: var(--tussell-green);
}

.div {
  position: relative;
}

.hidden {
  display: none;
}

.italic {
  font-style: italic;
}

pre {
  background-color: #ffffff;
  color: #000000;
  font-size: 18px;
  padding: 10px;
  border: solid 1px #000000;
}

.cursor {
  cursor: pointer;
}

.danger {
  background-color: var(--pink-hot);
}

.bad, .red-text, .red {
  color: var(--pink-hot);
}

.amber-text {
  color: var(--orange-light);
}

tr.green {
  background-color: var(--green-hazard);
}

h3.warning {
  float: left;
  width: 100%;
  text-align: center;
  border: solid 1px orange;
  padding: 20px;
  box-sizing: border-box;
  margin: 0;
}

.yes {
  background-color: var(--tussell-green);
  float: left;
  padding: 5px 10px;
  border-radius: var(--button-radius-sml);
  color: #ffffff;
}

.no {
  background-color: var(--pink-hot);
  float: left;
  padding: 5px 10px;
  border-radius: var(--button-radius-sml);
  color: #ffffff;
}

.micro-display {
  min-width: 500px;
}
.micro-display .flag {
  width: 20px;
  height: 20px;
  border-radius: 0;
  padding: 0;
  position: relative;
  cursor: help;
  float: left;
}
.micro-display .flag .label {
  height: 20px;
  width: 0px;
  opacity: 0;
  line-height: 20px;
  overflow: hidden;
  display: block;
  position: absolute;
  background-color: var(--tussell-green);
  transform: rotate(90deg);
  transform-origin: 0 20px;
  top: -20px;
  z-index: 10;
  padding-left: 5px;
  font-size: 0.9em;
  transition: width 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
}
.micro-display .flag.spacer {
  width: 3px;
}
.micro-display .flag.no .label {
  background-color: var(--pink-hot);
}
.micro-display:hover .label {
  width: 150px;
  opacity: 1;
}

.pull-right {
  float: right;
}

.alias {
  font-style: italic;
}

.non-alias {
  font-weight: bold;
}

.created_today {
  background-color: var(--tussell-light-green);
}

.grey-text {
  color: var(--metal-silver);
}

.green-text {
  color: var(--tussell-green);
}

.blue-text {
  color: var(--blue-light);
}

.black-text {
  color: black;
}

.limited-height {
  max-height: 100px;
  overflow: hidden;
}

.faded {
  transition: var(--transition);
  opacity: 0.3;
}
.faded .hideable {
  display: none;
}
.faded .showable {
  display: block;
}

.collapser {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.collapser .edit-link {
  float: right;
  margin-right: 80px;
  color: var(--tussell-green);
}
.collapser:hover {
  background-color: var(--tussell-light-green);
}
.collapser .icon {
  position: absolute;
  top: 0;
  right: 10px;
  width: 38px;
  height: 30px;
  margin-top: 9px;
  border: var(--border);
  border-radius: var(--button-radius-sml);
  background-color: #ffffff;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
  transition: var(--transition-slow);
}
.collapser .icon:before {
  content: "";
  position: absolute;
  display: block;
  top: 21px;
  left: 21px;
  width: 20px;
  height: 20%;
  border-radius: var(--button-radius-sml);
  transition: var(--transition-slow);
  background: var(--tussell-green);
  transform: rotate(-135deg);
  transform-origin: 0% 50%;
}
.collapser .icon:after {
  content: "";
  position: absolute;
  display: block;
  top: 21px;
  left: 17px;
  width: 20px;
  height: 20%;
  border-radius: var(--button-radius-sml);
  transition: var(--transition-slow);
  background: var(--tussell-green);
  transform: rotate(-45deg);
  transform-origin: 0% 50%;
}

.collapser.open .icon:before {
  transform: rotate(-225deg);
  top: 4px;
  opacity: 1;
}
.collapser.open .icon:after {
  top: 4px;
  transform: rotate(45deg);
}

.inline-collapser {
  margin-bottom: var(--legacy-spacing);
  float: left;
  width: 100%;
}
.inline-collapser .collapser {
  float: left;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  height: 50px;
  line-height: 50px;
  padding-left: var(--legacy-spacing);
  background: #ffffff;
  border: var(--border);
  color: var(--tussell-green);
  font-weight: bold;
}
.inline-collapser .collapsed table {
  border-top: none;
}

.collapsed {
  display: none;
}

.collapsed.open {
  display: block;
}

.hidden-ajax-link {
  display: none;
}

.mini-links {
  float: left;
  width: 100%;
  min-width: 175px;
  transition: var(--transition);
  color: var(--text-color);
}
.mini-links .mini-link, .mini-links .external-match {
  float: left;
  display: block;
  width: 20px;
  height: 20px;
  margin: 4px 0 0 4px;
}
.mini-links .mini-link:before, .mini-links .external-match:before {
  content: "\f08e";
  position: relative;
  top: 5px;
  left: 0;
  display: block;
  font-family: FontAwesome;
  -moz-transition: all 0.65s ease-in-out;
  transition: all 0.35s ease-in-out;
  font-size: 16px;
}
.mini-links .mini-link:hover, .mini-links .external-match:hover {
  text-decoration: none;
  color: var(--tussell-green);
}
.mini-links .external-match:before {
  content: "\f071";
  color: var(--orange-light);
}
.mini-links .mini-link.open-new-window:before {
  content: "\f35d";
}
.mini-links .mini-link.google-maps:before {
  content: "\f279";
}
.mini-links .mini-link.google-search:before {
  font-family: FontAwesomeBrands;
  content: "\f1a0";
}
.mini-links .mini-link.company-check:before {
  content: "\f1ad";
}
.mini-links .mini-link.companies-house:before {
  content: "\f0a3";
}
.mini-links .mini-link.pin:before {
  content: "\f08d";
}

.mini-links.single-link {
  min-width: 40px;
}

.mini-links.grey-links a {
  color: var(--metal-silver);
}

.mini-links.inline-mini-links-right {
  float: right;
  width: auto;
}
.mini-links.inline-mini-links-right a {
  float: right;
}

.matched-origin {
  display: none;
}

.matched-text {
  color: var(--tussell-green);
}

.progress_bar_container {
  height: 50px; /* Can be anything */
  position: relative;
  border: solid 1px rgba(100, 100, 100, 0.3);
}
.progress_bar_container .progress_bar {
  display: block;
  height: 100%;
  background-color: var(--tussell-green);
}
.progress_bar_container .progress_bar.middle {
  background-color: var(--orange-light);
}
.progress_bar_container .progress_bar.low {
  background-color: var(--pink-hot);
}

.inverted-progress .matched-text {
  color: var(--pink-hot);
}
.inverted-progress .progress_bar {
  background-color: var(--pink-hot);
}
.inverted-progress .progress_bar.low {
  background-color: var(--tussell-green);
}

.progress_bar_container.slim {
  margin-top: 7px;
  height: 5px;
}

.progress_bar_container.empty {
  background: rgba(100, 100, 100, 0.3);
}

.score {
  font-size: 30px;
  margin-bottom: 10px;
}

.change_set {
  margin-bottom: 3px;
  padding-bottom: 3px;
  border-bottom: solid 1px rgba(100, 100, 100, 0.3);
  float: left;
  width: 100%;
}
.change_set:last-of-type {
  border: none;
}
.change_set .change_title {
  font-weight: bold;
  float: left;
  width: 180px;
}
.change_set .change_values {
  float: left;
  width: calc(100% - 180px);
  max-height: 100px;
  overflow: scroll;
}
.change_set .from {
  color: var(--pink-hot);
}
.change_set .to {
  color: var(--tussell-green);
}

.pagination {
  width: 100%;
  max-width: 600px;
  margin: var(--legacy-spacing) auto;
  text-align: center;
}
.pagination .prev, .pagination .first {
  display: block;
  float: left;
}
.pagination .btn a {
  display: block;
  width: 40px;
  height: 40px;
  background: white;
  color: var(--tussell-green);
  border: solid 1px var(--tussell-green);
  border-radius: var(--button-radius);
  margin: 0 5px;
  transition: all 0.35s ease-in-out;
}
.pagination .btn a:hover {
  text-decoration: none;
}
.pagination .btn a:before {
  content: "\f104";
  position: relative;
  top: 5px;
  left: -2px;
  display: block;
  font-family: FontAwesome;
  font-size: 30px;
  text-align: center;
}
.pagination .first a {
  margin-left: 0;
}
.pagination .first a:before {
  content: "\f100";
}
.pagination .last a {
  margin-right: 0;
}
.pagination .last a:before {
  left: 0px;
  content: "\f101";
}
.pagination .next a:before {
  left: 0px;
  content: "\f105";
}
.pagination .last, .pagination .next {
  display: block;
  float: right;
}
.pagination .page a, .pagination .current {
  height: 40px;
  line-height: 40px;
  background: white;
  color: var(--tussell-green);
  border: solid 1px var(--tussell-green);
  display: inline-block;
  padding: 0 8px;
  border-radius: var(--button-radius);
}
.pagination .page a:hover, .pagination .current:hover {
  text-decoration: none;
}
.pagination .current {
  color: var(--blue-light);
  border-color: var(--blue-light);
  font-weight: bold;
}
.pagination .gap {
  color: var(--tussell-green);
  font-size: 30px;
}

body.development .title-bar h1 {
  position: relative;
}
body.development .title-bar h1 a:after {
  content: "dev";
  color: white;
  display: block;
  font-size: 12px;
  line-height: 19px;
  text-align: center;
  width: 40px;
  height: 20px;
  background: red;
  border-radius: 34px;
  position: absolute;
  top: 10px;
  right: -25px;
}

.external-match:before {
  content: "\f071";
}

.has-space-above {
  margin-top: 1rem;
}

table.not-full-width {
  width: auto;
}

/*https://www.cssportal.com/css-ribbon-generator/*/
.ribbon {
  position: absolute;
  right: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px;
  height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  width: 100px;
  display: block;
  background: var(--tussell-green);
  box-shadow: 0 3px 10px -5px black_100;
  position: absolute;
  top: 19px;
  right: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  z-index: -1;
  border-left: 3px solid var(--tussell-green);
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid var(--tussell-green);
}
.ribbon span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid var(--tussell-green);
  border-bottom: 3px solid transparent;
  border-top: 3px solid var(--tussell-green);
}

.flex {
  display: flex;
}

.justify-end {
  justify-content: flex-end;
}

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

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.mr-0 {
  margin-right: 0;
}

.ml-auto {
  margin-left: auto;
}

.mr-5px {
  margin-right: 5px;
}

.mt-5px {
  margin-top: 5px;
}

.m-0 {
  margin: 0;
}

.p-10px {
  padding: 10px;
}

.h-60px {
  height: 60px;
}

.centered {
  text-align: center;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.no-float {
  float: none;
}

.underline {
  text-decoration: underline;
}

.background-grey {
  background-color: whitesmoke;
}

.legacy-text-sm {
  font-size: 14px;
}

.workflow-index {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 5px;
}
.workflow-index .panel {
  margin: 5px;
  width: auto;
}
.workflow-index .panel .panel-body {
  margin: 5px;
}
.workflow-index .panel .workflow-card {
  display: block;
  min-height: 35px;
  padding: 10px 30px 15px 5px;
  white-space: normal;
}

/* - app/views/workflows/_provider_type_info.html.haml */
.provider-type-info__new {
  color: var(--brown-wood);
}
.provider-type-info__existing {
  color: var(--blue-light);
}
.provider-type-info {
  /* - app/views/workflows/_dupe_match_row.html.haml modifies the font-size */
}
.notice-type .provider-type-info {
  font-size: 16px;
}

.documents-upload__input {
  display: none;
}
.documents-upload__dropzone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.375rem;
  background-color: var(--blue-light);
  border-radius: 5px;
  cursor: pointer;
  color: var(--white-imperfect);
  margin-bottom: 0.5em;
}
.documents-upload__dropzone:hover {
  background-color: var(--blue-lighter);
}
.documents-upload__dropzone--files-added {
  background-color: var(--dark-grey);
}
.documents-upload__dropzone--active {
  background-color: var(--blue-darksky);
}
.documents-upload__table {
  display: flex;
  flex-direction: column;
  background-color: var(--white-imperfect);
  padding: 0.75em 0.75em 1.25em;
  border-radius: var(--button-radius-sml);
}
.documents-upload__row {
  position: relative; /* For progress bar positioning */
  display: flex;
  align-items: stretch;
  background-color: white;
  border: 1px solid var(--dark-grey);
  border-bottom: 1px solid transparent;
}
.documents-upload__row:not(:last-child) {
  border-bottom-color: transparent;
}
.documents-upload__row:last-child {
  border-bottom-color: var(--dark-grey);
}
.documents-upload__row--header {
  font-weight: bold;
}
.documents-upload__cell {
  flex: 1;
  padding: 0.75em;
  display: flex;
  align-items: center;
}
.documents-upload__cell--filename {
  flex: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.documents-upload__cell--remove {
  flex: 0 0 3em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.documents-upload__cell {
  /* Header cell modifier */
}
.documents-upload__cell--header {
  font-weight: bold;
  color: var(--tussell-green);
}
.documents-upload {
  /* Body-specific cell styles */
}
.documents-upload .documents-upload__row:not(.documents-upload__row--header) .documents-upload__cell--filename {
  color: var(--blue-light);
  font-weight: normal;
}
.documents-upload__input-field {
  width: 100%;
  padding: 0.75em;
  border: 1px solid var(--metal-dark);
  border-radius: var(--button-radius-sml);
  font-size: 0.875rem;
}
.documents-upload__remove {
  background-color: var(--red-light);
  border: none;
  border-radius: var(--button-radius-sml);
  color: white;
  padding: 0.5em 1em;
  font-size: 1em;
  cursor: pointer;
}
.documents-upload__remove:hover {
  background-color: var(--red-harsh);
}
.documents-upload__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1em;
  margin-top: 0.5rem;
}
.documents-upload__action-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 10rem;
  font-size: 15px;
  cursor: pointer;
  padding: 0.5em 1em;
  border: 1px solid transparent;
  border-radius: var(--button-radius-sml);
}
.documents-upload__action-button--cancel {
  background-color: var(--red-gentle);
  color: white;
}
.documents-upload__action-button--cancel:hover {
  background-color: var(--red-light);
}
.documents-upload__action-button--upload {
  background-color: transparent;
  color: var(--tussell-green);
  border-color: var(--tussell-green);
}
.documents-upload__action-button--upload:after {
  content: "\f054"; /* FontAwesome icon for 'chevron-right' */
  display: inline-block;
  font-family: FontAwesome;
  font-size: 1.2em;
  margin-left: 0.5em;
  vertical-align: middle;
}
.documents-upload__action-button--upload:hover {
  background-color: var(--tussell-green);
  color: white;
}
.documents-upload__action-button--upload:disabled, .documents-upload__action-button--upload[disabled] {
  background-color: var(--grey);
  color: var(--metal-irondark);
  border-color: var(--grey);
  cursor: not-allowed;
  opacity: 0.7;
}
.documents-upload__success-flash {
  background: var(--tussell-green);
  color: white;
  padding: 0.75em 1em;
  border-radius: var(--button-radius-sml);
  margin: 1em 0;
  font-weight: bold;
  text-align: center;
  animation: fadeIn 0.5s;
}
.documents-upload__error-flash {
  background: var(--red-light);
  color: white;
  padding: 0.75em 1em;
  border-radius: var(--button-radius-sml);
  margin: 1em 0;
  font-weight: bold;
  text-align: center;
  animation: fadeIn 0.5s;
}
.documents-upload__row-progress-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: transparent;
  overflow: hidden;
}
.documents-upload__row-progress-bar {
  height: 100%;
  background-color: var(--tussell-green);
  transition: width 0.3s ease;
}
.documents-upload__row-progress-wrapper.error .documents-upload__row-progress-bar {
  background-color: var(--red-light);
}

.document-metadata {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: white;
  margin: var(--half-spacing);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}
.document-metadata__row {
  display: flex;
  border-top: 1px solid #e0e0e0;
}
.document-metadata__row:first-child {
  border-top: none;
}
.document-metadata__label, .document-metadata__value {
  padding: 1rem;
}
.document-metadata__label {
  flex: 1;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.document-metadata__value {
  flex: 1;
  display: flex;
  align-items: center;
}

.documents {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: white;
  margin: var(--half-spacing);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}
.documents__doc-detail--is-blue {
  color: var(--blue-light);
}
.documents__table {
  width: 100%;
}
.documents__table table {
  width: 100%;
  border-collapse: collapse;
}
.documents__table thead {
  border-bottom: 2px solid #e0e0e0;
}
.documents__table tbody tr {
  border-top: 1px solid #e0e0e0;
}
.documents__table tbody tr .truncate-detail {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}
.documents__table tbody tr .filename {
  max-width: 346px;
}
.documents__table tbody tr .source-url {
  max-width: 150px;
}
.documents__table th,
.documents__table td {
  padding: 0.75rem;
  text-align: left;
  vertical-align: middle;
  font-size: 0.95rem;
  white-space: nowrap;
}
.documents__table th {
  font-weight: bold;
  color: var(--tussell-green);
}
.documents__table td:last-child {
  text-align: right;
}
.documents__table td:last-child a {
  white-space: nowrap;
}
.documents__table td:first-child {
  width: 346px;
}
.documents__table .document-source-url {
  width: 150px;
}
.documents__button {
  text-decoration: none;
  color: #ffffff;
  background: var(--blue-light);
  min-width: 80px;
  min-height: 10px;
  border: solid 1px var(--blue-light);
  position: relative;
  padding: 5px 10px;
  font-size: 15px;
  border-radius: var(--button-radius);
  text-align: left;
  width: 151px;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;
}
.documents__button:before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: #ffffff;
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}
.documents__button:not(:disabled):hover {
  color: var(--blue-light);
  text-decoration: none;
}
.documents__button:not(:disabled):hover:before {
  width: 100%;
  opacity: 1;
  left: 0;
}
.documents__button:not(:disabled):hover:after {
  animation: var(--animation-swipe);
}
.documents__button:disabled {
  background-color: #D0D2D0;
  border: 1px solid #D0D2D0;
  cursor: not-allowed;
}
.documents__button--edited {
  background-color: #fff;
  border: 1px solid var(--brown-wood);
  color: var(--brown-wood);
}

.insights-panel {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: white;
  margin: var(--half-spacing);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}
.insights-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.insights-panel__title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--tussell-green);
}
.insights-panel__table {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.insights-panel__table-row {
  display: flex;
  border-top: 1px solid #e0e0e0;
  padding: 0;
}
.insights-panel__cell {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
.insights-panel__cell--header {
  font-weight: bold;
  color: var(--tussell-green);
}
.insights-panel__cell:last-child {
  justify-content: flex-end;
}
.insights-panel__cell:first-child {
  flex: 4;
}

.review-document {
  width: calc(100% - 15px);
  background-color: var(--panel-bg);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  margin: var(--half-spacing);
}
.review-document__buyer {
  background-color: var(--panel-head-bg);
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: var(--half-spacing);
  color: var(--tussell-green);
  font-weight: bold;
  font-size: 20px;
}
.review-document__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: var(--half-spacing);
}
.review-document__info {
  display: flex;
  align-items: center;
  gap: 46px;
  font-size: 14px;
}
.review-document__filename {
  width: 346px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-shrink: 1;
}
.review-document__doc-detail {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.review-document__doc-detail--is-blue {
  color: var(--blue-light);
}
.review-document__cta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.review-document__summary-edit-form {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.review-document__summary-edit-buttons {
  display: flex;
  gap: 7px;
  flex-direction: column;
}
.review-document__summary-edit-textarea {
  width: 100%;
}
.review-document__button {
  text-decoration: none;
  color: #ffffff;
  background: var(--blue-light);
  min-width: 80px;
  min-height: 10px;
  border: solid 1px var(--blue-light);
  position: relative;
  top: 0px;
  padding: 5px 10px;
  font-size: 15px;
  border-radius: var(--button-radius);
  text-align: left;
  width: 151px;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 1;
}
.review-document__button:before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: #ffffff;
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: -1;
}
.review-document__button--icon {
  min-width: 32px;
  width: 32px;
  font-size: 20px;
  line-height: 20px;
  padding: 5px 8px;
}
.review-document__button--edit-summary:after {
  content: "✎";
}
.review-document__button--accept-summary-edit {
  background-color: var(--tussell-green);
}
.review-document__button--accept-summary-edit:after {
  content: "✔";
}
.review-document__button--reject-summary-edit {
  background-color: #FF6868;
  border-color: #FF6868;
}
.review-document__button--reject-summary-edit:after {
  content: "✘";
}
.review-document__button:not(:disabled):hover {
  color: var(--blue-light);
  text-decoration: none;
}
.review-document__button:not(:disabled):hover:before {
  width: 100%;
  opacity: 1;
  left: 0;
}
.review-document__button:not(:disabled):hover:after {
  animation: var(--animation-swipe);
}
.review-document__button--is-dismissed {
  background-color: #616161;
  border: 1px solid #616161;
}
.review-document__button--reject {
  background-color: #FF6868;
  border: 1px solid #FF6868;
}
.review-document__button--accept {
  background-color: var(--tussell-green);
  border: 1px solid var(--tussell-green);
}
.review-document__button--edited {
  background-color: #fff;
  border: 1px solid var(--brown-wood);
  color: var(--brown-wood);
}
.review-document__button--duplicate {
  background-color: #FFB300;
  border: 1px solid #FF6868;
}
.review-document__button--apply {
  background-color: var(--tussell-green);
  border: 1px solid var(--tussell-green);
}
.review-document__button:disabled {
  background-color: #D0D2D0;
  border: 1px solid #D0D2D0;
  cursor: not-allowed;
}
.review-document__insights-table {
  width: 100%;
  table-layout: fixed;
  margin-bottom: var(--legacy-spacing);
  border: var(--border);
  border-radius: var(--button-radius-sml);
  background-color: white;
  border-collapse: collapse;
  overflow-wrap: break-word;
  font-size: 14px;
}
.review-document__insights-table thead {
  color: var(--tussell-green);
  font-weight: bold;
}
.review-document__insights-table thead td {
  position: relative;
  padding-right: 20px;
}
.review-document__insights-table td,
.review-document__insights-table thead th {
  padding: var(--half-spacing);
}
.review-document__insights-table tr td {
  border-top: var(--border);
  position: relative;
}
.review-document__insights-table tr:first-of-type td {
  border-top: none;
}
.review-document__insights-table textarea {
  min-height: 150px;
}
.review-document__insight-summary div form {
  float: left;
  margin: 0 var(--half-spacing) 0 0;
  padding: unset;
}
.review-document__insight-summary div p {
  margin: 0 0 0 42px;
}
.review-document__insight-category {
  width: 390px;
}
.review-document__insight-state {
  width: 52px;
}
.review-document__insight-actions {
  width: 176px;
}
.review-document__insight-ctas {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
}
.review-document__category-select {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.review-document__category-select select {
  font-size: 14px;
}
.review-document__category-select .choices {
  margin-bottom: 0;
}
.review-document__category-select .choices.is-open {
  z-index: 2;
}
.review-document__category-select .choices__inner {
  box-sizing: border-box;
  font-size: 14px;
}
.review-document__insight-row--accepted {
  background-color: #ECFFEE;
}
.review-document__insight-row--rejected {
  background-color: #FFEEEC;
}

@media (max-width: 768px) {
  .review-document__container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .review-document__info,
  .review-document__cta {
    width: 100%;
  }
  .review-document__cta {
    align-items: flex-end;
  }
}
.pre_tender_insights_insight_summary {
  width: 100%;
}

.documents-upload {
  margin: 0 1.25em;
}

.stuck-in-categorisation-action {
  box-sizing: border-box;
  width: 200px;
  font-size: 16px;
}

.stuck-in-categorisation-table td:last-child {
  box-sizing: border-box;
  width: 200px;
}

.recategorise-container {
  width: 200px;
}
