:root {
  --bg-color: #f5f4f4;
  --bg-color-light: #fff;
  --primary-color: #005cba;
  --border-radius-large: 5px;
  --border-radius-small: 2px;
  --selected-color: #9ccdff33;
}

body {
  background-color: #f5f4f4;
  background-color: var(--bg-color, #f5f4f4);
  color: #4a5257;
  color: var(--fg-color, #4a5257);
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  font-size: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: inherit;
}

h1 {
  font-size: 1.2em;
}

/* inputs */
textarea {
  resize: vertical;
}

input,
select,
textarea,
.tbDatum {
  border: 1px solid #dcdcdc;
  color: inherit;
  padding: 0.25em;
  border-radius: 2px;
  border-radius: var(--border-radius-small, 2px);
  font-family: inherit;
  outline-color: #02b5ec;
  outline-color: var(--primary-color, #02b5ec);
  box-shadow: inset 0 1px 2px rgba(27,31,35,.075);
}

  input[type="checkbox"] + label {
    margin-left: 0.25em;
  }

/* next/previous */
.button.next,
.button.previous {
  background: none;
  border: none;
  box-shadow: none;
  font-weight: bold;
  border-style: solid;
  border-color: #454650;
  border-color: var(--fg-color, #454650);
  border-width: 2px 2px 0 0;
  width: 1em !important;
  height: 1em !important;
  padding: 0;
  color: transparent;
  border-radius: 0;
  vertical-align: middle;
  margin-top: -0.2em;
  font-size: 0.8em;
}

  .button.next:disabled,
  .button.previous:disabled {
    background-color: transparent;
    border-color: #454650;
    border-color: var(--fg-color, #454650);
    color: transparent;
    box-shadow: none;
    opacity: 0.6;
    cursor: default;
  }

.button.previous {
  transform: rotate(225deg);
}

.button.next {
  transform: rotate(45deg);
}

/* form layout */
.fieldgroup {
  align-items: baseline;
  display: flex;
}

  .fieldgroup > * + * {
    margin-left: 0.5em;
  }

.grow {
  flex-grow: 1;
}

.vertical-owl > * + * {
  margin-top: 0.5em;
}

.horizontal-owl > * + * {
  margin-left: 0.5em;
}

.horizontal-owl-large > * + * {
  margin-left: 1.5em;
}

.table-grow-last-column td:not(:last-child) {
  white-space: nowrap;
}

.table-grow-last-column td:last-child {
  width: 100%;
}

.flex-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.data-table {
  border-collapse: collapse;
  border-style: solid;
  border-color: #999eac;
}

  .data-table td {
    padding: 0.25em;
  }

  .data-table.full-width {
    width: 100%;
  }

.full-width {
  width: 100%;
}

.align-right {
  text-align: right;
}

/* other elements */
.circle {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
}

  .circle.green {
    background-color: #0abd0a;
    border: 1px solid #067947;
  }

  .circle.yellow {
    background-color: #faed00;
    border: 1px solid #d2bd00;
  }

  .circle.red {
    background-color: #ce0000;
    border: 1px solid #850000;
  }

.nowrap {
  white-space: nowrap;
}
