body {
  font-size: 14px;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 14px;
}

p {
  font-size: 14px;
}

small {
  font-size: 12px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

#content {
  margin-left: 200px;
  padding: 20px;
  box-sizing: border-box;
}

.styled-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.styled-table {
  border-collapse: collapse;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  width: 100%;
  border: 1px solid #dddddd;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .styled-table {
    min-width: unset;
    font-size: 0.8em;
  }
}
.styled-table th, .styled-table td {
  padding: 6px 7px;
}
.styled-table thead tr {
  color: black;
  text-align: left;
}
.styled-table thead tr th:first-child {
  border-top-left-radius: 4px; /* Round top-left corner */
}
.styled-table thead tr th:last-child {
  border-top-right-radius: 4px; /* Round top-right corner */
}
.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}
.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
.styled-table tbody tr:nth-of-type(even) td {
  background-color: #f3f3f3 !important;
}
.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #1d78c0;
}
.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #1d78c0;
}
.styled-table tbody tr:last-child {
  border-bottom-left-radius: 4px;
}
.styled-table tbody td:first-child {
  border-bottom-left-radius: 4px;
}

button {
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}
.form-field {
  margin-bottom: 10px;
}
.form-field label {
  display: block;
  margin-bottom: 5px;
}
.form-field input[type=text],
.form-field input[type=date],
.form-field input[type=number],
.form-field textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.form-field input[type=submit] {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
}
.form-field .form-error {
  color: #f00;
  font-size: 12px;
  margin-top: 5px;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px; /* Adjust this value as needed */
}

.btn-group {
  display: flex;
  gap: 10px;
}

.ts-btn {
  background: #F5F6FA;
  box-shadow: 2px 4px 10px 0px rgba(0, 0, 0, 0.1019607843);
}
.ts-btn:hover {
  background: #eceefb !important;
}

.right-align-bottom {
  display: flex;
  justify-content: flex-end; /* Verplaatst de inhoud naar rechts */
  align-items: flex-end; /* Verplaatst de inhoud naar de onderkant van de div */
  height: 100%; /* Zorgt ervoor dat de div volledig benut wordt voor positionering */
}

.search-box {
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1019607843);
  width: 400px;
}

.searchbar {
  border: none;
  padding: 10px;
  width: 100%;
}

.rowsperpage {
  margin-left: 10px;
  height: 44px;
}
.rowsperpage select {
  height: 100%;
  border: none;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1019607843);
}

.align-bottom-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.pagination, .pagenationPROJ {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.pagination a, .pagenationPROJ a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  text-decoration: none;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.pagination a:hover, .pagenationPROJ a:hover {
  background-color: #f0f0f0;
}
.pagination a.active, .pagenationPROJ a.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.sectionhead {
  padding: 20px;
}

.fc-header-toolbar {
  padding-left: 20px;
  padding-right: 20px;
}

.filter-button-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.filter-button-container form {
  margin-right: 1rem;
}
.filter-button-container button {
  margin-left: 1rem;
}

.dashboard-icon {
  content: url("../../images/icons/graph.webp");
}

.projects-icon {
  content: url("../../images/icons/project.webp");
}

.client-icon {
  content: url("../../images/icons/client.webp");
}

.product-icon {
  content: url("../../images/icons/tag.webp");
}

.werknemers-icon {
  content: url("../../images/icons/badge.webp");
}

.diensten-icon {
  content: url("../../images/icons/gears.webp");
}

.uren-icon {
  content: url("../../images/icons/clock.webp");
}

.kilometer-icon {
  content: url("../../images/icons/indicator.webp");
}

.boekhouding-icon {
  content: url("../../images/icons/book.webp");
}

.cron-icon {
  content: url("../../images/icons/task.webp");
}

.werknemerbadge-icon {
  content: url("../../images/icons/werknemerbadge.webp");
}

.archive-icon {
  content: url("../../images/icons/archive.webp");
}

.plusperson-icon {
  content: url("../../images/icons/plusperson.webp");
}

.threedots-icon {
  content: url("../../images/icons/threedots.webp");
}

.nav-item:hover .dashboard-icon {
  content: url("../../images/icons/graph_blue.webp");
}

.nav-item:hover .projects-icon {
  content: url("../../images/icons/project_blue.webp");
}

.nav-item:hover .client-icon {
  content: url("../../images/icons/client_blue.webp");
}

.nav-item:hover .product-icon {
  content: url("../../images/icons/tag_blue.webp");
}

.nav-item:hover .werknemers-icon {
  content: url("../../images/icons/badge_blue.webp");
}

.nav-item:hover .diensten-icon {
  content: url("../../images/icons/gears_blue.webp");
}

.nav-item:hover .uren-icon {
  content: url("../../images/icons/clock_blue.webp");
}

.nav-item:hover .kilometer-icon {
  content: url("../../images/icons/indicator_blue.webp");
}

.nav-item:hover .boekhouding-icon {
  content: url("../../images/icons/book_blue.webp");
}

.nav-item:hover .cron-icon {
  content: url("../../images/icons/task_blue.webp");
}

.invoice-icon {
  content: url("../../images/icons/invoice-black.png");
}

.nav-item:hover .invoice-icon {
  content: url("../../images/icons/invoice-blue.png");
}

#navbar {
  margin-top: 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background-color: #FFFFFF;
  padding: 20px;
  color: #000000;
  box-shadow: 2px 0px 20px 0px rgba(0, 0, 0, 0.1019607843);
  box-sizing: border-box;
  min-height: fit-content;
}
#navbar.collapsed {
  width: 50px;
  padding: 0 !important;
}
#navbar.collapsed #toggleMenu {
  width: 100% !important;
}
#navbar.collapsed ul li a {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#navbar.collapsed ul li i, #navbar.collapsed ul li img {
  width: 24px !important;
  height: 24px !important;
}
#navbar img {
  width: 100%;
}
#navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#navbar ul li {
  display: flex;
  margin-bottom: 10px;
}
#navbar ul li i {
  padding-top: 10px;
}
#navbar ul li a {
  display: block;
  padding: 10px;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
#navbar ul li a:hover {
  color: deepskyblue;
}

#toggleMenu {
  background-color: lightgrey;
  color: black;
  border: none;
  padding: 10px;
  width: 27%;
  float: right;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

#topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  height: 100px;
  background-color: #eef0fd;
}

.search-box {
  position: relative;
  width: 300px;
}

.result-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 1000;
  display: none;
}
.result-dropdown .search-item {
  padding: 10px;
  cursor: pointer;
}
.result-dropdown .search-item:hover {
  background-color: #f2f2f2;
}

.boekhoudingnav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  padding: 10px 0;
  border-bottom: 2px solid #e2e2e2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.boekhoudingnav a {
  text-decoration: none;
  color: #007bff;
  padding: 10px 15px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 5px;
}
.boekhoudingnav a:hover {
  background-color: #007bff;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}
.boekhoudingnav a:active {
  background-color: #0056b3;
  color: #fff;
}
.boekhoudingnav a.selected {
  background-color: #007bff;
  color: #fff;
}

#search-input {
  border: none;
  padding: 10px;
  width: 100%;
}

#column-toggle-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
#column-toggle-container .filter-item {
  display: flex;
  align-items: center;
}
#column-toggle-container .filter-item input[type=checkbox] {
  margin-right: 0.5rem;
}

#timerContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Centraal in het scherm */
}

.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.btn-danger {
  background-color: #dc3545;
  border: none;
}

.btn-success {
  background-color: #28a745;
  border: none;
}

#liveTimer {
  font-size: 18px;
  text-align: center;
  margin: 0;
}

.employee-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.employee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.employee-card .card-body {
  display: flex;
  align-items: center;
  padding: 1rem;
}
.employee-card .werknemerbadge-icon {
  font-size: 2.5rem;
  color: #0d6efd;
}
.employee-card .card-title {
  font-size: 1.25rem;
  font-weight: bold;
}
.employee-card .card-text {
  color: #6c757d;
}
.employee-card .expanded-info {
  padding: 0.5rem 0;
}
.employee-card .expanded-info p {
  margin-bottom: 0.5rem;
}
.employee-card .edit-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.9rem;
}
.employee-card .toggle-collapse {
  font-size: 0.9rem;
  color: #0d6efd;
}

#external-events {
  width: 300px; /* Breedte van de activiteitenlijst */
  max-height: 500px; /* Vaste hoogte */
  overflow-y: auto; /* Scroll toevoegen als er teveel content is */
  padding: 10px;
  background: #f4f4f4;
  border: 1px solid #ddd;
}

.external-events-list .fc-event {
  margin: 5px 0;
  cursor: pointer;
  padding: 5px;
  background: #3788d8;
  color: #fff;
}

#calendar {
  flex: 1; /* Laat de kalender de resterende ruimte innemen */
  /*max-width: 900px;*/
  min-height: 600px;
}

.fc-daygrid-event {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.fc-daygrid-event:hover {
  transform: scale(1.2);
  z-index: 100;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  #external-events {
    width: 100%; /* Volledige breedte voor mobiel */
    max-height: none; /* Geen limiet op hoogte */
  }
  #calendar {
    max-width: 100%; /* Volledige breedte voor mobiel */
  }
  /* Zorg ervoor dat de twee secties onder elkaar staan */
  div[style="display: flex; gap: 20px;"] {
    flex-direction: column;
  }
}