@import "/css/variables.css";

.strong {
  font-weight: bold !important;
}

/** notify elements **/
#app-system-loader div.message,
.listing_table div.message {
  background: var(--toast-bg);
  border-radius: 8px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),
    0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  pointer-events: all;

  box-sizing: border-box;
  color: var(--toast-font);
  line-height: 1.57;
  list-style: none;
  width: 100%;
  z-index: 2010;

  font-size: 14px !important;
  padding: 9px 12px !important;
}

#messageboard {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}
#messageboard div.message,
.listing_table div.message {
  white-space: nowrap;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}
#messageboard div.message.statusError {
  background-color: #ff4d4f;
  color: #fff;
}
#messageboard div.message.statusInfo {
  background-color: #80ba27;
  color: #fff;
}
#messageboard div.message.statusProgress,
#messageboard div.message.statusNotice {
  background-color: #faad14;
  color: #fff;
}

.listing_table div.message {
  display: block;
  padding: 3px 5px 3px 5px;
  margin-bottom: 10px;
}
.listing_table div.message.statusInfo {
  background-color: #e2eef7;
  color: #000;
  border: 1px solid #b1c5d4;
  padding-left: 24px;
  background-image: url(/images/info-sign.png);
  background-position: 5px center;
  background-repeat: no-repeat;
  font-weight: normal;
  color: #333;
}

#browser-warning,
.app-warning {
  background-color: #fdf0c9;
  font-family: var(--font-family);
  font-size: 12px;
}
.form-warning {
  border: 1px solid #f9da77;
}

#browser-warning ul,
.app-warning ul {
  background-color: #fdf0c9;
  border-bottom: 1px solid #f9da77;
  list-style-image: url(/images/warning_ico_small.png);
  margin: 0px !important;
}

#browser-warning li,
.app-warning li {
  padding-top: 6px;
}

#browser-warning li.last,
.app-warning li.last {
  padding-bottom: 6px;
}

#content .app-warning {
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid #f9da77;
}

#filter {
  font-size: 12px;
}
#filter li a {
  text-decoration: none;
}
#filter li a:hover {
  text-decoration: underline;
}

.autocomplete-field {
  border-bottom: 2em;
}

/** knowledgebase **/
#knowledgebaseAnswer h1 {
  font-size: 16px;
  font-weight: bold;
  background: none;
  padding: 5px;
  margin: 2px;
  height: auto;
}
#knowledgebaseAnswer h2 {
  font-size: 13px;
  font-family: arial;
  background: none;
  margin: 2px;
  padding: 5px;
  height: auto;
}
.kbrating,
.kbrating form,
.kbrating td {
  background: none;
}
.baseapp-box.kb-tree {
  margin: 0px;
}

.rtc {
  /** rounded top **/
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
}
.rbc div {
  /** rounded bottom **/
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
}

.curvedcorner-tl {
  background: url(images/tl.png) 0 0 no-repeat transparent;
  display: block;
}
.curvedcorner-tr {
  background: url(images/tr.png) 100% 0 no-repeat transparent;
  display: block;
}
.curvedcorner-bl {
  background: url(images/bl.png) 0 100% no-repeat transparent;
  display: block;
}
.curvedcorner-br {
  background: url(images/br.png) 100% 100% no-repeat transparent;
  display: block;
}

/** wizard **/
.steps a {
  color: black;
  background: url(/images/step.png) left top no-repeat;
  text-align: center;
  text-decoration: none;
}
.steps a:hover {
  background: url(/images/step_mover.png) left top no-repeat !important;
}
.step_selected {
  background: url(/images/step_selected.png) left top no-repeat !important;
  color: black !important;
}
.step-arrows a,
.step-arrows b {
  font-family: arial;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  background-image: url(images/step-buttons-bg.gif);
  background-position: 0 0;
  background-repeat: no-repeat;
  font-weight: normal !important;
}
.step-past {
  background-color: #646464;
  background-position: 100% -189px !important;
}
.step-before {
  background-position: 100% -27px !important;
}
.first-step b {
  background: url(images/step-buttons-bg.gif) 0 -135px no-repeat;
  font-weight: normal !important;
}
.step-past b {
  background: url(images/step-buttons-bg.gif) 0 0 no-repeat;
  font-weight: normal !important;
}
.step-current {
  background-color: #3b3b3b !important;
  background-position: 100% -54px !important;
}
.step-future {
  background-color: #a1a1a1 !important;
  background-position: 100% -81px !important;
}
.last-step {
  background-position: 100% -108px !important;
}
.last-step-current {
  background-position: 100% -162px !important;
  background-color: #3b3b3b !important;
}
div.step-buttons {
  font-size: 12px;
}

/** product helpful descriptions **/
.intro {
  font-size: 12px;
  text-align: left;
}
.intro h1 {
  font-weight: bold;
  font-size: 16px;
}
.intro h2 {
  font-weight: bold;
  font-size: 12px;
}
.intro,
.intro p {
  color: #444;
}
.close_intro_link {
  text-align: right;
  font-size: 11px;
}

/* rounded corners */
.attentionGrab,
.infoTable h2,
.baseapp-form h2,
.baseapp-box h2,
h2.box-heading,
h1,
h2 {
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
/* square bottom */
.infoTable h2,
.baseapp-form h2,
.baseapp-box h2,
h2.box-heading,
h1,
h2 {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  -moz-border-radius-bottomleft: 0px;
  -moz-border-radius-bottomright: 0px;
  -webkit-border-bottom-left-radius: 0px;
  -webkit-border-bottom-right-radius: 0px;
}

/** common element styles **/
.buttons {
  font-size: 12px;
  margin-top: 2px;
  font-weight: bold;
}
.boxTop td {
}
.boxtop2 td,
.boxtop2 th {
}
.text {
  font-size: 13px;
}
.formDrop {
  font-size: 11px;
}
.longInput {
  width: 40%;
}

/** quick box **/
.quickbox {
  font-size: 12px;
}
.quickbox td p {
  font-size: 11px;
}
.quickbox div p {
  font-size: 11px;
}

/** forms **/
.baseapp-form form {
}
.yui-dialog .baseapp-form form {
  background-color: transparent;
}
.baseapp-form h2,
.infoTable h2 {
  font-size: 16px;
  font-weight: bold;
}

form dl {
  float: left;
  width: 100%;
  background: var(--form-content-bg) !important;
  border-color: var(--form-content-bg) !important;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  /*padding: 5px;*/
}
.ant-drawer form dl {
  background: var(--drawer-form-content-bg) !important;
  border-color: var(--drawer-form-content-bg) !important;
}
form .subform dl {
  border: none;
}
form fieldset dl {
}
/* changed field */
form div.form-element.changed {
  /*background-color:#f3f3f3;*/
}


/* label & field */
form dt,
form dd,
.yui-panel form label {
  font-size: 13px;
}
.form-element dt label {
  line-height: 1.2;
  min-height: 22px;
  padding-top: 8px;
}
.form-element.static dt label {
  padding-top: 1px;
}
.form-element dd > a {
  position: relative;
  display: inline-block;
  line-height: 33px;
}
/* label */
form dt {
  vertical-align: top;
  text-align: left;
}
/* field */
form dt label.bold {
  font-weight: bold;
}
form dd input[type="text"]:not(.ant-input),
form dd input[type="password"],
form dd input[type="number"],
form dd textarea,
form dd select {
  font-family: var(--font-family);
  font-size: 14px;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  transition: all .2s;
}
form dd input[type="text"]:disabled:not(.ant-input) {
  background-color: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.25);
}
form dd input[type="text"]:disabled:not(.ant-input):hover {
  cursor: not-allowed;
  border-color: var(--input-border) !important;
}

form dd input[type=text]:not(.ant-input):not(.input_error input):hover,
form dd input[type=password]:not(.input_error input):hover,
form dd input[type=number]:not(.input_error input):hover,
form dd textarea:not(.input_error textarea):hover,
form dd select:not(.input_error select):hover,
form dd input[type=text]:not(.ant-input):not(.input_error input):focus,
form dd input[type=password]:not(.input_error input):focus,
form dd input[type=number]:not(.input_error input):focus,
form dd textarea:not(.input_error textarea):focus,
form dd select:not(.input_error select):focus{
  border-color: #80ba27;
  box-shadow: 0 0 0 2px rgba(142, 192, 5, 0.08);
  outline: 0;
}

.ant-input {
  margin: 1px;
}

/* errors */
form ul.errors {
  color: #ff4d4f;
  font-size: 14px;
  line-height: 1.57;

  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: auto;
  list-style: none;
}
form .input_error input:not(.ant-picker input, .ant-select input),
form .input_error textarea,
form .input_error select,
form .input_error .ant-checkbox,
form .input_error .ant-picker,
form .input_error .ant-select-selector,
form .input_error .ms-parent button {
    border: 1px solid #ff4d4f !important;
}
form .input_error .ant-checkbox {
    border-radius: 5px;
}

form .input_error input:not(.ant-picker input):hover,
form .input_error textarea:hover,
form .input_error select:hover,
form .input_error input:not(.ant-picker input):focus,
form .input_error textarea:focus,
form .input_error select:focus
form .input_error input:not(.ant-picker input):focus-within,
form .input_error textarea:focus-within,
form .input_error select:focus-within,
form .input_error input:not(.ant-picker input):active,
form .input_error textarea:active,
form .input_error select:active,
form .input_error .ant-select-selector:active{
    border-color: #ffa39e;
    box-shadow: 0 0 0 2px rgba(255, 38, 5, 0.06);
}

/* timefield autocomplete */
form dd.timeSelect div.yui-ac-content li {
  text-align: right;
}
/* descriptions */
div.flashInstruction {
  display: block;
  border: none !important;
  background: url(/images/flashbox-arrow.png) 5px 7px no-repeat;
  padding-left: 10px;
}
div.flashInstruction div {
  display: block;
  background-color: #333;
  border: 1px solid #333;
  color: #fff;
  font-size: 11px;
  margin: -19px 30px 0px 10px;
  max-width: 350px;
  padding: 4px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
/* focus field */
form .fieldFocus {
  /*border: 2px solid #aabbf3 !important;
    margin:0px !important;*/
}
/* file field */
.baseapp-form form .fileThumb {
  border: 1px solid #666;
}
/* sub form */
form fieldset {
  border: 1px solid #ccc;
}
/* redirect options */
form div.RedirectOptionsContainer {
  font-style: italic;
}
.RedirectOptionsContainer label {
  line-height: 30px;

  display: inline-flex;
  grid-gap: 5px;
  line-height: 11px;
  margin-bottom: 3px;
}
.RedirectOptionsContainer input[type="radio"] {
  vertical-align: middle;
  margin-top: -2px;
  accent-color: #70a224;
}

/* submit button */
form div.SubmitButton,
form div.RedirectOptionsContainer,
form div.buttonGroup {
}
/* button group buttons */
form div.buttonGroup div.form-element {
  float: left;
  width: auto;
  margin-left: 3px;
}
.form-actions .right-column {
  position: absolute;
  top: 3px;
  right: 0;
  margin-right: 10px;
}
/* action button and context menu override */
.yui-content {
  position: relative;
}

#form-actions-element-container {
  position: absolute;
  top: 5px;
  right: 0;
  z-index: 1;
  padding: 0 15px;
  box-sizing: border-box;
  width: 52px;
}

.form-actions .right-column .yuimenu {
  top: 22px !important;
  right: 0 !important;
  left: auto !important;
  padding: 0 !important;
  min-width: 120px;
  border: 1px solid #cccccc;
  opacity: 0;
  transition: opacity 0.25s ease-out, top 0.25s ease-out;
}

.form-actions .right-column .yuimenu ul {
  margin: 0 !important;
}

.form-actions .right-column .yuimenu .yuimenu {
  position: relative !important;
  top: 0 !important;
  height: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border: none;
  box-shadow: none;
}

.form-actions .right-column .yuimenu .yuimenu.visible {
  top: 0 !important;
  height: auto;
}

.form-actions .right-column .yuimenu.visible {
  top: 32px !important;
  opacity: 1;
}

.form-actions .right-column .yuimenu .yuimenuitemlabel {
  padding-right: 30px;
}

.form-actions .right-column .yuimenuitem a.yuimenuitemlabel-selected {
  background-color: rgba(0, 0, 0, 0.03) !important;
}

.form-actions .right-column .yuimenuitem a {
  height: 20px;
  color: #333 !important;
  line-height: 20px;
  text-decoration: none;
}

.form-actions .right-column .yuimenuitemlabel.yuimenuitemlabel-hassubmenu {
  background: url(/images/yuimenu_right.png) no-repeat right center;
}
.form-actions
  .right-column
  .yuimenuitemlabel.yuimenuitemlabel-hassubmenu.yuimenuitemlabel-hassubmenu-selected {
  background: url(/images/yuimenu_down.png) no-repeat right center;
}
/* dialog form */
.yui-dialog .button-group button {
  font-size: 11px;
  font-weight: bold;
  margin-left: 3px;
}
/* Avoid the container from intercepting clicks if it happens to be on top of something */
.yui-panel-container.tooltip {
  pointer-events: none;
}
/* Fix listingtable action div height/width when insiside a dialog. */
.yui-panel-container.yui-dialog .yui-panel > .bd .bd {
  min-width: 50px;
  max-width: 425px;
  min-height: 0;
  border: 0px none;
}
/* Modal Fix */
.yui-panel-container.yui-dialog .yui-panel {
  min-height: 340px !important;
}
.yui-panel-container.yui-dialog .yui-panel > .bd {
  min-height: 320px !important;
  background-color: var(--dialog-content-bg);
  margin: 0px 10px 0px 10px;
  border: 1px solid var(--dialog-content-border);
}
.yui-panel-container.yui-dialog .yui-panel#simpleConfirm {
  min-height: auto !important;
}
.yui-panel-container.yui-dialog .yui-panel#simpleConfirm > .bd {
  min-height: auto !important;
}
.yui-panel-container.yui-dialog .yui-panel .bd div.baseapp-form {
  border: none;
}
/* display horizontal scroll for content within the email dialog */
.view-email-dialog.yui-dialog .yui-panel .bd {
  overflow-x: auto;
}

/* password element indicator */
div.password-indicator {
  height: 10px;
}

.help-bubble-footer a,
input.buttons,
.yui-panel .button-group button,
button.buttons {
  padding: 9px 12px 10px 12px;
  font-size: 13px;
}
#v2-color-bar .v2-bt {
  padding: 5px 10px 4px 10px;
  font-size: 13px;
  font-weight: bold;
}
.help-bubble-footer a,
.qq-upload-button,
button.buttons,
input.buttons,
.actions.infoTableActions .button,
.yui-panel .button-group button {
  color: var(--lt-btn-font);
  border: 1px solid var(--lt-btn);
  background-repeat: repeat-x;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  color: var(--lt-btn-font);
  background: var(--lt-btn);
  cursor: pointer;
  font-family: var(--font-family);
}
.help-bubble-footer a:hover,
.qq-upload-button-hover,
.qq-upload-button-focus,
input.buttons:hover,
.yui-panel .button-group button:hover,
.actions.infoTableActions .button:hover,
button.buttons:hover {
  background: var(--lt-top-btn-hover-bg);
  color: var(--lt-top-btn-hover-font);
  -moz-transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
  -webkit-transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
  -o-transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
  transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
}
.button {
  -moz-transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
  -webkit-transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
  -o-transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
  transition: border-color 0.5s, background-color 0.3s, opacity 0.2s;
}

button.disabled,
.buttons.disabled,
button.disabled:hover,
.buttons.disabled:hover {
  opacity: 0.5;
  cursor: not-allowed;
  filter: alpha(opacity=50); /* For IE8 and earlier */
}

.button .menu,
.button .menu:hover {
  padding-right: 35px;
  background-image: url(/images/v2/menu-button-down.png);
  background-position: right center;
  background-repeat: no-repeat;
  background-blend-mode: var(--lt-top-btn-menu-img-blend-mode);
}

input[type="submit"].buttons.tabSaveButton {
    height: 32px;
    padding: 4px 15px;
    border-radius: 6px;
    background: #80BA27;
    color: #FFFFFF;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

input[type="submit"].buttons.tabSaveButton:hover {
    background-color: #99C74A;
    border-color: #99C74A;
}

input[type="submit"].buttons.tabSaveButton:active {
    background: #5e9418;
    outline: 4px solid #cce09b;
}

input[type="submit"].buttons.tabSaveButton:focus-visible {
    outline: 4px solid #cce09b;
    outline-offset: 1px;
}

.v2-bt-active.menu,
.v2-bt-active.menu:hover {
  background-image: url(/images/v2/menu-button-down-white.png);
  padding-right: 35px;
}

.help-bubble-footer {
  margin-top: 5px;
}
.help-bubble-footer a {
  padding: 3px 5px;
  text-decoration: none;
  color: #494949;
  font-weight: bold;
}

#create-new-link {
  background-repeat: no-repeat;
  background-position: 5px 50%;
}

/* info table */

.infoTable {
}

.infoTable dl,
.infoTable dt,
.infoTable dd {
  font-size: 13px;
}
.infoTable dl {
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
.infoTable dd .action {
  color: #006fba;
}
.infoTable div.actions input.buttons.menu,
.infoTable div.actions input.buttons.menu {
  background-repeat: no-repeat;
  background-position: 5px 50%;
}
.infoTable div.actions.topActions input.buttons.menu {
  background-image: url(/images/buttons/down_arrow.gif);
}
.infoTable div.actions.bottomActions input.buttons.menu {
  background-image: url(/images/buttons/up_arrow.gif);
}
.infoTable div.actions div.action a {
  background-repeat: repeat-x;
  border: 1px solid #999;
  text-decoration: none;
  color: black;
}
.infoTable div.actions div.action a:hover {
}
.infoTable div.actions div.action a:active {
}
.infoTable dd.alert {
  color: red;
}
.infoTable dt.indent {
  font-weight: normal;
}
.infoTable dt.indent.firstIndent {
  background-image: url(/images/indent_icon.gif);
  background-position: left;
  background-repeat: no-repeat;
}

/* tags */

div.tag {
  white-space: nowrap;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  text-align: center;
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
}
.yui-ac-bd ul li div.tag {
  margin-top: -28px;
}
/* default tag colours */
div.tag.defaultTag1 {
  background-color: var(--default-tag-bg);
  color: #e0ecff;
}
div.tag.defaultTag2 {
  background-color: #76bdff;
  color: #0861b4;
}
div.tag.defaultTag3 {
  background-color: #5229a3;
  color: #e0d5f9;
}
div.tag.defaultTag4 {
  background-color: #64992c;
  color: #f9ffef;
}
div.tag.defaultTag5 {
  background-color: #fd7d0b;
  color: #f9ddc3;
}
div.tag.defaultTag6 {
  background-color: #dfe2ff;
  color: #0000cc;
}
div.tag.defaultTag7 {
  background-color: #0000cc;
  color: #dfe2ff;
}
div.tag.defaultTag8 {
  background-color: #636330;
  color: #ffffff;
}
div.tag.defaultTag9 {
  background-color: #854f61;
  color: #fde9f4;
}
div.tag.defaultTag10 {
  background-color: #cc0000;
  color: #ffe3e3;
}
div.tag.defaultTag11 {
  background-color: #e0d5f9;
  color: #5229a3;
}
div.tag.defaultTag12 {
  background-color: #fadcb3;
  color: #b36d00;
}
div.tag.defaultTag13 {
  background-color: #f3e7b3;
  color: #ab8b00;
}
div.tag.defaultTag14 {
  background-color: #ffffd4;
  color: #636330;
}
div.tag.defaultTag15 {
  background-color: #f9ffef;
  color: #64992c;
}
div.tag.defaultTag16 {
  background-color: #f1f5ec;
  color: #006633;
}
div.tag.defaultTag17 {
  background-color: #b36d00;
  color: #fadcb3;
}
div.tag.defaultTag18 {
  background-color: #fff0e1;
  color: #ec7000;
}
div.tag.defaultTag19 {
  background-color: #fde9f4;
  color: #854f61;
}
div.tag.defaultTag20 {
  background-color: #ab8b00;
  color: #ffffff;
}
div.tag.defaultTag21 {
  background-color: #006633;
  color: #f1f5ec;
}
div.tag.defaultTag22 {
  background-color: #000000;
  color: #ffffff;
}
div.tag.defaultTag23 {
  background-color: #f1c232;
  color: #000000;
}
div.tag.defaultTag24 {
  background-color: #f1deee;
  color: #000000;
}
div.tag.defaultTag26 {
  background-color: #e1e111;
  color: #000000;
}
div.tag.defaultTag27 {
  background-color: #ff6666;
  color: #ffffff;
}
div.tag.defaultTag28 {
  background-color: #99e699;
  color: #000000;
}
div.tag.defaultTag29 {
  background-color: #b3b3ff;
  color: #000000;
}
div.tag.defaultTag30 {
  background-color: #805500;
  color: #ffffff;
}
/* more specific tag colours - over-ride above */
/* generic status */
div.tag.statusTag-live,
div.tag.statusTag-online {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.statusTag-draft {
  background-color: #ec7000;
  color: #fff0e1;
}
div.tag.statusTag-notlive,
div.tag.statusTag-offline,
div.tag.statusTag-disabled,
div.tag.statusTag-error {
  background-color: #cc0000;
  color: #fde3e3;
}
div.tag.statusTag-enabled,
div.tag.statusTag-active {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.statusTag-open {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.statusTag-closed {
  background-color: #cc0000;
  color: #fde3e3;
}
/* generic yes-no */
div.tag.yesNoTag-yes,
div.tag.enabledTag-yes,
div.tag.featuredTag-yes {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.yesNoTag-no,
div.tag.enabledTag-no {
  background-color: #cc0000;
  color: #fde3e3;
}
div.tag.featuredTag-no {
  background-color: #5229a3;
  color: #e0d5f9;
}
/* visible/hidden */
div.tag.visibleTag-yes,
div.tag.visibleTag-visible {
  background-color: #64992c;
  color: #f9ffef;
}
div.tag.visibleTag-no,
div.tag.visibleTag-hidden {
  background-color: #cc0000;
  color: #ffe3e3;
}
/* required/not-required */
div.tag.requiredTag-yes {
  background-color: #64992c;
  color: #f9ffef;
}
div.tag.requiredTag-no {
  background-color: #76bdff;
  color: #ffe3e3;
}
/* real-estate status */
div.tag.statusTag-sold {
  background-color: #006633;
  color: #fde3e3;
}
div.tag.statusTag-withdrawn {
  background-color: #dfe2ff;
  color: #0000cc;
}
div.tag.statusTag-undercontract {
  background-color: #5229a3;
  color: #e0d5f9;
}
/* shop order status */
div.tag.orderStatusTag-neworder {
  background-color: #fd7d0b;
  color: #f9ddc3;
}
div.tag.orderStatusTag-inprogress {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.orderStatusTag-readytoship {
  background-color: #e0d5f9;
  color: #5229a3;
}
div.tag.orderStatusTag-shipped {
  background-color: #5229a3;
  color: #e0d5f9;
}
div.tag.orderStatusTag-completed {
  background-color: #64992c;
  color: #f9ffef;
}
div.tag.orderStatusTag-cancelled {
  background-color: #f3e7b3;
  color: #ab8b00;
}
div.tag.orderStatusTag-denied {
  background-color: #cc0000;
  color: #fde3e3;
}
/* shop order, and system invoice payment */
div.tag.paymentStatusTag-waiting {
  background-color: #76bdff;
  color: #0861b4;
}
div.tag.paymentStatusTag-fullpaid,
div.tag.paymentStatusTag-paid {
  background-color: #64992c;
  color: #f9ffef;
}
div.tag.paymentStatusTag-declined,
div.tag.paymentStatusTag-denied,
div.tag.paymentStatusTag-notpaid,
div.tag.paymentStatusTag-unpaid {
  background-color: #fd7d0b;
  color: #f9ddc3;
}
div.tag.paymentStatusTag-refunded,
div.tag.paymentStatusTag-partial {
  background-color: #5229a3;
  color: #e0d5f9;
}

div.tag.paymentStatusTag-cancelled {
  background-color: #f3e7b3;
  color: #ab8b00;
}
div.tag.paymentStatusTag-unconfirmedpaid {
  background-color: #cc0000;
  color: #fde3e3;
}
div.tag.paymentStatusTag-writtenoff {
  background-color: #b36d00;
  color: #fadcb3;
}
/* email contact status */
div.tag.statusTag-active {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.statusTag-unsubscribed {
  background-color: #fd7d0b;
  color: #f9ddc3;
}
div.tag.statusTag-bounced {
  background-color: #5229a3;
  color: #e0d5f9;
}
/* billing report */
div.tag.invoiceDiffTag-new {
  background-color: #fd7d0b;
  color: #f9ddc3;
}
div.tag.invoiceDiffTag-un-changed {
  background-color: #76bdff;
  color: #0861b4;
}
div.tag.invoiceDiffTag-changed {
  background-color: #cc0000;
  color: #fde3e3;
}
/* task lists */
div.tag.fullNameTag-hq {
  background-color: #fd7d0b;
  color: #f9ddc3;
}
div.tag.fullNameTag-mytask {
  background-color: #f1c232;
  color: #000000;
}
/* client list status */
div.tag.clientTag-archived {
  background-color: #fff0e1;
  color: #ec7000;
}
div.tag.clientTag-disabledaccount {
  background-color: #76bdff;
  color: #0861b4;
}
div.tag.clientTag-websitenotlive {
  background-color: #5229a3;
  color: #e0d5f9;
}
div.tag.clientTag-noaccounts {
  background-color: #64992c;
  color: #f9ffef;
}
/* Has Fixed Price */
div.tag.hasCostByHourTag-yes {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.hasCostByHourTag-no {
  background-color: #cc0000;
  color: #fde3e3;
}
div.tag.hasCostByHourTag-fixedPrice {
  background-color: #5a5a5a;
  color: #fff;
}
/* multi factor */
div.tag.multiAuth-1 {
  background-color: #cc0000;
  color: #ffe3e3;
}
div.tag.multiAuth-2 {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.multiAuth-3 {
  background-color: #64992c;
  color: #f9ffef;
}
/* iVvy lead status */
div.tag.leadAdminStatus-1 {
  background-color: #cc0000;
  color: #ffe3e3;
}
div.tag.leadAdminStatus-2 {
  background-color: #ff6666;
  color: #ffffff;
}
div.tag.leadAdminStatus-3 {
  background-color: #206cff;
  color: #e0ecff;
}
div.tag.leadAdminStatus-4 {
  background-color: #76bdff;
  color: #0861b4;
}
div.tag.leadAdminStatus-5 {
  background-color: #64992c;
  color: #f9ffef;
}
div.tag.leadAdminStatus-6 {
  background-color: #f9ffef;
  color: #64992c;
}
div.tag.leadAdminStatus-7 {
  background-color: #5229a3;
  color: #e0d5f9;
}
div.tag.leadAdminStatus-8 {
  background-color: #000000;
  color: #ffffff;
}
div.tag.leadAdminStatus-9 {
  background-color: #854f61;
  color: #fde9f4;
}
div.tag.leadAdminStatus-10 {
  background-color: #99e699;
  color: #000000;
}
/* booking status */
div.tag.bookingStatusTag-1 {
  background-color: #ff0000;
  color: #ffff66;
}
div.tag.bookingStatusTag-2 {
  background-color: #afd9f0;
  color: #363435;
}
div.tag.bookingStatusTag-3 {
  background-color: #2ba94d;
  color: #f9ffef;
}
div.tag.bookingStatusTag-4 {
  background-color: #6c6c6c;
  color: #fff;
}
div.tag.bookingStatusTag-5 {
  background-color: #fd7d0b;
  color: #ffe3e3;
}
div.tag.bookingStatusTag-8 {
  background-color: #854f61;
  color: #fde9f4;
}

/** colour picker **/
.colourPickerSingleTable {
  margin: 2px 0px;
}
.colourPickerSingleTable td {
  vertical-align: top;
}
.checkbox-container .colourPickerSingleTable td {
  vertical-align: middle;
}
.colourPickerSingleContainer {
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}
.hexbox {
  border: solid 1px #ccc;
  font-size: 1px;
  background-color: #fafafa;
}
.hexbox:hover {
  border: solid 1px #999;
}

/* yui styles */
.yui-skin-sam .yui-ac-content li.yui-ac-highlight {
  background-color: #d9d9d9 !important;
  color: #000000 !important;
}
.yui-skin-sam .yui-ac-input {
  position: static !important;
  vertical-align: middle !important;
  background: #fff url("/images/ac-search.gif") no-repeat right center;
}
.yui-skin-sam .yui-ac-input.loading {
  background: #fff url("/images/loading_indicator.gif") no-repeat right center;
}
.yui-skin-sam .yui-ac-container {
  left: 0px !important;
}
.ygtvlabel,
.ygtvlabel:link,
.ygtvlabel:visited {
  background-color: transparent;
  color: black;
}
.ygtvlabel:hover {
  background-color: transparent;
  color: #1d4a95;
}
/* timefield autocomplete */
form dd.timeSelect div.yui-ac-content li {
  display: block;
  text-align: left;
}
form dd.timeSelect .yui-ac-bd {
  width: 100%;
}
.timeSelect .yui-ac-input {
  background-image: none;
}
/* search autocomplete */
.contact-search .yui-ac-content li,
.dynamic-search .yui-ac-content li,
.location-search .yui-ac-content li {
  display: block;
  padding: 4px;
  font-size: 13px;
  line-height: 17px;
}
.contact-search .yui-ac-content li,
.dynamic-search .yui-ac-content li {
  height: 34px;
}
.contact-search .yui-ac-content li:hover,
.dynamic-search .yui-ac-content li:hover,
.location-search .yui-ac-content li:hover {
  background: #f5f5f5 !important;
}
.contact-search .yui-ac-content li span.text,
.dynamic-search .yui-ac-content li span.text,
.location-search .yui-ac-content li span.text {
  display: block;
  width: auto;
  font-weight: bold;
}
.contact-search .yui-ac-content li span.text,
.dynamic-search .yui-ac-content li span.text {
  padding-left: 40px;
}
.contact-search .yui-ac-content li span.text span,
.dynamic-search .yui-ac-content li span.text span,
.location-search .yui-ac-content li span.text span {
  display: block;
  font-weight: normal;
  color: #999;
}
.contact-search .yui-ac-content li span.icon,
.dynamic-search .yui-ac-content li span.icon,
.location-search .yui-ac-content li span.icon {
  display: block;
  position: absolute;
  background-color: #fff;
  width: 34px;
  height: 34px;
  margin: 0px 8px 0px 0px;
}
.contact-search .yui-ac-content li span.icon,
.dynamic-search .yui-ac-content li span.icon {
  background-image: url(/images/search-icons.gif);
}
.contact-search .yui-ac-content li span.icon.loading,
.location-search .yui-ac-content li span.icon.loading {
  background: #fff url(/images/loader.gif);
}
.contact-search .yui-ac-content li span.icon.no-results {
  background: #fff;
}
.contact-search .yui-ac-content li span.contact {
  background-position: 0px 34px;
}
.contact-search .yui-ac-content li span.company {
  background-position: 0px 0px;
}
.contact-search .yui-ac-content,
.dynamic-search .yui-ac-content {
  min-height: 230px !important;
}
.yui-ac-content span.ac-separator {
  font-weight: bold;
}

/* MultipleSelectReplacement Styles */

.multi-checkbox dd .checkbox-container:hover,
.multi-checkbox dd .checkbox-container.checked:hover {
  background-color: var(--multi-container-active);
}
.multi-checkbox dd .checkbox-container.checked {
  background-color: var(--multi-container-active);
}

.MultipleSelect {
  border: 1px solid var(--multi-container-border);
  background: var(--multi-container-bg);
}
.MultipleSelect li.optgroup {
  font-style: italic;
  font-weight: bold;
  border-bottom: 1px solid var(--multi-container-border);
}
.MultipleSelect li {
  cursor: pointer;
  border-bottom: 1px solid var(--multi-container-border);
}
.MultipleSelect li input {
  display: inline-block;
  margin-top: 1px;
}
.MultipleSelect li span {
  display: inline-block;
  vertical-align: top;
  width: 200px;
}
.MultipleSelect li label {
  font-size: 11px !important;
}
.MultipleSelect li:hover,
.MultipleSelect li.checked:hover {
  background-color: var(--multi-container-active);
}
.MultipleSelect li.checked {
  background-color: var(--multi-container-border);
}
.MultipleSelectGroup div {
  font-weight: bold;
  font-style: italic;
}
.MultipleSelect li.MultipleSelectGroup {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}
.MultipleSelect .SelectedRow {
  background: var(--multi-container-active);
  border-bottom: 1px solid var(--multi-container-border);
  color: #fff;
}
.multi-selectall,
.multi-selectnone {
  display: inline;
  margin-right: 10px;
}
.multi-select {
  display: block;
  padding-bottom: 4px;
}

/* buttons */
button,
.buttons {
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.help-bubble-container h1,
.help-bubble-container p {
  max-width: 200px;
}
.help-bubble-box {
  border: 0px solid #696;
  padding: 10px 0;
  text-align: center;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: #666 1px 3px 10px;
  -moz-box-shadow: #666 0px 2px 3px;
  box-shadow: #666 0px 2px 3px;
  background: #fff;
  background: -webkit-gradient(linear, 0% 50%, 0 bottom, from(#fff), to(#eee));
  background: -moz-linear-gradient(#ffffff, #ffffff);
  background: linear-gradient(#ffffff, #ffffff);
  -pie-background: linear-gradient(#ffffff, #ffffff);
  z-index: 0;
  position: relative;
  behavior: url(/css/PIE.htc);
}

.help-bubble-box h1 {
  background: none;
  line-height: 14px;
  font-size: 12px;
  text-align: left;
  margin: 0;
  font-weight: bold;
}
.help-bubble-box p {
  background: none;
  line-height: 16px;
  font-size: 12px;
  margin: 0px 10px;
  text-align: left;
}
.help-bubble-footer {
  text-align: left !important;
  padding: 5px 0 3px 10px;
}

.up-right .help-bubble-triangle {
  background: url(/images/help-arrow-up.png) 0 0 no-repeat;
  width: 33px;
  height: 17px;
  position: absolute;
  right: 15px;
  top: -17px;
}
.up-left .help-bubble-triangle {
  background: url(/images/help-arrow-up.png) 0 0 no-repeat;
  width: 33px;
  height: 17px;
  position: absolute;
  left: 15px;
  top: -17px;
}
.left-top .help-bubble-triangle {
  background: url(/images/help-arrow-left-top.png) 0 0 no-repeat;
  width: 17px;
  height: 33px;
  position: absolute;
  left: -17px;
  top: 15px;
}
.left-bottom .help-bubble-triangle {
  background: url(/images/help-arrow-left-bottom.png) 0 0 no-repeat;
  width: 17px;
  height: 33px;
  position: absolute;
  left: -17px;
  bottom: 15px;
}

.up-right .help-bubble-box {
  margin: 15px 0 0 0px;
}
.up-left .help-bubble-box {
  margin: 15px 0 0 0px;
}
.left-top .help-bubble-box {
  margin: -20px 0 0 10px;
}
.left-bottom .help-bubble-box {
  margin: 20px 0 0 10px;
}

/*----- start: big file uploads -----*/

.qq-uploader {
  position: relative;
  width: 100%;
}

.qq-upload-button {
  display: block; /* or inline-block */
  width: 105px;
  text-align: center;
  padding: 2px 0px;
  height: 16px;
}

.qq-upload-drop-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 70px;
  z-index: 2;
  background: #ff9797;
  text-align: center;
}
.qq-upload-drop-area span {
  display: block;
  position: absolute;
  top: 50%;
  width: 100%;
  margin-top: -8px;
  font-size: 16px;
}
.qq-upload-drop-area-active {
  background: #ff7171;
}

.qq-upload-list {
  margin: 15px 35px;
  padding: 0;
  list-style: disc;
}
.qq-upload-list li {
  margin: 0;
  padding: 0;
  line-height: 15px;
  font-size: 12px;
}
.qq-upload-file,
.qq-upload-spinner,
.qq-upload-size,
.qq-upload-cancel,
.qq-upload-failed-text {
  margin-right: 7px;
}

.qq-upload-file {
}
.qq-upload-spinner {
  display: inline-block;
  background: url("/images/loading_indicator.gif");
  width: 15px;
  height: 15px;
  vertical-align: text-bottom;
}
.qq-upload-size,
.qq-upload-cancel {
  font-size: 11px;
}
.qq-upload-prog-holder {
  width: 200px;
  border: 1px solid #666;
  padding: 1px;
  display: none;
}
.qq-upload-prog-bar {
  height: 10px;
  background-color: #06f;
  width: 50%;
}

.qq-upload-failed-text {
  display: none;
}
.qq-upload-fail .qq-upload-failed-text {
  display: inline;
}

/*----- end: big file uploads -----*/

/* base app boxes */
.baseapp-box {
  margin-bottom: 10px;
}
.baseapp-box .outer-box {
  margin: 0px 0px 0px 0px;
  border: 1px solid #e0e0e0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
.baseapp-box h2.box-heading {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin: 0px;
  padding: 9px 10px 3px 6px;
}
.baseapp-box .inner-box {
  margin: 4px;
}

.alertBox {
  min-height: 50px;
  padding-left: 50px;
  margin: 10px 0px 0px 10px;
  background: #fff url("/images/warning_ico.png") no-repeat left center;
}

.pagination {
  text-align: center;
}

#create-new-link {
  background-position: right 50%;
}

.attentionGrab {
  border: 1px solid #f4d09c;
  background-color: #ffedd5;
  padding: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}
.attentionGrab .highlight {
  float: left;
  display: inline;
  margin-right: 5px;
  background-color: #bbbbbd;
  font-size: 18px;
  font-weight: bold;
  padding: 11px 5px;
  min-width: 33px;
  text-align: center;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.attentionGrab .info {
  float: left;
  color: #444;
}
.attentionGrab .info h2 {
  font-size: 14px;
  font-weight: bold;
}
.attentionGrab .info p {
  margin: 0px;
  font-size: 12px;
}

/* help video styles */
.video-thumb-holder {
  position: relative;
  cursor: pointer;
  width: 138px;
  height: 97px;
  margin-left: -10px;
  border: 3px solid #fff;
  -webkit-box-shadow: #666 2px 2px 14px;
  -moz-box-shadow: #999 1px 1px 4px;
  box-shadow: #666 2px 2px 8px;
  margin-top: 10px;
}
.video-thumb-overlay {
  width: 82px;
  height: 67px;
  background: url(images/wc-button-play.png) 0 0 no-repeat;
  position: absolute;
  left: 40px;
  top: 22px;
}
.video-thumb-overlay:hover {
  background: url(images/wc-button-play.png) -82px 0 no-repeat;
}
.wc-help-box {
  background: #eee;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
.wc-help-point-holder {
  background: 0 0 no-repeat;
}
.wc-help-point {
  border-collapse: collapse;
  vertical-align: middle;
}
.wc-help-box h1 {
  font-size: 15px;
  background: none;
  font-weight: bold;
}
.wc-help-box h2 {
  font-size: 12px;
  font-weight: bold;
  background: none;
  text-indent: 0px;
}
.wc-help-box p,
.wc-help-box li {
  font-size: 12px;
  color: #222;
}
.printOnly {
  display: none;
}
.yuimenuitemlabel {
  padding: 5px 15px;
}
.yuimenuitem a.yuimenuitemlabel-disabled {
  cursor: default;
  color: #b9b9b9;
  text-decoration: none;
}
.yuimenubar li.first-of-type,
.yuimenu li.first-of-type {
  border: none;
}
.chart-box {
  height: 200px;
  background-color: #fafafa;
  margin-bottom: 10px;
  border: 10px solid #eee;
  padding: 10px;
}

.baseapp-form {
  /*border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    padding: 10px;*/
}

/* Changelog Form */
#ChangeLogNoteForm .SubmitButton {
  display: none;
}

/* Webkit reset */
select, input {
  -webkit-border-radius: 0px;
  background: var(--input-bg);
  color: var(--input-font);
  font-family: var(--font-family);
}

/* Chrome autofill override;
In Chrome when you select a previously entered value from the autofill
dropdown it applies its own styles which can clash with dark mode themes.  */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
  transition: background-color 5000s ease-in-out 0s;
  -webkit-box-shadow: 0 0 0px 1000px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--input-font) !important;
  -webkit-background-clip: text !important;
  caret-color: var(--input-font) !important;
}

/* Translation Laguage */
form.form-element form.has-language {
  position: relative;
}
form div.translate-language {
  float: right;
  position: relative;
  right: 0;
  margin-bottom: 30px;
  width: auto;
  height: auto;
}
form div.translate-language dt {
  display: none;
}
form div.translate-language dd {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 75px;
  z-index: 1;
}
form div.translate-language dd#frmNotetranslationLanguage-element {
    top: 38px;
    right: 16px;
}
form div.translate-language dd select {
  width: inherit;
}
form div.translate-language .translationLanguage-bump {
  top: 5px;
  right: 55px;
  padding: 0 15px 0 0;
  border-right: 1px solid #ececec;
}
#DefaultBookingNoteForm.has-language .translate-language {
  top: 35px;
  right: 15px;
}
.label-info-small {
  font-size: smaller;
  font-style: italic;
  color: #787878;
}
.cke_chrome + span {
  display: block;
  margin-top: 10px;
  margin-bottom: 30px;
}

[id$="Submit-element"] {
  display: flex;
  gap: 8px;
}
p.empty-text {
    color: #aaa;
    user-select: none;
}

#invoiceFromEmailData-domainId-element{
  display: inline-flex;
  column-gap: 10px;
  margin-left: 10px;
}
#invoiceFromEmailData-domainId-prefix{
  padding-top: 8px;
}


/* Exclude documents from theming */
.page form dl {
  background: #fff !important;
  border-color: #fff !important;
}
.page .subform dl .form-element{
  border: none !important;
}
.page button{
  border-color: #333 !important;
  color: #333 !important;
}
.page .button.primary{
  color: #fff !important;
}
.page input{
  background: #fff;
  border-color: #ddd !important;
  color: #000 !important;
}