.login-page {
    width: 100%;
    height: 100%;
    position: fixed
}

.login-fondo{
    z-index:-1; 
    position:fixed; 
    min-width: 100%; 
    min-height: 100%;
}

.login-box .card {
    background-color: rgb(255,255,255,0.9);
}

.login-card-body, .register-card-body {
    background: none;
    border-top: 0;
    color: #000;
    padding: 20px;
    padding-top: 0;
}

.brand-link {
    padding: .2rem .8rem !important;
    height: 57px;
    overflow: hidden;
}

.brand-link img {
    max-width: 100%;
    max-height: 100%;
}

label.requerido:after{
    content: " *";
    color: #e73d4a
}
.btn-accion-tabla {
    cursor: pointer;
    border: none;
    background: 0;
    padding: 0 0 0 5px;
    font-size: 14px !important;
    line-height: 1.5;
}
/*.d-inline{
    display: inline;
}*/

.table-bordered td, .table-bordered th {
    border: 1px solid #f4f4f4 !important;
}

.table td, .table th {
    padding: .40rem;
}

.width70{
    width: 70px !important;
    min-width: 70px !important;
}

.width120{
    width: 120px !important;
    min-width: 120px !important;
}

.form-horizontal .control-label {
    text-align: right;
}

/*Quitar verde a los campos validos*/
.form-control.is-valid:focus, .was-validated :valid.form-control, 
form.was-validated select:valid~.select2-container--bootstrap4 .select2-selection, select.is-valid~.select2-container--bootstrap4 .select2-selection
.custom-file-input.is-valid~.custom-file-label, .was-validated .custom-file-input:valid~.custom-file-label{ 
    border: 1px solid #ced4da !important;
    background-image: inherit !important;
    box-shadow:inherit !important;
}

.pl-20{
    padding-left:20px !important;
}
.pl-30{
    padding-left:30px !important;
}
.pl-40{
    padding-left:40px !important;
}

.sidebar-dark-primary .menu-open .nav-treeview .menu-open>.nav-link.active{
    background-color:#ff0000 !important;
    color:#fff;
}

.nav-treeview{
    background: RGB(255,255,255,0.1) !important;
}

.nav-treeview .nav-treeview {
    /*margin-left: 20px;*/
    background: none !important;
}

.fc-day-grid-event .fc-content {
    white-space: initial;
    overflow: hidden;
}

.fc-title {
    font-size: 12px;
}

.col-lg-0 {
    display: none;
}

#form-detalle .col-lg-12 {
    padding: 0 !important;
}

.select2-container {
    background-color: #fff;
}

.tabla-detalles .form-control {
    padding: .3rem;
}

@media (max-width: 992px) {
    .form-horizontal .control-label {
        text-align: left; 
    }
}

.note-editor.note-frame .note-editing-area .note-editable {
    height: 200px;
}

.acceso-privado {
    padding: 17px 20px;
    margin: 0px;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: default;
}

.check-completado {
    height: 30px;
}

.check-seleccionar {
    height: 20px;
}

.strike {
    text-decoration:line-through; 
    color: #999;
}

.calcular_iva{
    padding:.2rem .3rem .2rem .3rem;
}

.calcular_iva i {
    color:#bbb;  
    font-size: 12px;
}

.control-label {
    word-wrap: initial;
}

.input-group-prepend {
    height: calc(2.25rem + 2px);
}


/* ===== Buscador de menús (navbar) ===== */
.buscador-menus-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.buscador-menus-icon {
    position: absolute;
    left: 10px;
    font-size: .8rem;
    color: #6c757d;
    pointer-events: none;
    z-index: 2;
}

.buscador-menus-input {
    width: 170px;
    height: calc(2.25rem - 2px);
    padding-left: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .15);
    background-color: rgba(255, 255, 255, .9);
    transition: width .25s ease, box-shadow .25s ease;
    font-size: .9rem;
}

.buscador-menus-input:focus,
.buscador-menus-wrap.is-active .buscador-menus-input {
    width: 320px;
    background-color: #fff;
    box-shadow: 0 0 0 .15rem rgba(0, 123, 255, .25);
    border-color: #80bdff;
    outline: 0;
}

.buscador-menus-resultados {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 360px;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
    z-index: 1080;
    padding: 6px 0;
}

.buscador-menus-resultados.show {
    display: block;
}

.buscador-menus-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: #343a40;
    text-decoration: none;
    cursor: pointer;
}

.buscador-menus-item:hover,
.buscador-menus-item.active {
    background-color: #f1f5f9;
    color: #007bff;
    text-decoration: none;
}

.buscador-menus-item .bm-icono {
    width: 18px;
    text-align: center;
    color: #6c757d;
    flex: 0 0 18px;
}

.buscador-menus-item.active .bm-icono {
    color: #007bff;
}

.buscador-menus-item .bm-textos {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.buscador-menus-item .bm-nombre {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buscador-menus-item .bm-ruta {
    font-size: .72rem;
    color: #adb5bd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buscador-menus-item .bm-nombre mark {
    background: #fff3cd;
    padding: 0;
}

.buscador-menus-vacio {
    padding: 12px 14px;
    color: #adb5bd;
    font-size: .85rem;
    text-align: center;
}