/*Atualizações globais
/ -------------------------------------------------- */

:root {
  --sidebar-bg: #17a2b8;
  --sidebar-color: #fff;
  --sidebar-hover-background: #17a2b8;
  --sidebar-submenu-bg: #17a2b8;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-size: 0.8rem !important;
  font-weight: 400;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #9fa4a8 #dfdfdf;
}

*::-webkit-scrollbar {
  width: 3px;
  background-color: #dfdfdf;
}

*::-webkit-scrollbar-thumb {
  background-color: #9fa4a8;
}

*::-webkit-scrollbar-track {
  background-color: #dfdfdf;
}

h1,
h2,
h3,
h4 {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.3em;
  text-align: center;
  background: #17a2b8;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px;
  color: #fff;
}

h2.unstyled {
  text-align: initial;
  background: initial;
  text-transform: initial;
  margin-top: initial;
  margin-bottom: initial;
  padding: initial;
  color: currentColor;
}

h3 {
  font-size: 1.2em;
  color: #6b7280;
  /* background: #eee; */
  border-bottom: ridge 1px #6b7280;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px;
}

.popover h3 {
  margin-top: 0;
}

h4 {
    font-size: 1em;
    color: #302e2e;
    /* background: #eee; */
    border-bottom: ridge 1px #ccc;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    /* padding-left: 20px; */
    text-align: center;
}

h6 {
  font-size: 1em !important;
  text-transform: uppercase;
  color: #646464 !important;
}

.card-body h4 {
  /*font-size: 1em;*/
  color: inherit;
  border-bottom: none;
  text-transform: uppercase;
  text-align: left;
}

.has-danger {
  border-color: #d9534f !important;
}

/* ABAS
/ -------------------------------------------------- */

.tab-content {
  border: 1px solid #d4d4d4;
  min-height: 600px !important;
  background-color: #f3f4f6 !important;
}

.nav-pills .nav-link.active {
  border-color: #d4d4d4;
  background-color: #f3f4f6 !important;
  color: #27272a;
}

.nav-tabs {
  flex-wrap: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
}

.nav-tabs .nav-item {
  flex-shrink: 0;
}

.nav-tabs .nav-link.active {
  border-color: #d4d4d4;
  background-color: #f3f4f6 !important;
  color: #27272a !important;
}

.nav-tabs .nav-link {
  background-color: #d4d4d8 !important;
}

.btn-success.continue {
  background-color: #10b981 !important;
}

.btn-success.continue:hover {
  background-color: #059669 !important;
}

/* Formulários
/ -------------------------------------------------- */

.form textarea,
.form input[type="text"] {
  color: #000;
  background: #fff !important;
}

.form label {
  font-weight: 500;
  text-transform: uppercase;
}

.form label.error {
  color: #fd3b3b !important;
  font-size: 14px;
  list-style-type: none;
}

legend {
  color: #222aef;
}

label:has(+ [required])::after, label.required::after {
    content: "*";
    color: #fd3b3b;
    margin-left: 5px;
}

/* linha do formulário tr
/ -------------------------------------------------- */

/*.table-hover tbody tr:hover {*/
/*    background-color: #8d8d8d;*/
/*}*/

.table-striped tbody tr:nth-of-type(odd):not(:hover) {
  background-color: #f3f4f6;
}

.table {
  border: 1px #dee2e6 solid;
  border-radius: 0.25rem;
  border-collapse: separate;
  border-spacing: 0;
  /*box-shadow:0 .125rem .25rem rgba(0,0,0,.075) !important;*/

  & thead {
    text-transform: uppercase;
  }

  & > tr:first-child th,
  & > tr:first-child td,
  & thead tr:first-child th,
  & thead tr:first-child td {
    border-top: none;
  }

  & thead tr:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
  }
}

/* customizar o campo file
/ -------------------------------------------------- */

.custom-file-control:lang(en)::after {
  content: "Selecionar Arquivo...";
}

.custom-file-control:lang(en)::before {
  content: "Arquivo";
}

/* arquivos em anexo
/ -------------------------------------------------- */

/* ---------------------------------------------------
    ANEXAR IMAGEM
----------------------------------------------------- */

.image-preview {
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  border: solid 1px #eee;
  background: #666;
  list-style: none;
  overflow-x: auto;
  max-width: 100%;
  max-height: 400px;

  /*		height:250px;*/
  background: #fff;
}

ul.image-preview {
  list-style: none;
}

.image-preview li {
  position: relative;
  display: inline-block;
  margin-left: 5px;
}

.remover {
  cursor: pointer;
}

.imagem {
  width: 280px;
  height: 180px;
  opacity: 1;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.action {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.action div {
  font-size: 30px;
  cursor: pointer;
}

.image-preview li:hover .imagem {
  opacity: 0.3;
}

.image-preview li:hover .action {
  opacity: 1;
}

/*Validação -----------------------------------------xxx-------------------------------------------*/
#messageBox {
  margin-left: auto;
  margin-right: auto;
  display: table;
  list-style: none;
  transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
}

#messageBox li label.error {
  color: #d32f2f !important;
}

/*categorias -----------------------------------------xxx-------------------------------------------*/

#categorias {
  display: block;
  margin-left: 5px;

  margin-top: 10px;
  margin-bottom: 10px;
  /*-moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px; */
  border: 1px solid #eee;
  /*width:300px;*/
  height: 180px;
  overflow-x: hidden;
  overflow-y: auto;
}

.bootstrap-select.btn-group .dropdown-menu.inner {
  display: block;
  width: 100%;
}

.bootstrap-select.btn-group a {
  color: #000;
  width: 100%;
  display: block;
  background: #fff;
  border: none;
}

.bootstrap-select.btn-group a:hover {
  background: #c6c1c1;
  text-decoration: none;
}

/*Correção do type color -----------------------------------------------------------------xxx----------------------------------*/

.form-control[type="color"] {
  height: auto;
}

.form-control[type="text"] {
  text-transform: uppercase;
  /*background: #fff;*/
}

.form-control[type="select"] {
  text-transform: uppercase;
}

/* Need styles for -webkit- and -moz- */

.form-control[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  margin: 0;
}

.form-control[type="color"]:-moz-color-swatch-wrapper {
  padding: 0;
  margin: 0;
}

.form-control[type="color"]:-ms-color-swatch-wrapper {
  padding: 0;
  margin: 0;
}

.form-control[type="color"][list="colors"]::-webkit-color-swatch-wrapper {
  padding: 0.5rem 0.75rem;
}

.form-control[type="color"][list="colors"]:-moz-color-swatch-wrapper {
  padding: 0.5rem 0.75rem;
}

.form-control[type="color"][list="colors"]:-ms-color-swatch-wrapper {
  padding: 0.5rem 0.75rem;
}

.form-control[type="color"]::-webkit-color-swatch {
  height: 22px; /* font-size + line-height */
  padding: 0;
  margin: 0;
}

.form-control[type="color"]::-moz-color-swatch {
  height: 22px; /* font-size + line-height */
  padding: 0;
  margin: 0;
}

.form-control[type="color"]:-ms-color-swatch {
  height: 22px; /* font-size + line-height */
  padding: 0;
  margin: 0;
}

/*.selectpicker{background:#116fbe ;}*/
/* .btn-danger{background:#fd3b3b ;!important;}
.btn-success{background:#09b229 ;!important;} */

/**/
/*Selecionar checkbox gerenciar---------------------------------------------------xxxxxx*/
/**/
#linha .col-md-6,
#linha .col-md-2,
#linha .col-md-1 {
  border: solid 1px #fff;
}

#linha {
  border: solid 1px #666;
}

#linha label {
  clear: both;
  width: 100%;
}

.selecionar {
  /*background:#86fa7c !important;*/
  border: solid 2px #000 !important;
}

#linha span {
  font-weight: 700;
}

.btn_botao {
  width: 100% !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  word-break: break-word;
  white-space: initial;
}

.btn_botao .icons,
.btn_botao > span[class*="fa-"] {
  display: block;
}

.btn_botao [class*="fa-"] {
  font-size: 1.3rem !important;
}

#inicio li {
  list-style: none;
  width: 16%;
  min-width: 200px;
  cursor: pointer;
  color: #fff;
  z-index: 2;
}

#inicio ul {
  z-index: 1;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 1rem !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.atualizacoes {
  /*border:solid 1px #f00;*/
  height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

.centralizado {
  position: absolute;
  top: 50%;
  left: 50%;
}

.bt_mais {
  color: #489a1d;
}

.bt_atualizar {
  color: #1675ba;
  cursor: pointer;
}

/*.panel-primar{width:100%; display: block; border:solid 1px #f00 !important;}*/
.listar_faturas {
  /*max-height:400px; overflow-y:auto ; overflow-x: hidden;*/
}

/*-------------------------------CLASSES DE STATUS--------------------------------*/
div.color-picker {
  display: inline-block;
  width: auto;
  max-width: 55%;
  height: auto;
  position: absolute;
  box-shadow: 1px 1px 35px -15px #212121;
  background: #fff;
  z-index: 10000;
}

div.color-picker-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: auto;
  max-width: 100%;
  height: auto;
  position: relative;
  margin: 0 auto;
}

div.color-picker > .btn {
  float: right;
}

.color-picker-container > a.color-picker-block {
  width: 50px;
  height: 50px;
  border-radius: 1px;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-content: center;
}

.color-picker-container > a.color-picker-block.active {
  border: 2px #eee solid;
  box-shadow: 0px 0px 1px 1px #eee;
}

.color-picker-container > a.color-picker-block.active > i {
  font-size: 2em;
  line-height: 1.5;
  color: #fff;
}

.color-picker-block:hover {
  text-decoration: none;
}

.text-color-finalizado {
  color: #388e3c !important;
}

.text-color-pendente {
  color: #ffab00 !important;
}

.text-color-atrasado {
  color: #c62828 !important;
}

.text-color-padrao {
  color: #212121 !important;
}

.text-color-1 {
  color: #90a4ae !important;
}

.text-color-2 {
  color: #5d4037 !important;
}

.text-color-3 {
  color: #a1887f !important;
}

.text-color-4 {
  color: #ff3d00 !important;
}

.text-color-5 {
  color: #ff5722 !important;
}

.text-color-6 {
  color: #ff9100 !important;
}

.text-color-7 {
  color: #ffd180 !important;
}

.text-color-8 {
  color: #ffab00 !important;
}

.text-color-9 {
  color: #ffc107 !important;
}

.text-color-10 {
  color: #33691e !important;
}

.text-color-11 {
  color: #c5e1a5 !important;
}

.text-color-12 {
  color: #009688 !important;
}

.text-color-13 {
  color: #1de9b6 !important;
}

.text-color-14 {
  color: #00b8d4 !important;
}

.text-color-15 {
  color: #00b0ff !important;
}

.text-color-16 {
  color: #3d5afe !important;
}

.text-color-17 {
  color: #283593 !important;
}

.text-color-18 {
  color: #651fff !important;
}

.text-color-19 {
  color: #e040fb !important;
}

.text-color-20 {
  color: #f50057 !important;
}

.bg-status-finalizado {
  background-color: #388e3c !important;
}

.bg-status-aberto {
  background-color: #ffab00 !important;
}

.bg-status-atrasado {
  background-color: #c62828 !important;
}

.bg-status-padrao {
  background-color: #212121 !important;
}

.bg-status-1 {
  background-color: #90a4ae !important;
}

.bg-status-2 {
  background-color: #5d4037 !important;
}

.bg-status-3 {
  background-color: #a1887f !important;
}

.bg-status-4 {
  background-color: #ff3d00 !important;
}

.bg-status-5 {
  background-color: #ff5722 !important;
}

.bg-status-6 {
  background-color: #ff9100 !important;
}

.bg-status-7 {
  background-color: #ffd180 !important;
}

.bg-status-8 {
  background-color: #ffab00 !important;
}

.bg-status-9 {
  background-color: #ffc107 !important;
}

.bg-status-10 {
  background-color: #33691e !important;
}

.bg-status-11 {
  background-color: #c5e1a5 !important;
}

.bg-status-12 {
  background-color: #009688 !important;
}

.bg-status-13 {
  background-color: #1de9b6 !important;
}

.bg-status-14 {
  background-color: #00b8d4 !important;
}

.bg-status-15 {
  background-color: #00b0ff !important;
}

.bg-status-16 {
  background-color: #3d5afe !important;
}

.bg-status-17 {
  background-color: #283593 !important;
}

.bg-status-18 {
  background-color: #651fff !important;
}

.bg-status-19 {
  background-color: #e040fb !important;
}

.bg-status-20 {
  background-color: #f50057 !important;
}

/* .selectpicker:active{color:#fff !important;}
.selectpicker:focus{color:#fff !important;} */

/*Menu de Logn */

.navbar-header.col {
  padding: 0 !important;
}

.navbar {
  background: #fff;
  padding-left: 16px;
  padding-right: 16px;
  border-bottom: none !important;
  border-radius: 0;
}

.nav-link img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin: -8px 0;
  float: left;
  margin-right: 10px;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  padding-left: 0;
  font-size: 20px;
  padding-right: 50px;
}

.navbar .navbar-brand b {
  font-weight: bold;
  color: #33cabb;
}

.navbar .form-inline {
  display: inline-block;
}

.navbar .nav li {
  position: relative;
}

.navbar .nav li a {
  color: #888;
}

.search-box {
  position: relative;
}

.search-box input {
  padding-right: 35px;
  border-color: #dfe3e8;
  border-radius: 4px !important;
  box-shadow: none;
}

.search-box .input-group-addon {
  min-width: 35px;
  border: none;
  background: transparent;
  position: absolute;
  right: 0;
  z-index: 9;
  padding: 7px;
  height: 100%;
}

.search-box i {
  color: #a0a5b1;
  font-size: 19px;
}

.navbar .nav .btn-primary,
.navbar .nav .btn-primary:active {
  color: #fff;
  background: #33cabb;
  padding-top: 8px;
  padding-bottom: 6px;
  vertical-align: middle;
  border: none;
}

.navbar .nav .btn-primary:hover,
.navbar .nav .btn-primary:focus {
  color: #fff;
  outline: none;
  background: #31bfb1;
}

.navbar .navbar-right li:first-child a {
  padding-right: 30px;
}

.navbar .nav-item i {
  font-size: 18px;
}

.navbar .dropdown-item i {
  font-size: 16px;
  min-width: 22px;
}

.navbar ul.nav li.active a,
.navbar ul.nav li.open > a {
  background: transparent !important;
}

.navbar .nav .get-started-btn {
  min-width: 120px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.navbar ul.nav li.open > a.get-started-btn {
  color: #fff;
  background: #31bfb1 !important;
}

.navbar .dropdown-menu {
  border-radius: 1px;
  border-color: #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar .nav .dropdown-menu li {
  color: #999;
  font-weight: normal;
}

.navbar .nav .dropdown-menu li a,
.navbar .nav .dropdown-menu li a:hover,
.navbar .nav .dropdown-menu li a:focus {
  padding: 8px 20px;
  line-height: normal;
}

.navbar .navbar-form {
  border: none;
}

.navbar .dropdown-menu.form-wrapper {
  width: 280px;
  padding: 20px;
  left: auto;
  right: 0;
  font-size: 14px;
}

.navbar .dropdown-menu.form-wrapper a {
  color: #33cabb;
  padding: 0 !important;
}

.navbar .dropdown-menu.form-wrapper a:hover {
  text-decoration: underline;
}

.navbar .form-wrapper .hint-text {
  text-align: center;
  margin-bottom: 15px;
  font-size: 13px;
}

.navbar .form-wrapper .social-btn .btn,
.navbar .form-wrapper .social-btn .btn:hover {
  color: #fff;
  margin: 0;
  padding: 0 !important;
  font-size: 13px;
  border: none;
  transition: all 0.4s;
  text-align: center;
  line-height: 34px;
  width: 47%;
  text-decoration: none;
}

.navbar .social-btn .btn-primary {
  background: #507cc0;
}

.navbar .social-btn .btn-primary:hover {
  background: #4676bd;
}

.navbar .social-btn .btn-info {
  background: #64ccf1;
}

.navbar .social-btn .btn-info:hover {
  background: #4ec7ef;
}

.navbar .social-btn .btn i {
  margin-right: 5px;
  font-size: 16px;
  position: relative;
  top: 2px;
}

.navbar .form-wrapper .form-footer {
  text-align: center;
  padding-top: 10px;
  font-size: 13px;
}

.navbar .form-wrapper .form-footer a:hover {
  text-decoration: underline;
}

.navbar .form-wrapper .checkbox-inline input {
  margin-top: 3px;
}

.or-seperator {
  margin-top: 32px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.or-seperator b {
  color: #666;
  padding: 0 8px;
  width: 30px;
  height: 30px;
  font-size: 13px;
  text-align: center;
  line-height: 26px;
  background: #fff;
  display: inline-block;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  position: relative;
  top: -15px;
  z-index: 1;
}

.navbar .checkbox-inline {
  font-size: 13px;
}

.navbar .navbar-right .dropdown-toggle::after,
.dropdown-toggle.no-caret::after {
  display: none;
}

@media (min-width: 1200px) {
  .form-inline .input-group {
    width: 300px;
    margin-left: 30px;
  }
}

@media (max-width: 768px) {
  .navbar .dropdown-menu.form-wrapper {
    width: 100%;
    padding: 10px 15px;
    background: transparent;
    border: none;
  }

  .navbar .form-inline {
    display: block;
  }

  .navbar .input-group {
    width: 100%;
  }

  .navbar .nav .btn-primary,
  .navbar .nav .btn-primary:active {
    display: block;
  }
}

@media print {
  .table-responsive {
    overflow-x: visible !important;
  }
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #f9fbfd inset !important;
  -webkit-text-fill-color: #4d90fe !important;
}

/*formulário erro---------------------------------xx----------------------------------*/

.sticky.is-sticky {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
}

li {
  list-style-type: none;
  list-style: none;
}

.error {
  list-style-type: none;
  list-style: none;
  color: #ff0000;
}

input.error,
select.error,
textarea.error,
password.error {
  border: solid 1px #d87b7b;
}

#resultset-container {
  overflow-y: auto;
  height: 400px;
  border: 1px solid rgba(108, 117, 125, 0.25);
}

#resultset-container::-webkit-scrollbar {
  width: 3px;
}

#resultset-container::-webkit-scrollbar-track {
  background-color: rgba(130, 128, 128, 0.32);
}

#resultset-container::-webkit-scrollbar-thumb {
  background-color: #333333;
  outline: 1px solid slategrey;
}

#resultset-fornecedor .result {
  cursor: pointer;
}

#resultset-fornecedor .result div {
  position: relative;
  width: 100%;
  height: 100%;
  transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
}

#resultset-fornecedor .result.active div::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
  height: calc(100% + 1.5rem);
  width: 0.75rem;
  background-color: #007bff;
  border: 1px solid #007bff;
}

#resultset-fornecedor .result.active {
  color: #007bff;
}

.status-timeline {
  margin: 3rem 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: relative;
}

.status-timeline::before {
  content: "";
  border-top: 2px dashed #ccc;
  display: block;
  position: absolute;
  width: 100%;
}

.status-timeline .status-marks {
  width: 100%;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.status-marks .status-mark {
  border-radius: 50%;
  background-color: #6c757d;
  position: relative;
  display: block;
  bottom: 50%;
  text-align: center;
  padding: 0.5rem 0.7rem;
  color: #f6f6f6;
}

.status-marks .status-mark:first-child,
.status-marks .status-mark:last-child {
  padding: 0.5rem 0.85rem;
}

.status-mark i {
  font-size: 1.3rem;
  line-height: 1.5;
}

.status-info {
  width: 13rem;
  position: absolute;
  color: #6c757d;
  top: 3rem;
  left: -5rem;
}

.status-km {
  width: 13rem;
  position: absolute;
  font-weight: 500;
  color: #6c757d;
  top: 0.3rem;
  left: 1rem;
  z-index: 1;
}

#attachment {
  overflow-y: auto;
}

.edit-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}

/**/
/*PRELOAD-----------------------------XXXXX--------------------------------*/
/**/
#preload {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: none;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#preload::after {
  content: "";
  display: table;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: black;
  border-top-color: transparent;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}

@media (min-width: 1200px) {
  #janela .modal-dialog {
    width: 94% !important;
    max-width: 100%;
    margin-right: 20px !important;
    /* margin-left: 20px!important; */
  }
  #acessoApp .modal-dialog {
    width: 94% !important;
    max-width: 100%;
    margin-right: 20px !important;
    /* margin-left: 20px!important; */
  }
}

/*.modal-body {
  margin:auto;
  max-width:100%;
}*/

.doc-btns {
  display: none;
}

/*.doc {*/
/*    padding: 5px;*/
/*    border-radius: 4px;*/
/*    aspect-ratio: 16/9;*/
/*    -webkit-transition: all 0.25s ease;*/
/*    -moz-transition: all 0.25s ease;*/
/*    -o-transition: all 0.25s ease;*/
/*    transition: all 0.25s ease;*/
/*}*/

.doc img {
  width: calc(100% + 20px);
  object-fit: cover;
  object-position: center;
  padding: 5px;
  border-radius: 4px;
  aspect-ratio: 16/12;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.doc:hover img,
.doc.sortable-selected img {
  background-color: #c0bfbf;
}

.doc:hover > .doc-btns {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 0.3rem;
}

.btnDuplicar {
  color: #fff !important;
  font-weight: 500;
  text-transform: uppercase;
}

.btnDuplicar:hover {
  color: #eee;
}

.bootstrap-select {
  border: #ced4da solid 1px !important;
  border-radius: 5px !important;
}

#messageValidate {
  display: none;
  padding: 10px;
  max-width: 100%;
  max-height: 200px;
  border: none;
  overflow-y: auto;
  color: #721c24 !important;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

#messageValidate .error {
  color: #721c24 !important;
}

.has-error .form-control {
    border: solid 1px #dc3545 !important;
}

.cardScroll {
  max-height: 400px;
  border: none;
  overflow-y: auto;
}

@keyframes fa-blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

.alerta {
  color: #fbbf24 !important;
  -webkit-animation: fa-blink 0.75s linear infinite;
  -moz-animation: fa-blink 0.75s linear infinite;
  -ms-animation: fa-blink 0.75s linear infinite;
  -o-animation: fa-blink 0.75s linear infinite;
  animation: fa-blink 0.75s linear infinite;
}

.copy-text {
  width: 1rem;
  height: 1rem;
  font-size: 0.8rem;
  border-radius: 1rem;
  opacity: 0.7;
  background-color: inherit;
  color: #0a0b0a;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.copy-text:hover {
  opacity: 1;
}

/*  CUSTOM ALERT  */

.notification-container {
  width: 50%;
  height: 80%;
  position: fixed;
  bottom: 0;
  right: 0;
  tab-index: -1;
  pointer-events: none;
  overflow-y: auto;
  padding-right: 2rem;
  z-index: 2000;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.notification-container::-webkit-scrollbar {
  display: none;
}

.notification-container .notifications {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.notification-container .alert {
  max-width: 70%;
  pointer-events: auto;
  animation: slideIntoView ease-out 0.5s;
  z-index: 900;
  border-left-width: 2px;
}

.alert:has(.content) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 0.5rem;
}

.alert .content {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  text-overflow: fade;
  padding: 0;
  align-self: stretch;

  & > :first-child {
    text-indent: 1.8rem;
  }

  &:not(:has(:first-child)) {
    padding-left: 1.8rem;
  }
}

.alert-danger .content::before {
  content: "\f06a";
}

.alert-success .content::before {
  content: "\f058";
}

.alert-info .content::before {
  content: "\f0eb";
}

.alert .content::before {
  color: inherit;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-13%, -13%);
  padding: 0.3rem;
  font-size: 1.3rem !important;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font: var(--fa-font-solid);
  border-radius: 1rem;
}

push-notification {
  max-width: 70%;
}

.notification {
  max-width: unset !important;
  animation: fadeIn linear 0.3s;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
  background-color: #f8fafc;
  padding: 1rem 1rem 1rem 3.5rem;
  /*border-color: #F8FAFC !important;*/
}

.notification .close {
  height: 0.5rem;
  width: 0.5rem;
  align-self: flex-start;
}

.notification .content {
  position: relative;
  display: flex;
  flex-direction: column;
}

.notification .content h5 {
  font-size: 1.2rem;
  font-weight: 600;
}

.notification .content span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-overflow: fade;
  font-size: 1rem;
  color: #475569;
}

.notification .content::before {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(calc((100% + 1rem) * -1), -0.1rem);
  padding: 0;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: "Font Awesome 5 Free", serif;
  display: inline-block;
}

.notification[data-type="success"] {
  border-left: 4px solid #10b981ff !important;
}

.notification[data-type="success"] .content::before {
  color: #10b981ff;
  content: "\f058";
}

.notification[data-type="info"] .content::before {
  color: #ffc233ff;
  content: "\f27a";
}

.notification[data-type="info"] {
  border-left: 4px solid #ffc233ff !important;
}

.notification[data-type="error"] .content::before {
  color: #dc2626ff;
  content: "\f06a";
}

.notification[data-type="error"] {
  border-left: 4px solid #dc2626ff !important;
}

.notification .copy-text {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 1rem;
  height: 1rem;
  font-size: 0.8rem;
  border-radius: 1rem;
  opacity: 0.7;
  background-color: inherit;
  color: #0a0b0a;
  transition: opacity 0.3s ease;
}

.notification .copy-text:hover {
  opacity: 1;
}

@keyframes slideIntoView {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

.dropdown-menu {
  padding: 0.25rem;
  font-size: 0.875rem;

  .dropdown-header {
    padding-inline: 0.5rem;
    text-transform: none;
  }

  .dropdown-item {
    padding-inline: 0.5rem;
    border-radius: 0.25rem;

    &:hover {
      background-color: hsl(0 0% 96%);
    }
  }
}

/* DROPDOWN NOTIFICATION */

.dropdown-notification:active {
  background-color: #e5e5e5 !important;
  color: inherit;
}

.dropdown-notification {
  width: 350px;
  word-break: break-word;
  white-space: normal;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.dropdown-notification-title {
  display: block;
  font-weight: bold;
}

.dropdown-notification-description {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  text-align: justify;
  margin: 0.5rem 0;
}

.dropdown-notification-footer {
  margin-bottom: -1rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0.5rem 1rem;
}

.dropdown-notification.visualized {
  background-color: #e5e5e5;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.2rem;
  min-height: 1.2rem;
  border-radius: 100%;
  transform: translate(50%, -50%);
  aspect-ratio: 1;
  padding: 0.2rem;
  font-size: 0.7rem;
  display: flex;
  justify-content: center;
  align-content: center;
  z-index: 1;
}

/* APP SEARCH */
search-bar {
  position: relative;
  min-width: 50ch;

  &::after {
    content: "";
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }

  /*&:has(.search-modal:focus-within)::after {*/
  &:has(.search-modal.open)::after {
    /*&::after {*/
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    background-color: hsl(0 0% 0% / 0.3);
    z-index: 90;
    /*transform: translateZ(-1px);*/
  }
}

.search-modal {
  --accent-color: #17a2b8;

  kbd {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0.4rem 0.4rem;
    font-size: 0.62rem;
    color: #495057;
    text-align: center;
    pointer-events: none;
    background-color: hsl(0 0% 90%);
    transform: translateY(-50%);
    line-height: 1;
  }

  .commands-list,
  .resources-list,
  .quick-access-list,
  .search-modal-footer {
    display: none;
  }

  .results-wrapper {
    overflow: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 0.825rem;
  }

  h6 {
    font-size: 0.7rem !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      position: relative;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding-block: 0.25rem;
      padding-left: 2rem;
      padding-right: 0.5rem;
      border-radius: 0.25rem;
      transition: background-color 0.3s ease-out;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.875rem;

      &:hover {
        background-color: hsl(0 0% 96%);
      }

      &:not(:last-child) {
        margin-bottom: 0.25rem;
      }

      i {
        position: absolute;
        left: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: hsl(0 0% 75%);
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      kbd,
      button {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
      }
    }
  }

  .resource-wrapper {
    display: flex;
    gap: 0.5rem;

    i {
      color: #212529;
    }

    .resource-info {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;

      h6 {
        color: #212529 !important;
        font-size: 0.875rem;
        margin-bottom: 0;
      }

      span {
        color: hsl(0 0% 60%);
        font-size: 0.625rem;
      }
    }
  }

  .search-modal-footer {
    padding: 0.5rem 1rem;
    border-top: 1px solid hsl(0 0% 90%);
    margin-inline: -1rem;
    margin-top: 1rem;

    button {
      padding: 0.25rem 0.5rem;
      border-radius: 0.25rem;
      font-size: 0.875rem;
      font-weight: 600;
      transition: background-color 0.3s ease-out;
      cursor: pointer;
      border: none;
      background-color: transparent;

      &:hover {
        background-color: hsl(0 0% 96%);
      }
    }
  }

  /*&:focus-within {*/
  &.open {
    width: 500px;
    max-height: 80vh;
    position: fixed;
    top: 3rem;
    left: calc(50% - 250px);
    display: flex;
    flex-direction: column;
    gap: 0.825rem;
    background-color: white;
    border-radius: 0.75rem;
    padding-block: 1.5rem 0;
    padding-inline: 1rem;
    box-shadow: 0 0.125rem 0.25rem hsl(0 0% 55%);
    z-index: 100;
    transform-style: preserve-3d;

    .commands-list,
    .resources-list,
    .quick-access-list {
      display: block;
    }

    .search-modal-footer {
      position: relative;
      display: flex;
      justify-content: end;
      align-items: center;
    }
  }

  &.loading .search-modal-footer {
    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: -3px;
      width: 100%;
      height: 3px;
      background-color: hsl(0 0% 90%);
    }

    &::after {
      content: "";
      position: absolute;
      left: 0;
      top: -3px;
      width: 0;
      height: 3px;
      background-color: var(--accent-color);
      animation: search-loading 1s cubic-bezier(1, 0, 0, 1) infinite alternate;
    }
  }
}

@keyframes search-loading {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
    left: auto;
    right: 0;
  }
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  isolation: isolate;

  input {
    width: 100%;
    border-radius: 0.25rem;
    border: none;
    padding: 0.375rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: hsl(0 0% 96%);
    background-clip: padding-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
      width 0.3s ease-out;
    flex: 1 1 auto;
    min-width: 30ch;
  }

  i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: #495057;
    text-align: center;
    pointer-events: none;
  }
}

.quick-access-modal {
  position: absolute;
  bottom: 3rem;
  right: 1rem;
  width: 300px;
  max-height: 50vh;
  background-color: white;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 0.125rem 0.25rem hsl(0 0% 85%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 0.3s cubic-bezier(1, 0, 0, 1),
    transform 0.3s cubic-bezier(1, 0, 0, 1);

  &.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .quick-access-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid hsl(0 0% 90%);

    h6 {
      color: rgb(33, 37, 41) !important;
    }
  }

  .quick-access-modal-body {
    overflow: auto;
    overscroll-behavior: contain;
    max-height: 40vh;
    padding-block: 1rem;

    .enabled-commands,
    .disabled-commands {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      padding-top: 1rem;

      li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        border-radius: 0.25rem;
        transition: background-color 0.3s ease-out;
        cursor: pointer;
        font-weight: 600;
        font-size: 1rem;
        color: hsl(0 0% 60%);
        background-color: hsl(0 0% 96%);

        &:hover {
          background-color: hsl(0 0% 92%);
        }

        i {
          position: initial;
          transform: none;
          color: hsl(0 0% 50%);
        }

        button {
          position: absolute;
          right: -0.4rem;
          top: 0rem;
          padding: 0.15rem 0.3rem;
          background-color: hsl(0 0% 75%);
          border-radius: 100%;
          aspect-ratio: 1;
          line-height: 1;
          z-index: 1;
        }
      }
    }
  }
}

@media screen and (min-width: 1400px) {
  search-bar {
    min-width: 60ch;
  }

  .search-modal.open {
    left: calc(50% - 350px);
    width: 700px;
  }
}

/* CARD RADIO */

.card-radio label {
  max-width: 300px;
  min-height: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.25rem;
  text-align: center;
}

.card-radio i {
  font-size: 4rem;
}

.card-radio input[type="radio"] {
  display: none;
}

.card-radio input[type="radio"]:checked + label {
  border: 1px solid #80bdff;
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

/*  IMAGE PICKER  */

.img-picker {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  box-sizing: border-box;
  border-style: solid;
  --bg-opacity: 1;
  background-color: rgba(255, 255, 255, var(--bg-opacity));
  border-color: #0891b2;
  border-radius: 0.5rem;
  border-width: 1px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  /*margin-top: 0.75rem;*/
  padding: 1.5rem 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: #0891b2;
  letter-spacing: 0.025em;
  width: 14rem;
  height: 8rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.img-picker svg {
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
}

.img-picker span:not(.loader) {
  flex-shrink: 1;
  font-size: 0.9rem;
}

.img-picker:hover {
  background-color: #0891b2;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --text-opacity: 1;
  color: rgba(255, 255, 255, var(--text-opacity));
}

.img-picker.uploading {
  --color-opacity: 1;
  color: rgba(255, 255, 255, var(--color-opacity));
  background-color: #0891b2;
}

.img-picker.uploading svg {
  animation: bounce 1s cubic-bezier(0.37, -0.31, 0.57, 1.39) infinite;
}

.img-picker .loader {
  --loader-width: calc(100% * 1.785);
  --loader-height: calc(100% * 3.125);
  position: absolute;
  width: var(--loader-width);
  height: var(--loader-height);
  opacity: 0;
  background-color: #06b6d4;
  mix-blend-mode: soft-light;
  left: 50%;
  top: 90%;
  transform: translateX(-50%);
  border-radius: 40%;
  animation: fill 5s ease-in-out infinite;
  z-index: -1;
  transition: all linear 0.3s;
}

.img-picker.uploading .loader {
  opacity: 1;
}

@keyframes fill {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.2rem);
  }
  100% {
    transform: translateY(0);
  }
}

/* LOADING ELEMENTS */

table.table-loading tbody span {
  display: inline-block;
  width: 80%;
  height: 1rem;
  padding: 1rem 0;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: moving-gradient 1s infinite linear forwards;
}

.cronjob.is-loading h1,
.cronjob.is-loading span {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  border-radius: 5px;
  background-size: 200% 100%;
  animation: 1.5s moving-gradient linear infinite;
}

.cronjob.is-loading h1 {
  height: 30px;
}

.cronjob.is-loading span {
  height: 70px;
  width: calc(100% - 10px);
}

:not(.grid-card):not(.search-modal).loading {
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: moving-gradient 1s infinite linear forwards;
}

@keyframes moving-gradient {
  100% {
    background-position: -200%;
  }
}

/* CUSTOM BADGES */

.badge-dangerous {
  background-color: #f97316;
  color: #fff;
}

.faturas td,
.faturas th {
  text-align: left;
}

.paginacao {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

@media print {
  .notprint {
    visibility: hidden;
  }

  .btn-success {
    visibility: hidden;
  }

  .shadow-sm {
    box-shadow: none !important;
  }
}

/* CUSTOM INTRO */
.customIntro {
  max-width: 500px !important;
  width: auto;
  box-sizing: border-box !important;
}

.customIntro .introjs-tooltip-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 400px !important;
  justify-content: space-between;
}

.customIntro .introjs-tooltip-header::after {
  display: none;
}

.customIntro .introjs-tooltip-header .introjs-tooltip-title {
  text-align: center;
}

.customIntro .introjs-tooltipbuttons {
  border: none !important;
}

/* Label Checkbox */
small {
  font-size: 0.9rem;
  padding: 10px;
  border: solid 1px #eee;
  margin: 10px;
  border-radius: 5px;
  display: block;
}

.custom-control-label {
  font-size: small !important;
  vertical-align: top;
}

.beneficiosPlanos {
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .btn-column {
    flex-direction: column;
  }
}
.modal {
  overflow-y: scroll;
}
.novo {
  padding: 10px;
  margin-top: 5px;
  /* border:1px solid #e0dddd; background:#f3f4f6;
     */
  box-shadow: 0px 0px 1px 1px #e0dede;
}

.vertical-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  gap: 0.5rem;
  padding-block: 20px;

  .nav-item {
    width: 100%;

    &.show .nav-link {
      border-color: #ddd !important;
    }

    .nav-link {
      background-color: white !important;
      border: solid #ddd 1px;
      /*border: none !important;*/
      border-radius: 0.25rem;
      /*box-shadow: 0 0.05rem 0.25rem hsl(0 0% 90%);*/

      &.active,
      &:has(+ .dropdown-menu .dropdown-item.active) {
        background-color: hsl(0 0% 92%) !important;
      }

      &.active,
      &:hover,
      &:focus {
        border-color: #ddd;
      }

      &:hover {
        background-color: #f8f9fa !important;
      }
    }

    .dropdown-item.active {
      background-color: hsl(0 0% 92%) !important;
      color: inherit;
    }
  }

  & + .tab-content {
    width: 100%;
    background-color: white !important;
    border: none;
  }

  .dropdown-menu {
    background-color: white !important;
  }
}

.card.attention {
  outline: 1px solid #fff3cd;
  outline-offset: -1px;
  animation: outline-pulse 1s infinite ease-in;
}

@keyframes outline-pulse {
  0% {
    outline-offset: -1px;
  }
  50% {
    border-color: #fff3cd;
    outline-offset: 3px;
    outline-width: 2px;
  }
  100% {
    outline-color: transparent;
  }
}
.qrcode {
  /* transform: scale(0.5);
         */
  width: 200px;
  height: 200px;
}
