:root {
  --primary-color: #f26835;
  --secondary-color: #0076a0;
  --tertiary-color: #159c88;
  --quaternary-color: #fabe18;
  --quinary-color: #56b897;

  --primary-color-grey: #c97b5e;
  --secondary-color-grey: #286177;
  --tertiary-color-grey: #2d8678;
  --quaternary-color-grey: #c4a54f;
  --quinary-color-grey: #69a591;

  --primary-color-light: #f36f3f;
  --secondary-color-light: #33c9ff;
  --tertiary-color-light: #4be7cf;
  --quaternary-color-light: #fbc737;
  --quinary-color-light: #6fc3a7;

  --primary-color-light-grey: #c28670;
  --secondary-color-light-grey: #70acc2;
  --tertiary-color-light-grey: #70c2b6;
  --quaternary-color-light-grey: #c2ac70;
  --quinary-color-light-grey: #70c2a7;

  --primary-gradient: none;
  --secondary-gradient: none;
  --tertiary-gradient: none;
  --quaternary-gradient: none;
  --quinary-gradient: none;

  /* light mode colors */
  --body-text-color-light: #2d2d2d;
  --body-background-color-light: #ffffff;

  --form-background-color-light: #ffffff;
  --form-text-color-light: #2d2d2d;

  --table-tr-background-light: #dddddd;

  --link-color-light: blue;

  --accordion-background-light: #d9d9d9;
  --accordion-panel-background-light: #eeeeee;

  --light-text-color-light: #e0e0e0;

  /* dark mode colors */
  --body-text-color-dark: #b9b9b9;
  --body-background-color-dark: #2d2d2d;

  --form-background-color-dark: #2d2d2d;
  --form-text-color-dark: #b9b9b9;

  --table-tr-background-dark: #979797;

  --link-color-dark: #37a3ff;

  --accordion-background-dark: #4c4c4c;
  --accordion-panel-background-dark: #333333;

  --light-text-color-dark: #e0e0e0;

  /* standard colors */
  --body-text-color: var(--body-text-color-light);
  --body-background-color: var(--body-background-color-light);

  --form-background-color: var(--form-background-color-light);
  --form-text-color: var(--form-text-color-light);

  --table-tr-background: var(--table-tr-background-light);

  --link-color: var(--link-color-light);

  --accordion-background: var(--accordion-background-light);
  --accordion-panel-background: var(--accordion-panel-background-light);

  --context-menu-color: rgb(212 212 212 / 27%);

  --light-text-color: var(--light-text-color-light);

  --border-radius: 6px;

  --box-shadow:
    0 0 0.125rem rgba(0, 0, 0, 0.12), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.14);

  /* colors for messages and status */
  --green-color: #3cb371;
  --blue-color: #4f99d6;
  --red-color: #ff4619;
  --yellow-color: #ffa500;
}

*:focus {
  outline: none;
}

*:focus-visible {
  outline-style: solid;
  outline-color: #888888;
  outline-width: 2px;
  outline-offset: 2px;
  position: relative;
  z-index: 9999999999;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #383838;
  color: var(--body-text-color);
  font-family: "Catamaran", sans-serif;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
  -webkit-user-select: none;
  user-select: none;
  transition:
    background-color 1s,
    color 1s;
}

h1,
h2,
h3 {
  font-weight: 500;
}

strong {
  font-weight: 600;
}

.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

button {
  font-family: inherit;
  font-size: inherit;
}

form {
  text-align: left;
}

form img {
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  padding: 15px;
  background: var(--body-background-color);
}

pre {
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  padding: 6px 10px;
  -webkit-user-select: text;
  user-select: text;
  background: var(--body-background-color);
  transition:
    background-color 1s,
    color 1s;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  padding: 6px 10px;
  height: 37px;
  display: inline-block;
  background-color: var(--form-background-color);
  color: var(--form-text-color);
  transition:
    background-color 1s,
    color 1s;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  -webkit-appearance: none;
  appearance: none;
}

textarea.CKEditor {
  height: 298px;
}

input.invalid {
  border: 1px solid var(--red-color) !important;
}

input[type="file"] {
  padding: 0;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"] {
  width: 100%;
  box-sizing: border-box;
}

input[type="checkbox"] {
  position: relative;
  top: 2px;
  -webkit-appearance: checkbox;
  appearance: none;
}

input[type="date"],
input[type="time"] {
  width: 200px;
  box-sizing: border-box;
  padding: 5px 10px;
}

input[type="submit"] {
  font-family: "Catamaran", sans-serif;
  font-size: inherit;
}

input::placeholder {
  color: #ccc; /* Tekstkleur */
}
input::-webkit-input-placeholder {
  color: #ccc;
}
input::-moz-placeholder {
  color: #ccc;
}
input:-ms-input-placeholder {
  color: #ccc;
}
input:-moz-placeholder {
  color: #ccc;
}

select:disabled,
input:disabled {
  background: #ededed;
  opacity: 1;
}

fieldset {
  border-radius: var(--border-radius);
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  border: none;
  background: var(--accordion-panel-background);
  transition: background 0.8s;
  box-shadow: var(--box-shadow);
}

fieldset fieldset {
  background: var(--body-background-color);
}

fieldset fieldset fieldset fieldset {
  background: var(--body-background-color);
}

fieldset fieldset fieldset fieldset fieldset fieldset {
  background: var(--body-background-color);
}

fieldset.no_fieldset_style,
fieldset.mobile_only_fieldset_style {
  background: none;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

fieldset.no_fieldset_style legend,
fieldset.mobile_only_fieldset_style legend {
  display: none;
}

@media (max-width: 767px) {
  fieldset.mobile_only_fieldset_style {
    border-radius: var(--border-radius);
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    background: var(--accordion-panel-background);
    transition: background 0.8s;
  }
  fieldset:nth-child(2n).mobile_only_fieldset_style {
    background: var(--body-background-color);
  }

  fieldset.mobile_only_fieldset_style legend {
    display: block;
  }
}

legend {
  font-size: 1.17em;
  padding: 0 15px;
  background: var(--accordion-background);
  border-radius: var(--border-radius);
  transition: background 0.8s;
  box-shadow: var(--box-shadow);
}

input[type="radio"] {
  -webkit-appearance: auto;
  appearance: none;
}

input[type="range"] {
  height: 0px;
  width: 250px;
  margin: 10px 0;
  padding: 4px 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: var(--blue-color);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: var(--blue-color);
  cursor: pointer;
}

.cke {
  border-radius: var(--border-radius);
  overflow: hidden;
}

textarea {
  width: 100%;
  height: 150px;
  border-color: #cccccc;
  box-sizing: border-box;
  resize: vertical;
  min-height: 45px;
}

select {
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.8em;
  appearance: none;
  position: relative;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' height='10px' width='15px'%3E%3Ctext x='0' y='10' fill='gray'%3E%E2%96%BE%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.8em 1em;
  background-position: right center;
  -webkit-background-clip: border-box;
  -moz-background-clip: border-box;
  background-clip: border-box;
}

mark {
  background-color: var(--tertiary-color-light-grey);
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

a.disabled {
  pointer-events: none;
  opacity: 0.7;
}

iframe {
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

i {
  padding-right: 1px;
}

hr {
  border-top: 1px solid #b5b5b5;
  border-bottom: none;
  border-left: none;
}

progress[value] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
}

progress[value]::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
  background: var(--primary-color);
  transition: width 1s ease;
}

*[data-axi-status="0"] {
  opacity: 0.4;
}

.axi_label_container {
  padding-top: 15px;
  padding-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
}

.maxlength_container {
  position: relative;
}

.maxlength {
  position: absolute;
  right: 1px;
  top: 1px;
  padding: 6px 10px;
  color: #ccc;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  background: white;
}

.unique_container {
  position: relative;
}

.unique {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  padding: 6px 10px;
  color: var(--red-color);
  border-top: 1px solid var(--red-color);
  border-right: 1px solid var(--red-color);
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  background: white;
}

.border_radius_0 {
  border-radius: 0 !important;
}

.border_left_radius {
  border-radius: 0 !important;
  border-top-left-radius: var(--border-radius) !important;
  border-bottom-left-radius: var(--border-radius) !important;
}

.border_right_radius {
  border-radius: 0 !important;
  border-top-right-radius: var(--border-radius) !important;
  border-bottom-right-radius: var(--border-radius) !important;
}

.border_top_radius {
  border-radius: 0 !important;
  border-top-left-radius: var(--border-radius) !important;
  border-top-right-radius: var(--border-radius) !important;
}

@media (max-width: 767px) {
  .mobile_width_100 > .border_radius_0,
  .mobile_width_100 > .border_left_radius,
  .mobile_width_100 > .border_right_radius,
  .mobile_width_50 > .border_radius_0,
  .mobile_width_50 > .border_left_radius,
  .mobile_width_50 > .border_right_radius {
    border-radius: var(--border-radius) !important;
  }
}

.small_text {
  font-size: smaller;
}

.custom_file_upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  transition: 0.8s;
  border-radius: var(--border-radius);
  background: var(--body-background-color);
}

.custom_file_upload:hover {
  background: #e3e3e3;
}

.custom_file_upload i {
  margin-right: 10px;
}

.primary_background_color {
  background: var(--primary-color) !important;
}

.secondary_background_color {
  background: var(--secondary-color) !important;
}

.tertiary_background_color {
  background: var(--tertiary-color) !important;
}

.quaternary_background_color {
  background: var(--quaternary-color) !important;
}

.quinary_background_color {
  background: var(--quinary-color) !important;
}

.green_background_color,
.background_green {
  background: var(--green-color) !important;
}

.blue_background_color,
.background_blue {
  background: var(--blue-color) !important;
}

.yellow_background_color,
.background_yellow {
  background: var(--yellow-color) !important;
}

.red_background_color,
.background_red {
  background: var(--red-color) !important;
}

.green_text,
.text_green {
  color: var(--green-color) !important;
}

.blue_text,
.text_blue {
  color: var(--blue-color) !important;
}

.yellow_text,
.text_yellow {
  color: var(--yellow-color) !important;
}

.red_text,
.text_red {
  color: var(--red-color) !important;
}

/* Only show custom scrollbar on screens wide enough */
@media (min-width: 500px) and (max-width: 999999999px) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--accordion-background);
    border-radius: calc(var(--border-radius) / 2);
  }
}

.limit_text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  float: left;
  max-width: 80%;
}

.content {
  z-index: 7;
  height: 100vh;
  width: 100vw;
  max-width: calc(100% - 200px);
  position: fixed;
  right: 0;
  overflow: scroll;
  padding: 20px 3% 20px 3%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden;
  background: var(--body-background-color);
  border-top-left-radius: calc(var(--border-radius) * 3);
  border-bottom-left-radius: calc(var(--border-radius) * 3);
  transition:
    background 0.8s,
    max-width 0.8s;
}

.content_overlay {
  z-index: 99999;
  height: 100vh;
  width: 100vw;
  max-width: calc(100% - 200px);
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden;
  border-top-left-radius: calc(var(--border-radius) * 3);
  border-bottom-left-radius: calc(var(--border-radius) * 3);
  transition:
    background 0.8s,
    max-width 0.8s;
  position: fixed;
  right: 0;
  top: 0;
  display: flex;
  pointer-events: none;
  justify-content: center;
}

.content_overlay * {
  pointer-events: auto;
}

@media (max-width: 1366px) {
  .content_overlay {
    margin-top: 0;
    height: 100%;
  }
}

@media (min-width: 767px) and (max-width: 1366px) {
  .content_overlay {
    max-width: calc(100vw - 60px);
  }
}

@media (max-width: 767px) {
  .content_overlay {
    max-width: calc(100% - 58px);
    transition: width 0s;
  }
}

#alert_box {
  position: fixed;
  overflow: hidden;
  width: 500px;
  max-width: calc(100vw - 200px);
  right: 0;
  bottom: 30px;
  padding: 0 3% 0 3%;
  box-sizing: border-box;
  margin-top: -20px;
  z-index: 10;
  border-top-left-radius: calc(var(--border-radius) * 3);
  overflow: hidden;
  transition:
    top 0.2s,
    left 0.2s;
  z-index: 99999999;
}

@media (max-width: 1366px) {
  .content {
    margin-top: 0;
    height: 100%;
    padding: 0 5% 10px 5%;
  }
}

@media (max-width: 767px) {
  .content {
    padding: 0 5% 10px 5%;
    max-width: calc(100% - 58px);
    transition: width 0s;
  }
}

.glue_input input,
.glue_input select,
.glue_input .form_button {
  margin-right: -4px;
  width: calc(100% + 1px);
}

div[data-axi="pagination"] {
  padding: 20px 0 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

div[data-axi="pagination"] button {
  margin: 0 5px 10px 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px 10px;
  color: var(--body-text-color);
}

div[data-axi="pagination"] .pagination_header {
  width: 100%;
  text-align: center;
  padding: 10px 0;
}

div[data-axi="pagination"] .pagination_button_active {
  background: var(--blue-color) !important;
  color: white;
}

ul[data-axi-table] {
  list-style: none;
}

button[data-axi="checkbox"] {
  font-size: 1.1rem;
  background: none;
  border: none;
  padding: 0 10px 0 10px;
  cursor: pointer;
  border-radius: var(--border-radius);
  box-shadow: none;
}

button[data-axi="checkbox"] .fa-square-check {
  color: var(--green-color);
}

button[data-axi="checkbox"] .fa-square {
  color: #ccc;
}

button[data-axi="onoff_switch"] {
  font-size: 1.1rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

button[data-axi="onoff_switch"] .fa-toggle-on {
  color: var(--green-color);
}

button[data-axi="onoff_switch"] .fa-toggle-off {
  color: var(--red-color);
}

@media (min-width: 1366px) {
  div[data-axi="ipad_menu_button"] {
    display: contents;
  }

  div[data-axi="ipad_menu_button"] > i:first-child {
    display: none;
  }

  div[data-axi="ipad_menu"] {
    display: contents !important;
  }
}

@media (max-width: 1366px) {
  div[data-axi="ipad_menu_button"] {
    background: none;
    border-radius: 0;
    position: relative;
    border: 1px solid #ccc;
    padding: 6px 15px;
    cursor: pointer;
    color: var(--body-text-color);
    border-radius: var(--border-radius);
    max-width: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  div[data-axi="ipad_menu_button"] > i:first-child {
    height: 22px;
    display: flex;
    align-items: center;
  }

  div[data-axi="ipad_menu"] {
    border: 1px solid #ccc;
    padding: 10px;
    max-width: 80vw;
    position: absolute;
    background: var(--body-background-color);
    transition: background 0.8s;
    /* display: flex;
		justify-content: center;
		flex-wrap: wrap; */
    z-index: 10;
    top: 40px;
    right: -1px;
    min-width: 200px;
    border-radius: var(--border-radius);
  }

  div[data-axi="ipad_menu"] .button {
    width: 100%;
    text-align: left;
  }
}

#active_users {
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
}

.ace_editor {
  font-size: inherit;
  min-height: 500px;
  border-radius: var(--border-radius);
  border: 1px solid #ccc;
}

.error {
  display: none;
  width: 100%;
  height: 100%;
  transition: background 0.8s;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.error_content {
  margin-top: 300px;
  text-align: center;
  color: var(--yellow-color);
}

.radio_button {
  background: white;
  border: 1px solid #ccc;
  padding: 6px 10px;
  cursor: pointer;
}

.radio_button_active {
  background: #bababa;
}

.dashboard_block {
  background: var(--accordion-panel-background);
  border-radius: var(--border-radius);
  padding: 30px;
  box-sizing: border-box;
  margin-right: 30px;
  margin-bottom: 30px;
  transition: background 0.8s;
}

.confirmation {
  display: none;
  width: 1200px;
  margin-top: 10vh;
  max-width: 80vw;
  height: fit-content;
  max-height: 80vh;
  box-sizing: border-box;
  background-color: var(--body-background-color);
  padding: 50px;
  top: 10%;
  right: calc((100% - 1200px) / 2);
  box-shadow: 0 0px 3px 0px #828282;
  z-index: 100000000;
  transition: background 0.8s;
  border-radius: calc(var(--border-radius) * 2);
}
#confirmation_message {
  font-size: 1.1rem;
}

@media print {
  @page {
    size: 210mm 297mm;
    margin: 8mm;
    size: portrait;
  }

  * {
    overflow: visible;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    overflow: visible;
  }

  div {
    page-break-inside: avoid;
    max-width: 100vw;
  }

  .info_button {
    display: none !important;
  }

  .side_nav {
    display: none;
  }

  #content_list {
    width: 100%;
  }

  .content {
    overflow: visible;
    position: static;
    height: 100%;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin-top: 0;
  }

  .active:after {
    content: none;
  }
}
