:root {
  --brand-blue: #066169;
  --brand-yellow: #ffd402;
  --gray-background: #f2f2f2;
  --border-color: #e5e7eb;
}

.mh {
  max-height: 100px;
}
/*Categorieen*/
.primary_cat {
  padding-left: 5px;
  font-weight: bold;
  background-color: #f2f9fa;
}
.sub_cat_1 {
  padding-left: 20px !important;
}
.sub_cat_2 {
  padding-left: 35px !important;
}
.sub_cat_3 {
  padding-left: 45px !important;
}
.sub_cat_4 {
  padding-left: 60px !important;
}
.sub_cat_5 {
  padding-left: 75px !important;
}
/*Formulier*/
table.formulierOpmaak {
  width: 80%;
  margin: 0px;
  margin-bottom: 20px;
  padding: 0px;
}
table.formulierOpmaak tr th {
  height: 30px !important;
  height: 20px;
  width: 280px;
  padding: 5px;
  margin: 0px;
  text-align: left;
  color: black;
  font-weight: normal;
  border-bottom: 1px #ccc solid;
}
table.formulierOpmaak tr td {
  height: 30px !important;
  height: 20px;
  width: auto;
  padding: 5px;
  margin: 0px;
  border-bottom: 1px #ccc solid;
  border-left: 1px #ccc solid;
  line-height: 14pt;
}
table.formulierOpmaak tr th.header {
  width: auto;
  height: 30px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: left;
  color: black;
  font-weight: bold;
  font-size: 8pt;
  line-height: 16pt;
  background-color: #f2f2f2;
  background: none;
  border-bottom: 1px #ccc solid;
  vertical-align: bottom;
}
div.scrollbox {
  position: relative;
  height: 250px;
  overflow-y: scroll;
  overflow-x: hidden;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 1px solid #d4d0c8;
  border-bottom: 1px solid #d4d0c8;
  font-size: 1rem;
  color: #333;
}
table.formulierOpmaak tr td.spacer {
  height: 10px !important;
  line-height: 10px;
  padding: 0px;
  border-left: none;
}
table.formulierOpmaak .required,
.card .required {
  background-color: #d8d8d8;
}

small {
  font-size: smaller;
}
table.overzicht tr td {
  padding: 7px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 0.9rem;
  border-bottom: 1px #ccc solid;
  border-left: 1px #ccc dotted;
}
/*Bootstrap Duallistbox*/
.moveall,
.removeall,
.move {
  border: 1px solid #ccc !important;
}
.moveall:hover,
.removeall:hover,
.move:hover {
  background: #efefef;
}

.moveall::after {
  content: attr(title);
}

.removeall::after {
  content: attr(title);
}

.form-group label {
  margin-bottom: 0.1rem !important;
}
.form-control {
  padding: 0.75rem !important;
  min-height: 2.5rem;
  border-radius: 10px !important;
  border-color: var(--border-color) !important;
  background-color: #fff !important;
  transition: all 0.3s ease;
}
select.form-control-sm,
select.custom-select-sm,
select.custom-select.custom-select-sm.form-control.form-control-sm {
  min-height: calc(1.5em + 0.5rem + 2px) !important;
  height: calc(1.5em + 0.5rem + 2px) !important;
  padding: 0.25rem 1.75rem 0.25rem 0.5rem !important;
}
.form-control option {
  padding: 10px;
  color: black;
  border-bottom: 1px solid #efefef;
}

.table-search-field {
  position: relative;
}

.table-search-field .search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  z-index: 2;
}

.table-search-field .form-control {
  min-height: 2.75rem;
  height: 2.75rem;
  padding-left: 2.2rem !important;
}
.form-select,
.bootstrap-select > .dropdown-toggle,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.bootstrap-select.form-control {
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bootstrap-select > .dropdown-toggle {
  min-height: 2.5rem;
  padding: 0.75rem !important;
}

.bootstrap-select .bs-actionsbox .btn-group {
  gap: 0.5rem;
}

.bootstrap-select .bs-actionsbox {
  margin-top: 0.5rem;
}

.bootstrap-select .bs-actionsbox .actions-btn {
  border: 1px solid var(--brand-blue) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--brand-blue) !important;
}

.bootstrap-select .bs-actionsbox .actions-btn:hover,
.bootstrap-select .bs-actionsbox .actions-btn:focus,
.bootstrap-select .bs-actionsbox .actions-btn:focus-visible {
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-color: var(--brand-blue) !important;
  outline: none !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--brand-blue) !important;
}

/* .form-control:hover:not(:disabled):not([readonly]),
.form-select:hover:not(:disabled),
.bootstrap-select > .dropdown-toggle:hover,
.select2-container--default:hover .select2-selection--single,
.select2-container--default:hover .select2-selection--multiple {
  border-color: #cbd5e1 !important;
  background-color: var(--gray-background) !important;
  color: #000 !important;
} */

.dropdown-toggle:hover {
  background-color: var(--gray-background) !important;
  color: #000 !important;
}

.form-control:focus,
.form-control:focus-visible,
.form-select:focus,
.form-select:focus-visible,
.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select > .dropdown-toggle:focus-visible,
.bootstrap-select.show > .dropdown-toggle,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border-color: var(--brand-blue) !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--brand-blue) !important;
  background-color: #fff !important;
  outline: none !important;
}

.input-group-text {
  border-color: var(--border-color) !important;
  background-color: #fff !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.input-group:hover .input-group-text {
  border-color: #cbd5e1 !important;
  background-color: #fcfcfc !important;
}

.input-group:focus-within .input-group-text {
  border-color: var(--brand-blue) !important;
  background-color: #fff !important;
  color: var(--brand-blue) !important;
}

.btn:focus,
.btn:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--brand-blue) !important;
}

.btn.delete_button,
.btn.edit_button {
  box-shadow: none !important;
  background-position: center center !important;
}

/* .btn-group .btn {
  padding: 0 !important;
} */

@media (min-width: 992px) {
  .container-scroller {
    overflow: visible !important;
  }

  .sidebar {
    position: fixed;
    top: 97px;
    left: 0;
    width: 220px;
    height: calc(100vh - 97px);
    overflow-y: auto;
    z-index: 12;
  }

  .main-panel {
    margin-left: 220px;
    width: calc(100% - 220px);
  }

  .app-footer {
    width: 100%;
    margin-left: 0;
    padding-left: calc(220px + 1rem);
    box-sizing: border-box;
    position: relative;
    z-index: 11;
  }
}

.form-check-input:focus,
.form-check-input:focus-visible,
.status-filter:focus + .form-check-label,
.status-filter:focus-visible + .form-check-label {
  outline: none !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--brand-blue) !important;
}

#tabs .ui-tabs-anchor:focus,
#tabs .ui-tabs-anchor:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--brand-blue) !important;
}
.bootstrap-select.required_select .btn {
  background-color: #d8d8d8;
  color: black;
}

/*Voorraad Error*/
.stock_error {
  animation: error_animation 1s;
  /*animation: shake 0.5s;*/
}
@keyframes error_animation {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    background-color: white;
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    background-color: red;
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    background-color: white;
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    background-color: red;
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    background-color: white;
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
.dropzone .dz-preview .dz-image {
  width: 250px !important;
  height: 250px !important;
}

/* Tabs */
.main-tab,
form#newItemForm,
#tabs {
  background-color: #f2f2f2;
  border: none;
}

#tabs .ui-tabs-nav {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  margin-left: -8px;
  /* margin-bottom: -2px !important; */
}

#tabs .ui-tabs-tab {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none !important;
  background: transparent !important;
}

.home-tab .tab-content {
  padding: 0px 0 !important;
}

#tabs .ui-corner-top {
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
}

#tabs .ui-tabs-anchor {
  display: block;
  padding: 0.65rem 1rem !important;
  border: 1px solid #d8dee6;
  border-color: transparent;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  background: #fff;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

#tabs .ui-tabs-active,
#tabs .ui-state-active {
  background: transparent !important;
  /* border-color: transparent !important; */
}

#tabs .ui-tabs-active .ui-tabs-anchor,
#tabs .ui-state-active .ui-tabs-anchor {
  background: var(--brand-blue) !important;
  /* border-color: var(--brand-blue) !important; */
  color: #ffffff !important;
  position: relative;
  z-index: 4;
  /* box-shadow: 0 10px 24px rgba(6, 97, 105, 0.22); */
}
/* #tabs .ui-tabs-panel {
  overflow: hidden;
} */
#tabs .ui-tabs-panel,
#tabs .card {
  position: relative;
  z-index: 1;
}

#tabs .ui-tabs-panel {
  overflow: visible !important;
}

#tabs .card,
#tabs .card-body,
#tabs table,
#tabs tbody,
#tabs tr,
#tabs td {
  overflow: visible !important;
}

#tabs .card-body.table-responsive,
#tabs .ui-tabs-panel .table-responsive {
  overflow: visible !important;
}

#tabs .bootstrap-select.show,
#tabs .bootstrap-select.show > .dropdown-toggle {
  position: relative;
  z-index: 1070 !important;
}

#tabs .bootstrap-select .dropdown-menu {
  z-index: 1060 !important;
}

.card .box-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem !important;
}
.card .box-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.3rem !important;
}

hr {
  background-color: var(--border-color) !important;
  opacity: 1 !important;
}
.border-bottom {
  border-bottom: 1px solid var(--border-color) !important;
}
/* #tabs .ui-tabs-active .ui-tabs-anchor::after,
#tabs .ui-state-active .ui-tabs-anchor::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: #ffd402;
} */

.ui-tabs-panel {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}

.btn-secondary:hover,
.wizard > .actions .disabled a:hover,
.btn-secondary:focus,
.wizard > .actions .disabled a:focus {
  background: #5f5f5f !important;
  color: white !important;
}

.hide {
  display: none !important;
}
/* Tabs */
/*Button press style*/
.btn-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
  background-color: #fff !important;
  border-color: #000 !important;
  color: #000 !important;
}
.btn-primary,
.wizard > .actions a {
  background: #ffd402 !important;
  /*border-color: #000 !important;*/
  color: #000 !important;
}
/*Button press style*/
/*Data Tables*/
.dataTable tr img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 20% !important;
}
/*Data Tables*/
/* Background */
.bg-primary {
  background-color: #ffd402 !important;
}
/* Background */
/*Duallist*/
.moveall,
.removeall {
  background: #393939 !important;
  color: white !important;
}
.duallist-select option {
}
.dualbox-option:not(.disabled):hover {
  color: var(--bs-primary);
}
.select_div {
  min-height: 150px;
  overflow: auto;
}
.dualbox-option {
  max-height: 40px;
  min-height: 40px;
  padding-bottom: 2px;
  cursor: pointer;
}
/*Duallist*/

/*tags*/
div.tagsinput span.tag {
  background: var(--bs-secondary) !important;
  color: white !important;
}
div.tagsinput span.tag a {
  color: var(--bs-primary) !important;
}
/*tags*/

#tabs .ui-tabs-active,
#tabs .ui-state-hover {
  /*box-shadow: 0 4px 2px -2px var(--bs-primary) !important;*/
  /*border-bottom: 2px solid var(--bs-primary) !important;*/
}
#tabs .ui-tabs-active a {
  color: white !important;
}
/*Modal*/
.modal-content {
  background-color: #f2f2f2 !important;
}
/*Modal*/
/*Media Table*/
.media_table td:hover {
  cursor: move;
}
.ui-sortable-handle {
  cursor: move;
}
/*Media Table*/

/*Dashboard Chart*/
.chartjs-legend ul li span,
.widget-span {
  height: 10px;
  width: 10px;
  border-radius: 100%;
  margin-right: 10px;
  display: inline-block;
  font-size: 0.812rem;
}

/*Dashboard Chart*/
/*Navbar*/
.navbar .navbar-menu-wrapper .navbar-nav .nav-item .button {
  padding: 8px 15px;
  border-radius: 6px;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  min-width: auto;
  height: 34px;
}
/*Navbar*/
/*Buttons*/
.edit_button {
  opacity: 5 !important;
  width: 18px !important;
  height: 18px !important;
  border: none !important;
  background-image: url("../images/buttons/edit_button.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: transparent !important;
}
.show_button {
  opacity: 5 !important;
  width: 18px !important;
  height: 18px !important;
  border: none !important;
  background-image: url("../images/buttons/view_button.svg") !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}
.account_button {
  opacity: 5 !important;
  width: 36px !important;
  height: 36px !important;
  border: none !important;
  background-image: url("../images/buttons/Account.svg") !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}
.check_mark_icon {
  opacity: 5 !important;
  width: 16px !important;
  height: 16px !important;
  border: none !important;
  background-image: url("../images/buttons/check_mark.svg") !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}
.delete_button {
  width: 18px !important;
  height: 18px !important;
  border: none !important;
  background-image: url("../images/buttons/delete_button.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: transparent !important;
}
.edit_button:hover,
.delete_button:hover,
.show_button:hover {
  zoom: 1 !important;
  filter: alpha(opacity=50) !important;
  opacity: 0.5 !important;
}
/*Buttons*/
.loader-box {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
  background-color: #fff;
  z-index: 99;
}

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

.bg-table-head {
  background-color: #ebedf0 !important;
}

.saveNotes:hover .saveNotesIcon {
  color: #fff !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #000 !important;
}

.navbar-nav .previous,
.navbar-nav .next {
  background-color: white;
  padding: 0.3rem 0.5rem !important;
}

.custom-inner-card {
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
}

.crm-compact-card .card-body {
  padding: 0.875rem 1rem !important;
}

.crm-compact-card h6 {
  margin-bottom: 0.35rem;
}

.crm-compact-card h6:last-child {
  margin-bottom: 0;
}

.crm-address-card {
  max-width: 500px;
}

.crm-contact-card {
  max-width: 500px;
}

.form-check {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  min-height: 0 !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  padding-left: 0 !important;
}

.form-check .form-check-input {
  display: block !important;
  float: none !important;
  margin-top: 0 !important;
}

.form-check .checkbox {
  position: relative;
  margin-top: 0 !important;
  float: none !important;
}

.form-check .form-check-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-bottom: 0 !important;
  margin-left: 1.5rem !important;
  float: none !important;
  min-height: 0 !important;
}

/* Status filter pills */
.form-check .status-filter {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-check .status-filter + .form-check-label {
  position: relative;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-check .status-filter + .form-check-label .input-helper,
.form-check .status-filter + .form-check-label .input-helper::before,
.form-check .status-filter + .form-check-label .input-helper::after {
  display: none !important;
  content: none !important;
}

.form-check .status-filter:focus + .form-check-label,
.form-check .status-filter:focus-visible + .form-check-label {
  outline: none !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--brand-blue) !important;
}

.form-check .status-filter + .form-check-label.badge {
  border: 1px solid transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(currentColor, currentColor) border-box !important;
}

.form-check .status-filter:checked + .form-check-label.badge {
  background:
    linear-gradient(currentColor, currentColor) padding-box,
    linear-gradient(currentColor, currentColor) border-box !important;
  -webkit-text-fill-color: #fff;
}

.table td label.badge[style*="background-color"],
.jsgrid .jsgrid-table td label.badge[style*="background-color"] {
  display: inline-block;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

label.badge.badge-success,
span.badge.badge-success,
a.badge.badge-success {
  background-color: #34b1aa !important;
  color: #fff !important;
  border-color: #34b1aa !important;
}

label.badge.badge-danger,
span.badge.badge-danger,
a.badge.badge-danger {
  background-color: #f95f53 !important;
  color: #fff !important;
  border-color: #f95f53 !important;
}

label.badge.badge-warning,
span.badge.badge-warning,
a.badge.badge-warning {
  background-color: #ffaf00 !important;
  color: #fff !important;
  border-color: #ffaf00 !important;
}

label.badge.badge-info,
span.badge.badge-info,
a.badge.badge-info {
  background-color: #52cdff !important;
  color: #fff !important;
  border-color: #52cdff !important;
}

label.badge.badge-secondary.campaign-status-draft,
span.badge.badge-secondary.campaign-status-draft,
a.badge.badge-secondary.campaign-status-draft {
  background-color: #475569 !important;
  color: #fff !important;
  border-color: #475569 !important;
  -webkit-text-fill-color: #fff !important;
}

/* Buttons */

.btn {
  /* background: var(--brand-blue) !important;
  color: #fff !important; */
  transition: all 0.3s ease !important;
  min-height: 2.5rem;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  outline: none !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 4px rgba(6, 97, 105, 0.1) !important;
}

.btn-outline-secondary {
  border: var(--brand-blue) 1px solid !important;
  color: var(--brand-blue) !important;
}
.btn-outline-secondary:hover {
  border: var(--brand-blue) 1px solid !important;
  background-color: var(--brand-blue) !important;
  color: #fff !important;
}

.btn.btn-danger {
  color: #fff !important;
}

.mb-3\.5 {
  margin-bottom: 1.25rem !important;
}

.tab-pane.show.active {
  margin-bottom: 0;
}

.size-5 {
  width: 20px !important;
  height: 20px !important;
}
