:root {
    --ad-menu-size: 280px;
    --ad-font-size: 1.15rem;
    --ad-font-size-menu:1.2rem;
    
    --ad-font-size-super: 1.4rem;
    --ad-font-size-plus: 1.2rem;
    --ad-font-size-less: 0.85rem;
    --ad-font-size-mini: 0.65rem;
} 

.sidebar-system-name{
    height:auto;
}

.btn-block{
width:100%;
}  

/* nav bar */
.navbar .btn-group button.dropdown-toggle > span{
    width: 150px;
    overflow: hidden;
}
@media (min-width: 360px) {
    .navbar .btn-group button.dropdown-toggle > span{
        width: 170px;
    }
}
@media (min-width: 576px) {
    .navbar .btn-group button.dropdown-toggle > span{
        width: 190px;
    }
}

/*size tdbMultiCombo */
.ms-options-wrap > button {
    line-height: 1.25;
    padding: .375rem 2.25rem .375rem .75rem;
}
[data-bs-theme=dark] .ms-options-wrap > button,
[data-bs-theme=dark] .ms-options-wrap > .ms-options {
    background: var(--bs-body-bg);
}
[data-bs-theme=dark] .ms-options-wrap.ms-has-selections > button{
    color:white;
}
[data-bs-theme=dark] .ms-options-wrap > .ms-options > ul label:hover,
[data-bs-theme=dark] .ms-options-wrap > .ms-options > ul li.selected label {
    background-color: var(--bs-primary);
    color:white;
}
        

/*ajuste barra progresso mobile*/
.progress{
    position:relative;
}
.text-divisor{
    color: #5A73DB;
    font-size: 12pt;
    text-align:left;
    border-bottom:1px solid gray;
    width:100%;     
}
[data-bs-theme=dark] .text-divisor{
    color: #8B4513;
 }

/* ajuste logo login */
[page-name="LoginForm"] .modal-dialog img{
     max-height: 150px;
}

/* Flutuar o label TPassword LoginForm */
.modal-content .tpassword [widget="tpassword"]::placeholder{
  color: transparent;
}
.modal-content .form-floating:has(.tpassword .tfield:focus) label,
.modal-content .form-floating:has(.tpassword .tfield:not(:placeholder-shown)) label
 {
    color: rgba(var(--bs-body-color-rgb), .65);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}
.modal-content .form-floating .tpassword .tfield {
    padding-top: 1.6rem;
    padding-bottom: .625rem;
}

[data-bs-theme=dark] .select2-disable {
    background-color: var(--bs-secondary-bg) !important;
}

/*navbar fundo */
[data-bs-theme="dark"] .navbar{
    background:black;
}
     
.card {
--bs-card-cap-padding-y: 0.4rem;
}

/* title form */
.card-header:not(.note-toolbar), .panel-heading {
    background: rgba(0,0,150,.06);
}

/*minimal title window */
.ui-dialog-titlebar {
    height: 40px;
}
.ui-dialog-title {
    padding-top:0px;
}

/* fixer top bar */
@media (max-width: 766px) {
    nav.navbar{
        position: fixed;
        z-index: 9;
    }
    main.content {
        padding-top: 65px !important;
    }
}

/* small progress bar in info-box */
.info-box-number {
    font-size: 20px !important;
 }
.info-box .progress {
    height: 5px !important;
}
        
/* evita overflow select2 */
.select2-container {
    max-width:100%;
}

/*padding for chields */
.header-actions {
    gap: 3px;
    flex-wrap: wrap;
}
/*footer actions */
form .card-footer {
    gap: 3px;
    display: flex;
    flex-wrap: wrap;
}

/* Separator */
.tseparator{
	margin-top: 10px!important;
	margin-bottom: 0px!important;
	font-size: 1.1rem!important; 
	font-weight: bolder;
	/*text-transform: uppercase;*/
    color: #3c8dbc;
	padding-left: 5px;
	}
.tseparator-divisor{
	margin-bottom: 5px!important;
	margin-top: 0px!important; 
	border-bottom: .25px solid #3c8dbc;
	opacity: .4;
	}
	
/*input required */
div.required label, label.required {
   font-weight: bold;
}
div.required label:not(.btn):not(.tcheckgroup_label):after,label.required:after,b.required:after {
    color: #e32;
	font-weight:bolder;
    content: ' *';
    display:inline;
}	

/* slim hight inputs */
.tfield, .form-select,
.select2-container--default .select2-selection--single .select2-selection__rendered{
        line-height: 1.25;
        min-height:31px;
}
/* ajuste option empty */
.select2-results__option{
    min-height:31px;
}
.btn.tdate-group-addon,
.btn-after {
    --bs-btn-line-height: 1.25;
} 
.table>:not(caption)>*>* {
    padding: .3rem .3rem;
}

/* style header table */
.table tbody tr.info td {
    background-color: #3c8dbc!important;
}

/* Evita overflow TWindow */
div.ui-dialog {max-width:100%!important;}
div.ui-dialog-content{max-width:100%!important;}   

/* style cor tr check grid tables */
/*table tr.row_checked:not(:hover) td*/
table tr.row_checked td {background: #fff67a!important;}

[data-bs-theme=dark] table tr.row_checked td {
    color: black;
}    
    
table[check_marque="true"] tbody tr td:not(:first-child){
    cursor: pointer!important;
}

/* form modo leitura */
.texto {
	min-height: 25px;
    background: #f7f7f7;
    padding: 3px;
}
#label_situacao{
    line-height:1.25;
    background-color: var(--bs-secondary-bg);
    padding: 0.23rem;
    border-radius: var(--bs-border-radius);
}
/*ajuste menu dropdown btn-group*/
.dropdown-menu li a {
    padding: 5px 10px;
    line-height: 1.8;
}

/*destaque row hover datatable */
table.dataTable tbody tr:hover td {
    background-color: #92d6fe;
}

/* ajuste TRadioGroup: inline-flex */
.btn-group:not([style*="display"]) {
    vertical-align: middle;
    flex-wrap: wrap;
	display: -ms-inline-flexbox!important;
    display: inline-flex!important;
}
[data-bs-theme=light] .tform {
    background: var(--bs-light);    
}
[data-bs-theme=dark] .tform{
    background: var(--bs-dark); 
    box-shadow: none;   
}
[data-bs-theme=light] .tform .tformaction > td{
    background: var(--bs-light);    
}
[data-bs-theme=dark] .tform .tformaction > td{
    background: var(--bs-card-cap-bg);   
    border:none;
}

/* Aplica 1 coluna por padrão (para dispositivos móveis) */
.dropdown-menu-columns {
    column-count: 1;
    column-gap: 20px;
}
@media (min-width: 576px) {
    .dropdown-menu-columns {
        column-count: 2; 
    }
}
@media (min-width: 992px) {
    .dropdown-menu-columns {
        column-count: 3; 
    }
}
.dropdown-menu-columns li {
    break-inside: avoid; /* Evitar que os itens sejam quebrados entre as colunas */
    display: block; /* Garante que os itens fiquem em uma linha por vez */
}


/* Material designer */
/*
.form {
  padding: 1em;
  border: 1px solid #f1f1f1;
  box-shadow: 0 4px 6px 0 rgba(22, 22, 26, 0.18);
}
@media only screen and (min-width: 768px) {
  .form {
    width: 50%;
  }
}
.form-select, .form-control, 
input.tfield,
.panel form[type="bootstrap"] textarea,
.select2-container--default .select2-selection--single, 
.select2-selection .select2-selection--single, 
.select2-container--default .select2-selection--multiple, 
.select2-container--default.select2-container--focus .select2-selection--multiple  {
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
}
.form-select:focus, .form-control:focus,
input.tfield:focus,
.panel form[type="bootstrap"] textarea:focus,
.select2-container--default .select2-selection--single:focus,
.select2-selection .select2-selection--single:focus, 
.select2-container--default .select2-selection--multiple:focus, 
.select2-container--default.select2-container--focus .select2-selection--multiple:focus {
  box-shadow: none;
  border-color: #80bdff;
  border-width: 2px;
}
.form-select:focus + label, .form-control:focus + label{
    color: #2196f3;
}
input[type="submit"]{
  color: #2196f3;
  border-color: #2196f3;
}
input[type="submit"]:hover,
input[type="submit"]:focus {
  color: #ffffff;
  background-color: #2196f3;
  outline: none;
  box-shadow: 0 4px 6px 0 rgba(22, 22, 26, 0.18);
}

.btn {
  border: none;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:active,.btn:focus {
  transform: translateY(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
} */
