/* Buttons for sorting CRUD tables */
.btn-th-sort {
    font-weight: 500;
    color: white;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent !important;
    border: none;
    padding: 0;
}
.btn-th-sort:hover {
    color: white; 
}
.btn-th-sort:focus, .btn-th-sort:focus-visible {
    box-shadow: none; 
}
.sort-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}
/*Overrides Bootstrap style for label*/
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal !important;
}
/* Adjust table header color */
.table .thead-dark th {
    color: #ffffff;
    background-color: #007bff !important;
    border-color: #007bff !important;
}
.table .thead-child th {
    font-weight: 600;
    font-style: italic;
    border-bottom: 1px solid rgb(33, 37, 41); 
}
.accordion-body {
    background-color: rgb(222, 235, 243);
    font-size: 90%;
    /*margin-left: 2rem;*/
}
.accordion-body-1 {
    background-color: rgb(222, 243, 228);
    font-size: 90%;
    /*margin-left: 2rem;*/
}
.accordion-body-2 {
    background-color: rgb(243, 235, 222);
    font-size: 90%;
    /*margin-left: 2rem;*/
}

.accordion-body-3 {
    background-color: rgb(235, 217, 233);
    font-size: 90%;
    /*margin-left: 2rem;*/
}

.accordion-body-4 {
    background-color: rgb(238, 240, 227);
    font-size: 90%;
    /*margin-left: 2rem;*/
}
/* Dark gray
.table .thead-dark th {
    color: #ffffff;
    background-color: #343a40 !important;
    border-color: #343a40 !important;
}
*/
/* Smaller text */
.small-text table , .small-text div, .small-text button {
    font-size: 0.9rem;
}
/* Limit long text string */
.tlimit {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*Fontawesome icons inside tables*/
.df-table td i.fa.t-icon, .df-table td i.fas.t-icon {
    font-size: 115%;
    padding-right: 5px;
}
.df-sbox { /* Top Search input */
    width: 60%;
}
/*Custom DF record list styles*/
.df-table {
    font-size: 0.95rem;
}
.df-table .table-striped button, .df-table .btn-add {
    font-size: inherit;
    padding: 0.2rem 0.4rem;
}
.df-table .table-striped th button {
    padding: 0;
}
td.df-actions button {
    font-size: 80% !important;
    padding: 0.1rem 0.3rem !important;
}

.df-table .form-control {
    height: 2rem;
    padding: 0.35rem 0.6rem;
    font-size: inherit;
}
.df-table .table th, .df-table .table td {
    padding: 0.3rem;
}
.df-h4 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
    padding-left: 0.6rem;
}
/*Parameter added to AdminLTE configuration for this to work */
body > div > div.content-wrapper.df-content > div.content-header {
    padding: 0.8rem 0.5rem 0.3rem 0.5rem;
}
/*Used for collapsible rows in datatables */
.subRow {
    padding: 0 !important;
    border: none;
}
td.leadCell {
    vertical-align: middle !important;
    font-size: 1.5rem;
}
.df-childform {
    background-color: rgba(0, 0, 0, 0.05);
}

.df-uppercase {
    text-transform: uppercase !important;
}

/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal {  display: none; width : 0; height: 0; }

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

/* Experimental for file input translation **********/
.custom-file-input ~ .custom-file-label::after {
    content: "Explorar";
}

.custom-file-label ~ .custom-file-input::after {
    content: "Explorar";
}