:root {
  --active-link: #5691C3;
  --active-link-h: #4878a2;
  --inactive-link: #C7AD8A;
  --text: #575252;
  --text-h: #464242;
  --button: #6C757D;
  --button-h: #545b60;
  --frame: #BEBDBD;
  --add: #528E97;
  --add-h: #43747b;
  --alert: #DC3A3A;
  --alert-h: #c13333;
  --default-btn-padding: 0.375rem 0.75rem;
}

html {
  font-size: 16px;
}

.small-scrollbar::-webkit-scrollbar,
.small-scrollbar ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.small-scrollbar::-webkit-scrollbar-track,
.small-scrollbar ::-webkit-scrollbar-track {
  background: lightgray;
}

.small-scrollbar::-webkit-scrollbar-thumb,
.small-scrollbar ::-webkit-scrollbar-thumb {
  background: darkgray;
  border-radius: 5px;
}

.small-scrollbar::-webkit-scrollbar-thumb:hover,
.small-scrollbar ::-webkit-scrollbar-thumb:hover {
  background: gray;
}


body {
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}

main.content {
  padding: 0 2rem;
}

.tab-loader {
  height: 80dvh;
}

.mxth {
  max-height: 60dvh;
}

.page-wrapper {
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
}

.header-content {
  padding: 2rem;
}

.header-content .nav-item {
  text-decoration: none;
  font-weight: 600;
  color: var(--inactive-link);
}

.header-content .nav-item.active {
  color: var(--active-link);
}

.nav-btns {
  display: flex;
  gap: 3rem;
}

.nav-btns>.nav-btn {
  color: var(--button);
  font-weight: 500;
  display: flex;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-item.hover,
.dropdown-item:hover,
.dropdown-item:hover * {
  background: var(--add);
  color: #fff !important;

}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:active * {
  background: #D9D9D9;
  color: var(--text) !important;
}

.dropdown-menu {
  border-radius: 0;
  box-shadow: 0 0 0 2px #fff;
}

.nav-btns>.nav-btn a {
  color: var(--button);
  font-size: 1.5rem;
  text-decoration: none;
}

.nav-btn .dropdown-toggle * {
  font-size: 1.125rem;
}

/* .nav-btn .dropdown-toggle *:hover {
  filter: brightness(.7);
} */

.nav-btn .dropdown-toggle:hover,
.nav-btn .link-btn:hover {
  filter: brightness(.7);
}

.dropdown-menu a {
  color: var(--button);
  font-size: 1rem !important;
  text-decoration: none;
}

.nav-btns>.nav-btn:hover,
.nav-btns>.nav-btn:not(".dropdown-menu") a:hover {
  filter: brightness(.7);
}

.nav-btns>.nav-btn>i {
  font-size: 1.5rem;
}

.btn-default {
  background: var(--button);
  border-radius: 0;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  text-decoration: none;
  padding: var(--default-btn-padding);
}

.btn-default:hover {
  background: var(--button-h);
}


/* AGENDA DATATABLE SRYLES */

/* PAGING */
.dt-paging {
  display: flex;
  gap: 1px;
}

.dt-paging .dt-paging-button {
  border: none;
  background: #D9D9D9;
  color: var(--text);
  padding: var(--default-btn-padding);
  line-height: normal;
}

.dt-paging .dt-paging-button.disabled {
  opacity: .5;
  cursor: default;
}

.dt-paging .dt-paging-button.current {
  background: var(--active-link);
  color: #fff;
  font-weight: 500;
  cursor: default;
}

.dt-paging .ellipsis {
  display: flex;
  align-items: end;
  border: none;
  background: #D9D9D9;
  color: var(--text);
  padding: var(--default-btn-padding);
  line-height: normal;
  cursor: default;
}

.dtsp-panesContainer .dt-scroll-body table.dataTable {
  table-layout: fixed;
}

.dtsp-panesContainer .dt-scroll-body table.dataTable colgroup {
  display: none;
}


/* END PAGING */

.datatable-pane-layout {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
}

.datatable-pane-layout .tbl {
  width: 85%;
  overflow: auto;
}

.datatable-pane-layout .pn {
  width: 15%;
}

.dt-processing {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 3;
}

#datatablesTasks_wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.icon-btn:hover {
  cursor: pointer;
  filter: brightness(.8);
}

.dt-search,
.dt-length {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* TABLE */

.agenda-table th,
.agenda-table td {
  color: var(--text);
  padding: 1rem;
}

.agenda-table th {
  font-weight: 700;
  position: relative;
}

.agenda-table .dt-column-order {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translate(0, -50%);
  display: flex;
  width: min-content;
  flex-direction: column;
  gap: .25rem;
  color: #e8e9ea;
}

.agenda-table .dt-orderable-asc,
.agenda-table .dt-orderable-desc {
  cursor: pointer;
}

.agenda-table .dt-orderable-asc.dt-ordering-asc .dt-column-order:after {
  color: var(--text);
}

.agenda-table .dt-orderable-desc.dt-ordering-desc .dt-column-order:before {
  color: var(--text);
}

.agenda-table .dt-orderable-asc .dt-column-order:before {
  content: "\25B2";
  font-size: 0.6rem;
  line-height: 50%;
}

.agenda-table .dt-orderable-desc .dt-column-order:after {
  content: "\25BC";
  font-size: 0.6rem;
  line-height: 50%;
}

.agenda-table td {
  font-weight: 500;
  vertical-align: middle;
}

.agenda-table td.dt-control {
  vertical-align: middle;
  line-height: 0;
}

.agenda-table td.dt-control:after {
  display: inline-block;
  content: "";
  background: url('/assets/img/icons/add.png') no-repeat center center;
  background-size: contain;
  aspect-ratio: 1/1;
  width: 1.5rem;
  cursor: pointer;
}

.striped>tbody>tr.odd>* {
  background: #ededed;
}

.striped-custom-order>tbody>tr:not([data-dt-row]):nth-of-type(odd)>* {
  background: #ededed;
}


.agenda-table .dt-hasChild td.dt-control:after {
  background: url('/assets/img/icons/subtract.png') no-repeat center center;
  background-size: contain;
}

.agenda-table td.dt-control:after:target-text {}

.nav-tabs.date-filter-tabs {
  width: 100%;
  flex-wrap: wrap;
  overflow: hidden;
  justify-content: stretch;
  border: none;

}

.date-filter-tabs .nav-item {
  overflow: hidden;
  flex-grow: 1;
  border-radius: 0;
}

.date-filter-tabs .nav-link {
  padding: .25rem .25rem;
  font-size: .75rem;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  color: var(--text);
  transition: none;
  text-align: center;
  border-radius: 0;
}

.date-filter-tabs .nav-link.active {
  border: 1px solid transparent;
  margin: 0;
  color: var(--text);
  background: var(--add);
  color: #fff;
}

.tab-content.table-filter-label {
  padding: .5rem 0;
}

.tab-content.table-filter-label {
  /* margin-bottom: 275px; */
}

.tab-content.table-filter-label .tab-pane {
  padding: 0;
}


/* END TABLE */

/* TABLE SWITCH */

.agenda-switch {
  position: relative;
  display: inline-block;
  width: 2.1rem;
  height: 1.6rem;
}

.agenda-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.agenda-switch-label {
  color: var(--button);
  font-weight: 500;
  font-size: 1.125rem;
  margin-right: .25rem;
}

.agenda-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--frame);
  border-radius: 4px;
  -webkit-transition: .4s;
  transition: .4s;
}

.agenda-slider:before {
  position: absolute;
  content: "";
  height: 1rem;
  width: .8rem;
  left: .2rem;
  bottom: 50%;
  transform: translateY(50%);
  background-color: var(--frame);
  border-radius: 4px;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.agenda-slider {
  border-color: var(--add);
}

input:checked+.agenda-slider:before {
  -webkit-transform: translate(calc(2.1rem - .2rem * 2 - .8rem - 2px), 50%);
  -ms-transform: translate(calc(2.1rem - .2rem * 2 - .8rem - 2px), 50%);
  transform: translate(calc(2.1rem - .2rem * 2 - .8rem - 2px), 50%);
  background-color: var(--add);
}

/* END TABLE SWITCH */

/* CHILD */

/* .child-row .child-table {
  margin-bottom: 2rem;
} */

.child-row {
  font-size: 0.875rem;
}

.child-row .child-table th,
.child-row .child-table td {
  font-size: 0.875rem;
  padding: 0.25rem .5rem;
  font-weight: 700;
}

.child-row .child-table th {
  background: #EDEDED;
}

.child-row .next-steps-block {
  font-size: 0.875rem;
  font-weight: 700;
}

.child-priority {
  padding: .5rem 2rem;
  background: #EDEDED;
  font-weight: 700;
}

.child-row h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
}

.child-row h4 {
  font-size: 0.875rem;
  font-weight: 700;
}

.child-row .actual_status {
  font-weight: 400;
  font-style: italic;
}

.next_steps-table {
  counter-reset: step-counter;
}

.child-row .child-table.next_steps-table th {
  font-weight: 900;
}

.next_steps-table .step-counter {
  /* counter-increment: step-counter; */
  padding-right: 0;
  text-align: right;
}

.next_steps-table .step-counter::after {
  content: counter(step-counter) ".";
  counter-increment: step-counter;
  color: var(--active-link);
}

.next-steps-edit {
  counter-reset: rowNumber;
}

.next-steps-edit .step-counter {
  counter-increment: rowNumber;
  padding-right: 0;
  text-align: right;
}

.next-steps-edit .step-counter::before {
  content: counter(rowNumber) ".";
  /* counter-increment: rowNumber; */
  font-size: 1rem;
  font-weight: 500;
}

input.search-with-dropdown {
  font-size: 1.125rem;
  padding: .5rem 1rem !important;
  font-weight: 500;
}

.search-with-dropdown::placeholder {
  font-weight: 400;
  color: var(--button);
}

.dropdown-main-item {
  color: var(--text);
  font-weight: 500;
}

.dropdown-support-item {
  color: var(--text);
  font-weight: 300;
  font-style: italic;
  padding-left: .5rem;
}



/* END CHILD */

/* SEARCH PANES */

.dtsp-panesContainer .dtsp-titleRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -1.5rem;
}

.dtsp-panesContainer .dtsp-searchPane>.dt-container {
  border: 1px solid var(--frame);
  padding: .5rem;
}

.dtsp-panesContainer .dtsp-searchPane .dt-scroll .dataTable tr {
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
}

.dtsp-panesContainer .dtsp-searchPane .dt-scroll .dataTable tr.selected {
  background: var(--add);
  color: #fff;
}

.dtsp-panesContainer .dtsp-searchPane .dt-scroll .dataTable tr.selected .dtsp-pill {
  background: #fff;
}

.dtsp-searchPanes .dtsp-topRow .dtsp-search::placeholder {
  color: var(--text) !important;
  font-weight: 700;
}

.dtsp-panesContainer .dtsp-searchPane .dt-scroll .dt-scroll-body {
  height: unset !important;
}

div.dtsp-narrow {
  flex-direction: row !important;
}

div.dtsp-narrow div.dtsp-subRow2 button {
  margin: 2px !important;
  width: 35px !important;
}

div.dtsp-narrow div.dtsp-subRow1,
div.dtsp-narrow div.dtsp-subRow2 {
  width: unset;
}

.dtsp-title {
  margin-left: .1rem;
}

/* END SEARCH PANES */

/* CHECKBOX TABS */

.top-table-filter-component {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--frame);

}

.top-table-filters {
  display: flex;
}

.top-table-filter-wrapper {
  position: relative;
  display: flex;
  font-size: 0.875rem;
  text-wrap: nowrap;
}

.top-table-filter-input {
  margin-left: 2rem;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.default .top-table-filter-input {
  margin: 0;
}

.top-table-filter-wrapper i {
  display: flex;
  width: 2rem;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 5px;
  border: 1px solid var(--frame);
  background: var(--frame);
  color: #fff;
  cursor: move;
}

.top-table-filter-wrapper .top-table-filter-input:checked+i {
  border: 1px solid var(--active-link);
  background: var(--active-link);
}

.top-table-filter-wrapper label {
  border-top-right-radius: 5px;
  border: 1px solid var(--frame);
  color: var(--inactive-link);
  font-weight: 500;
  padding: 0 1rem;
  background: #fff;
}

.default.top-table-filter-wrapper label {
  border-top-left-radius: 5px;
}

.top-table-filter-wrapper .top-table-filter-input:checked+label,
.top-table-filter-wrapper .top-table-filter-input:checked+i+label {
  border: 1px solid var(--active-link);
  color: var(--active-link)
}

.ui-sortable-placeholder {
  visibility: visible !important;
  background: #ededed;
  border: 2px dashed var(--add);
  border-bottom: 1px solid var(--add);
  ;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  z-index: 1;
}

.top-table-filter-wrapper>* {
  margin-bottom: -1px;
}

/* END CHECKBOX TABS */

.agenda-table tr.dt-rowReorder-moving {
  border: 3px dashed var(--add);
  background: #fff;
}

.agenda-table tr.dt-rowReorder-moving td {
  background: #fff;
  opacity: .5;
}

td.reorder {
  cursor: move;
}

.themes-edit-form-component {
  border: 1px solid var(--frame);
  padding: .5rem 1rem;
  margin-bottom: .5rem;
}

.tab-footer {
  border-top: 1px solid var(--frame);
  padding: 2rem .25rem 1rem;
  color: var(--button);
  font-weight: 500;
}

.tab-footer .icon-btn {
  color: var(--text);
}

.tab-footer-item {
  color: var(--text);
  font-weight: 400;
}

.dt-rowReorder-float-parent {
  display: none;
}

.dt-empty {
  text-align: center;
}

.table-filter-label {
  margin-bottom: .25rem;
  font-weight: 700;
  font-size: .875rem;
  padding-left: 3px;
}

.add-date-field {
  font-size: 1.125rem;
}

#datesFiltersResults {
  min-height: 275px;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.date-filer-type-label {
  max-width: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-filter-result-item {
  font-size: .75rem;
  background: var(--add);
  padding: 3px 5px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
}

.date-filter-result-item-text i {
  margin: 0 .25rem;
}

.delete-filter-result-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  min-width: 18px;
  max-height: 18px;
  max-width: 18px;
}

.date-filter-result-item:hover .delete-filter-result-item {
  background: var(--add-h);
  border-radius: 50px;
  cursor: pointer;
}

.delete-filter-result-item:hover {
  background: #fff !important;
  color: var(--add);
}

.table-filter-input input {
  border-radius: 4px;
  border: 1px solid var(--frame);
  padding: 3px;
}

.table-filter-input:focus {
  box-shadow: none !important;
  border: 1px solid #000;
}

.selection-table tr:hover td {
  background: var(--add) !important;
  color: #fff;
  cursor: pointer;
}

.task-info-label {
  border: 2px dashed var(--add);
  font-size: .875rem
}

.task-info-label .agenda-name {
  font-weight: 700;
}

.task-info-label .agenda-counter {
  font-weight: 400;
}

/* END AGENDA DATATABLE SRYLES */

.datatable-components {
  display: none;
}

.alert-bg {
  background-color: var(--alert);
}

.alert-bg:hover {
  background-color: var(--alert-h);
}

.gray-bg {
  background-color: #ededed;
}

.add-bg {
  background-color: var(--add);
}

.add-bg:hover {
  background-color: var(--add-h);
}

.form-select,
.form-control {
  border-radius: 0;
  border: 1px solid var(--frame);
  color: var(--text);
  font-size: 0.875rem;
}

.button-txt {
  color: var(--button);
}

.alert-txt {
  color: var(--alert);
}

.add-txt {
  color: var(--add);
}

.agend-table-link {
  color: var(--active-link);
}

.agend-table-link:hover {
  color: var(--active-link-h);
}

.w-80 {
  width: 80%;
}

textarea.form-control {
  max-height: 400px;
  font-weight: 500;
}

.fs-small {
  font-size: 0.875rem;
}

.input-group-text {
  border-radius: 0;
  color: var(--text);
  font-size: 0.875rem;
  background-color: #ededed;
  font-weight: 500;
}

.modal-components {
  display: none;
}

.photo_preview {
  height: 10rem;
}

.border-dashed-add {
  border: 3px dashed var(--add);
}

.photo-toolbar {
  background: #fff;
  position: absolute;
  top: .25rem;
  right: .25rem;
  padding-bottom: 3px;
}

.modal-float {
  z-index: 999999;
  background: #00000080;
}

.modal-float .modal-content {
  margin-top: 3rem;
}

.search-dropdown {
  width: calc(100% - 2rem);
  border-radius: 0;
  margin-top: .25rem;
}

.dropdown-item {
  cursor: pointer;
}

.search-dropdown .dropdown-item {
  text-wrap: wrap;
  font-size: 1rem;
  line-height: normal;
}

.cursor-pointer {
  cursor: pointer;
}

.notification-placeholder {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.notification-placeholder .alert {
  margin-top: 5px;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  opacity: 0;
  transform: translateY(-20px);
}

.large-quill-input .ql-editor {
  min-height: 10rem;
}

.filter-input {
  border-radius: 4px;
}

.filter-input-label {
  color: var(--text) !important;
  font-weight: 700;
  font-size: .875rem;
}

/* 
.align-center-quill *:not(li,ol) {
  text-align: center;
}

.align-center-quill  li,
.align-center-quill  li > * {
  text-align: left;
} */

.select2.select2-container .selection .select2-selection:not(.select2-selection--multiple) {
  height: 100%;
  border-radius: 0;
}

.select2.select2-container .selection .select2-selection:not(.select2-selection--multiple) .select2-selection__rendered {
  height: 100%;
  display: flex;
  align-items: center;
}

.select2.select2-container .selection .select2-selection:not(.select2-selection--multiple) .select2-selection__arrow {
  height: 100%;
  display: flex;
  align-items: center;
}

.icon-link {
  text-decoration: none;
  color: #000;
}

.wiki-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  padding: 0 .25rem;
  position: relative;
  z-index: 1;
}

.wiki-btn:hover:after {
  box-shadow: 0 0 0 2px #0000001f;
}

.wiki-btn:after {
  position: absolute;
  display: block;
  content: "";
  background: #fff;
  width: 100%;
  aspect-ratio: 1/1;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  z-index: -1;
  border: 1px solid var(--frame);
  border-radius: 100%;
}

input[type="range"] {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

div.dt-button-collection {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  margin-top: 3px;
  margin-bottom: 3px;
  padding: .75em 0;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background-color: white;
  overflow: hidden;
  z-index: 2002;
  box-sizing: border-box;
}

div.dt-button-collection .dt-button {
  border-radius: 0;
}

div.dt-button-collection .dt-button {
  position: relative;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  float: none;
  justify-content: space-between;
  align-items: center;
  background: none;
  margin: 0;
  padding: .5em 1em;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--button);
  font-size: 1rem;
}

div.dt-button-collection .dt-button:hover {
  background: var(--add);
  color: #fff !important;
}

div.dt-buttons .dt-button {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dt-button .dt-button-down-arrow {
  display: none;
  margin-left: .5rem;
  font-size: .5rem;
  margin-bottom: .25rem;
}

div.dt-buttons .buttons-collection:after {
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;

}


div.dt-buttons>.dt-button,
div.dt-buttons>div.dt-button-split .dt-button {
  position: relative;
}

.dt-button-background {
  display: none !important;
}