/* Alteração forçada no tamanho maximo da modal xl*/
div.modal-dialog.custom-modal-xl {
  max-width: 1200px;
}

/* Ajusta icone para ficar igual ao protótipo */
svg.icon-painel rect:nth-child(4) {
  display: none;
}

.wrapper-chips .chip:not(:last-child) {
  margin-right: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0 25px;
  min-height: 45px;
  font-size: 16px;
  line-height: 30px;
  border-radius: var(--border-radius);
  background-color: #f1f1f1;
  margin-bottom: 10px;
  width: fit-content;
}

.closebtn {
  padding-left: 10px;
  color: #888;
  font-weight: bold;
  float: right;
  font-size: 20px;
  cursor: pointer;
}

.closebtn:hover {
  color: #000;
}

.file-name {
  height: 50px;
  align-items: center;
  display: flex;
}

.table-list tr td:first-of-type {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.table-list tr td:last-of-type {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.wrapper-input-file {
  border: 2px dashed;
  background-color: #fff;
}

.file-input {
  background-color: aliceblue;
  width: 100%;
}

.header-section {
  display: flex;
}

.header-section h5 {
  display: block;
  margin: 0;
  margin-left: 5px;
}

.itens-unidades-trabalho-modal {
  list-style: none;
  padding: 0;
}

.itens-unidades-trabalho-modal .descricao-unidade-trabalho {
  width: calc(100% - 30px);
  display: inline-block;
}

.itens-unidades-trabalho-modal li {
  padding: 8px 10px;
  border-bottom: 1px solid #ccc;
  margin: 10px;
  cursor: pointer;
}

.itens-unidades-trabalho-modal li:hover {
  /* border: 1px solid #ccc; */
}

.links-usuario-externo div:not(:last-child) {
  /* margin-right: 10%; */
}

.img-not-found {
  width: 545px;
}

.skeleton {
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 1s skeleton ease-in-out infinite;
}

@keyframes skeleton {
  to {
    background-position-x: -20%;
  }
}

.skeleton *:not(.skeleton) {
  visibility: hidden;
}

.container-gerenciamento {
  height: calc(100vh - var(--height-navbar));
  overflow: hidden;
  display: grid;
  grid-template-columns: 68px 1fr;
  grid-template-rows: 60px 50px 1fr;
  grid-template-areas:
    "sidebar wrapper-text-state"
    "sidebar wrapper-options-processos"
    "sidebar wrapper-table";
}

/* #NEW */

.navbar {
  border-bottom: none !important;
}

.container-gerenciamento {
  grid-template-columns: 50px 1fr;
  grid-template-rows: 50px 1fr;
  grid-template-areas:
    "sidebar wrapper-options-processos"
    "sidebar wrapper-table";
}

.wrapper-text-state {
  display: none !important;
}

.wrapper-options-processos {
  margin-top: 1rem !important;
}

.navbar-system-name {
  font-size: 1rem !important;
}

.navbar-options .navbar-profile .username {
  font-size: 16px !important;
}

.navbar-options .navbar-profile img {
  height: 35px !important;
}

.wrapper-states .option {
  min-height: 36px !important;
  border-radius: 10px !important;
}

h1.page-header {
  font-size: 1.5rem !important;
}

.table tr td {
  font-size: 14px;
}

/* #END NEW */

.container-gerenciamento .sidebar {
  grid-area: sidebar;
  height: 100%;
  background-color: #eaf1fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 5px;
}

.container-gerenciamento .sidebar button:first-child {
  margin-bottom: 100px;
}

.container-gerenciamento .wrapper-options-processos {
  /* height: 55px; */
  grid-area: wrapper-options-processos;
  background-color: #ededed;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.container-gerenciamento .wrapper-options-processos button {
  color: var(--secondary-color);
}

.wrapper-states {
  grid-area: wrapper-states;
  display: flex;
  flex-direction: column;
  gap: 5px;

  width: 0;
  /* overflow: hidden; */
  transition: width 0.5s, opacity 0.1s;
  opacity: 0;
  overflow-y: auto;
}

.wrapper-states.expandido {
  width: 350px;
  /* min-width: 240px; */
  opacity: 1;
}

.wrapper-states .option {
  min-height: 40px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: var(--secondary-color);
}

.wrapper-states .option:last-child {
  margin-bottom: 1rem;
}

.wrapper-states .option.active {
  background-color: #d3e3fd;
}

.wrapper-states .option > span:first-child {
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 1rem;
}

.wrapper-table-and-states {
  display: flex;
}

.container-principal {
  padding-top: calc(var(--height-navbar) + 50px);
}

.container-principal.search {
  padding-top: var(--height-navbar);
}

.wrapper-text-state {
  grid-area: wrapper-text-state;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.wrapper-text-state-mobile {
  grid-area: wrapper-text-state-mobile;
  overflow: hidden;
}

.wrapper-text-state-mobile h3 {
  max-width: 75%;
}

.wrapper-table {
  grid-area: wrapper-table;
  display: flex;
  overflow: hidden;
}

/* .custom-scroll::-webkit-scrollbar {
  width: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
  background-color: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 5px;
} */

.custom-scroll::-webkit-scrollbar-thumb {
  background: rgb(218, 220, 224);
  background-clip: padding-box;
  border: 4px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  min-height: 50px;
}

.custom-scroll::-webkit-scrollbar-track,
.custom-scroll::-webkit-scrollbar-track:hover {
  background-color: white;
  border: none;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
  border: solid transparent;
  border-width: 1px 1px 1px 6px;
  min-height: 28px;
  padding: 100px 0 0;
  -webkit-box-shadow: inset 1px 1px 0 rgb(0 0 0 / 10%),
    inset 0 -1px 0 rgb(0 0 0 / 7%);
  box-shadow: inset 1px 1px 0 rgb(0 0 0 / 10%), inset 0 -1px 0 rgb(0 0 0 / 7%);
}

.custom-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

.custom-scroll::-webkit-scrollbar-button {
  height: 0;
  width: 0;
}

.custom-scroll::-webkit-scrollbar {
  height: 16px;
  overflow: visible;
  width: 16px;
}

.divider-login-externo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-login-externo span {
  margin: 0 10px;
}

.divider-login-externo hr {
  border-top: 1px solid var(--secondary-color);
  flex: 1;
}

.draggable-item {
  cursor: grab;
}

.texto-limitado {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rp::before {
  content: 'RP';
  font-size: 0.6rem;
  transform: translateY(45%) translateX(65%);
  position: absolute;
}

.badge-situacao {
  padding: 5px 10px;
  background-color: #ccc;
  border-radius: var(--border-radius);
}

.badge-situacao:hover {
  background-color: #dedede;
}

/* .badge-descricao {
  display: none;
}

.badge-situacao:hover .badge-descricao {
  display: block;
  padding-right: 0.5rem;
  transition: 3s display ease;
} */

.wrapper-pdf-viewer-main {
  margin-bottom: 3rem;
}

.wrapper-pdf-viewer-main .header {
  height: 50px;
  background-color: #323639;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: white;

  display: flex;
  align-items: center;
  justify-content: space-around;
}

.wrapper-pdf-viewer-main .header .actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper-pdf-viewer-main .header .actions .action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wrapper-pdf-viewer-main .header .actions .action input {
  width: 40px;
  background-color: #000000;
  border: none;
  color: white;
  text-align: center;
  outline: none;
}

.wrapper-pdf-viewer-main .header .actions .action input.zoom {
  width: 50px;
}

.wrapper-pdf-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  /* background-color: #4f4f4f; */
  gap: 15px;

  height: 75vh;
  /* overflow: scroll; */
  margin-bottom: 10%;
  position: relative;
}

.wrapp-content .page-load {
  background-color: transparent;
  height: 100vh;
  width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;

  -webkit-box-shadow: -1px 1px 5px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px 1px 5px 1px rgba(0,0,0,0.75);
  box-shadow: -1px 1px 5px 1px rgba(0,0,0,0.75);
}

.wrapper-pdf-viewer-main .wrapp-content {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4f4f4f;
  overflow: auto;
}

.wrapper-pdf-content canvas {
  -webkit-box-shadow: -1px 1px 5px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px 1px 5px 1px rgba(0,0,0,0.75);
  box-shadow: -1px 1px 5px 1px rgba(0,0,0,0.75);

  transform-origin: 0 0; /* Define o ponto de origem para o zoom */
  transform: scale(1); /* Define o valor de zoom inicial */
  transition: transform 0.3s ease; /* Adiciona uma transição suave para o zoom */
}


.rp::after {
    content: 'RP';
    position: absolute;
    left: 7px;
    font-size: 10px;
    top: 5px;
}
.rp {
    position: relative;
}

.processo-publico {
  background-color: #c6f4b5;
  color: #3d7628;
}

.processo-privado {
  background-color: #e3e3e3;
  color: #898989;
}

.tooltip-detalhe-processo {
  background-color: #0c7cff;
  border-radius: 0.25rem;

  box-shadow: 0 1px 1px 0 rgba(66, 66, 66, 0.08), 0 1px 3px 1px rgba(66, 66, 66, 0.16);
}

.tooltip-detalhe-processo .header {
  background-color: #004698;
  padding: 6px 4px;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  font-weight: bold;
}

.tooltip-detalhe-processo .body {
  padding: 10px 8px;
}

.tooltip-detalhe-processo .rw {
  text-align: left;
  word-wrap: break-word;
}

.tooltip-detalhe-processo-custom-class .tooltip-arrow {
  display: none;
}

.tooltip-detalhe-processo-custom-class .tooltip-inner {
  padding: 0;
}

/*  */

.tooltip-detalhe-processo-alt {
  /* background-color: white; */
  border-radius: 0.25rem;
  /* color: #737373; */
  border: 1px solid #ccc;

  box-shadow: 2px 7px 8px 0px rgb(135 127 127 / 8%), 2px -2px 6px 1px rgba(66, 66, 66, 0.16);

  /* font-size: 16px; */
}

.tooltip-detalhe-processo-alt .header {
  /* background-color: #004698; */
  padding: 5px;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

.tooltip-detalhe-processo-alt .body {
  padding: 12px;
}

.tooltip-detalhe-processo-alt .rw {
  text-align: left;
  word-wrap: break-word;
}

.tooltip-detalhe-processo-alt-custom-class .tooltip-arrow {
  /* display: none; */
}

.tooltip-detalhe-processo-alt-custom-class .tooltip-inner {
  padding: 0;
}

/*  */

.wrapper-toogle-options {
  display: flex;
  background-color: #f7f7f7;
  padding: 6px;
  border-radius: 8px;
  gap: 4px;
}

.wrapper-toogle-options .option {
  cursor: pointer;
  padding: 6px 12px;
}

.wrapper-toogle-options .option.active {
  font-weight: bold;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.08);
}

.tags-detalhamento-processo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 6px;
}

.tag-label {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 18px;
  width: auto;
  font-size: 75%;
  padding: 0 0.6em;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
}

.stamp {
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: rgb(205 205 205) 0px 0px 5px 0px;
  overflow: hidden;
  text-align: center;
  background-size: contain;
  border: 1px dashed rgb(150, 150, 150) !important;
  width: 298.075px;
  min-height: 110px;
  text-shadow: 0 0 black;
  position: relative;

  background-color: rgb(203 203 203 / 30%);
}

.stamp > div {
  z-index: 1;
}

.justify-space-evenly {
  justify-content: space-evenly !important;
}

.input-stamp {
  display: block;
  background: #7f7f7f1f;
  outline: none;
  border: none;
  border-bottom: 1px dashed black;
  width: 100%;
}

.text-center-important, .text-center-important * {
  text-align: center !important;
}

.border-stamp {
  width: 40px;
  height: 40px;
  position: absolute;
  border: 2px solid #555555ab;
}

.border-stamp:nth-child(1) {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.border-stamp:nth-child(2) {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.border-stamp:nth-child(3) {
  bottom: 0;
  left: 0;
  border-top: none;
  border-right: none;
}

.border-stamp:nth-child(4) {
  bottom: 0;
  right: 0;
  border-top: none;
  border-left: none;
}

.logo-stamp {
  position: absolute;
  width: 80%;
  opacity: 0.3;
}

.stamp .row-stamp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.stamp .row-stamp label {
  font-weight: bold;
  margin-bottom: 0;
  margin-right: .5rem;
}

.stamp .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px;

  width: 100%;
  height: 100%;
  font-size: 14px;
}

.stamp .title {
  text-align: center;
  font-weight: bold;
  width: 100%;
}

.stamp .container .span-input-text {
  white-space: nowrap;
}

.borda-empenho {
    border: 1px solid #67676737 !important;
}

@media (max-width: 575.98px) {
  .container-gerenciamento {
    grid-template-columns: 1fr;
    grid-template-rows: 75px 1fr;
    grid-template-areas:
        "wrapper-text-state-mobile"
        "wrapper-table";
  }

  .container-gerenciamento .sidebar,
  .container-gerenciamento .wrapper-states,
  .container-gerenciamento .wrapper-options-processos,
  .container-gerenciamento .--wrapper-dados-liquidacao
  {
    display: none;
  }

  .container-gerenciamento .table-gerenciamento {
    margin: 0 !important;
  }

  .container-gerenciamento .wrapper-text-state h3 {
    margin: 0;
  }

  .menu-integrado-container {
    top: calc(var(--height-navbar) + 65px);
    right: 0;
  }
}

.wrapper-dados-liquidacao {
  background: #ffffff;
  position: absolute;
  right: 0;
  bottom: 0;
  /* z-index: 100; */
  border: .5px solid #ccc;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px 0px;
}

.wrapper-dados-liquidacao .content {
  /* padding: 20px; */
}

.wrapper-dados-liquidacao .content span.wrapper-arrow {
  /* position: absolute; */
  top: 0;
  right: 0;
  height: 15px;
  width: 15px;
  /* margin: 10px; */
  /* background: red; */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.wrapper-dados-liquidacao input {
  background: transparent !important;
  border: none;
  font-size: 18px;
  max-width: 150px;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
  margin-left: 15px;
  padding: 0;
}

.wrapper-dados-liquidacao .inner-content {
   padding: 0 20px 20px;
}

.wrapper-dados-liquidacao span.title {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: default;
}

.menu-lateral-inner .option {
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-lateral-inner .option:first-child {
  border-top: 1px solid #ccc;
}


/* table */

.check-table {
  min-width: 50px;
}

.wrapper-overflow-table .table thead {
  position: sticky;
  inset-block-start: 0;
  background-color: white;
  z-index: 1;
  font-weight: 700;
}

.wrapper-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wrapper-options-groupe-footer-mobile {
  background-color: #777;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 55px;
  gap: 10px;
  padding: 0 10px;
}
