/* Imports dos Elementos */
@import url('dataTables.custom.css');

/* Classes para esconder input que recebem senhas */
.dataTables_wrapper table.dataTable th, .dataTables_wrapper table.dataTable td {
  padding: 0.5rem 0.45rem;
}
.cke_top {
  background: #f4f4f4 !important;
}  
.view-eye {
    position: absolute;
    top: 50%;
    right: 10px;
    cursor: pointer;
    transform: translateY(-50%);
}

input {   cursor: initial;  }
p { margin-bottom: 0.5rem;  }

.swal2-icon {  zoom:0.7;  }

/* Configuração para Labels - modo dark */
body.dark-only .f-light-label {
  color: #8080e3;
}
.page-body .container-fluid {
  width:calc(100% - 50px);
}

/* 06/12/2023 - Nil  */
.page-wrapper .page-body-wrapper .page-body { 
  min-height: calc(100vh - 196px);
}
.page-wrapper .page-header .header-wrapper {
  padding: 10px 18px;
}
.titulo-pag {
  font-weight: 500;
  font-size: 1.4rem;
  color: #08088A;
}
.text-azulEscuro {
  color: #08088A;
}
/*   textos coloridos */
.text-black {
  font-size: 0.8rem;
  font-weight: 500;
}
.text-orange, .orange { color:#ffa353 }
.text-blue { color: #08088A; }
.caption-text { color:#0d94af; }
.text-warning {   color: #FFAA05 !important;  }
.txt-light2 {
  color: #bfbfbf !important;
}

.page-wrapper .page-header .header-wrapper .nav-right .onhover-show-div li a span {
  text-transform:initial;
}
body.dark-only .form-check-input {
  /*background-color: #4b4c4c;*/
  border: 1px solid #5f5f5f;
}
.sidebar-wrapper {
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1) !important;
}
.dataTables_wrapper .dataTables_length,.dataTables_filter {
  margin-bottom: 16px;   /*  05-10-2023 */
}

/* tela de bloqueio ao executar AJAX  */
#loading {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-color: #000;
  z-index: 9999;
  text-align: center;
}
#loading-image 
{
  z-index: 10000;
  max-width: 100px;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);    
}

table th, .table td {
    padding: 0.35rem;
}

.ft-8 {  font-size:8px}
.ft-9 {  font-size:9px}
.ft-10 {  font-size:10px}
.ft-11 {  font-size:11px}
.ft-12 {  font-size:12px}
.ft-14 {  font-size:14px}
.ft-15 {  font-size:15px}
.ft-16 {  font-size:16px}
.ft-18 {  font-size:18px}
.ft-20 {  font-size:20px}
.ft-22 {  font-size:22px}
.ft-24 {  font-size:24px}
.ft-26 {  font-size:26px}
.ft-28 {  font-size:28px}
.ft-32 {  font-size:32px}
.ft-34 {  font-size:34px}
.ft-38 {  font-size:38px}

.d-non { display: none; }
.page-wrapper.horizontal-wrapper .header-logo-wrapper {   width: 170px; }

.container-600,.container-800,.container-900,.container-1000,.container-1100,.container-1200,.container-1300,.container-1500,.container-1600
{
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}
.container-600  {   max-width: 600px;   }
.container-800  {   max-width: 800px;   }
.container-900  {   max-width: 900px;   }
.container-1000 {   max-width: 1000px;  }
.container-1100 {   max-width: 1100px;  }
.container-1200 {   max-width: 1200px;  }
.container-1300 {   max-width: 1300px;  }
.container-1500 {   max-width: 1500px;  }
.container-1600 {   max-width: 1600px;  }

/* negrito  */
.bold-500        { font-weight: 500; }
.bold-600        { font-weight: 600; }
.bold, .bold-700 { font-weight: 700; }

.red-border{
  border: 1px solid #DC3545 !important;
}

/* Classe para o spinner */
.spinner {
  border: 2px solid rgba(128, 0, 128, 0.3); /* Cor roxa clara */
  border-top: 2px solid #fff; /* Cor branca */
  border-radius: 50%;
  width: 15px; /* Tamanho um pouco menor */
  height: 15px; /* Tamanho um pouco menor */
  animation: spin 1s linear infinite; /* Animação de rotação */
}

/* Animação de rotação */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.menu-full {
  padding: 15px 30px !important; 
  margin: 0 -27px 28px !important;
}
.float-right {   float: right;  }
.c-pointer {  cursor: pointer;   }

/* Botões de Liga/Desliga   */
.onoff input.toggle {
  display: none;
}
.onoff input.toggle + label 
{
  position: relative;
  top: 13px;
  box-shadow: inset 0 0 0px 1px #d5d5d5;
  height: 24px;
  width: 48px;
  border-radius: 30px;
  margin-left: 16px;
}
.onoff input.toggle + label:before 
{
  content: "";
  display: block;
  height: 24px;
  width: 24px;
  border-radius: 30px;
  background: rgba(19, 191, 17, 0);
  transition: 0.1s ease-in-out;
}
.onoff {  display: contents; zoom: 0.8;  }
.onoff input.toggle + label:after 
{
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  top: 0px;
  left: 0px;
  border-radius: 30px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: 0.1s ease-in-out;  
}
.onoff input.toggle:checked + label:before {
  width: 48px;
  background: #1c6b1a;
}
.onoff input.toggle:checked + label:after {
  left: 24px;
  box-shadow: inset 0 0 0 1px #1c6b1a, 0 2px 4px rgba(0, 0, 0, 0.2);
}      

/* ajustes menu lateral direito - atalhos */
.customizer-links > .nav {    padding: 10px 5px; }
.form-label {   margin-left: 6px;   }
.form-select {    font-size: 0.9rem;   }
.card .card-header, .card .card-body   {  padding: 20px 30px;   }
.dataTables_wrapper .dataTables_filter {  margin-bottom: 16px;  }

/* complento bootstrap5 - comandos eliminados   */
.badge-outline-primary { color: #6576ff; border-color: #a3adff; }
.badge-outline-secondary { color: #364a63; border-color: #8692a1; }
.badge-outline-success { color: #1ee0ac; border-color: #78eccd; }
.badge-outline-info { color: #09c2de; border-color: #6bdaeb; }
.badge-outline-warning { color: #f4bd0e; border-color: #f8d76e; }
.badge-outline-danger { color: #e85347; border-color: #f19891; }
.badge-outline-dark { color: #1c2b46; border-color: #778090; }
.badge-outline-gray { color: #8091a7; border-color: #b3bdca; }
.badge-outline-light { color: #b7c2d0; border-color: #d4dae3; }
.badge-outline-lighter { color: #e5e9f2; border-color: #eff2f7; }
.badge-dim.badge-primary { color: #6576ff; background-color: #eef0ff; border-color: #eef0ff; }
.badge-dim.badge-outline-primary { color: #6576ff; background-color: #eef0ff; border-color: #c1c8ff; }
.badge-dim.badge-secondary { color: #364a63; background-color: #e9ebee; border-color: #e9ebee; }
.badge-dim.badge-outline-secondary { color: #364a63; background-color: #e9ebee; border-color: #afb7c1; }
.badge-dim.badge-success { color: #1ee0ac; background-color: #e6fcf6; border-color: #e6fcf6; }
.badge-dim.badge-outline-success { color: red; background-color: #e6fcf6; border-color: #a5f3de; }
.badge-dim.badge-info { color: #09c2de; background-color: #e4f8fb; border-color: #e4f8fb; }
.badge-dim.badge-outline-info { color: #09c2de; background-color: #e4f8fb; border-color: #9de7f2; }
.badge-dim.badge-warning { color: #f4bd0e; background-color: #fef8e4; border-color: #fef8e4; }
.badge-dim.badge-outline-warning { color: #f4bd0e; background-color: #fef8e4; border-color: #fbe59f; }
.badge-dim.badge-danger { color: #e85347; background-color: #fceceb; border-color: #fceceb; }
.badge-dim.badge-outline-danger { color: #e85347; background-color: #fceceb; border-color: #f6bab5; }
.badge-dim.badge-dark { color: #1c2b46; background-color: #e6e8eb; border-color: #e6e8eb; }
.badge-dim.badge-outline-dark { color: #1c2b46; background-color: #e6e8eb; border-color: #a4aab5; }
.badge-dim.badge-gray { color: #8091a7; background-color: #f1f3f5; border-color: #f1f3f5; }
.badge-dim.badge-outline-gray { color: #8091a7; background-color: #f1f3f5; border-color: #ccd3dc; }
.badge-dim.badge-light { color: #b7c2d0; background-color: #f7f8fa; border-color: #f7f8fa; }
.badge-dim.badge-outline-light { color: #b7c2d0; background-color: #f7f8fa; border-color: #e2e7ec; }
.badge-dim.badge-lighter { color: #e5e9f2; background-color: #fcfdfe; border-color: #fcfdfe; }
.badge-dim.badge-outline-lighter { color: #e5e9f2; background-color: #fcfdfe; border-color: #f5f6fa; }


.hover-btn-warning:hover{
  color: white !important;
}

.hover-btn-success:hover{
  color: white !important;
}

.desactive-cursor-pointer{
  cursor: default;
}

 /* Estilo para o botão dropdown */
 .dropdownCustom {
  position: relative;
  display: inline-block;
}

/* Estilo para o conteúdo do dropdown */
.dropdownCustom-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  width: max-content;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  /* Ajuste para mostrar à esquerda */
  left: -152px; /* ou o valor adequado para o seu design */
  top: -10px;
}

/* Estilo para os itens do dropdown */
.dropdownCustom-content a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  width: 100%; /* Definindo a largura igual à largura do dropdown */
  box-sizing: border-box; /* Incluindo padding e borda na largura total */
}

/* Mudar a cor do item do dropdown ao passar o mouse sobre ele */
.dropdownCustom-content a:hover {
  background-color: #f1f1f1;
}
/* Mostrar o dropdown quando o mouse passa sobre o botão */
.dropdownCustom:hover .dropdownCustom-content {display: block;}

/* Estilizando o botão */
.dropbtnCustom {
  background-color: transparent;
  color: black;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

div:where(.swal2-container) h2:where(.swal2-title) {
  font-size: 1.75em;
}

.fireworks-css {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
}

.page-body {
  position: relative !important;
  z-index: 1;
  background-color: white;
  padding: 20px;
  height: 100%;
  width: auto;
}

 /* Estilo para tabela com listras personalizadas (dark mode apenas) */
 .dark-only .table-striped tbody tr:nth-of-type(odd) {
  background-color: #1D1E26; /* Cor de fundo para linhas ímpares (dark mode) */
}

.dark-only .table-striped tbody tr:nth-of-type(even) {
  background-color: #2D2E36; /* Cor de fundo para linhas pares (dark mode) */
}

/* Ajuste do texto para contraste (dark mode apenas) */
.dark-only .table-striped tbody tr td,
.dark-only .table-striped tbody tr th {
  color: #bfbdbd; /* Cor do texto para todas as células (dark mode) */
}

.custom-swal {
  background-color: #6258D4; /* Cor de fundo personalizada */
  color: #bfbdbd; /* Cor do texto personalizada */
  border-radius: 5px; /* Border radius */
  width: 80%; /* Largura personalizada em porcentagem */
  max-width: 400px; /* Largura máxima */
  font-size: 14px; /* Tamanho da fonte */
  padding: 10px; /* Espaçamento interno */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); /* Adiciona uma sombra */
}

.balance-widget .mobile-right-img {
  right: 0;
}

.text-box {
   margin-left: 44vw;
   margin-top: 42vh;
}
/*
.btn:link,
.btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 40px;
    display: inline-block;
    border-radius: 8px;
    transition: all .2s;
    position: absolute;
}
*/
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background-color: #fff;
    color: #777;
}

.btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.btn-white::after {
    background-color: #fff;
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn-animated {
    animation: moveInBottom 5s ease-out !important;
    animation-fill-mode: backwards !important;
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px) !important;
    }

    100% {
        opacity: 1;
        transform: translateY(0px) !important;
    }
}

/*Efeito de zoom ao abir o modal*/
.zoom-in.modal.fade      .modal-dialog { transform: scale(0.8) }
.zoom-in.modal.fade.show .modal-dialog { transform: scale(1) } 


/*  Ajusta da seta de seleção do  select  */
.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
}
.custom-select select {
  display: inline-block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: white;
  background-image: none;
  position: relative;
}
.custom-select::after {
  content: '\25BC'; /* Unicode character for down arrow */
  position: absolute;
  top: 70%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #625e99; 
}

/* Certifique-se de que não há estilos que ocultam as setas */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: auto;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield; /* Para Firefox */
}
