IMG:after {
  content: attr(alt);
}

.filter_bar .panel-body, .filter_bar .card-body {
  display: flex;
}

.filter_bar .panel-body div.field > label, .filter_bar .card-body div.field > label {
  flex-grow: 0;
  flex-basis: 20%;
}

#content form.filter_bar button.dropdown-toggle {
  padding: 0px;
}

#content form.filter_bar, #content form.filter_bar fieldset {
  margin: 1rem 0rem;
}

#content form.filter_bar legend {
  border-bottom: 1px solid #333;
  background: linear-gradient(#efefef, #ddd);
}

#content form.filter_bar div.advanced-filters-toggle {
  display: block;
  padding: 5px;
  border-top: 2px solid #0088a7;
  text-decoration: underline;
  color: #0088a7;
  cursor: pointer;
}

form.filter_bar .advanced-filters .accordion-button {
  padding: 10px;
  color: #222222;
}

form.filter_bar .accordion-button:not(.collapsed) {
  background-color: none;
  background: linear-gradient(#efefef, #ddd);
  border-bottom: 1px solid #6a6a6a;
}

form.filter_bar .accordion-item {
  border: none;
  border-top: 1px solid rgba(0,0,0,.125);
}

form.filter_bar input.filter-submit {
  float: right;
  font-size: 14px;
  padding: 3px 15px;
  border: 1px solid #6a6a6a;
  border-radius: 5px;
  background: linear-gradient(#22aac9, #0088a7);
  color: #FFFFFF;
}

form.filter_bar input.filter-clear {
  float: right;
  font-size: 14px;
  margin-left: 5px;
  padding: 3px 15px;
  border: 1px solid #818181;
  border-radius: 5px;
  background: linear-gradient(#f9f9f9, #d5d5d5);
}

form.filter_bar select.form-check-input {
  width: auto;
  height: auto;
  margin-top: 0;
  background-size: 12px;
  background-position-x: 90%;
  background-position-y: 50%;
}

form.filter_bar .accordion-button:focus {
  box-shadow: none;
}

form.filter_bar .accordion-button {
  background: linear-gradient(#efefef, #fff);
}

form.filter_bar div.input-group input.form-control {
  min-height: 38px;
}

#content form.filter_bar div.row {
  word-wrap: normal;
}

#content form.filter_bar .col-form-label {
  display: inline;
  padding: 0;
  margin-bottom: -15px;
}

form.filter_bar .advanced-filters .accordion-body {
  padding: 0;
}

[data-nested-association] thead th {
  background: linear-gradient(#e9fbff, #c4dfe5);
}

[data-nested-association] table {
  border-collapse: collapse;
  min-width: 20rem;
  width: 100%;
  font-size: inherit;
}

caption {
  caption-side: top;
  font-size: 1.5rem;
}

[data-nested-form] button.nested-add-form {
  border: 1px solid #189c00;
  border-radius: 5px;
  font-weight: bold;
  color: #FFF;
  font-size: 16px;
  background: linear-gradient(#00bb00, #189c00);
  padding: 5px 10px;
  margin-bottom: 10px;
}

[data-nested-form] button.nested-del-form {
  border: 1px solid #9c0000;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  color: #FFF;
  float: right;
  background: linear-gradient(#bb0000, #9c0000);
}

[data-nested-association] span[data-role="label"] {
  display: none;
}

[data-nested-association] tbody {
  border: none;
  border-bottom: 2px solid #0088a7;
}

[data-nested-association] th button {
  border: 2px solid #484848;
  border-radius: 5px;
  width: 35px;
  height: 35px;
  padding: 0;
  margin: 0;
}

[data-nested-association] th button.delete {
  border: 1px solid #9c0000;
  background: linear-gradient(#bb0000, #9c0000);
  color: #FFF;
}

[data-nested-association] th button.nested-add-row {
  border: 1px solid #189c00;
  background: linear-gradient(#00bb00, #189c00);
  color: #FFF;
}

div.nested-assoc table {
  width: 100%;
}

div.nested-assoc table thead tr {
  border: none;
  border-top: 1px solid #0088a7;
  border-bottom: 1px solid #0088a7;
}

div.nested-assoc table thead th {
  background: linear-gradient(#fff, #efefef);
  text-align: center;
}

div.nested-assoc table tbody {
  border-bottom: 2px solid #0088a7;
}

[data-nested-association] td[data-field="new_due_date"] > div {
  margin: 0!important;
  padding: 0!important;
}

[data-nested-association] td[data-field="description"] textarea {
  height: 38px;
}

[data-nested-association] div.input-group > select.form-control {
  width: auto;
  padding-right: 35px;
}

#content div.nested-bottom-margin {
  padding-bottom: 45px;
}

.content form .field input[type=text], .content form .field span[data-role="value"] {
  width: inherit;
}

.content fieldset div.nested-assoc {
  margin-bottom: 30px;
  overflow-x: scroll;
}

div.nested-assoc table {
  font-size: inherit;
}

div.nested-assoc table th.nested-action {
  text-align: center;
}

div[data-component="nested-association"] input[data-value-field$="_amount"] {
  min-width: 120px;
}

.ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 0;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 280px;
  margin: 0;
}

.ol-popup .ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

.ol-popup .ol-popup-closer:after {
  content: "✖";
}

.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup:before , .ol-popup:after {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup .popup-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}

#search_engine_cell {
  position: relative;
}

#search_engine_cell #search_engine_results {
  position: absolute;
  border: 1px solid lightgray;
  background-color: white;
}

#search_engine_cell #search_engine_results ul {
  width: 100%;
  padding: 0;
  list-style-type: none;
}

.filter_bar .panel-body, .filter_bar .card-body {
  display: flex;
}

.filter_bar .panel-body div.field > label, .filter_bar .card-body div.field > label {
  flex-grow: 0;
  flex-basis: 20%;
}

#content form.filter_bar button.dropdown-toggle {
  padding: 0px;
}

#content form.filter_bar, #content form.filter_bar fieldset {
  margin: 1rem 0rem;
}

#content form.filter_bar legend {
  border-bottom: 1px solid #333;
  background: linear-gradient(#efefef, #ddd);
}

#content form.filter_bar div.advanced-filters-toggle {
  display: block;
  padding: 5px;
  border-top: 2px solid #0088a7;
  text-decoration: underline;
  color: #0088a7;
  cursor: pointer;
}

form.filter_bar .advanced-filters .accordion-button {
  padding: 10px;
  color: #222222;
}

form.filter_bar .accordion-button:not(.collapsed) {
  background-color: none;
  background: linear-gradient(#efefef, #ddd);
  border-bottom: 1px solid #6a6a6a;
}

form.filter_bar .accordion-item {
  border: none;
  border-top: 1px solid rgba(0,0,0,.125);
}

form.filter_bar input.filter-submit {
  float: right;
  font-size: 14px;
  padding: 3px 15px;
  border: 1px solid #6a6a6a;
  border-radius: 5px;
  background: linear-gradient(#22aac9, #0088a7);
  color: #FFFFFF;
}

form.filter_bar input.filter-clear {
  float: right;
  font-size: 14px;
  margin-left: 5px;
  padding: 3px 15px;
  border: 1px solid #818181;
  border-radius: 5px;
  background: linear-gradient(#f9f9f9, #d5d5d5);
}

form.filter_bar select.form-check-input {
  width: auto;
  height: auto;
  margin-top: 0;
  background-size: 12px;
  background-position-x: 90%;
  background-position-y: 50%;
}

form.filter_bar .accordion-button:focus {
  box-shadow: none;
}

form.filter_bar .accordion-button {
  background: linear-gradient(#efefef, #fff);
}

form.filter_bar div.input-group input.form-control {
  min-height: 38px;
}

#content form.filter_bar div.row {
  word-wrap: normal;
}

#content form.filter_bar .col-form-label {
  display: inline;
  padding: 0;
  margin-bottom: -15px;
}

form.filter_bar .advanced-filters .accordion-body {
  padding: 0;
}

nav.navbar form {
  margin: 0;
}

nav.top-navbar ul.navbar-nav li a.nav-link {
  color: #FFFFFF;
}

nav.top-navbar {
  background: linear-gradient(#22aac9, #0088a7);
}

nav.top-navbar .dropdown-menu li > a > i {
  margin-left: 0;
}

nav.top-navbar ul.dropdown-menu.shadow-sm.show {
  background: linear-gradient(#007796, #0088a7 20px);
  padding-left: 0;
  margin-top: 14px;
}

nav.top-navbar .dropdown-menu li {
  padding-left: 0;
}

nav.top-navbar a.dropdown-item:hover {
  background: linear-gradient(349deg, #d9f9ff 0%, #ffffff 70%);
  color: #0087bd;
}

#content nav ul.dropdown-menu li {
  padding-left: 0;
}

#content nav ul.dropdown-menu li > a > i {
  margin-left: 0;
}

#content nav ul.dropdown-menu.shadow-sm.show {
  padding-left: 0;
}

#content ul.navbar-nav {
  padding-left: 10px;
}

nav.top-navbar ul.dropdown-menu {
  border: none;
  border-radius: 0px 0px 6px 6px;
}

nav.top-navbar a.dropdown-item {
  color: #FFFFFF;
}

nav.top-navbar ul.navbar-nav a.nav-link:focus, nav.top-navbar ul.navbar-nav a.nav-link:hover {
  color: #d3f7ff;
  text-shadow: #001a21 2px 2px 2px;
}

nav.navbar ul.navbar-nav li a.dropdown-item i {
  display: inline-block;
  width: 30px;
  text-align: center;
}

[data-nested-association] thead th {
  background: linear-gradient(#e9fbff, #c4dfe5);
}

[data-nested-association] table {
  border-collapse: collapse;
  min-width: 20rem;
  width: 100%;
  font-size: inherit;
}

caption {
  caption-side: top;
  font-size: 1.5rem;
}

[data-nested-form] button.nested-add-form {
  border: 1px solid #189c00;
  border-radius: 5px;
  font-weight: bold;
  color: #FFF;
  font-size: 16px;
  background: linear-gradient(#00bb00, #189c00);
  padding: 5px 10px;
  margin-bottom: 10px;
}

[data-nested-form] button.nested-del-form {
  border: 1px solid #9c0000;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  color: #FFF;
  float: right;
  background: linear-gradient(#bb0000, #9c0000);
}

[data-nested-association] span[data-role="label"] {
  display: none;
}

[data-nested-association] tbody {
  border: none;
  border-bottom: 2px solid #0088a7;
}

[data-nested-association] th button {
  border: 2px solid #484848;
  border-radius: 5px;
  width: 35px;
  height: 35px;
  padding: 0;
  margin: 0;
}

[data-nested-association] th button.delete {
  border: 1px solid #9c0000;
  background: linear-gradient(#bb0000, #9c0000);
  color: #FFF;
}

[data-nested-association] th button.nested-add-row {
  border: 1px solid #189c00;
  background: linear-gradient(#00bb00, #189c00);
  color: #FFF;
}

div.nested-assoc table {
  width: 100%;
}

div.nested-assoc table thead tr {
  border: none;
  border-top: 1px solid #0088a7;
  border-bottom: 1px solid #0088a7;
}

div.nested-assoc table thead th {
  background: linear-gradient(#fff, #efefef);
  text-align: center;
}

div.nested-assoc table tbody {
  border-bottom: 2px solid #0088a7;
}

[data-nested-association] td[data-field="new_due_date"] > div {
  margin: 0!important;
  padding: 0!important;
}

[data-nested-association] td[data-field="description"] textarea {
  height: 38px;
}

[data-nested-association] div.input-group > select.form-control {
  width: auto;
  padding-right: 35px;
}

#content div.nested-bottom-margin {
  padding-bottom: 45px;
}

.content form .field input[type=text], .content form .field span[data-role="value"] {
  width: inherit;
}

.content fieldset div.nested-assoc {
  margin-bottom: 30px;
  overflow-x: scroll;
}

div.nested-assoc table {
  font-size: inherit;
}

div.nested-assoc table th.nested-action {
  text-align: center;
}

div[data-component="nested-association"] input[data-value-field$="_amount"] {
  min-width: 120px;
}

[data-component="tabbed-container"] [role="tabpanel"].active, [data-component="tabbed-container"] fieldset.active {
  display: flex;
  flex-flow: wrap row;
}

[data-component="tabbed-container"] [role="tabpanel"]:not(.active) {
  display: none;
}

[data-component="tabbed-container"] , [data-component="tabbed-container"] [role="tablist"] {
  display: flex;
}

[data-component="tabbed-container"][data-orientation="left"] {
  flex-direction: row;
}

[data-component="tabbed-container"][data-orientation="left"] [role="tablist"] {
  flex-direction: column;
}

[data-component="tabbed-container"][data-orientation="top"] {
  flex-direction: column;
}

[data-component="tabbed-container"][data-orientation="top"] [role="tablist"] {
  flex-direction: row;
}

[data-component="tabbed-container"] [role="tablist"] {
  list-style: none;
  padding: 0;
  margin: 0 0 -1px 0;
  border: 0;
}

[data-component="tabbed-container"] [role="tablist"] li {
  display: block;
  padding: 0.5em;
  margin-left: 0;
  background-color: #fff;
  border: 2px solid #fff;
  border-bottom: 0;
}

[data-component="tabbed-container"] [role="tablist"] a {
  display: block;
  width: 100%;
  text-decoration: underline;
  color: #000000;
}

[data-component="tabbed-container"] [role="tablist"] > .active a {
  text-decoration-line: none;
  color: #FFF;
  cursor: default;
}

modal .modal-content {
  overflow-y: auto;
}

[data-component="tabbed-container"] .tab-content {
  background: radial-gradient(circle, #FFF 0%, #CCC 500%);
  border: 1px solid #6a6a6a;
  border-radius: 0px 0px 6px 6px;
}

[data-component="tabbed-container"] [role="tablist"] li {
  text-align: center;
}

[data-component="tabbed-container"] [role="tablist"] li.active {
  background: linear-gradient(#22aac9, #0088a7);
  font-weight: bold;
  color: #ffffff;
  cursor: default;
  border: 1px solid #6a6a6a;
  border-radius: 6px 6px 0px 0px;
  border-bottom: 0;
}

[data-component="tabbed-container"][data-orientation="top"] {
  flex-direction: column;
  margin: 15 0 15 0;
}

[data-component="tabbed-container"] .tab-content {
  padding: 15px;
}

[data-component="tabbed-container"] [role="tablist"] > .active a {
  color: #ffffff;
}

[data-component="tabbed-container"] [role="tablist"] a {
  color: #000;
}

[data-component="tabbed-container"] [role="tablist"] li {
  display: block;
  padding: 0.5em;
  margin-left: 0;
  background-color: #fff;
  border: 2px solid #fff;
  border-bottom: 0;
}

[data-nested-form] {

}

[data-nested-form] fieldset {
  border-bottom: 2px dotted #bbb;
  margin-bottom: 10px;
}

[data-nested-form] {
  border-bottom: 2px solid #bbb;
  margin: 10px 0px;
  padding-bottom: 10px;
}

[data-nested-form] button.nested-add-form {
  border: 1px solid #189c00;
  border-radius: 5px;
  font-weight: bold;
  color: #FFF;
  font-size: 16px;
  background: linear-gradient(#00bb00, #189c00);
  padding: 5px 10px;
  margin-bottom: 10px;
}

[data-nested-form] button.nested-del-form {
  border: 1px solid #9c0000;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  color: #FFF;
  float: right;
  background: linear-gradient(#bb0000, #9c0000);
}

fieldset.nested-forms > legend {
  font-size: 25px;
  font-weight: bold;
  padding: 5px 10px;
  text-align: center;
}

fieldset.nested-form > legend {
  font-size: 18px;
  font-weight: bold;
  padding: 5px 10px;
  border: 1px solid #6a6a6a;
  border-radius: 5px;
  background: linear-gradient(#fff, #efefef);
  margin: 20px 0px 10px 0px;
}

modal {
  position: absolute;
  display: flex;
  flex-flow: column;
  background-color: white;
  width: 80vw;
  height: 80vh;
  top: 10vh;
  left: 10vw;
  border: 1px solid;
  border-radius: 2px;
  z-index: 5;
}

modal .modal-title {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

modal .modal-close {
  cursor: pointer;
}

modal .modal-title, modal .modal-title > * {
  flex-basis: unset;
}

modal .modal-content {
  padding: 1rem;
}

#content div.input-group div.ss-main.form-control {
  border-radius: 5px;
  min-height: 38px;
}

#content form div.input-group .acl-add-link {
  border: 1px solid #189c00;
  border-radius: 5px;
  font-weight: bold;
  color: #FFF;
  font-size: 14px;
  background: linear-gradient(#00bb00, #189c00);
  padding: 5px 10px;
  margin-left: 10px;
  height: 38px;
  text-decoration: none;
  width: auto;
}

.query_builder ul:not([role="tablist"]), .query_builder ol:not([role="tablist"]) {
  display: flex;
  flex-flow: row wrap;
  list-style-type: none;
  margin-right: 5em;
  min-height: 2em;
}

.query_builder .sortable-placeholder {
  min-width: 5em;
}

.query_builder .model_columns_list a {
  display: none;
}

.query_builder #trash {
  border: 2px solid green;
  height: 3em;
  width: 3em;
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 33%;
  left: 250px;
  z-index: 1;
}

.query_builder #trash * {
  display: none;
}

.query_builder #trash:before {
  content: "\1F5D1";
  font-size: 3em;
  color: green;
}

.query_builder #trash.drop-target, .query_builder #trash.drop-target:before {
  border-color: red;
  color: red;
}

.query_builder .chart_builder th, .query_builder .chart_builder td {
  border: 1px solid lightgray;
  padding: 0;
  min-height: 50px;
  min-width: 200px;
  vertical-align: top;
}

.query_builder .chart_builder [data-container] {
  font-size: x-small;
  padding: 0;
  margin: 0;
}

.query_builder .chart_builder .chart_builder_cell {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.query_builder .chart_builder .chart_builder_cell > label {
  font-size: x-small;
  align-self: start;
}

.query_builder .chart_builder td:first-child, .query_builder .chart_builder th:first-child {
  max-width: 200px;
}

.query_builder #models > .models_list > ul {
  width: 30em;
  font-size: 0.6em;
}

.query_builder #models > .models_list {
  flex-basis: unset;
}

.query_builder #models > .models_list > ul > li:not(.active) {
  border: none;
}

.query_builder .query_builder_container {
  display: flex;
  flex-flow: row no-wrap;
}

.query_builder .query_builder_left_menu {
  flex-basis: 20%;
  padding-right: 0.2em;
}

.query_builder .column_list > div, .query_builder #select_columns, .query_builder #order_columns {
  border-radius: 3px;
  padding: 5px;
  margin: 0;
}

.query_builder .column_list ul, .query_builder #select_columns_list, .query_builder #order_columns_list {
  padding: 0;
  margin: 0;
}

.query_builder .column_list > div {
  border: lightgray 1px solid;
}

.query_builder #select_columns, .query_builder #order_columns {
  border: lightgray 2px dashed;
  border-radius: 5px;
}

.query_builder li[data-type="String"]:before {
  content: '\1f524';
}

.query_builder li[data-type="Text"]:before {
  content: '\1f521';
}

.query_builder li[data-type="Boolean"]:before {
  content: '\2705';
}

.query_builder li[data-type="Color"]:before {
  content: '\1f308';
}

.query_builder li[data-type="Nominal"]:before {
  content: '\1f518';
}

.query_builder li[data-type="Combination"]:before {
  content: '\1F523';
}

.query_builder li[data-type="Any Object"]:before {
  content: '\1F4A0';
}

.query_builder li[data-type="Date"]:before {
  content: '\1F4C5';
}

.query_builder li[data-type="Datetime"]:before {
  content: '\1f4c6';
}

.query_builder li[data-type="Time"]:before {
  content: '\1f552';
}

.query_builder li[data-type="Integer"]:before, .query_builder li[data-type="Float"]:before, .query_builder li[data-type="Decimal"]:before {
  content: '\1f522';
}

.query_builder li {
  cursor: grab;
  padding: 5px;
  border: 1px solid black;
  border-radius: 5px;
  margin: 2px;
}

.query_builder li:hover {
  border: 1px solid #382fa8;
  color: #382fa8;
}

.query_builder .query_builder_main {
  flex-basis: 50%;
}

.query_builder .query_builder_column_edit {
  flex-basis: 30%;
  border: lightgray 1px solid;
  border-radius: 3px;
  padding: 0.5em;
  margin: 0.2em;
}

#query_builder .modal-title h2 {
  margin-top: 0.2em;
}

#query_builder [data-component="calculator"] > .dropzone, #query_builder [data-component="calculator"] > .nodes {
  width: 100%;
}

.query_builder #trash.dragging {
  display: flex;
}

.chart_builder .pivottable td, .chart_builder .pivottable th, .embedded_chart .pivottable td, .embedded_chart .pivottable th {
  border: 1px solid black;
  min-width: 10px;
  min-height: 10px;
  text-align: center;
  padding: 2px;
}

.chart_builder .pivottable th, .embedded_chart .pivottable th {
  background-color: #D5D5D5;
}

[role="dashboard-element"] table.pivottable {
  width: 100%;
  border: 2px solid #0088a7;
  background: linear-gradient(#e9fbff, #c4dfe5);
  font-size: 14px;
}

[role="dashboard-element"] table.pivottable th {
  border-color: #FFFFFF;
  background: none;
  font-weight: initial;
}

[role="dashboard-element"] table.pivottable th.pivot-xvalue, [role="dashboard-element"] table.pivottable th.pivot-xlabel {
  background-color: #0088a7;
  color: #FFFFFF;
}

[role="dashboard-element"] table.pivottable th.pivot-yvalue, [role="dashboard-element"] table.pivottable th.pivot-ylabel {
  background-color: #0088a7;
  color: #FFFFFF;
}

[role="dashboard-element"] h3.table_title {
  font-size: 24px;
  color: #00647a;
  background-color: #e8faff;
  background: linear-gradient(#e8faff, #89c3d1);
  border: 2px solid #0088a7;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  margin: 0;
  padding: 10px 50px;
  font-weight: lighter;
  text-align: center;
}

div#query_builder div.models_list li {
  font-size: 14px;
  text-align: left;
}

.query_builder .sortable-placeholder {
  width: 5em;
  min-height: 2em;
}

[data-component="calculator"] .dropzone .sortable-placeholder {
  width: 100%;
  border: 2px red dashed;
  min-height: 2em;
}

.query_builder div#results .tab-content {
  overflow-x: scroll;
}

.query_builder .query_builder_main {
  width: 50%;
}

.query_builder div#results .tab-content table tbody {
  text-wrap: nowrap;
}

IMG:after {
  content: attr(alt);
}

.ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 0;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 280px;
  margin: 0;
}

.ol-popup .ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

.ol-popup .ol-popup-closer:after {
  content: "✖";
}

.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup:before , .ol-popup:after {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup .popup-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}

.tree_view ul {
  list-style: none;
}

.tree_view li.sortable-placeholder {
  border: 1px dashed red;
  height: 1em;
}

.tree_view > ul, .tree_view > ol {
  padding: 0;
}

.file_manager {
  display: flex;
  flex-flow: rows nowrap;
}

.workflow_editor .item {
  width: 100px;
  height: 40px;
  padding: 5px;
  border-radius: 7px;
  margin: 10px;
  text-align: center;
  position: absolute;
  border: 1.5px solid blue;
  background-color: rgba(0, 0, 255, 0.36);
  cursor: grab;
}

.workflow_editor .edge {
  color: black;
  background: white none repeat scroll 0% 0%;
  border: 1px solid black;
  z-index: 1;
}

.workflow_editor .endpoint svg circle {
  fill: transparent;
}

.workflow_editor .endpoint:hover svg circle {
  fill: rgb(68, 85, 102);
}

.workflow_editor .new_state {
  position: absolute;
  top: 5px;
  right: 5px;
}

.workflow_editor .item .delete {
  position: absolute;
  top: -5px;
  right: 0;
  cursor: pointer;
}

.workflow_editor .item.jtk-drag {
  cursor: grabbing;
}

.card .card-header {
  padding: 3px 8px;
}

.card legend {
  font-size: 1.2rem;
}

[data-component="collapsed-box"] {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin-left: auto;
  flex-basis: 200px;
  width: 200%;
}

[data-component="collapsed-box"] .hidden_box_button {
  -moz-background-clip: border;
  -moz-background-inline-policy: continuous;
  -moz-background-origin: padding;
  border: 1px solid gray;
  cursor: pointer;
  padding: 5px 5px 5px 5px;
  z-index: 3;
  display: flex;
  flex-flow: row nowrap;
}

[data-component="collapsed-box"] .collapsed-box-button:before {
  content: '⌄';
  font-size: 180%;
  font-weight: bold;
  margin: 0;
  padding-right: 0.5em;
  line-height: .5em;
  transform: rotate(-90deg) translate(5px, -5px);
  transition-duration: .5s;
  transition-property: transform;
  display: inline-block;
  overflow: hidden;
}

[data-component="collapsed-box"][data-behavior="hover"]:hover .collapsed-box-content, .collapsed-box[data-behavior="click"].expanded .collapsed-box-content {
  height: auto;
  border: revert !important;
  padding: revert;
}

[data-component="collapsed-box"] .collapsed-box-content {
  background-color: ghostwhite;
  opacity: 0.9;
  z-index: 3;
  position: absolute;
  top: 100%;
  min-width: 25rem;
  display: block;
  left: auto;
  right: 0;
  transition: height .3s ease;
  height: 0;
  overflow: hidden auto;
  border: 0 !important;
  padding: 0;
}

[data-component="collapsed-box"]:hover .collapsed-box-button:before {
  transform: rotate(0deg);
}

label.fe-input {
  margin: 0px;
  padding: 0px;
  min-width: 400px;
  display: table;
}

label.fe-input .fe-file {
  position: absolute;
  cursor: pointer;
  top: 0px;
  opacity: 0;
  width: 100%;
  height: 100%;
  left: 0px;
}

label.fe-input .text {
  padding: 5px;
  display: inline-block;
  width: 65%;
  max-width: 75%;
}

label.fe-input .actions {
  position: relative;
  padding-top: 5px;
  float: right;
  z-index: 10;
}

label.fe-input .filename {
  font-size: 1.1em;
  font-weight: normal;
}

label.fe-input .fileinfo {
  font-weight: normal;
}

label.fe-input .filemessage {
  font-weight: normal;
  color: red;
}

label.fe-input .progress {
  margin-bottom: 0px;
  width: 100%;
  height: 15px;
  display: none;
}

label.fe-input .actions i {
  font-size: 90%;
}

label.fe-input[data-style='show'] .fe-file {
  display: none;
  z-index: -50;
}

label.fe-input[data-style='show'] {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px;
}

label.fe-input[data-style='show'] .icon_file {
  float: left;
  margin-right: 5px;
}

label.fe-input[data-style='show'] .icon_upload {
  display: none;
}

label.fe-input[data-style='upload'] {
  position: relative;
  border: 2px dashed #C2CDDA;
  border-radius: 4px;
  padding: 10px;
  -webkit-transition: background-color .15s linear;
  transition: background-color .15s linear, opacity .15s ease;
}

label.fe-input[data-style='upload'] .icon_file {
  display: none;
}

label.fe-input[data-style='upload'] .icon_upload {
  float: left;
  margin: 8px 13px 8px 4px;
  fill: #4D67E9;
  width: 50px;
  height: 50px;
}

label.fe-input[data-style='upload'].is-dragover {
  border-color: #c8dadf;
  opacity: 0.5;
}

label.fe-input:not([data-action='delete']) .ui-icon-trash {
  display: none;
}

label.fe-input:not([data-action='delete']) .ui-icon-download {
  display: none;
}

label.fe-input:not([data-action='undo']) .ui-icon-undo {
  display: none;
}

.pagination .page-item.active > .page-link {
  background-color: #0076cb;
  border-color: #0076cb;
}

.pagination > li a {
  color: #0076cb;
}

.pagination > li a:hover {
  color: #0088a7;
}

nav ol.pagination li.page-item.active a.page-link {
  background-color: #0088a7;
  color: #FFFFFF;
}

.ck div {
  flex-basis: unset;
}

#content .rich-text-container, #content .rich-text-container > .ql-editor {
  height: fit-content;
}

#content .toast-container .bg-success div {
  color: #fff;
}

#content .toast-container .bg-success button.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#content .toast-header.bg-success {
  text-transform: capitalize;
  border-bottom: 1px solid #44b16f;
}

#content .toast-header.bg-warning {
  border-bottom: 1px solid #dda600;
  text-transform: capitalize;
  color: #333;
}

#content div#notifs {
  margin-right: 400px;
}

.file-enhancer input[type="file"] {
  position: absolute;
  cursor: pointer;
  top: 0px;
  opacity: 0;
  width: 100%;
  height: 100%;
  left: 0px;
}

.file-enhancer {
  position: relative;
  border: 1px solid #ced4da;
  border-radius: 4px;
  min-width: 15rem;
  transition: background-color .15s linear, opacity .15s ease;
}

.file-enhancer .file-enhancer-div {
  display: table;
}

.file-enhancer button {
  padding: .375rem .75rem;
  border-width: 0;
  border-inline-end-width: 1px;
  border-color: rgb(206, 212, 218);
  border-style: solid;
}

.file-enhancer span.actions {
  height: 100%;
  padding-right: 0.5rem;
  z-index: 2;
  position: relative;
  cursor: pointer;
}

.file-enhancer span.filename {
  padding-left: 0.4rem;
  padding-right: 0.7rem;
  max-width: 20rem;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.file-enhancer .file-enhancer-div > * {
  display: table-cell;
}

.file-enhancer span.actions .mdi::before {
  vertical-align: middle;
}

.file-enhancer:not([data-has-file='true']) span.actions [data-action="delete"] {
  display: none;
}

#adi-mappings thead th {
  font-weight: bold;
  border: 1px gray solid;
}

#adi-mappings tbody td {
  border: 1px #EEE solid;
}

#adi-mappings thead span + span.actions {
  border-left: 1px solid;
  padding-left: 0.25rem;
  margin-left: 0.25rem;
}

.adi_rules {
  list-style: none;
  padding: 0;
  width: 100%;
  overflow: auto;
  max-height: 11rem;
  user-select: none;
}

.adi_rules .adi_rule {
  border: 1px solid #ced4da;
  border-radius: .25rem;
  padding: .375rem .75rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.adi_rules .adi_rule.selected {
  border-color: blue;
}

.adi_rules_mover {
  flex-direction: column;
  flex-basis: 3rem;
  padding: 0.5rem;
}

#adi-mappings {
  overflow: auto;
}

#adi_options .card-body .col-md-2, #adi_options .card-body .col-md-10 {
  width: 50% !important;
}

.adi_rules_cont {
  flex-wrap: initial !important;
  display: flex;
}

.adi_rules_mover button {
  color: #6c757d;
  user-select: none;
  background-color: transparent;
  border: 1px solid #6c757d;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  margin-bottom: 0.2rem;
}

.adi_rules_mover button:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.adi_rules_mover button:disabled {
  color: #6c757d;
  background-color: transparent;
  border-color: #ced4da;
}

[data-component="calculator"] {
  display: flex;
  flex-flow: column wrap;
}

[data-component="calculator"] .nodes {
  display: flex;
  flex-flow: row wrap;
  width: 50%;
}

[data-component="calculator"] .nodes-group {
  border: 1px solid black;
  flex-basis: 33%;
}

[data-component="calculator"] ul.nodes-group-list {
  padding: 0;
  margin: 0;
  display: block;
  list-style-type: none;
}

[data-component="calculator"] > textarea {
  display: none;
}

[data-component="calculator"] .nodes-group > h4 {
  margin: 0;
  font-size: initial;
}

[data-component="calculator"] div, [data-component="calculator"] ul, [data-component="calculator"] li {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

[data-component="calculator"] .dropzone .node_argument:empty:before {
  content: "["attr(data-placeholder)"]";
  color: #686868;
}

[data-component="calculator"] .dropzone .node_argument.drop-sibling:empty {
  border: 2px red dashed;
}

[data-component="calculator"] .dropzone .node_argument {
  margin-left: 10px;
  min-height: 10px;
  min-width: 60px;
}

[data-component="calculator"] .dropzone .node.drop-sibling {
  border: dashed 2px red;
  border-bottom: solid 2px red;
}

[data-component="calculator"] .node[data-sid="or"] {
  border-color: #567a29;
}

[data-component="calculator"] .dropzone .node[data-sid="and"] > .node_name {
  color: #1957ab;
}

[data-component="calculator"] .dropzone .node[data-sid="or"] > .node_name {
  text-transform: uppercase;
  color: #567a29;
  font-weight: 600;
}

[data-component="calculator"] .node[data-sid="predicate"] {
  border-color: #02a9bb;
}

[data-component="calculator"] .node[data-sid="not"] {
  border-color: #d37c00;
}

[data-component="calculator"] .dropzone .node[data-sid="not"] > .node_name {
  text-transform: uppercase;
  color: #d37c00;
  font-weight: 600;
}

[data-component="calculator"] .dropzone .node[data-sid="predicate"] > .node_name {
  text-transform: uppercase;
  color: #02a9bb;
  font-weight: 600;
}

[data-component="calculator"] .node[data-sid="case"] {
  border-color: #484848;
}

[data-component="calculator"] .dropzone .node[data-sid="case"] > .node_name {
  text-transform: uppercase;
  color: #484848;
  font-weight: 600;
}

[data-component="calculator"] .nodes ul.nodes-group-list {
  list-style: none;
}

[data-component="calculator"] .nodes .node {
  cursor: grab;
  border-radius: 5px;
  margin: 2px;
}

[data-component="calculator"] .nodes .nodes-group > h4 {
  background: #eee;
  text-align: center;
  padding: 5px;
  border-bottom: 2px solid #000;
}

[data-component="calculator"] .nodes .node:hover {
  background: #c5c5c5;
  color: #000;
}

[data-component="calculator"] .nodes .node[data-sid="predicate"]:hover {
  background: #02a9bb;
  color: #fff;
}

[data-component="calculator"] .nodes .node[data-sid="not"]:hover {
  background: #d37c00;
  color: #fff;
}

[data-component="calculator"] .nodes .node[data-sid="or"]:hover {
  background: #567a2a;
  color: #fff;
}

[data-component="calculator"] .nodes [data-sid="and"]:hover {
  background: #1957ab;
  color: #fff;
}

[data-component="calculator"] .nodes .node[data-sid="case"]:hover {
  background: #484848;
  color: #fff;
}

[data-component="calculator"] .node {
  flex-direction: column;
  margin: 5px;
  padding: 5px;
  border-width: 1px 1px 1px 5px;
  border-style: solid;
  border-color: #c5c5c5;
  border-image: initial;
}

[data-component="calculator"] .dropzone .node.can-drop {
  background: rgb(244 244 244 / 60%);
}

[data-component="calculator"] .dropzone .node[data-sid="predicate"] > [data-sid="operator"] {
  display: initial;
  width: auto;
  border: 1px solid #767676;
  padding: 1px 2px;
  border-radius: 0;
  margin-left: 10px;
  min-height: 10px;
}

[data-component="calculator"] .dropzone .node[data-sid="when"] > .node_name {
  color: #484848;
}

[data-component="calculator"] .node[data-sid="when"] {
  border-color: #484848;
}

[data-component="calculator"] .node[data-sid="and"] {
  border-color: #1957ab;
}

[data-component="calculator"] .dropzone .node > .node_name {
  white-space: pre;
  line-height: unset;
  align-self: start;
  text-transform: uppercase;
  font-weight: 600;
  color: gray;
}

[data-component="calculator"] .nodes .node[data-sid="when"]:hover {
  background: #484848;
  color: #fff;
}

[data-component="calculator"] .side-calculator {
  display: flex;
  width: 50%;
}

div.input-group [data-component="calculator"] .nodes {
  position: fixed;
  width: 210px;
  top: 0;
  left: 10px;
  height: 100%;
  padding-bottom: 150px;
  margin-top: 150px;
  overflow: scroll;
  z-index: 5;
}

div.input-group [data-component="calculator"] .nodes-group {
  border: 1px solid black;
  flex-basis: 100%;
}

#content form div.no-toolbox div.nodes {
  display: none;
}

div.input-group [data-component="calculator"] .dropzone .ss-main.node_argument {
  width: auto;
}

[data-component="calculator"] .calculator-trash {
  width: 100px;
  height: 100px;
  border: 7px solid green;
  position: fixed;
  left: 460px;
  top: 50%;
  background-color: white;
  z-index: 10;
  text-align: center;
  padding: 8px;
  display: none;
  content: '🗑';
  font-size: xxx-large;
}

[data-component="calculator"] .calculator-trash:before {
  content: '🗑';
  font-size: xxx-large;
}

[data-component="calculator"] .calculator-trash {
  content: '\u1F5D1';
  font-size: xxx-large;
}

div.input-group [data-component="calculator"] .calculator-trash {
  left: auto;
  top: auto;
  right: 10px;
  bottom: 0;
  border: 5px solid #a50000;
}

[data-component="calculator"] > .dropzone {
  border: solid 1px black;
  min-height: 200px;
  flex-basis: unset;
  width: 50%;
  z-index: 15;
}

[data-component="calculator"] .calculator-trash.drop-sibling {
  border-color: red;
}

[data-component="calculator"] .node_argument[data-sid="from_scope"] {
  display: none;
}

#content div.calculator div.dropzone {
  background-color: #eee;
  border: 2px dashed #aaa;
  width: 75%;
  margin: auto;
}

#content .calculator .dropzone .node {
  background-color: #fff;
}

.feedback-comment:not(:hover) .comment-links {
  display: none;
}

.feedback-comment .comment-header {
  display: flex;
}

.feedback-comment .comment-header .comment-history {
  position: relative;
}

.feedback-comment .comment-header .comment-history > div {
  position: absolute;
  background-color: white;
  border: 1px solid lightgray;
  width: 20em;
  border-radius: 4px;
  z-index: 2;
}

.feedback-comment .comment-header .comment-history > summary::marker {
  display: none;
  content: "";
}

.feedback-comment:hover .comment-links {
  display: block;
}


