.draft {
  background: #ffc107;
}

.published {
  background: #28a745;
}

.circle-draft {
  background: #ffc107;
}

.circle-construction {
  background: var(--grblue);
}

.circle-published {
  background: #28a745;
}

.circle-inactive {
  background: #a5a5a5;
}

html,
body {
  font-family: 'Roboto';
  background-color: whitesmoke;
}

.travel-card {
  background-color: white;
}

.secondary-navbar {
  background-color: white;
  margin-top: -23px;
  padding-top: 12px;
  border-bottom: 1px solid lightgray;
}

.secondary-navbar .nav {
  height: 100%;
}

.secondary-navbar .nav a.nav-link {
  height: 100%;
}
a.nav-link.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.labelStyle {
  color: black;
  font-weight: bold;
  padding-left: 0 !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #2E5170 !important;
}

#ReizenReisLeidersTab a:hover {
  color: black !important;
}

.toastStyle {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: fit-content;
  min-width: 200px;
  z-index: 9999;
}

.btn-circle.btn-sm {
  width: 30px;
  height: 30px;
  padding: 6px 0;
  border-radius: 15px;
  font-size: 8px;
  text-align: center;
}

.btn-circle.btn-md {
  width: 50px;
  height: 50px;
  padding: 7px 10px;
  border-radius: 25px;
  font-size: 10px;
  text-align: center;
}

.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  border-radius: 35px;
  font-size: 12px;
  text-align: center;
}

.list-group-item {
  padding-left: 0 !important;
}

.participantsInformation {
  display: block;
  width: fit-content;
  color: #2E5170;
  margin: 20px 0 20px 0;
  font-weight: bold;
  border-bottom: 2px solid;
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}
.pointer {cursor: pointer;}

.scrollable-menu {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}
.ellipsisOption{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nowrap {
  white-space: nowrap;
}
.paddingLess{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.rowBording{
  border-top:  1px solid rgb(212, 208, 208);
}
.vroegboekInput:focus {
  box-shadow:none !important;
}
#modal-body,p {
  margin-bottom: 4px;
}

form {
  margin-bottom: 0px;
}

.modal {
  overflow-y:auto;
}

a.text-info:hover {
  color: var(--grblue-light) !important;
}

.table tbody, .table thead {
  border: 1px solid #e9ecef;
}

.table th, .table tr th, .table tr td, .table td {
  vertical-align: middle !important;
}

.table td {
  padding: 0.75rem;
}

.table thead th {
  background-color: rgba(0,0,0,.03);
  color: var(--grblue);
  font-weight: bold;
  border-bottom: none !important;
}

.dataTable thead tr th {
  padding: 8px 10px;
}

thead tr {
  border: none !important;
}

.card-header {
  font-weight: bold;
  color: var(--grblue);
}

.modal-title {
  font-weight: bold;
  color: var(--grblue);
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dataTables_wrapper  .paginate_button.current{
  border-radius: 95%;
  background: #ffffff !important;
}

.paginate_button.disabled:hover {
  background-color: var(--grbluetrans) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  border-radius: 3px;
  border-color:var(--grblue) !important;
  color: white !important; 
}

.paginate_button:hover {
  color: white !important;
  background-color: var(--grblue) !important
}



.dataTables_wrapper{
  margin:9px
}
#bewerkReisleiderModalDialog{
  max-width: 1100px;
}
#dtBasicExample_wrapper{
  padding:20px 0 20px 0;
}

.show{
  visibility: visible;
}
.hide{
  visibility: hidden;
} 

.reiscode-editable-label {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #ececec;
    padding-top: 6px;
}
.reiscode-editable-label label{
  font-family: monospace;
}
.reiscode-editable-label span{
  font-size: 13px;
  color: gray;
}
.reiscode-editable-label label{
  cursor: text;
}
.editable-label{
  cursor: text;
}
.tabulator{
  border: none !important;
}
.tabulator .tabulator-header .tabulator-col {
  background-color: white !important;
}

#reizen-table .tabulator-header .tabulator-headers .tabulator-col {
  height: 93px !important
} 

.tabulator-row.tabulator-selectable:hover {
  background-color: #dcf4f9 !important;
}

.tabulator-col-title{
  text-align: center;
}
.tabulator-row .tabulator-cell {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* make tabulator's horizontal scrollbar thin */
.tabulator-tableHolder::-webkit-scrollbar {
  height: 4px;
}

.tabulator-row-bg-success {
  background-color: rgb(212, 237, 218) !important;
}

[type=search]{
  border: 1px solid gray;
  border-radius: 3px;
  box-shadow: 1px 1px 4px rgb(0 0 0 / 20%);
}
#travel-card-popup{
  max-width: 1000px  !important;
}
.menu{
  cursor: pointer;
}
.menu:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.disabledButton{
  cursor: no-drop !important;
  color:#a5a5a5 !important;
}

/* underline editable fields */
[contenteditable="true"], .editable-label {
  cursor: pointer;
  border-bottom: dashed 1px  #6c757d !important;
}

/* CUSTOM STYLE COLORS */

:root {
  --grblue : #2E5170;
  --grblue-light: #3a658a;
  --grblue-transparent: #2e517050;
  --grbluetrans : #2e51702c;
  --border-green : #28a746;
  --border-red: #dc3545;
  --border-grey: rgb(233, 236, 239);
}

.card {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.card .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background-color: rgba(46, 81, 112, 0.03);
}

.simpleSelect {
  border: none;
}

.bg-info {
  background-color: var(--grblue) !important;
}

.text-info {
  color: var(--grblue) !important;
}

.btn-outline-info {
  color: var(--grblue) !important;
  border-color: var(--grblue) !important;
}

.btn-outline-info:hover, .btn-outline-info:active, .btn-outline-info:not(:disabled):not(.disabled).active {
  background-color: var(--grblue) !important;
  color: white !important;
}

.btn-outline-dark:hover, .btn-outline-dark:active, .show>.btn-outline-dark.dropdown-toggle {
  background-color: black !important;
  color: white !important;
}

.btn-info, .btn-primary {
  background-color: var(--grblue) !important;
  border-color: var(--grblue) !important;
}

.btn-info:hover {
  background-color: var(--grblue-light) !important;
  border-color: var(--grblue-light) !important;
}

.btn:focus {
  box-shadow: none;
}

.btn-info:not(:disabled):not(.disabled).active:focus,
.btn-info:not(:disabled):not(.disabled):active:focus,
.show>.btn-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem var(--grbluetrans);
}

.btn-outline-info:not(:disabled):not(.disabled).active:focus,
.btn-outline-info:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem var(--grbluetrans);
}

.btn-info:not(:disabled):not(.disabled):active:focus {
  box-shadow: 0 0 0 0.2rem var(--grbluetrans);
}

.text-primary {
  color: var(--grblue) !important;
}

.strikethrough {
  text-decoration: line-through;
}

.text-primary:hover {
  color: var(--grblue-light) !important;
  text-decoration: underline;
}

/* Styling radio buttons */
input[type="radio"], input[type="checkbox"] {
  accent-color: var(--grblue) !important;
}

.alert-info {
  background-color: var(--grbluetrans) !important;
  border-color: var(--grbluetrans) !important;
}

.show>.btn-outline-info.dropdown-toggle {
  color: #fff !important;
  background-color: var(--grblue) !important;
  border-color: var(--grblue) !important;
}

.dropdown-item:active {
  background-color: var(--grblue) !important;
}

.koersen-button {
  color: var(--grblue) !important;
  background-color: var(--grbluetrans) !important;
}

.show>.btn-outline-info.dropdown-toggle:focus {
  color: white;
  box-shadow: 0 0 0 0.2rem var(--grbluetrans);
}

.picked-quantity-row  {
  border-color:  var(--grblue) !important;
  background-color: var(--grbluetrans) !important;
}

.border-info {
  border-color: var(--grblue) !important;
}

.badge-info {
  background-color: var(--grblue) !important;
}

/* fancy scrollbar */

/* width */
::-webkit-scrollbar {
  width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--grblue);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--grblue);
}

/* pagination styling */

.paginationjs {
  font-family: 'Roboto' !important;
}

.paginationjs-pages li {
  min-width: 40px;
  height: 36px;
  border-color:#dee2e6!important;
}

.paginationjs .paginationjs-pages li.active, .paginationjs .paginationjs-pages li.active > a {
  background-color: var(--grblue) !important
}

.paginationjs-pages li > a {
  margin-top: 4px;
  font-size: 16px !important;
}

.dashboard-container {
  max-width: 98%;
}

.dashboard-alert {
  max-width: 100%
}

/* calendar styling */

.calendar-afdeling-filter {
  width: 150px;
}

#calendar, #timeline {
  height: calc(100vh - 60px);
  margin: 0;
  padding: 1rem;
}
.fc-toolbar-chunk button {
  background-color: var(--grblue) !important
}

.fc-toolbar-title {
  text-transform: capitalize;
}

.fc-col-header-cell-cushion {
  text-transform: capitalize;
}

.fc-event {
  background-color: #cacaca38 !important;
  border: none !important;
}

.fc-event:hover {
  background-color: #cacaca9a !important;
}

.fc-event-main {
  color: var(--grblue) !important;
}

.fc-button-group {
  margin-left: 0px !important;
}

button {
  font-size: 14px !important;
}

button.close {
  font-size: 1.5rem !important;
}

.event-container {
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-container .ellipsis-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 5px;
}

/* bootstrap tooltip width 400px */

.tooltip-inner {
  text-align: left !important;
  max-width: 400px !important;
}

.tooltip {
  z-index: 9999 !important;
}

.fc-toolbar-chunk {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjust for spacing between elements */
}

.fc-today-button {
  margin-left: 0px !important;
}

.fc-highlight {
  border: 2px solid var(--grblue) !important;
  background-color: transparent !important;
}

.fc-day-today {
  background-color: var(--grblue-transparent) !important;
}

/* current day in day-view should not look blue */
.fc-dayGridDay-view .fc-daygrid-day {
  background-color: transparent !important
}

.fc-dayGridDay-view .fc-highlight {
  border: none !important;
}

.fc-daygrid-day {
  position: relative;
}

.fc-daygrid-day-frame .day-event-btn {
  position: absolute;
  top: 500px;
  padding: 0px 10px;
  border-radius: 4px;
  align-items: center;
}

/* Leave room for button in day and week view */
.fc-dayGridDay-view .fc-daygrid-day-events {
  padding-top: 30px !important;
}
.fc-dayGridWeek-view .fc-daygrid-day-events {
  padding-top: 30px !important;
}

.fc-dayGridWeek-view .fc-daygrid-day-events {
  padding-top: 30px !important;
}

.fc-dayGridWeek-view .fc-daygrid-event-harness-abs {
  padding-top: 30px !important;
  margin-top: 0px !important;
}

.create-event-btn {
  margin-left: 5px;
  position: absolute;
  top: 5px;
  padding: 0px 10px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--grblue);
  color: var(--grblue);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.fc-daygrid-day:hover .create-event-btn {
  opacity: 1;
}

.create-event-btn:hover {
  background-color: rgba(46, 81, 112, 0.2);
}

.fc-daygrid-day:hover .create-event-btn {
  display: block;
}


.datepicker table tr td.active.active {
  background-color: var(--grblue) !important;
  background-image: none !important;
}

.datepicker table tr td.today {
  background-color: var(--grblue-transparent) !important;
  background-image: none !important;
}

/* custom boolean toggle input */
.custom-control-input:checked~.custom-control-label::before {
  color: #fff;
  border-color: var(--grblue);
  background-color: var(--grblue);
}

/* make selectpicker to look like native bootstrap form-control */
.bootstrap-select {
  font-size: 16px !important;
  border: none !important;
  border-radius: 0.25rem !important;
  background-color: white !important;
}

.actions-btn.bs-select-all.btn.btn-light,
.actions-btn.bs-deselect-all.btn.btn-light {
  background-color: rgba(0, 0, 0, 0.03) !important;
  color: var(--grblue) !important;
  margin: 0 0.15rem !important;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select .dropdown-toggle.bs-placeholder:active {
  box-shadow: 0 0 0 0.2rem var(--grbluetrans) !important;
  outline: none !important;
  outline-offset: 0px !important;
}

.bootstrap-select .dropdown-toggle {
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
  background-color: white !important;
}

.filter-option-inner-inner {
  font-size: 16px !important;
}

.dropdown-item.active, .dropdown-item:active, .dropdown-item.active.selected {
  background-color: var(--grblue) !important;
  color: white !important;
}

.bs-searchbox {
  padding: 1px;
  border-bottom: 1px solid #ced4da;
}

.bs-searchbox .form-control {
  border: none;
  box-shadow: none;
  padding-left: 25px;
}

.bootstrap-select .dropdown-menu.show {
  padding-top: 0px !important;
}

/* Activity modal */
.activity-item.card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1rem;
}

/* Status Colors for Different Activities */
.activity-item .text-success {
  color: #28a745 !important;
  font-weight: 600;
}

.activity-item .text-danger {
  color: #dc3545 !important;
  font-weight: 600;
}

.activity-item .text-info {
  color: var(--grblue) !important;
  font-weight: 600;
}

/* Field Changes Styling */
.field-change {
  display: flex;
  align-items: center;
}

.inline-field-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.value-change {
  display: flex;
  align-items: center;
  flex: 1;
}

.old-value, .new-value {
  background: #f8f9fa;

  border-radius: 4px;
  font-size: 0.9rem;
}

.added-value {
  color: #28a745;
}

.deleted-value {
  color: #dc3545;
}

/* Icons */
.fa-arrow-right {
  color: #6c757d;
  font-size: 0.8rem;
}

/* Lists */
.activity-item ul {
  margin: 0.5rem 0 0 0;
}

.nobreak {
  white-space: nowrap;
}

/* Activity modal - responsiveness */
@media (max-width: 768px) {
  .value-change {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .value-change .fa-arrow-right {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }
}

.nav-link.text-body {
  padding-left: 10x;
  padding-right: 10x;
}

/* Pulse animations (waarschuwingen) */

.pulse-red {
  animation: pulse-animation-red 2s infinite;
}

.pulse-orange {
  animation: pulse-animation-orange 2s infinite;
}

.pulse-info {
  animation: pulse-animation-info 2s infinite;
}

.pulse-green {
  animation: pulse-animation-green 2s infinite;
}

@keyframes pulse-animation-red {
  0% {
    box-shadow: 0 0 0 0px rgba(255, 23, 23, 0.466);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }
}

@keyframes pulse-animation-orange {
  0% {
    box-shadow: 0 0 0 0px rgba(255, 162, 23, 0.308);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }
}

@keyframes pulse-animation-info {
  0% {
    box-shadow: 0 0 0 0px rgba(46, 81, 112, 0.466);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }
}

@keyframes pulse-animation-green {
  0% {
    box-shadow: 0 0 0 0px rgba(40, 167, 69, 0.466);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }
}

/* file dropzone */

.file-dropzone {
  border: 2px dashed var(--grblue);
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.file-dropzone[disabled] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  background-color: #f8f9fa;
}

.file-dropzone[data-loading="true"] {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  cursor: progress;
  pointer-events: none;
  opacity: 0.5;
  animation: pulse-animation-info 2s infinite;
}

.file-dropzone:hover, .file-dropzone.dragover {
  background-color: var(--grblue-transparent);
}

.file-input-hidden {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-content {
  padding: 20px;
  color: var(--grblue);
}

/* reis difficulty dots */

.difficulty-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.difficulty-dot {
  cursor: pointer;
  font-size: 16px;
  color: #dee2e6;
  transition: all 0.2s ease;
}

.difficulty-dot.active {
  color: var(--grblue);
}

.difficulty-dot:hover {
  color: var(--grblue-light);
  transform: scale(1.1);
}

/* daterangepicker */

.daterangepicker .ranges li.active {
  background-color: var(--grblue) !important;
}

.calendar-table .active {
  background-color: var(--grblue) !important;
}

/* custom tabulator multi-select filter */

.multiselect-dropdown {
  position: relative;
  width: 100%;
}

.from-till-column input {
  color: #818181;
}

.multiselect-dropdown-button {
  width: 100%;
  padding: 3px 8px;
  background: white;
  border: 1px solid rgb(128, 128, 128);
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  box-sizing: border-box;
  font-family: 'Roboto';
  box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 4px 0px;
  font-weight: 400;
  color: black;
}

.multiselect-dropdown-button.nothing-selected {
  color: #818181 !important;
}

.multiselect-dropdown-button-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multiselect-dropdown-button-icon {
  flex-shrink: 0;
  font-size: 10px;
}

.multiselect-dropdown-button:hover {
  border-color: #999;
}

.multiselect-dropdown-menu {
  position: fixed;
  background: white;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  min-width: 150px;
}

.multiselect-dropdown-menu.open {
  display: block;
}

.multiselect-option {
  padding: 6px 8px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
}

.multiselect-option:hover {
  background-color: #f5f5f5;
}

.multiselect-option input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

.multiselect-option label {
  cursor: pointer;
  margin: 0;
  flex: 1;
}

.multiselect-clear {
  padding: 6px 8px;
  cursor: pointer;
  font-size: 11px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-weight: 600;
}

.multiselect-clear:hover {
  background-color: var(--grbluetrans);
}

.multiselect-search-container {
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  background-color: #f9f9f9;
}

.multiselect-search-input {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  box-sizing: border-box;
  outline: none;
}

.multiselect-search-input:focus {
  border-color: #4A90E2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.multiselect-options-container {
  max-height: 150px;
}