@import url("./root.css");
@import url("./layout.css");
@import url("./validation.css");
@import url("./ui-select.css");
@import url("./ui-select2.css");
@import url("./components/dropdown-menu.css");
@import url("./components/loading.css");
@import url("./components/tooltip.css");
@import url("./components/navbar.css");
@import url("./components/nav-tabs.css");
@import url("./components/table.css");
@import url("./components/button.css");
@import url("./components/input.css");
@import url("./components/checkbox.css");
@import url("./components/checkbox-custom.css");
@import url("./components/radio.css");
@import url("./components/modal.css");
@import url("./components/panel.css");
@import url("./components/tree.css");
@import url("./components/select2.css");
@import url("./components/form-steps.css");
@import url("./components/collapsible-movimentacoes.css");
@import url("./components/view-more.css");
@import url("./components/menu-sistemas.css");

/* 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 4px;
  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, .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 {
  display: flex;
  height: calc(100vh - var(--height-navbar));
} */

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

.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 .5s, opacity .1s;
  opacity: 0;
  overflow-y: auto;
}

.wrapper-states.expandido {
  width: 350px;

  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-table {
  grid-area: wrapper-table;
  display: flex;
  overflow: hidden;
}


.tabela {
  display: flex;
  width: 100%;
  flex-direction: column;
  background-color: #fff;
  color: var(--secondary-color);
}

.tabela .w-action {
  width: 100px;
}

.w-check {
  width: 38px;
}

.tabela.streaked .tbody .linha:not(.highligth):nth-of-type(even) .celula:not(.w-check) {
  background-color: rgba(0, 0, 0, .05);
}

.tabela.streaked .tbody .linha:not(.highligth):nth-of-type(even) td {
  background-color: rgba(0, 0, 0, .05);
}

.tabela.streaked .tbody .linha:nth-of-type(odd) .square-arrow[data-bs-toggle="dropdown"][aria-expanded="false"] {
  background-color: #D9D9D9;
}

.tabela.streaked .tbody .linha .square-arrow[data-bs-toggle="dropdown"][aria-expanded="false"] {
  background-color: white;
}

.tabela.streaked .tbody .linha .square-arrow[data-bs-toggle="dropdown"][aria-expanded="false"] .arrow {
  border-color: var(--secondary-color) transparent transparent transparent;
}

.linha {
  display: flex;
  flex-direction: row;
}

.tbody {
  /* height: calc(100vh - 3rem - 75px - 55px - 44px - 42px - 25px - var(--height-navbar)); */
}

.tabela .tbody .linha.highligth {
  background-color: #fbee99;
}

.celula {
  padding: 10px;
  flex-grow: 1;
  width: 100%;
  text-align: center;

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

.thead .linha .celula {
  font-weight: bold;
}

.tfooter .linha .celula:first-child {
  text-align: start;
}

.container-table {
  position: relative;
  width: 100%;
  max-height: 90vh;
}

.container-table .table {
  position: relative;
}

.wrapper-overflow-table {
  height: calc(100vh - 3rem - 75px - 50px - 44px - 42px - 25px - var(--height-navbar));
  max-height: calc(100vh - 3rem - 75px - 50px - 44px - 42px - 25px - var(--height-navbar));
  overflow-y: auto;
}


/* .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: none;
  border: none;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(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;
}


/**
CUSTOM
 */

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}


.font-releway {
  font-family: 'Raleway', sans-serif !important;
}

.font-work-sans {
  font-family: 'Work Sans', sans-serif !important;
}


.main_home_hero {
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}


.main_hero_description {
  max-width: 304px;
}

.main_lancamentos {
  background-color: var(--blue-light);
}

.main_noticias {
  font-family: 'Work Sans', sans-serif !important;
}

.main_noticias_circulo_1 {
  position: absolute;
  height: 100%;
  max-height: 100%;
  width: 500px;
  border-radius: 50%;
  top: 0px;
  left: -260px;
  z-index: 90;
  background: #FFA500;
}

.main_noticias_circulo_2 {
  position: absolute;
  height: 100%;
  max-height: 100%;
  width: 500px;
  border-radius: 50%;
  top: 0px;
  left: -280px;
  z-index: 99;
  background: #FFF;
}

.main_noticias_content {
  padding-left: 80px;
  color: #FFF;
}

.main_noticias_title {
  font-weight: 700 !important;
  max-width: 369px;
  margin-bottom: 60px;
}

.main_noticias_link {
  display: inline-block;
  padding: 10px 50px;
  border-radius: 12px;
  background: #0D4BA8;
  color: #FFF;
  font-weight: 600;
}

.main_noticias_link:hover {
  color: #FFF;
  text-decoration: underline;
  cursor: pointer;
}

.main_noticias_marcadores {
  display: block;
  margin-top: 60px;
}

.main_noticias_marcadores span {
  display: inline-block;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  background: #D9D9D9;
  margin-right: 5px;
}

.main_noticias_marcadores span:hover {
  background: #0D4BA8;
  cursor: pointer;
}

.main_noticias_marcadores.carousel-indicators {
  right: 0 !important;
  text-align: right;
}

.main_noticias_marcadores.carousel-indicators [data-bs-target] {
  display: inline-block;
  border-radius: 50%;
  width: 18px;
  height: auto !important;
  background: #D9D9D9;
  margin-right: 5px;
}

.carousel-control-next,
.carousel-control-prev {
  z-index: 99;
}


.main_faq {}

.main_faq .card {
  margin-bottom: 20px;
  background-color: #D8D8D8 !important;
}

.main_faq .card-body {
  background-color: #FFF !important;
}

.main_faq .main_faq_btn {
  color: #1F1F1D !important;
  border: none;
  width: 100%;
  background-color: transparent;
  text-align: left;
  font-weight: 700;
}

.main_faq .main_faq_btn span {
  margin-left: 40px;
}



.page_title {
  color: #095CD8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
}

.header_title {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 37px;
  font-weight: 700;
  line-height: 51px;
  letter-spacing: 0px;
  text-align: left;
}

.main_filters {
  padding: 24px 0px
}

.main_filters .header_title {
  margin-bottom: 100px;
}


.btn_download_circle_blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 30px;
}

.btn_download_circle_blue:hover {
  text-decoration: none;
}

.btn_details_circle_blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border-radius: 30px;
  padding-left: 5px;
  padding-right: 10px;
}

.btn_details_circle_blue .icon {
  margin-right: 5px;
  background-color: #00234B;
  border-radius: 100%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn_details_circle_blue .icon svg {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
}

.btn_details_circle_blue:hover {
  text-decoration: none;
}

.ball {
  width: 15px;
  height: 15px;
  background-color: #ccc;
  border-radius: 100%;
  display: inline-block;
}

.ball-red {
  background-color: #E8505B;
}


@media (min-width: 1200px) {
  .container {
    /*max-width: 1140px;*/
    max-width: 1377px;
  }
}


.dropdown-menu {
  overflow: initial !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  background-color: var(--blue-primary);
  margin-left: 25px;
  top: 0;
  margin-top: -6px;
  -webkit-border-radius: 6px 6px 6px 6px;
  -moz-border-radius: 6px 6px 6px;
  border-radius: 6px 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu .dropdown-menu a {
  color: #FFF;
  background-color: transparent;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.main_section {
  position: relative;
}

.main_section>* {
  flex: 1;
}

.right-0 {
  right: 0;
}

.underline-light {
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 20px;
}

.max-w-50 {
  max-width: 50px;
}

/** MENU **/
nav * {
  text-transform: uppercase;
}

.node-container::before {
  content: '';
  height: auto;
  border-left: 1px dotted;
  position: absolute;
  top: 5px;
  bottom: 15px;
  color: white;
}

.node {
  position: relative;
}

.node::after {
  content: '';
  position: absolute;
  top: 10px;
  display: inline-block;
  border-top: 1px dotted;
  width: 0.7rem;
  left: -1rem;
  z-index: 1;
}

.node-container {
  position: relative;
}

.node-container a {
  position: relative;
}

.submenu-item {
  display: block;
  width: 100%;
  padding: .25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.submenu-item.node-container::before {
  content: none;
}

.dropdown-menu>.submenu-item>a.node::after {
  content: none;
}

.node-container div.submenu-item.node-container:last-child::before {
  content: '';
  width: 10px;
  background-color: var(--primary-dark);
  top: 17px;
  left: -0.25rem;
  border: none;
}

.nav-item.active {
  background-color: var(--blue-light);
}

.nav-link:hover,
a.node:hover {
  color: var(--primary-dark);
}

/*********************** MENU ***********************/


tbody tr td {
  vertical-align: middle !important;
}

tbody tr {
  border-bottom: 1px solid var(--white);
  border-top: 1px solid var(--white);
}

.underline {
  border-bottom: 2px solid #b8b8b8;
  /* Define a linha (borda inferior) */
  margin-bottom: 20px;
  /* Espaçamento abaixo da linha */
}


/** ABAS **/
.nav-tabs .nav-link.active {
  font-weight: 700;
  color: var(--dark);
}

.nav-link.active {
  border-bottom: 2px solid var(--primary) !important;
}

/******************* ABAS **************/

/** CARDS **/
.bg-card {
  background-color: #F0F0F0;
}

/******************* CARDS **************/

/** TOASTS **/
@keyframes barraReduzindo {
  0% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

.countdown {
  width: 100%;
  height: 5px;
  top: 0;
  left: 0;
  animation: barraReduzindo 3.5s;
  animation-iteration-count: infinite;
  animation-play-state: inherit;
}

.bg-countdown-danger {
  background: #992530 !important;
}

.bg-countdown-success {
  background: #218838 !important;
}

.bg-countdown-primary {
  background: #0072BD !important;
}

#toast-container>*:hover {
  animation-play-state: paused;
}

.inherit-animation {
  animation-play-state: inherit;
}

/****************** TOASTS ******************/

.mouse-cursor:hover {
  cursor: pointer;
}

/** DIRETIVAS **/

.transclude-flex {
  display: flex;
  flex-wrap: wrap;
}

/***************** DIRETIVAS ****************/

/***************** INPUTS ****************/

/** COMPONENTES **/
.esconder {
  border: 0px !important;
  padding: 0px !important;
  height: 0px !important;
  width: 0px !important;
}

/* Melhoria na exibição do calendário */
.dtp-picker-days td,
.dtp-picker-days th {
  padding: 0px !important;
}

/***************** COMPONENTES ****************/


/***************** Dashboard ******************/
.border-left-primary {
  border-left: 0.25rem solid var(--primary-color) !important;
}


/**************** SESSÃO EXPIRADA ***************/
.lds-ring {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  margin: 0px;
  border: 4px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #676767 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/**************** SESSÃO EXPIRADA ***************/


/***************** Border Left Status ******************/

.tabela-com-status .border-left-primary {
  border-left: 0.25rem solid var(--primary-color) !important;
}

.tabela-com-status .border-left-secondary {
  border-left: 0.25rem solid #6c757d !important;
}

.tabela-com-status .border-left-success {
  border-left: 0.25rem solid #198754 !important;
}

.tabela-com-status .border-left-danger {
  border-left: 0.25rem solid #dc3545 !important;
}

.tabela-com-status .border-left-warning {
  border-left: 0.25rem solid #ffc107 !important;
}

.tabela-com-status .border-left-info {
  border-left: 0.25rem solid #0dcaf0 !important;
}

.tabela-com-status .border-left-light {
  border-left: 0.25rem solid #f8f9fa !important;
}

.tabela-com-status .border-left-dark {
  border-left: 0.25rem solid #212529 !important;
}

/*
* Desativação das notificações do CKEditor.
* Essa desativação ocorreu para ocultar a notificação de nova versão que aparecia.
* Se nescessário utilização de notificações, usar o tooltip do bootstrap
*/
[class*="cke_notification"] {
  display: none;
}

/**************** CK EDITOR ***************/


.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}