/*----------------------------------------cambiar colores en el template-------------------------------------------------------*/
/*[data-bs-theme=light] {
    --bs-primary: #0a72eb !important;
    --bs-primary-rgb: 10, 114, 235 !important;
    --bs-link-color-rgb: 0, 108, 234 !important;
    --bs-primary-active: #5ba4f9 !important;
    --bs-text-primary: #5ba4f9 !important;
    --bs-component-active-bg: #0a72eb !important;
    --bs-component-hover-color: #0a72eb !important;
    --bs-component-checked-bg: #0a72eb !important;
    --bs-menu-link-color-hover: #0a72eb !important;
    --bs-menu-link-color-show: #0a72eb !important;
    --bs-menu-link-color-here: #0a72eb !important;
    --bs-menu-link-color-active: #0a72eb !important;
    --bs-ribbon-label-bg: #0a72eb !important;
    --bs-prismjs-btn-color-hover: #0a72eb !important;
    --bs-link-hover-color-rgb: 10, 114, 235 !important;
}

.btn-primary {
    --bs-btn-bg: #006cea !important;
    --bs-btn-border-color: #006cea !important;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #006cea !important;
    --bs-btn-hover-border-color: #006cea !important;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #006cea !important;
    --bs-btn-active-border-color: #006cea !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #006cea !important;
    --bs-btn-disabled-border-color: #006cea !important;
}*/

.login1 input[type=email], input[type=password], input[type=text] {
    display: block;
    width: 100%;
    padding: 0.775rem 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--bs-gray-700);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid var(--bs-gray-300);
    appearance: none;
    border-radius: 0.475rem;
    box-shadow: false;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.login1 label[for="id_email"], label[for="id_login"], label[for="id_password"], label[for="id_password"] {
    display: none !important;
}

.table:not(.table-bordered) td:last-child, .table:not(.table-bordered) th:last-child, .table:not(.table-bordered) tr:last-child {
    border-top-right-radius: 0.475rem !important;
    border-bottom-right-radius: 0.475rem !important;
}

.table:not(.table-bordered) td:first-child, .table:not(.table-bordered) th:first-child, .table:not(.table-bordered) tr:first-child {
    border-top-left-radius: 0.475rem !important;
    border-bottom-left-radius: 0.475rem !important;
    padding-left: 1rem !important;
}

.form-inline {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* Add responsiveness - display the form controls vertically instead of horizontally on screens that are less than 800px wide */
@media (max-width: 800px) {
    .form-inline {
        display: flex;
        flex-direction: column;
        align-content: stretch;
    }

}

.select2-selection {
    height: 44px !important;
}

/*
 * Checkbox Select Multiple
 */

.checkbox-select-multiple {
    max-height: 250px;
    overflow: scroll;
    padding: .5rem !important;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.checkbox-select-multiple .form-check {
    padding-bottom: .75rem !important;
}

.checkbox-select-multiple .form-check-label {
    color: var(--bs-gray-800);
}

.checkbox-select-multiple .invalid-feedback {
    margin-bottom: .25rem !important;
}
/*-------------------------------------------select2---------------------------------------------------*/
/*.select2-container--bootstrap5 .select2-selection__clear {
    right: 1rem !important;
}*/

.select2-container .select2-selection--single .select2-selection__clear {
    position: absolute !important;
}

/*.select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    /* padding: 0 5px;
    width: 10% !important;
}*/

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0;
    padding: 6px 12px;
    height: 34px;

}

/*#dateForm button {
    margin-top: 18px;
}*/

.form-group p {
    margin-right: 5px;
    margin: 3px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    display: flex !important;
    /*height: auto !important;*/
    user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 10px
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    margin-top: -3px
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0 !important;
    padding: 6px 12px;
    height: 40px !important
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 6px !important;
    right: 1px;
    width: 20px
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4 !important;
    border: 1px solid #aaa !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    margin-left: 5px !important;
    margin-top: 5px !important;
    padding: 0 !important;
    padding-left: 20px !important;
    position: relative !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: bottom !important;
    white-space: nowrap !important;
}

/*.select2-container .select2-search--inline {
    width: 0.75em !important;
    left: 0px !important;

}*/
.select2-hidden-accessible {
    top: 18px !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: inline !important;
    list-style: none !important;
    padding: 0 !important;
}

/*.select2-container .select2-selection--multiple {
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: inline-block !important;
    min-height: 32px !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}*/

.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
    -webkit-appearance: none
}

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

.form-inline .form-group {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin: 2px;
}

/* Add responsiveness - display the form controls vertically instead of horizontally on screens that are less than 800px wide */
@media (max-width: 800px) {
    .form-inline .form-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 5px 0;
    }
}

.form-inline .form-control-static {
    display: inline-block
}

.form-inline .input-group {
    display: inline-table;
    vertical-align: middle
}


.form-inline .input-group .form-control, .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn {
    width: auto
}

.form-inline .input-group > .form-control {
    width: 100%
}

.form-inline .control-label {
    margin-bottom: 0;
    vertical-align: middle
}

.form-inline .checkbox, .form-inline .radio {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle
}

.form-inline .checkbox label, .form-inline .radio label {
    padding-left: 0
}

.form-inline .checkbox input[type=checkbox], .form-inline .radio input[type=radio] {
    position: relative;
    margin-left: 0
}

.form-inline .has-feedback .form-control-feedback {
    top: 0
}

input[type=date] {
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3F4254;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #E4E6EF;
    border-radius: 0.42rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    margin-right: 5px;
}

/*
 * Tree Multiselect
 */

.tree-multiselect {
    width: 100%!important;
    border: 0px!important;
}

.tree-multiselect .title {
    background-color: white!important;
    color: black!important;
}

.tree-multiselect .item {
    background-color: white!important;
    color: black!important;
}

.menu-link.disabled {
    cursor: not-allowed; /* Cambia el cursor a "not-allowed" cuando el enlace esté deshabilitado */
}