@charset "UTF-8";
div.alert, .alert-danger {
  background-color: rgba(154, 20, 18, 0.88);
  color: white;
}
div.alert a, .alert-danger a {
  color: white;
}
div.alert a:visited, .alert-danger a:visited {
  color: white;
}

div.content-container {
  overflow: initial;
}
div.content-container > header {
  width: 100%;
  background: white;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0;
  margin-top: 0.5ch;
  height: 60px;
  border-bottom: 1px solid #323232;
  overflow: visible;
}
div.content-container > header > div {
  width: 1200px;
}
@media only screen and (max-width: 6000px) {
  div.content-container > header > div {
    width: 1480px;
    min-width: 1180px;
  }
}
@media only screen and (max-width: 1480px) {
  div.content-container > header > div {
    width: 1180px !important;
    min-width: 1180px;
  }
}
div.content-container > header > div {
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}
div.content-container > header > div > div.breadcrumb-container {
  margin: 0;
}
div.content-container > header > div > h1 {
  text-transform: lowercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
div.content-container section.page-content {
  padding-top: 15px;
}

nav.page-actions {
  display: flex;
  flex-flow: row-reverse;
}
nav.page-actions button, nav.page-actions > a {
  background: #FC835A;
  color: black;
  font-size: 17px !important;
  font-family: "Circular Pro Black", Helvetica, Arial, sans-serif;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 13px !important;
  padding: 10px 20px;
  border: none;
}
nav.page-actions button.secondary, nav.page-actions > a.secondary {
  background: white;
  color: black;
  border: 2px solid black;
}
nav.page-actions > button, nav.page-actions > div > button, nav.page-actions > a {
  border: 2px solid #FC835A;
  border-radius: 3px;
  margin: 0 4px;
}
nav.page-actions .popunder-parent {
  display: flex;
}
nav.page-actions .popunder-parent > button::after {
  font-size: 80%;
  padding-left: 1ch;
  content: "▼";
}
nav.page-actions .popunder {
  padding-top: 1px;
  top: 100%;
}
nav.page-actions .popunder button {
  height: 5ch;
  width: auto;
  min-width: 160px;
  background: #323232;
  color: white;
}
nav.page-actions .popunder button:hover {
  background: #FC835A;
  color: black;
}

div.filters > div.panel-group {
  z-index: 1000;
  top: 127px;
}@charset "UTF-8";
ul.sdu-actions {
  list-style-type: none;
  padding: 0;
}
ul.sdu-actions li {
  float: left;
}
ul.sdu-actions li.popunder-parent > a::after {
  font-size: 80%;
  padding-left: 1ch;
  content: "▼";
}
ul.sdu-actions li .popunder {
  padding-top: 1px;
}
ul.sdu-actions li .popunder > a {
  display: block;
  height: 5ch;
  line-height: 5ch;
  width: auto;
  min-width: 150px;
  text-align: center;
  text-decoration: none;
  background: #323232;
  color: white;
  font-size: 13px !important;
}
ul.sdu-actions li .popunder > a:hover {
  background: #FC835A;
  color: black;
}nav.top {
  background: #323232;
  color: white;
  height: 65px;
  max-width: 1480px;
  margin: 0 auto;
  font-family: "Circular Pro Book", Helvetica, Arial, sans-serif;
}
nav.top > ul {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}
nav.top > ul > li {
  float: left;
}
nav.top > ul > li a {
  display: block;
  height: 65px;
  width: auto;
  min-width: 93px;
  padding: 0 20px;
  border-right: 1px solid white;
  text-align: center;
  text-decoration: none;
  font-size: 13px !important;
  color: white;
}
nav.top > ul > li a:hover {
  background: #FC835A;
  color: black;
}
nav.top > ul > li a > span.electio-icon {
  font-size: 26px;
  padding-bottom: 5px;
}
nav.top > ul > li:first-of-type > a {
  border-left: 1px solid white;
}
nav.top > ul > li > nav {
  background: #323232;
  color: white;
  width: 27ch;
  border: 1px solid white;
}
nav.top > ul > li > nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7ch;
}
nav.top ul.shipping {
  float: left;
}
nav.top ul.admin {
  float: right;
}

.popunder-parent {
  position: relative;
}

.popunder, .popunder-right {
  display: block;
  position: absolute;
  left: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
  opacity: 0;
  transition: visibility 0ms 500ms, pointer-events 0ms 500ms, touch-action 0ms 500ms, opacity 500ms 0ms;
}
.popunder:hover, .popunder-right:hover {
  visibility: visible;
  pointer-events: initial;
  touch-action: initial;
  opacity: 1;
  transition: visibility 0ms 0ms, pointer-events 0ms 0ms, touch-action 0ms 0ms, opacity 500ms 0ms;
}

.popunder-trigger:hover ~ .popunder {
  visibility: visible;
  pointer-events: initial;
  touch-action: initial;
  opacity: 1;
  transition: visibility 0ms 0ms, pointer-events 0ms 0ms, touch-action 0ms 0ms, opacity 500ms 0ms;
}

.popunder-right {
  left: revert;
  right: 0;
}div.tag-selector ul {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}
div.tag-selector ul > li {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px 5px 4px 6px;
  margin-bottom: 5px;
  margin-right: 8px;
  background-color: #ffffe5;
}
div.tag-selector ul > li > button {
  border: 0;
  background-color: lightgrey;
  display: block;
  width: 16px;
  height: 16px;
  padding-bottom: 5px;
  border-radius: 50px;
  line-height: 1px;
  margin-left: 5px;
  margin-top: 3px;
}
div.tag-selector ul > li > button:hover {
  background-color: rgb(228.85, 228.85, 228.85);
}
div.tag-selector form {
  display: flex;
}.cm-editor .postcode, .cm-editor .filter {
  padding: 3px 0;
}
.cm-editor .postcode {
  font-weight: bold;
  background-color: rgba(88, 203, 88, 0.26);
}
.cm-editor .postcode:has(+ .gap), .cm-editor .postcode:last-of-type {
  padding-right: 3px;
}
.cm-editor .postcode:first-of-type {
  padding-left: 3px;
}
.cm-editor .postcode.area {
  color: blue;
}
.cm-editor .postcode.district {
  color: darkblue;
}
.cm-editor .postcode.districtRange {
  font-style: italic;
}
.cm-editor .postcode.sector {
  color: black;
}
.cm-editor .postcode.unit {
  color: black;
}
.cm-editor .filter {
  background-color: rgba(255, 0, 0, 0.1);
}
.cm-editor .filter:not(.postcode) {
  font-weight: bold;
  color: red;
}.cm-editor {
  background-color: white;
}
.cm-editor .cm-line {
  padding-bottom: 0;
}
.cm-editor .cm-line:has(> span:first-child:not(.comment)) {
  padding-bottom: 20px;
}
.cm-editor .cm-line:has(> span:first-child:not(.comment)) + .cm-line {
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  padding-top: 3px;
}
.cm-editor .cm-line:has(> span.comment:first-child) {
  background: rgba(128, 128, 128, 0.05);
}
.cm-editor span.comment {
  background: rgba(128, 128, 128, 0.05);
}
.cm-editor .and, .cm-editor .or {
  color: blue;
}
.cm-editor .paren {
  color: black;
  font-weight: 999;
  font-size: 110%;
}
.cm-editor .comment {
  color: #666;
}
.cm-editor .not {
  background-color: rgba(255, 0, 0, 0.1) !important;
  color: red;
  font-weight: bold;
  padding: 2px 0;
}aside.filter {
  background-color: white;
}
aside.filter > div.contentBox {
  background: unset;
}
aside.filter {
  border: 2px solid;
  border-radius: 14px;
}
aside.filter label.filter-label {
  min-width: 150px;
}
aside.filter a.clear-filter {
  float: right;
}
aside.filter .contentBox {
  margin-bottom: 0;
}
aside.filter div.filter-panel > div.panel-body > ul {
  max-height: 300px;
  overflow: scroll;
}
aside.filter footer {
  display: flex;
  flex-flow: row-reverse;
}
aside.filter footer > div {
  margin-left: 10px;
}
aside.filter footer.panel {
  margin-bottom: unset;
}

nav.page-actions {
  position: static;
}

aside.filter {
  position: absolute;
  top: 100%;
  right: 10px;
  margin-top: 35px;
}

@media only screen and (max-width: 1236px) {
  nav.page-actions {
    position: relative;
  }
  aside.filter {
    left: 0;
    right: unset;
  }
}
@media only screen and (min-width: 1974px) {
  nav.page-actions {
    position: relative;
  }
  aside.filter {
    left: calc(100% + 30px);
    right: unset;
  }
}main.ruleset header {
  all: unset;
}
main.ruleset section {
  all: unset;
}
main.ruleset {
  display: flex;
  flex-direction: column;
}
main.ruleset > header {
  display: flex;
  flex-direction: row;
}
main.ruleset > header section.details {
  flex: 1 50%;
}
main.ruleset > header section.details label:not(:first-of-type) {
  margin-top: 16px;
}
main.ruleset > header section.actions {
  flex: 1 50%;
  min-width: 300px;
}
main.ruleset > header section.actions * {
  float: right;
}
main.ruleset section.rules {
  margin-top: 4ch;
}
main.ruleset section.rules > header {
  display: flex;
  flex-direction: row;
}
main.ruleset section.rules > header > header > a {
  color: black;
  text-decoration: none;
}
main.ruleset section.rules > header > header > a:hover {
  text-decoration: underline;
}
main.ruleset section.rules > header > header h1 {
  display: inline;
  text-transform: lowercase;
}
main.ruleset section.rules > header > nav {
  text-transform: lowercase;
  margin: 15px 0;
  margin-left: 1ch;
}
main.ruleset section.rules > header a:hover {
  color: black;
  opacity: 0.2;
}
main.ruleset section.rules > header a.modeSwitcher .modeName {
  text-transform: uppercase;
}
main.ruleset section.rules > header a.addMatcher {
  margin-left: 5px;
}
main.ruleset section.rules > header a.addMatcher:before {
  content: "+";
}
main.ruleset section.rules h2 {
  padding-bottom: 10px !important;
}
main.ruleset section.rules > span {
  color: darkgray;
  font-style: italic;
  font-size: 120%;
}
main.ruleset section.rules > div {
  display: flex;
  width: 1200px;
  overflow-x: auto;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  color: black;
}
@media only screen and (max-width: 6000px) {
  main.ruleset section.rules > div {
    width: 1480px;
    min-width: 1180px;
  }
}
@media only screen and (max-width: 1480px) {
  main.ruleset section.rules > div {
    width: 1180px !important;
    min-width: 1180px;
  }
}
main.ruleset section.rules > div div.shippingRuleMatcher {
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  margin: 10px;
  border: 2px solid rgba(0, 0, 0, 0.6);
}
main.ruleset div.multiMatcher header input.filterBox {
  width: 100%;
}
main.ruleset div.multiMatcher ul {
  margin: 0;
}
main.ruleset div.multiMatcher ul:has(> li) {
  border: 2px solid #ddd;
}
main.ruleset div.multiMatcher ul {
  overflow: auto;
  max-height: 325px;
  display: block;
}
main.ruleset div.multiMatcher ul li {
  display: block;
  padding: 1px 15px 1px 5px;
  border: 0;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  background-color: #fff;
  background: rgba(0, 0, 0, 0.01);
  cursor: pointer;
  color: #8F3213;
}
main.ruleset div.multiMatcher ul li:has(+ li) {
  border-bottom: 2px solid #ddd;
}
main.ruleset div.multiMatcher ul li:has(+ li.selected) {
  border-bottom: 2px solid #fff;
}
main.ruleset div.multiMatcher ul li > h6 {
  margin-top: 7px;
}
main.ruleset div.multiMatcher ul li > p {
  margin-bottom: 7px;
}
main.ruleset div.multiMatcher ul li.selected {
  background: rgba(114, 215, 77, 0.7);
  color: #323232;
  border-color: #fff;
}
main.ruleset div.multiMatcher ul li aside > a {
  float: right;
  line-height: 4.5ch;
  font-family: "Cicular Pro Book", Helvetica, Arial, sans-serif;
}
main.ruleset div.multiMatcher ul li aside > a:hover {
  color: black;
  opacity: 0.2;
}
main.ruleset div.multiMatcher ul li aside.lock {
  float: right;
  opacity: 0.7;
  line-height: 4.5ch;
}
main.ruleset div.shippingRuleMatcher {
  padding: 15px;
  margin-right: 15px;
  border-radius: 10px;
}
main.ruleset div.shippingRuleMatcher > h2 {
  color: black;
}
main.ruleset div.shippingRuleMatcher > h2 > a {
  float: right;
}
main.ruleset div.shippingRuleMatcher > footer {
  display: block;
  height: 2ch;
}
main.ruleset div.shippingRuleMatcher > footer a.help {
  float: left;
}
main.ruleset div.shippingRuleMatcher > footer button {
  float: right;
}
main.ruleset div.shippingRuleMatcher a.toggleActive, main.ruleset div.shippingRuleMatcher a.toggleMode, main.ruleset div.shippingRuleMatcher a.toptip {
  text-decoration: none;
  color: black;
  opacity: 0.3;
  font-size: smaller;
}
main.ruleset div.shippingRuleMatcher a.toggleActive:hover, main.ruleset div.shippingRuleMatcher a.toggleMode:hover {
  opacity: 0.6;
}
main.ruleset div.shippingRuleMatcher a.toptip {
  opacity: 0.8 !important;
}
main.ruleset div.shippingRuleMatcher a.toptip:after {
  content: "foo bar";
  position: absolute;
  top: -30px;
  right: 0;
  left: 0;
  display: none;
  text-align: center;
  background-color: #000;
  color: #fff;
  border-radius: 4px;
  padding: 2px;
}
main.ruleset div.shippingRuleMatcher a.toptip:hover:after {
  display: block;
}
main.ruleset div.shippingRuleMatcher label {
  width: 100%;
}
main.ruleset div.shippingRuleMatcher select {
  width: 100%;
}
main.ruleset div.shippingRuleMatcher div.inactive {
  opacity: 0.5;
}
main.ruleset div.shippingRuleMatcher .cm-content {
  border: 2px solid #ddd;
}
main.ruleset .shippingRuleMatcher.inactive {
  opacity: 0.5;
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch {
  border: 0;
  min-width: 280px;
  margin-right: 5px;
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > legend {
  display: none;
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > div {
  display: inline-block;
  float: right;
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > div > input[type=radio] {
  cursor: pointer;
  margin: 1.5ch 0;
  margin-left: 1.2ch;
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > div > label {
  cursor: pointer;
  color: white;
  font-family: "Circular Pro Black", Helvetica, Arial, sans-serif;
  padding: 0.5ch;
  border-radius: 0.35ch;
  margin-left: 1ch;
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > div > label[for=inactive] {
  background-color: rgba(181, 23, 23, 0.75);
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > div > label[for=staged] {
  background-color: rgba(220, 110, 12, 0.75);
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > div > label[for=active] {
  background-color: rgba(7, 103, 7, 0.75);
}
main.ruleset section.actions fieldset.shippingRuleActiveSwitch > div > label:has(+ input[type=radio]:not(:checked)) {
  opacity: 0.25;
  color: black;
}
main.ruleset div.tagAdder {
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  margin: 10px;
  border: 2px solid rgba(0, 0, 0, 0.6);
  padding: 15px;
  margin-right: 15px;
  border-radius: 10px;
}

.inputDateTime input[type=date], .inputDateTime input[type=time] {
  cursor: pointer;
}
.inputDateTime input[type=date]::-webkit-calendar-picker-indicator, .inputDateTime input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}
.inputDateTime button {
  cursor: pointer;
}

dialog.help h2 {
  color: black;
}

a.help {
  text-transform: lowercase;
}div.alert-success {
  background-color: rgb(125, 200, 125);
  color: black;
}
div.alert-success > span > a {
  color: black;
  text-decoration: underline;
}
div.alert-success > span > a:hover {
  color: grey;
}
div.alert-success > span > a:visited {
  color: gray;
}div.trace-explorer div.line {
  position: relative;
}
div.trace-explorer div.line:has(a.trace.active) {
  margin-bottom: 9px;
}
div.trace-explorer a.trace {
  color: #000;
  text-decoration: 1px underline dashed;
  position: relative;
}
div.trace-explorer a.trace:hover {
  color: #444;
}
div.trace-explorer a.trace.active {
  color: #000;
  background-color: rgba(255, 208, 154, 0.4117647059);
  text-decoration: none;
}
div.trace-explorer a.trace.active:hover {
  color: #222;
}
div.trace-explorer a.full {
  position: absolute;
  inset: 0;
}
div.trace-explorer a:not(.full) {
  position: relative;
}
div.trace-explorer span.line:not(:first-child) {
  border-top: 1px solid black;
}
div.trace-explorer span.line {
  display: inline-block;
  position: relative;
  padding: 3px 0;
  z-index: 200;
}
div.trace-explorer span:has(> a.active) {
  position: relative;
}
div.trace-explorer ul {
  list-style: none;
  position: relative;
  padding-left: 0;
  margin-left: 10px;
}
div.trace-explorer ul:has(> li) {
  border-width: 2px;
  border-color: #cacaca;
  border-style: none none solid solid;
  border-bottom-left-radius: 6px;
}
div.trace-explorer ul li {
  padding-top: 2px;
  padding-left: 5px;
  margin-bottom: 6px;
}
div.trace-explorer span.line:has(> a.active) + ul:has(> li):before {
  border-style: none none none solid;
  border-radius: 0;
}.cm-editor .tag {
  padding: 3px 0;
}
.cm-editor .tag {
  color: black;
  font-weight: bold;
  padding: 2px;
}
.cm-editor .tag:not(.not) {
  background-color: rgba(255, 255, 0, 0.1);
}
.cm-editor .tag.not {
  color: black;
}
.cm-editor .tag:has(+ .gap), .cm-editor .tag:last-of-type {
  padding-right: 3px;
}
.cm-editor .tag:first-of-type {
  padding-left: 3px;
}
.cm-editor .paren {
  color: black;
  font-weight: 999;
  font-size: 110%;
}
.cm-editor .comment {
  color: #666;
}