﻿
 
/**********************************************************
 * This is Generated Code
 * You should not modify this code as it may be overwritten.
 * Generated By Generative Objects 
 *********************************************************/
 
/**********************************************************
 * This is Generated Code
 * You should not modify this code as it may be overwritten.
 * Generated By Generative Objects 
 *********************************************************/

/* a {color: var(--go-text-dark); text-decoration: underline;}
a:hover {color: var(--go-text-dark); text-decoration: underline;} */

/****
POPUP
*/
#popupContainer {
    /*border: 1px solid #A6C9E2;*/
    background: var(--go-popup-bg-color);
    /* padding: 20px; */
    z-index: 2000;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    max-width: 60%;
    min-width: 20%;
    border-radius: 15px;
}

.confirm-popup-msg,
.alert-popup-msg {
    line-height: 1.5em;
    margin: 15px 0;
}

.alert-popup-msg .error-msg {
    font-style: italic;
}

/*****
FILTERS
******/
.uiContainer {
    position: relative;
}

.uiContainerWithBorder {
    position: relative;
    padding: 4px;
    border: solid 1px #cfe1e5;
    margin: 5px;
}

.uiSearchContainer {
    position: relative;
    /*padding: 4px;*/
    /*border: solid 1px #CFE1E5;*/
    margin-bottom: 1.5rem;
}

/* .filterFieldSelection {
     margin: 0 10px 10px 0;
 } */

.filterFieldSelection input {
    padding: 4px;
}

.filterFieldSelection.filterDateField input {
    width: 100px;
}

/*.filterFieldSetContent {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
}*/
.filterFieldSelection > label > span {
    margin-right: 5px;
}

.filterContentContainer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1 1 0%;
    -webkit-flex: 1;
    flex: 1;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.filterGroupContainer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-direction: column;
    /*For unknow rease, IE10 displays it as a row direction... Fixes a bug with overlapp */
    -webkit-flex-direction: row;
    flex-direction: row;
    max-width: 100%;
    margin: 5px 0;
    box-sizing: border-box;
}

.searchCommandsContainer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

/* .searchCommandsContainer button {
     margin-left: 10px;
     /*height: 28px;*/
/* }  */

/** BUTTONS **/
/*
.command-button-disabled {
color: #fff;
font-size: 1.000em;
font-weight: bold;
padding: 6px 14px;
margin: 6px;
box-shadow: 0 0 2px rgba( 0, 0, 0, 0.2), 0 -1px 0 rgba( 255, 255, 255, 0.2);
border: solid 0.02em #bdbdbd;
background: #bdbdbd;
cursor: default;
}
*/
/*.command-button {
color: #fff;
font-size: 1.000em;
padding: 6px 14px;
margin: 6px;
cursor: pointer;
background: #1565c0;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
border: none;
}
.command-button:hover {
background: #1976d2;
}
.command-button:active {
box-shadow: 1px 1px 4px black inset, 0 1px 0 rgba( 255, 255, 255, 0.4);
background: #0d47a1;
}
*/
.horizontalList {
    list-style: none;
    display: inline;
}

.horizontalList .command-button {
    margin-right: 5px;
}

.dropdown-menu {
    position: absolute;
    min-width: 160px;
    padding: 4px 0;
    z-index: 10000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.dropdown-menu a {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #333333;
    white-space: nowrap;
    cursor: pointer;
}

.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
}

.dropdown-menu a.ui-corner-all {
    border-radius: 0;
}

/** FORMS **/
.basicForm {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.form-field {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    margin: 0 0 10px;
}

.form-with-columns {
    display: flex;
    margin-bottom: 10px;
    margin-top: 20px;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    align-items: flex-start;
}

.form-column {
    flex-grow: 1;
    margin: 0 10px;
}

.form-column.three {
    max-width: 30%;
}

.form-field-tooltip {
    cursor: pointer;
    margin: 7px 5px;
    fill: var(--go-secondary);
    width: 20px;
}

.form-column .form-field {
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    /*align-items: center;*/
}

.form-field-label-zone {
    color: #37474f;
    /*font-weight: bold;*/
    cursor: text;
    font-size: 100%;
    /*margin-bottom: 5px;*/
    line-height: 1.5rem;
}

.form-field-label-zone.inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
}

.form-field-label-zone.inline .errorDescription {
    margin-left: 5px;
}

.form-field-control-container input {
    /*background-color: transparent;*/
    /*border: none;*/
    /*border-bottom: 1px solid #9e9e9e;*/
    /*border-radius: 0;*/
    /*outline: none;*/
    /*height: 1.5rem;*/
    width: 100%;
    font-size: 100%;
    /*padding: 0;*/
    /*box-shadow: none;*/
    /*-moz-transition: all .3s;
-o-transition: all .3s;
-webkit-transition: all .3s;
transition: all .3s;*/
}

.form-field-control-container input[type="checkbox"]:not(.form-check-input) {
    height: auto;
    margin: 0;
    width: auto;
}

.form-field-control-container.errorControl .errorDescription {
    margin-top: 4px;
}

.form-field-control-container.errorControl input {
    /*border-bottom: 1px solid red;*/
    border-color: red;
}

.form-field.view .form-field-control-container {
    /* min-height: 1.5rem; */
    line-height: 1.5rem;
    display: inline-block;
    /*border-bottom: 1px solid white;*/
    /*margin: 0 0 0 3px;*/
}

.form-field.edit .form-field-control-container {
    /*margin: 0 0 0 3px;*/
}

.form-column .form-field .form-field-control-container {
    /*margin-bottom: 2px;*/
    margin-left: 20px;
    flex-grow: 1;
}

.form-field.edit .form-field-control-container > div {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

/* Only for view mode: in edit mode, the direction is vertical */
.form-field.view .form-field-control-container > div .form-field-text.multiline {
    -ms-flex: 1 1 0%;
    -webkit-flex: 1;
    flex: 1;
}

/*.enum-field select {
	padding: 3px;
}*/
/*.enum-field select:disabled {
background-color: #e0e0e0;
border: 1px dotted rgba(0, 0, 0, 0.26);
}*/

.text-field.multiline {
    display: flex;
    display: -ms-flexbox;
    height: 100%;
}

.form-field-label-zone.inline .form-field-control-container,
.form-field-label-zone .form-field-control-container {
    margin-left: 15px;
    height: auto;
    line-height: normal;
}

/*.form-field-control-container input:disabled, .form-field-control-container input[readonly="readonly"] {
color: rgba(0, 0, 0, 0.26);
border-bottom: 1px dotted rgba(0, 0, 0, 0.26);
}
.form-field-control-container input:disabled + label, .form-field-control-container input[readonly="readonly"] + label {
color: rgba(0, 0, 0, 0.26);
}*/
/*.form-field-control-container input:focus:not([readonly]) {
border-bottom: 1px solid #0d47a1;
box-shadow: 0 0.5px 0 0 #0d47a1;
}*/
/*.form-field-control-container input[type="checkbox"]:focus:not([readonly]) {
border: none;
box-shadow: none;
}
*/
.form-field-control-container input:focus:not([readonly]) + .form-field-label-zone {
    /*color: #0d47a1;*/
}

.no-data-message {
    font-style: italic;
    margin-bottom: 1rem;
}

/** TABS **/
.tabwrapper {
    position: relative;
    width: 100%;
}

/*ul.tabs {*/
/*margin: 0;
padding: 0;
list-style: none;
*/
/*padding-bottom: 31px;*/
/*}*/
/*ul.tabs li {*/
/*float: left;
height: 30px;
line-height: 28px;
*/
/*-webkit-box-shadow:  0 -2px 5px 0 rgba(0, 0, 0, 0.16), 0 -2px 10px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 -2px 5px 0 rgba(0, 0, 0, 0.16), 0 -2px 10px 0 rgba(0, 0, 0, 0.12);*/
/*margin: 0 6px 0 0;
border-bottom: 1px solid #37474f;
border-top: 0.1em solid #45484D;
border-left: 0.1em solid #45484D;
border-right: 0.1em solid #45484D;
background: #37474f; /* Old browsers */
/*}*/
/*ul.tabs li.active {*/
/*position: relative;
z-index: 2;
border-bottom: 1px solid white;
border-top: 0.1em solid #E7E7E7;
border-left: 0.1em solid #E7E7E7;
border-right: 0.1em solid #E7E7E7;
background: #fff;
*/
/*}*/
/*ul.tabs li a {*/
/*text-decoration: none;
font-size: 12px;
display: block;
color: #fff;
padding: 0 16px;
font-weight: bold;
*/
/*}*/
/*ul.tabs li.active a {*/
/*color: #000;*/

/*.tabs-container {*/
/*border: 0.1em solid #E7E7E7;*/
/*border: 0;
background-color: #fff;
padding: 1rem 0;
position: relative;
clear: both;
*/
/*}*/

/*** LOOKUP OVERRIDE ***/
.ui-treeautocomplete-comboboxwrapper {
    margin-top: 0;
}

.ui-treeautocomplete-wrapper {
    position: relative;
    width: auto;
}

.ui-treeautocomplete-input,
.ui-treeautocomplete-input:focus {
    /*padding-left:0;*/
}

.formEditLookupFieldControl {
    width: auto;
    padding: 0;
    margin: 0;
    display: -ms-flexbox;
    /*display: flex;*/ /*causing issues with dropdown*/
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    border: 0;
}

.formEditLookupFieldControl .ui-treeautocomplete-input {
    width: calc(100% - 20px) !important;
}

.formEditLookupFieldControl-withbutton {
    width: auto;
}

.formEditLookupFieldControl-withbutton .formEditLookupFieldControl-button:last-child {
    margin: 0;
    text-align: right;
}

.formEditLookupFieldControl-button {
    display: block;
    vertical-align: inherit;
    margin: 0;
    width: auto;
    text-align: right;
    padding: 0;
}

.formEditLookupFieldControl-button button {
    width: 25px;
    height: 25px;
    display: inline-block;
    padding: 6px;
    margin: 3px 2px;
}

.lookupFieldWrapper {
    display: block;
    vertical-align: middle;
    -ms-flex: 1 1 0%;
    -webkit-flex: 1;
    flex: 1;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .ui-treeautocomplete-input,
    .ui-treeautocomplete-input:focus {
        /*padding: 0;*/
    }
}

/*** GRID *** */
.grid-header {
    background-color: #37474f;
    /* Old browsers */
    background-image: none;
    filter: none;
}

.grid-header-wrapper {
    background-color: #37474f;
    /* Old browsers */
    background-image: none;
    filter: none;
}

.grid-content table tr:hover {
    background-color: #e3f2fd;
}

.grid-content table tr.currenttr {
    background-color: #1565c0;
    background-image: none;
    filter: none;
    color: white;
}

.grid-content table tr.currenttr a {
    color: white;
}

.gridCommandContainer {
    margin-top: 7px;
}

.titleText {
    font-weight: bold;
    color: #37474f;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*** LIST ***/
.list-command a {
    color: #b71c1c;
}

.list-command a:hover {
    text-decoration: underline;
}

.sublist-field h2,
.subgrid-field h2 {
    /*color: #757575;*/
    /*font-size: 1.2em;*/
}

/* CUSTOM GRID */
.gridControl td.sortableCol {
    padding-right: 15px;
    /* For sorting arrow */
}

.gridControl th.ui-grid-header-container {
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 15px;
    /* For sorting arrow */
}

. .data-grid-container {
    padding-right: 0px;
    width: 100%;
    margin-bottom: -1px;
    /* -1px so there is no gap between the grid & the pagination */
    /* border: 1px solid var(--go-border-color); */
    /* border-radius: 10px 10px 0 0; */
    /* for responsive and fixed header */
    /*overflow: auto;
width: auto;
*/
}

.data-grid {
    width: 100%;
    padding-left: 0;
    /*border-collapse: separate;*/
    table-layout: fixed;
    word-break: normal;
    overflow-wrap: break-word;
    margin-bottom: 0;
    background-color: transparent;
}

.data-grid thead th {
    font-weight: 500;
    color: var(--fleet-xq-th-text-color);
    border: 0;
    background-clip: padding-box;
    /* FF fix */
}

.data-grid.fixed-header thead th {
    /* fixed header */
    position: sticky;
    top: 0;
    z-index: 1;
    /* bottom border as box-shadow for fixed header, otherwise border scroll */
    box-shadow: inset 0 -1px 0 0 var(--go-border-color);
}

/*.data-grid thead th.ui-grid-sort-s,
.data-grid thead th.ui-grid-sort-n {
color: #fff;
}
*/
.data-grid tbody {
    /*border: 1px solid #ccc;*/
    /*border-top: 0;*/
    /*font-family: 'Open Sans', sans-serif;*/
    background-color: #fff;
}

/* .data-grid tbody tr:nth-child(2n),
 .data-grid tbody tr:nth-child(2n)>* {
     background-color: #fafafa;
     /*--bs-table-accent-bg: #fafafa;*/
/* } */

/* .data-grid tbody tr:hover,
 .data-grid tbody tr:hover>* {
     background-color: var(--go-table-hover-color);
     /*--bs-table-accent-bg: var(--go-table-hover-color);*/
/* transition: all 0.2s ease-in; */
/* } */

/* .data-grid tbody tr:hover a {
     color: var(--fleet-xq-light);
 } */

/* .data-grid tbody tr.currenttr,
 .data-grid tbody tr.currenttr>*,
 .data-grid tbody tr.currenttr a {
     background-color: var(--go-table-selected-color);
     color: #fff;
 } */

.data-grid tbody tr.currenttr:hover,
.data-grid tbody tr.currenttr:hover td,
.data-grid tbody tr.currenttr:hover a {
    color: #fff;
}

.data-grid thead th,
.data-grid tbody td {
    padding: 10px;
    text-align: left;
    cursor: pointer;
}

.data-grid td {
    /*color: #444;*/
    /*font-weight: 500;*/
}

.data-grid th.number,
.data-grid td.number {
    text-align: right;
}

.data-grid .isInt {
    text-align: right;
}

/* pagination */
.gridCommandContainer {
    margin-top: 0px;
    /*border: 1px solid var(--go-border-color);*/
    border-top: 0;
    /*border-radius: 0 0 10px 10px;*/
    border-radius: 10px;
    /*background-color: #fff;*/
    /*padding: 0rem 1rem 0;*/
    margin-bottom: 20px;
}

.gridCommandContainer > div {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gridCommandContainer .grid-count-label {
    padding: 10px 10px 10px 0;
}

.gridCommandContainer .grid-count-label span {
    font-size: 13px;
    font-weight: 600;
}

.gridCommands button {
    margin-left: 15px;
}

.gridCommandContainer button {
    margin: 10px 0;
}

.grid-pagination-container,
.gridbuttonscontainer > h3 {
    display: inline-block;
    vertical-align: middle;
    *display: inline;
    *zoom: 1;
}

.grid-pagination {
    text-align: center;
    /*border: 1px solid var(--go-border-color);
border-top:0;
border-radius: 0 0 10px 10px;
background-color: #fff; 
margin-bottom: 15px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.grid-pagination li {
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
}

.grid-pagination .disabled {
    cursor: not-allowed;
}

.invisible {
    visibility: hidden;
}

/*.gridbuttonscontainer > h3 {
padding:7px;
}*/

/* .grid-pagination .currentPage {
border-bottom: solid 3px var(--go-pink);
color: var(--go-pink);
font-weight: 600;
}

.page-numbers {
font-size: 15px;
padding: 15px 10px;
min-width: 40px;
color: var(--go-label-color);
border-bottom: solid 3px transparent;
}

.page-numbers:hover{
border-bottom: solid 3px var(--go-accent-color-nav);
color: var(--go-text-dark);
}
.page-controls {
	fill: var(--go-label-color);
}
.page-controls:hover {
	fill: var(--go-text-dark);
} */

/* Keep the same space between page numbers & controls */
.grid-pagination > * {
    min-width: 40px;
}

/*.page-controls:nth-child(0),
.page-controls:nth-child(1){
margin-right: 4px;
}
.page-controls:nth-child(2),
.page-controls:nth-child(3){
margin-left: 4px;
}
*/

/* image in grid */
.imageThumbnail {
    width: 80px;
}

.go-chart {
    max-height: 300px;
    height: 300px;
}

.go-chart {
    max-height: 300px;
    height: 300px;
}

/* Document Field 'Clear uploaded content' button */
.button-clear-document-field {
    color: #800000;
    font-size: 1em;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: -22px;
    cursor: pointer;
    background: #d3d3d3;
    box-shadow:
        0 2px 5px 0 rgba(0, 0, 0, 0.16),
        0 2px 10px 0 rgba(0, 0, 0, 0.12);
    border: solid 0.02em #bdbdbd;
    float: right;
}

.button-clear-document-field:hover {
    background: #dcdcdc;
}

.button-clear-document-field:active {
    box-shadow:
        1px 1px 4px black inset,
        0 1px 0 rgba(255, 255, 255, 0.4);
    background: #dcdcdc;
}

/* Hide the ugly/misleading "No file chosen" text */
input[type="file"] {
    color: transparent;
}

/* show/hide grid filter float right and up a bit */
.button-show-hide-grid-filter {
    float: right;
    margin-top: -22px;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: grey;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: -5px;
    opacity: 0;
    transition: opacity 1s;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 0.8;
}

.ui-tooltip {
    color: #fff;
    border: 0;
    box-shadow: none;
    background: none;
    background-color: var(--go-secondary);
    opacity: 1;
}

/* icon search/clear button size adjustment */
.iconSizeAdjust button {
    height: 36px;
}

/* Image Cropper */
.image-cropper-zone .material-icons {
    font-size: 14px;
}

.image-cropper-zone .command-button {
    padding: 6px;
}

.image-preview {
    max-width: 200px;
}

.ui-widget-content {
    border-color: var(--go-ui-border-color);
}

.ui-widget {
    font-family: var(--bs-font-sans-serif);
    font-size: var(--bs-body-font-size);
}

.ui-state-focus,
.ui-widget-content .ui-state-focus {
    background: none;
    background-color: var(--go-hover);
    border-color: var(--go-hover);
    color: #fff;
}

.lookup-field .ui-widget {
    padding: 1px;
    border-radius: 0 0 4px 4px;
    left: -1px !important;
    width: calc(100% + 2px) !important;
    /*overflow-y: scroll;*/
}

.lookup-field a,
.lookup-field a:hover {
    text-decoration: none;
    border-radius: 0;
}

.uiContainer.small-grid {
    max-width: 900px;
}

.range-slider {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: unset !important;
  width: 100%;
  height: 60px !important;
}

.range-slider__range {
  -webkit-appearance: none;
  width: 100%;;
  height: 10px;
  border-radius: 5px;
  background: darkgrey;
  outline: none;
  padding: 0;
  margin-top: 10px;
}
.range-slider__range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #5FCDE8;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}
/* .range-slider__range::-webkit-slider-thumb:hover {
  background: #1abc9c;
}
.range-slider__range:active::-webkit-slider-thumb {
  background: #1abc9c;
} */
.range-slider__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #5FCDE8;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}
/* .range-slider__range::-moz-range-thumb:hover {
  background: #1abc9c;
}
.range-slider__range:active::-moz-range-thumb {
  background: #1abc9c;
} */
.range-slider__range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1abc9c;
}
.range-slider__value {
  display: inline-block;
  position: relative;
  width: 60px !important;
  color: #fff;
  height: 30px;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  background: #2c3e50;
  padding: 5px 10px;
  margin-left: 8px;
}
.range-slider__value:after {
  position: absolute;
  top: 8px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: 7px solid #2c3e50;
  border-bottom: 7px solid transparent;
  content: '';
}

/* Adjustments for min and max text */
.range-slider__min-text,
.range-slider__max-text {
    position: absolute; /* Use absolute positioning for precise control */
    bottom: -80px; /* Adjust as needed to position below the slider */
    margin-bottom: 87px;
}

.range-slider__min-text {
    /* Align with the start of the slider */
   text-align: left;
}

.range-slider__max-text {
    text-align: right; /* Align with the end of the slider */
    padding-right: 70px !important;
}


.form-field.two-rows {
    flex-direction: column;
}

.form-field.two-rows > .form-field-label-zone {
    max-width: 950px;
}

.form-field.two-rows > .form-field-control-container {
    width: 100%;
    max-width: 950px;
}

/*** RULE EDITOR ***/
.expression-predicate,
.expression-consequence,
.expression-alternative {
    display: flex;
}

.expression-editor legend {
    background-color: #34495e;
    color: #fff;
    /*font-weight: bold;*/
    min-width: 60px;
    margin-bottom: 20px;
    /*height: 51px;*/
    /*line-height: 51px;*/
    text-align: center;
    /* height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around; */
    font-size: 16px;
    width: auto;
    border-radius: 4px;
    height: 39px;
    line-height: 39px;
}

.condition-item > .condition-remove {
    display: none;
}

.condition-form-inline {
    display: flex;
    align-items: center;
    padding: 0px 20px 0 10px;
    background-color: #95a5a6;
    /* previously #bbb, need to find a good color */
    color: #fff;
}

.condition-simple-value-container {
    display: flex;
}

/* Case where there is only a simple value, we hide the :before & add a margin bottom */
.subform-field .condition-simple-value-anchor .condition-simple-value {
    margin-left: 0px;
    margin-bottom: 20px;
}

.subform-field .condition-simple-value-anchor .condition-simple-value:before {
    display: none;
}

.subform-field .condition-simple-value-anchor .expression-content .condition-simple-value {
    margin-left: 20px;
    margin-bottom: 0px;
}

.condition-simple-value {
    display: flex;
    align-items: center;
    background-color: #27ae60;
    padding: 0px 10px;
    min-height: 39px;
    margin-left: 20px;
    position: relative;
    min-width: 200px;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    width: auto;
    max-width: 50%;
}

.condition-simple-value input {
    width: 100%;
}

.subform-field .condition-simple-value-anchor .predicate-content .condition-simple-value:before {
    content: "";
    display: block;
    width: 20px;
    /* same with indentation */
    height: 0;
    border-top: 4px solid #ddd;
    margin-top: -4px;
    /* border top width */
    position: absolute;
    top: 28px;
    left: -20px;
}

.condition-left-operand,
.condition-right-operand,
.condition-operator {
    margin: 10px;
}

.condition-left-operand {
    margin-left: 0;
}

.condition-group-item {
    border: 1px solid #dedede;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*
.condition-item a {
    display: inline-block;
    padding: 5px 10px 6px 10px;
    margin-left: 5px;
    border: 1px solid #dedede;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bfbfbf;
    background-color: #FFF;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#E9E9E9));
    background: -webkit-linear-gradient(top, #FFF, #E9E9E9);
    background: -o-linear-gradient(top, #FFF, #E9E9E9);
    line-height: 130%;
    color: #464646;
    text-decoration: none;
    border-radius: 11px;
    background-clip: padding-box;
    box-shadow: rgba(0,0,0,0.1) 0px 1px 1px;
}*/

input.rule-editor,
select.rule-editor {
    padding: 4px;
}

.expression-editor fieldset {
    padding: 4px;
    border-top: solid 1px #cfe1e5;
    border-left: solid 1px #cfe1e5;
    margin-bottom: 10px;
}

/*.expression-editor legend {
    padding: 0 5px;
}*/

.expression-editor > fieldset > .predicate-content {
    margin-left: 10px;
}

.expression-editor a.command-button {
    display: inline-block;
}

/* ARTHUR'S CSS */
/*.predicate-content{
    max-width: 700px;
}*/

.predicate-content,
.condition-item-group {
    padding: 0;
    list-style: none;
    color: #369;
    position: relative;
}

.condition-item-group {
    margin-left: 10px;
}

.condition-item-group:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: -15px;
    bottom: 0;
    left: 0;
    border-left: 4px solid #ddd;
}

.expression-editor .expression-editor {
    margin-left: 20px;
}

.expression-editor .expression-editor legend {
    position: relative;
}

.expression-editor .expression-editor .expression-predicate legend:before {
    content: "";
    display: block;
    width: 20px;
    height: 0;
    border-top: 4px solid #ddd;
    margin-top: -4px;
    position: absolute;
    top: 25px;
    left: -20px;
}

.predicate-content > .condition-anchor > .condition-group,
.condition-item {
    margin: 0;
    padding: 0 0px 0px 20px;
    /* indentation + .5em */
    line-height: 2em;
    /* default list item's `line-height` */
    font-weight: bold;
    position: relative;
}

.condition-item {
    display: flex;
}

.delete-icon {
    background: url("../Images/icon-delete.png") no-repeat center;
    width: 17px;
    height: 26px;
    background-size: cover;
}

.condition-remove-item,
.condition-operator-remove-item {
    padding: 11px 14px;
    background-color: #95a5a6;
    margin-left: 10px;
    border-radius: 4px;
}

.condition-remove-item.expression {
    display: none;
}

.condition-operator-remove-item.and {
    background-color: #c0392b;
    color: #fff;
    padding: 7px 11px;
}

.condition-operator-remove-item.or {
    background-color: #2980b9;
    color: #fff;
    padding: 7px 11px;
}

.condition-item:before {
    content: "";
    display: block;
    width: 20px;
    /* same with indentation */
    height: 0;
    border-top: 4px solid #ddd;
    margin-top: -4px;
    /* border top width */
    position: absolute;
    top: 25px;
    /* (line-height/2) */
    left: 0;
}

.expression-content .condition-group:before {
    content: "";
    display: block;
    width: 20px;
    /* same with indentation */
    height: 0;
    border-top: 4px solid #ddd;
    margin-top: -4px;
    /* border top width */
    position: absolute;
    top: 25px;
    /* (line-height/2) */
    left: 0;
}

/* TODO : Change the selector with an anchor class on .condition-item[data-bind*=ConditionGroupObject] */
.condition-item[data-bind*="ConditionGroupObject"]:visible:last-child .condition-group-anchor .condition-group:before {
    background: white;
    /* same with body background */
    height: auto;
    top: 44px;
    /* (line-height/2) */
    bottom: 0;
}

.condition-item:last-child:before {
    background: white;
    /* same with body background */
    height: auto;
    top: 25px;
    /* (line-height/2) */
    bottom: 0;
}

.condition-item.edit-mode:last-child:before {
    bottom: -27px;
    border-left: 4px dotted #ddd;
    width: 16px;
}

.condition-group-operator {
    padding: 0px 10px;
    margin: 0px 0px 15px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.condition-group-operator,
.condition-form-inline {
    width: auto;
    min-height: 39px;
    border-radius: 4px;
}

.condition-form-inline {
    margin: 0px 0px 15px;
    display: flex;
    align-items: center;
}

.condition-group-operator input,
.condition-form-inline input,
.condition-group-operator select,
.condition-form-inline select {
    /*min-height: 25px;*/
    border: 1px solid #ddd;
    padding: 2px 5px;
}

.condition-group-container {
    display: flex;
    justify-content: flex-start;
}

.condition-group-operator {
    color: #fff;
}

.condition-group-operator.and {
    background-color: #c0392b;
}

.condition-group-operator.or {
    background-color: #2980b9;
}

.condition-anchor > .condition-group > .condition-group-container .condition-operator-remove-item {
    display: none;
}

.condition-add-item {
    background-color: #91dc5a;
    padding: 10px;
    /*max-width: 20px;*/
    /*max-height: 20px;*/
    margin-bottom: 20px;
    text-align: center;
    font-size: 31px;
    line-height: 21px;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.container-condition-add-item {
    margin: 0;
    padding: 0 0px 0px 20px;
    line-height: 2em;
    position: relative;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.condition-add-item-icon {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    line-height: 24px;
}

.container-condition-add-item:before {
    content: "";
    display: block;
    width: 20px;
    height: 0;
    border-top: 4px dotted #ddd;
    margin-top: -4px;
    position: absolute;
    top: 27px;
    left: 0px;
}

.condition-group > .container-condition-add-item {
    margin-left: 10px;
}

.condition-group > .container-condition-add-item .dropdown {
    margin-top: 5px;
}

/**/

svg.bi.lookup-button {
    margin-top: -15px;
	vertical-align: unset !important; /*Added this to make sure svg aligns with all screen sizes*/
}

/* Meta 191 : field alignment */

.ui-treeautocomplete-wrapper {
    height: 1.75rem;
}

.ui-treeautocomplete-wrapper input {
    height: 1.7rem !important;
    padding: 0 0.5rem !important;
}

.formEditLookupFieldControl-button {
    padding: 0;
}

/*Commenting this out to align svg in the middle of the blue circle*/
/* .formEditLookupFieldControl-button button {
    width: 24px;
    height: 24px;
    display: inline-block;
    padding: 3px;
    margin: 2px;
} */

.formEditLookupFieldControl-button + .formEditLookupFieldControl-button button {
    margin-left: 1px;
}

.formEditLookupFieldControl-withbutton .ui-treeautocomplete-input {
    width: calc(100% - 15px) !important;
}

.formEditLookupFieldControl-withbutton .ui-treeautocomplete-input {
    width: calc(100% - 10px) !important;
    padding-right: 0 !important;
}

.form-field.view .form-field-control-container {
    line-height: 1.5;
}

.form-field-tooltip {
    margin: 6px 5px;
}

/* 
Yes / No buttons
*/

.btn-check:checked + .btn-outline-primary {
    color: #fff;
    background-color: #00A1FF;
    border-color: #00A1FF;
}

.btn:focus {
    box-shadow: none;
}

.btn.rounded-pill {
    padding: 0.75rem 2rem;
}

.btn[for=btn-yes] {
    margin-left: 0 !important;
}

    
.btn-check, .btn-check:focus, .btn-check:checked + label {
    box-shadow: none !important;
    outline: none !important;
}
            
.btn-check + label {
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px !important;
    font-weight: 400;
    min-width: 42px;
    color: #757575;
    border-color: #ced4da;
    background-color: #fff;
}  
