@import url("https://fonts.googleapis.com/css2?family=Open Sans:wght@400;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;800&display=swap");
:root {
  --zwart: black;
  --zwart_30: #00000030;
  --grijs: #233d5a;
  --wit: #ffffff;
  --wit_30: #ffffff30;
  --basiskleur: #469ad3;
  --donker: #007b9b;
  --licht: #c8e1f2;
  --licht_30: #c8e1f230;
  --licht_50: #c8e1f250;
  --accent: #f06900;
  --accent_50: #f0690050;
  --accent_30: #f0690030;
  --accent_20: #f0690020;
  --doorzichtig: #ffffff00;
  --rood: #c00000;
  --oranje: #f06900;
  --groen: #00b050;
}

body {
  font-family: "Open Sans", courier;
  font-size: 14px;
  color: var(--grijs);
}

h1 {
  font-family: "Ubuntu";
  font-weight: bold;
  font-size: 36;
}

h2 {
  font-family: "Ubuntu";
  font-weight: normal;
  font-size: 24;
}

body::after {
  content: "";
  background: url("/static/images/Elaadnl_110420_43.jpg");
  background-size: cover;
  background-position: left center;
  opacity: 0.8;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

#scrollcol {
  margin-top: 20px;
  margin-bottom: 20px;
  height: calc(100vh - 140px);
  overflow-y: scroll;
  background-color: #ffffff;
  padding: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#sidecol {
  margin-top: 20px;
  margin-bottom: 20px;
  height: calc(100vh - 140px);
  padding: 10px;
  margin-left: 10px;
  background-color: #ffffff;
  overflow: auto;
}

.foldout-content {
  display: none;
  margin-left: 10px;
  background-color: var(--licht_30);
}

.foldout-title {
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: none;
  font-family: "Open Sans", courier;
  font-size: 14px;
  color: var(--grijs);
  font-style: italic;
  margin-left: 10px;
}

.table_on_index_page {
  width: auto;
  border-collapse: separate; 
  border-spacing: 20px 0;
}

.table_in_sidecol {
  width: 100%;
  max-width: 100%; /* Ensure table does not exceed the parent div */
  border-collapse: separate;
  border-spacing: 5px 0;
  background-color: var(--licht_30); /* Set background color */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.table_in_sidecol td,
.table_in_sidecol th {
  font-size: 12px; /* Set font size to 10px */
}

.table_in_sidecol th {
  font-size: 12px; /* Set font size to 12px */
}

#imgSide {
  object-fit: cover;
  float: right;
  object-position: right center;
}

.inlineIcon {
  width: 0.75em;
  display: inline;
  vertical-align: middle;
}

.danger {
  background-color: red!important;
}

.btn-primary {
  background-color: var(--grijs);
  border-width: 0;
}

.btn-primary:hover {
  background-color: var(--accent);
  border-width: 0;
}

.btn-secondary {
  background-color: var(--grijs);
  border-width: 0;
}

.btn-secondary:hover {
  background-color: var(--accent);
  border-width: 0;
}

/* Tabellen */
.dateTable {
  overflow: hidden;
  font-family: "Open Sans", courier;
}

.dateTable td, .dateTable th {
  position: relative;
  padding: 0px 10px !important;
}

.dateTable td {
  font-family: "Open Sans", courier;
  font-size: 12px;
  color: var(--grijs);
  line-height: 1.4;
}

.dateTable th {
  font-family: "Open Sans", courier;
  font-size: 12px;
  color: #fff;
  line-height: 1.4;
  text-transform: uppercase;
  background-color: var(--grijs);
}

.dateTableCritical th {
  background-color: var(--rood);
}

.dateTableAlert th {
  background-color: var(--accent) !important;
}

.dateTable tbody tr:nth-child(even) {
  background-color: var(--licht_30);
}

/* > Highlight de rij */
.dateTable tbody tr:hover {
  background-color: var(--accent_50);
}

/* > Highlight de cell */
.dateTable tbody td:hover {
  background-color: var(--accent);
  color: #fff;
}

details {
  user-select: none;
}

.message {
  position: relative;
  top: 10;
  left: 0;
  width: auto;
  height: auto;
  padding: 10px;
  margin: 10px;
  line-height: 1.8;
  border-radius: 5px;
  cursor: hand;
  cursor: pointer;
}

.message.info {
  background-color: #eee;
  border: 1px solid #ddd;
  color: #999;
}

.message.success {
  background-color: #efe;
  border: 1px solid #ded;
  color: #9a9;
}

.message.notice {
  background-color: #eff;
  border: 1px solid #dee;
  color: #9aa;
}

.message.warning {
  background-color: #fdf7df;
  border: 1px solid #feec6f;
}

.message.error {
  background-color: #fee;
  border: 1px solid #edd;
  color: #a66;
}

label {
  font-weight: bold;
}

input.error {
  border: 1px solid #ff4c4c;
  background-color: #ffe6e6;
  box-shadow: 0 0 5px rgba(255, 76, 76, 0.5);
}

.errorlist {
  color: #ff4c4c;
  font-weight: bold;
}

#select-role {
  background-color: var(--licht_50);
  padding-bottom: 5px;
  padding-top: 5px;
}

.upload-submit {
  margin-top: 10px;
}

.form-switch-group {
  align-items: center;
}

.form-switch-group td{
  padding-right: 10px;
  padding-bottom: 5px;
}

button.disabled {
  pointer-events: none;
  background-color: grey !important;
  color: lightgrey !important;
}

a.disabled {
  pointer-events: none;
}

a {
  color: var(--grijs);
}