@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

: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;
  --gray: #bbc3c3;
  --gray-bg: #D9D9D9;
  --black: #333333;
  --default-btn-padding: 0.375rem 0.75rem;
}

html {
  font-size: 16px;
}

@media (max-width: 1640px) {
  html {
    font-size: 14px;
  }

  .activityCalendar {
    height: 70%;
  }

  .flatpickr-calendar {
    transform: scale(0.8);
    transform-origin: top;
  }

}

body {
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0;
  color: var(--black);
  /* overflow: hidden; */
}

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

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

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

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

.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);
  text-align: center;
  cursor: pointer;
}

.btn-check:not(:checked)+.btn-default {
  opacity: .25;
}

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

.icon-btn:hover {
  cursor: pointer;
  filter: invert(20%)
}

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

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

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

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

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

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

.activity-link {
  color: var(--add);
  font-weight: 700;
  text-decoration: underline 1px dotted;
  cursor: pointer;
}

.activity-link:hover {
  color: var(--add-h);
  text-decoration: underline;
}

main.content {
  padding: 2rem 3rem;
}

h1.super-header {
  font-size: 8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #dfdfdf;
  margin-bottom: 2rem;
  margin-left: 7dvw;
}


.main-act-steps {}

.linked-list-wrapper {
  color: #000;
  --linked-list-bg: #fff;
  --connections: var(--gray);
  --titles: var(--gray);
  background: var(--linked-list-bg);
  height: fit-content;
}

.linked-list-item {
  cursor: pointer;
}

.linked-list-item.active {
  --titles: var(--add);
}

.linked-list-item.completed {
  --titles: var(--black);
}

.linked-list-wrapper .linked-list {
  list-style-type: none;
  padding: 0;
  counter-reset: step-counter;
}

.linked-list-wrapper .linked-list-text {
  display: flex;
  height: 5rem;
  justify-content: end;
  margin-right: 10rem;
  align-items: center;
  font-weight: 900;
  color: var(--titles);
  font-size: 2rem;
  text-align: right;
  line-height: normal;
}

.linked-list-wrapper .linked-list .linked-list-item {
  position: relative;
  margin: 6rem 0;
  padding-left: 3rem;
  vertical-align: middle;
}

.linked-list-wrapper .linked-list .linked-list-item::after {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  right: 0;
  bottom: 50%;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 7rem;
  font-weight: bold;
  color: var(--titles);
  background: #fff;
  ;
  border-radius: 100%;
  aspect-ratio: 1/1;
  width: 8rem;
  height: 8rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 0.75rem var(--linked-list-bg), 0 -0.75rem var(--linked-list-bg); */
  z-index: 1;
  border: 4px solid;
}

.linked-list-wrapper .linked-list .linked-list-text::before {
  content: "";
  position: absolute;
  right: 4rem;
  bottom: 5rem;
  width: 4px;
  height: 100%;
  background: var(--connections);
  transform: translate(50%, 0);
}

.linked-list-wrapper .linked-list .linked-list-text::after {
  content: "";
  position: absolute;
  right: 4rem;
  bottom: 5rem;
  width: 4px;
  height: 100%;
  background: var(--connections);
  transform: translate(50%, 100%);
}

.linked-list-wrapper .linked-list .linked-list-item:first-child>.linked-list-text::before,
.linked-list-wrapper .linked-list .linked-list-item:last-child>.linked-list-text::after {
  display: none;
}

.linked-list-item:first-child {
  margin-top: 3rem !important;
}

.linked-list-item:last-child {
  margin-bottom: 3rem !important;
}

h2.activity-header {
  text-align: right;
  font-weight: 900;
  border-bottom: 2px solid;
  margin-bottom: 1.5rem;
}

.result-block {
  /* overflow-y: auto; */
  overflow: hidden;
}

.navigation-btns {
  display: flex;
  justify-content: space-between;
}

.btn-navigation {
  background: none;
  border: none;
  font-size: 1.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--add);
}

.btn-navigation:disabled {
  color: var(--gray);
}

.btn-navigation:not(:disabled):hover {
  filter: brightness(0.8);
}

.result-block>.step-block {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.step-block .substep-block {
  flex-grow: 1;
  overflow: hidden;
}

.step-content-wrapper {
  height: 100%;
  overflow: hidden;
}

.activity-list-wrapper {
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.activity-list-item {
  position: relative;
}

.activity-list-item .activity-select-input {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.activity-list-item .activity-select-label {
  width: 100%;
  font-size: 1.125rem;
  padding: 0 .5rem;
}

.activity-list-item .activity-select-input:hover+.activity-select-label {
  background: #DDDDDD;
}

.activity-list-item .activity-select-input:checked+.activity-select-label {
  background: var(--add);
  color: #fff;
}

.participants-header {
  background: var(--gray-bg);
  padding: .25rem .5rem;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: .5rem;
  font-weight: 500;
}

.participants-header i {
  font-size: 1.5rem;
  color: var(--add);
}

.participants-body {
  overflow: auto;
  padding-right: .5rem
}

.company-block {
  /* overflow-y: auto; */
  /* height: 100%; */
  /* padding-right: .5rem; */
  margin-bottom: 1rem;
}

.company-block-header {
  background: var(--gray-bg);
  padding: .25rem .5rem;
  align-items: center;
  font-weight: 700;
  color: var(--add);
  margin-bottom: .5rem;
}

.company-block-header i {
  font-size: 1.25rem;
  color: var(--black);
}

.company-block-clients {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.participant-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .25rem .5rem;
}

.participant-item-text {
  flex-grow: 1;
}

.participant-item i {
  font-size: 1.25rem;
  color: var(--gray);
  align-self: start;
}

.participant-item i+i {
  margin-left: 1px;
}

.participant-item-position {
  color: var(--gray);
  font-size: .875rem;
}

.participant-item-name {
  color: var(--add);
  font-weight: 700;
}

.participant-item.responsible i {
  color: var(--add);
}

.internal.participants-body .participant-item:not(:last-child) {
  border-bottom: 1px solid var(--gray-bg);
}

.internal.participants-body .participant-item {
  padding: 1rem .5rem;
}

.internal.participants-body .participant-item-buttons {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.modal-title .btn-close {
  color: var(--black);
  opacity: 1;
  padding: .25rem;
  border: 2px solid;
  border-radius: 100%;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gray);
}

.no-header-scroll .data-table-head {
  display: none;
}

.no-header-scroll .dt-scroll-head {
  display: none;
}

.select-main {
  display: flex;
  gap: 1rem;
  padding: .5rem .25rem;
  font-size: 1.125rem;
  cursor: pointer;
  margin-right: .5rem;
}

.select-main:before {
  display: inline-block;
  content: "";
  background: url('/assets/img/icons/deselected.svg') no-repeat center center;
  background-size: contain;
  aspect-ratio: 1/1;
  min-width: 1.5rem;
  width: 1.5rem;
}

.selected .select-main {
  color: var(--add);
  font-weight: 500;
}

.selected .select-main:before {
  background: url('/assets/img/icons/selected.svg') no-repeat center center;
}

h6.table-header {
  font-weight: 900;
  font-size: 1.125rem;
}

.main-table-search-wrapper {
  padding: .25rem;
  margin-bottom: 1rem;
}

.main-table-search-wrapper .dt-search input {
  width: 100%;
  border: 1px solid var(--gray-bg);
  /* border-radius: 5px; */
  font-size: 1.5rem;
  padding: 2px 2.25rem 2px 2.25rem;
  outline: none;
}

.main-table-search-wrapper .dt-search input:focus {
  box-shadow: 0 0 0 .25rem #528e972b;
}

.main-table-search-wrapper .dt-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

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

.main-table-search .table-search-icon {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%) rotate(90deg);
  left: .5rem;
  color: var(--gray);
  font-size: 1.25rem;
  /* cursor: pointer; */
}

.main-table-search .clear-table-search {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: .5rem;
  color: var(--gray);
  font-size: 1.35rem;
  /* cursor: pointer; */
}

/* .main-table-search .table-search-icon:hover {
  filter: brightness(0.8);
}

.main-table-search .clear-table-search:hover {
  filter: brightness(0.8);
} */

.main-table-wrapper tbody>tr:hover>td {
  background: #D9D9D97A;
}

.search-result-modal {
  width: 100%;
  height: 65dvh;
  overflow-y: auto;
  overflow-x: hidden;
}

.search-modal-relults-list {
  display: flex;
  flex-direction: column;
  padding: 0 .25rem;
}

.search-modal-relults-list .search-result-item {
  padding: .5rem .5rem;
}

.search-modal-relults-list .search-result-item:hover {
  cursor: pointer;
  background: #D9D9D97A;
}

.datatable-components {
  display: none;
}

.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);
}

.table-overflow>* {
  height: 100%;
}

.file-input-area {
  /* padding: .5rem; */
  text-align: center;
  background: #dde2e2;
  position: relative;
  display: flex;
  /* overflow-x: auto; */
  align-items: center;
  /* overflow-y: auto; */
  box-sizing: border-box;
  height: fit-content;
}

.file-input-area>* {
  padding: .5rem;
}

.file-input-area.dragging {
  filter: brightness(.95);
}

.blank-text-file-input {
  opacity: .75
}

.file-previews {
  margin-top: .25rem;
  margin-left: .25rem;
  margin-right: .25rem;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.file-previews::-webkit-scrollbar-thumb {
  background: var(--add);
}

.file-previews::-webkit-scrollbar-thumb:hover {
  background: var(--add-h);
}


.file-preview {
  display: inline-block !important;
  color: var(--add);
  position: relative;
  width: 2.5rem;
  font-size: 2.5rem;
  text-align: left;
}

.file-preview i {
  color: var(--black);
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  font-size: 1rem;
  transform: translate(-50%, -50%)
}

.quill-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border: 1px solid var(--gray-bg);
  overflow: auto;
}

.quill-wrapper .ql-container {
  flex-grow: 1;
  overflow: hidden;
}

.quill-wrapper>* {
  border: none !important;
}

.quill-wrapper .ql-editor {
  height: 100%;
  overflow: auto;
}

.form-select,
.form-control {
  border: 1px solid var(--gray-bg);
  border-radius: 0;
  font-size: 1.5rem;
  padding: 2px 1rem 2px 1rem;
  overflow: hidden;
}

.form-label {
  color: var(--gray);
}

.filename-tooltip {
  --bs-tooltip-opacity: 1;
  --bs-tooltip-color: #fff;
  --bs-tooltip-bg: var(--black);
  margin-bottom: .25rem !important;
  --bs-tooltip-arrow-height: .65rem;
  --bs-tooltip-font-size: 1.125rem;
}

.simple-search {
  position: relative;
}

.simple-search .search-menu {
  position: absolute;
  max-height: 40dvh;
  padding: .5rem;
  border: 1px solid var(--gray-bg);
  margin: 0 .25rem;
  right: 0;
  width: calc(100% - .5rem);
  overflow: hidden;
  background: #fff;
  z-index: 1;
}

.simple-search .search-menu .search-result-modal {
  height: calc(40dvh - 1rem);
}

.selected-links {
  font-size: 1.125rem;
  display: flex;
  flex-direction: column;
}

.selected-links>* {
  padding: 1rem .5rem;
  margin-right: 1rem;
}

.selected-links>*:not(:last-child) {
  border-bottom: 1px solid var(--gray);
}

.selected-links i {
  font-size: 1.5rem;
  color: var(--gray-bg);
}

.confirm-item {
  align-items: start;
}

.confirm-item.theme {
  align-items: center;
}

.confirm-item .confirm-col-header {
  width: 20%;
  text-align: right;
  color: var(--gray);
  font-size: 1.125rem;
}

.confirm-item .confirm-col-body {
  width: 80%;
}

.theme .confirm-col-body {
  font-weight: 500;
  font-size: 1.5rem;
}

.description .confirm-col-body,
.date .confirm-col-body,
.status .confirm-col-body,
.confirm-text {
  font-weight: 500;
  font-size: 1.125rem;
}

.end-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: #BBC3C342;
  border-radius: 10px;
  padding: 3rem 0;
  margin: 0 1rem;
}

.end-block .end-block-item {
  text-align: center;
}

.end-block .end-block-item:not(.activity-name) {
  color: var(--gray);
  font-size: 1.25rem;
  font-weight: 500;
}

.end-block .activity-name {

  font-size: 1.5rem;
  font-weight: 500;
}

.loader {
  z-index: 99999;
}

#descriptionFilesCheck>.file-previews::after {
  display: block;
  content: "no files selected";
  height: auto;
  width: auto;
  opacity: .75;
  font-style: italic;
}

#descriptionFilesCheck>.file-previews:not(:empty)::after {
  display: none;
}

.reset-action-btn {
  display: flex;
  gap: .5rem;
  font-size: 1.25rem;
  align-items: center;
  font-weight: 900;
  color: var(--gray);
}

.reset-action-btn .reset-action-btn-icon {
  padding: 1rem;
  border: 4px solid var(--gray);
  border-radius: 100%;
  aspect-ratio: 1/1;
  color: var(--add);
  font-size: 1.5rem;
}

.reset-action-btn .reset-action-btn-icon:after {
  content: ' \00B7';
  position: absolute;
  top: 50%;
  left: 50%;
  width: fit-content;
  height: fit-content;
  transform: translate(-50%, -50%);
}

.ql-tooltip {
  transform: translate(50%, 0) !important;
}

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

.select2.select2-container .selection .select2-selection {
  height: 100%;
  border-radius: 0;
}

.select2.select2-container .selection .select2-selection .select2-selection__rendered {
  height: 100%;
  align-items: center;
  position: absolute;
  width: 100%;
  line-height: 2rem;
}

.select2.select2-container .selection .select2-selection .select2-selection__arrow {
  height: 100%;
  align-items: center;
}

.select2-container {
  height: 100%;
}

.activityStatus.d-none {
  display: flex !important;
  position: relative;
}

.activityStatus.d-none::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: #fff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.confirm-col-body .company-block>.company-block-header {
  font-size: 1.25rem;
  border-bottom: 2px solid;
  margin-right: 3rem;
}

.icon-btn.inactive {
  cursor: default;
  opacity: .5;
}

.icon-btn.inactive:hover {
  filter: none;
}

.selected-links .comment-status {
  color: var(--add);
  position: relative;
  padding-top: 2px;
}

.selected-links .comment-status:hover {
  cursor: pointer;
  color: var(--add-h);
}

.selected-links .comment-status::after {
  content: "✔";
  color: #ffffff;
  position: absolute;
  font-size: 12px;
  top: 6px;
  left: 11px;
}

.selected-links .comment-status.fa-regular  {
  color: var(--alert);
  position: relative;
}

.selected-links .comment-status.fa-regular:hover {
  cursor: pointer;
  color: var(--alert-h);
}
