/* Add here all your CSS customizations */

/* Permitir clique no ícone de mostrar/ocultar senha (o tema usa pointer-events: none nos ícones) */
.input-group-icon .input-group-addon span.icon.toggle-password {
	pointer-events: auto;
	cursor: pointer;
}

.datepicker {
    z-index: 99999999999 !important;
}

*:focus {
    outline: none !important;
}

.btn-primary:active, .btn-primary:focus {
    color: #ffffff !important;
    background-color: #512347 !important;
    border-color: #512347 !important;
}

.btn-primary:hover {
    color: #fff;
    background-color: #512347 !important;
    border-color: #512347 !important;
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #512347 !important;
    border-color: #512347 !important;
    box-shadow: #512347 !important;
}

.bold {
    font-weight: bold;
}

.vertical-middle{
    vertical-align: middle !important;
}

.capitalize{
    text-transform: capitalize;
}

.uppercase{
    text-transform: uppercase;
}

.lowercase{
    text-transform: lowercase;
}

/*ul.nav-main li .nav-children {
    background: white !important;
}*/
/*ul.nav-main > li.nav-active > a {
    box-shadow: 2px 0 0 white inset;
}

ul.nav-main > li.nav-active.nav-expanded > a {
    /*background: white !important;*/
    /*color: white;
}*/


ul.nav-main li .nav-children li.nav-active.nav-expanded > a, li.nav-active.nav-expanded > a {
    color: white;
} 


/*
li.nav-active.nav-expanded, li::not(.nav-parent.nav-active.nav-expanded) > a {
    color: white;
}

ul.nav-main li .nav-children li.nav-active.nav-expanded > a {
    color: white;
}
*/

/* .select2-container * {
	font-size: 0.85rem !important;
} */

.select2-container .select2-selection--single {
    /* padding: 0.75rem 1.125rem 0.75rem 0.75rem; */
    height: 38.4px !important;
}

.pagination {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

/* .select2-container {
    width: 100% !important;
}

.select2-selection {
    padding: 7.4px 15px;
    height: inherit !important;
    border: 1px solid #ced4da !important;

} */

.select2-selection__rendered {
    /* padding: 0px !important; */
    line-height: 25.4px !important;
}

/* .select2-selection__arrow {
    height: 38px !important;
} */

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.block {
    display: block;
}

.datepicker table tr td, .datepicker table tr th {
    text-align: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: none;
}

.datepicker table thead tr th.dow:hover {
    color:  inherit;
    cursor: default;
}

.italic{ 
    font-style: italic !important;
}

.form-bordered.details p { margin-bottom:0px; }
.form-bordered.details .form-group {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    border-bottom: none !important;
}

.text-red {
    color: red;
}

.text-capitalize {
    text-transform: capitalize !important;
}

.card-header .rotate-icon {
    font-size: 20px;
    transition: .3s transform ease-in-out;
    color: #000000 !important;
}
.card-header .collapsed .rotate-icon {
    transform: rotate(180deg);
}

/* Fix para campos preenchidos não ficarem cinza */
/* Garantir que o texto dos campos preenchidos fique preto */
input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus,
input.form-control:-webkit-autofill:active,
input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus,
input[type="text"]:-webkit-autofill:active,
input[type="email"]:-webkit-autofill,
input[type="email"]:-webkit-autofill:hover,
input[type="email"]:-webkit-autofill:focus,
input[type="email"]:-webkit-autofill:active,
input[type="tel"]:-webkit-autofill,
input[type="tel"]:-webkit-autofill:hover,
input[type="tel"]:-webkit-autofill:focus,
input[type="tel"]:-webkit-autofill:active,
input[type="date"]:-webkit-autofill,
input[type="date"]:-webkit-autofill:hover,
input[type="date"]:-webkit-autofill:focus,
input[type="date"]:-webkit-autofill:active,
input[type="password"]:-webkit-autofill,
input[type="password"]:-webkit-autofill:hover,
input[type="password"]:-webkit-autofill:focus,
input[type="password"]:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    box-shadow: 0 0 0px 1000px #ffffff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Garantir que campos preenchidos manualmente também fiquem com texto preto */
input.form-control:not(:placeholder-shown),
input[type="text"]:not(:placeholder-shown),
input[type="email"]:not(:placeholder-shown),
input[type="tel"]:not(:placeholder-shown),
input[type="date"]:not(:placeholder-shown),
input[type="password"]:not(:placeholder-shown) {
    color: #000000 !important;
}

/* Garantir que selects preenchidos também fiquem com texto preto */
select.form-control:not([value=""]),
select:not([value=""]) {
    color: #000000 !important;
}

/* Toastr: a lib não define font-size no corpo da mensagem (só herda do body ~13px). */
#toast-container > div {
    font-size: 14px;
    line-height: 1.4;
}
#toast-container .toast-title {
    font-size: 15px;
    margin-bottom: 0.2em;
}

/* Sign screens - increase typography a bit */
.body-sign .center-sign .card-body label,
.body-sign .center-sign .card-body a,
.body-sign .center-sign .card-body .text-muted,
.body-sign .center-sign .card-body .text-center {
    font-size: 0.95rem;
    line-height: 1.4;
}

.body-sign .center-sign > p.text-muted {
    font-size: 0.95rem;
}