
/*bread*/
.lv-breadcrumb{
    margin: 0;
    padding: 0;
    list-style: none;
}

.lv-breadcrumb{
    overflow: hidden;
    width: 100%;
}

.lv-breadcrumb li{
    float: left;
    margin: 0 .5em 0 1em;
}
.lv-disabled{
    background: #eee !important;
}
.lv-breadcrumb a{
    background: #fac11f;
    padding: .7em 1em;
    float: left;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 1px 0 rgba(111,111,111,.5); 
    position: relative;
}

.lv-breadcrumb a:hover{
    background: orange;
}

.lv-breadcrumb a::before{
    content: "";
    position: absolute;
    top: 50%; 
    margin-top: -1.5em;   
    border-width: 1.5em 0 1.5em 1em;
    border-style: solid;
    border-color: #fac11f transparent;
    left: -1em;
}

.lv-breadcrumb a:hover::before{
    border-color: orange transparent;
}

.lv-breadcrumb a::after{
    content: "";
    position: absolute;
    top: 50%; 
    margin-top: -1.5em;   
    border-top: 1.5em solid transparent;
    border-bottom: 1.5em solid transparent;
    border-left: 1em solid #fac11f;
    right: -1em;
}

.lv-breadcrumb a:hover::after{
    border-left-color: orange;
}

.lv-breadcrumb .current,
.lv-breadcrumb .current:hover{
    font-weight: bold;
    background: none;
}

.lv-breadcrumb .current::after,
.lv-breadcrumb .current::before{
    content: normal;
}

.lv-breadcrumb li:nth-last-child(1) a{
    font-weight: bold;
    background: #333;
}
.lv-breadcrumb li:nth-last-child(1) a::after{
    border-left: 1em solid #333;
}
.lv-breadcrumb li:nth-last-child(1) a::before{
    border-color: #333 transparent;
}

.lv-divider-bread{
    border-bottom: 1px solid #ddd;
    width: 100%;
    margin: 5px 0 5px 0;
}

#process-general{
    position: fixed;
    background:url(../img/overlay.png);
    width: 100%;
    height: 200%;
    z-index: 999999999;
    top:0px;
    left: 0px;
    color: #fff;
    text-align: center;
    display: none;
}
#process-general i{
    position: absolute;
    top:25%;
}
.color-spiner{
    color: #18a689
}
/*fin bread*/

label.error{
    color: #990000 !important;
}
input.error{
    border: 1px solid #990000 !important;
}
select.error{
    border: 1px solid #990000 !important;
}
textarea.error{
    border: 1px solid #990000 !important;
}
.mr5{
    margin-left: 5px;
}
.lv-checkbox{
    display: block;
    margin-top: -7px;
}
.lv-requided{ /* when a field is considered invalid by the browser */
    background: #fff url(../../public/img/required.png) no-repeat 98% center !important;
    padding-right: 20px;
}

.lv-requided-require{
    background: #F4C6C2 url(../../public/img/required.png) 4px 6px no-repeat !important;
    width: 153px;
    padding-left: 22px;
    padding-top: 5px;
    height: 23px;
    text-align: left;
    font-weight: bold;
    font-style: italic;
    border: #E7ABA5 1px solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    float: left;
    margin-top: 4px;
}
.lv-requided-require:before{
    content: 'Campos Obligatorios';
    color: #990000;
}

.lv-modalrequired{
    background: #F4C6C2 url(../../public/img/required.png) 4px 6px no-repeat !important;
    width: 153px;
    padding-left: 22px;
    padding-top: 5px;
    height: 30px;
    text-align: left;
    font-weight: bold;
    font-style: italic;
    border: #E7ABA5 1px solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    float: left;
}
.lv-modalrequired:before{
    content: 'Campos Requeridos';
    color: #990000;
}
/*styles datagrid
table.lv-grid tr td.sorting_1 {
    background-color: #F2F2F2 !important;
}
table.lv-grid tr td.sorting_2 {
    background-color: #E6E6E6 !important;
}*/
table.lv-grid tr:hover {
    background-color: orange !important;
}
/* Emision de comprobantes: todas las columnas en escritorio y scroll en celular. */
.venta-grid-responsive {
    width: 100%;
}
.venta-grid-responsive table.fullgrid {
    width: 100% !important;
    min-width: 0;
    table-layout: fixed !important;
}
.venta-grid-responsive table.fullgrid th,
.venta-grid-responsive table.fullgrid td {
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal;
}

@media (min-width: 768px) {
    .venta-grid-responsive {
        overflow-x: hidden !important;
    }
    .venta-grid-responsive table.fullgrid {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        font-size: 11px;
    }
    .venta-grid-responsive table.fullgrid th,
    .venta-grid-responsive table.fullgrid td {
        box-sizing: border-box;
        padding-left: 5px;
        padding-right: 5px;
    }
    .venta-grid-responsive table.fullgrid tbody td {
        font-size: 12px;
        line-height: 16px;
    }
    .venta-grid-responsive table.fullgrid th:nth-child(1),
    .venta-grid-responsive table.fullgrid td:nth-child(1) { width: 3% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(2),
    .venta-grid-responsive table.fullgrid td:nth-child(2) { width: 5% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(3),
    .venta-grid-responsive table.fullgrid td:nth-child(3) { width: 8% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(4),
    .venta-grid-responsive table.fullgrid td:nth-child(4) { width: 7% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(5),
    .venta-grid-responsive table.fullgrid td:nth-child(5) { width: 4% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(6),
    .venta-grid-responsive table.fullgrid td:nth-child(6) { width: 8% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(7),
    .venta-grid-responsive table.fullgrid td:nth-child(7) { width: 16% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(8),
    .venta-grid-responsive table.fullgrid td:nth-child(8) { width: 9% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(9),
    .venta-grid-responsive table.fullgrid td:nth-child(9) { width: 7% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(10),
    .venta-grid-responsive table.fullgrid td:nth-child(10) { width: 13% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(11),
    .venta-grid-responsive table.fullgrid td:nth-child(11) { width: 6% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(12),
    .venta-grid-responsive table.fullgrid td:nth-child(12) { width: 6% !important; }
    .venta-grid-responsive table.fullgrid th:nth-child(13),
    .venta-grid-responsive table.fullgrid td:nth-child(13) { width: 8% !important; }
    .venta-grid-responsive table.fullgrid input,
    .venta-grid-responsive table.fullgrid select,
    .venta-grid-responsive table.fullgrid .chosen-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}
@media (max-width: 767px) {
    /* Mantiene accesibles las acciones del encabezado al abrir el sidebar. */
    #header > .pull-right {
        position: absolute;
        top: 0;
        right: 5px;
        z-index: 2;
        display: flex !important;
        flex-direction: row-reverse;
        align-items: flex-start;
        width: max-content;
        max-width: calc(100% - 5px);
        height: 49px;
        float: none !important;
        white-space: nowrap;
    }

    .venta-grid-responsive {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .venta-grid-responsive table.fullgrid {
        width: 1395px !important;
        min-width: 1395px;
        table-layout: auto !important;
    }
    .venta-grid-responsive table.fullgrid tbody td {
        white-space: nowrap;
    }
    .venta-grid-responsive table.fullgrid tbody td:nth-child(7),
    .venta-grid-responsive table.fullgrid tbody td:nth-child(10) {
        white-space: normal;
    }
}
.dataTables_paginate .activerd a, .dataTables_paginate .activerd a:hover{
    background:#3276B1;
    color: #ffffff;
    border: 1px solid #3276B1;
    cursor: default;
}
.move-cursor{
    cursor: move;
}
.si-access{
    border: 1px #00a300 solid;    
    background: #D8F6CE;
    float: right;
}
.no-access, .no-asign{
    border: 1px #f00 solid;
    background: #F6CED8;
    float: left;
}

.no-access:before{
    content: '';
    border-top: 10px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 88px solid #f00;
    border-left: 0px solid transparent;
    left: -87px;
    position: absolute;
    top: 0px;
}

.si-access, .no-access,.no-asign{
    width: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 160px;
}
/*arbol*/
.lv-arbol, .lv-arbol ul, .lv-arbol li {
    position: relative;
    margin-left: -10px;
}

.lv-arbol ul {
    list-style: none;
}

.lv-arbol li::before, .lv-arbol li::after {
    content: "";
    position: absolute;
    left: -12px;
}

.lv-arbol li::before {
    border-top: 1px dotted green;
    top: 9px;
    width: 8px;
    height: 0;
}

.lv-arbol li::after {
    border-left: 1px dotted brown;
    height: 100%;
    width: 0px;
    top: 2px;
}

.lv-arbol ul > li:last-child::after {
    height: 8px;
}
.ol_texto li{
    margin-left: 20px;
}
.lv-pointer{
    cursor: pointer;
}
.info_panel_circle{
    margin-top: 3px;
    border-radius: 50px;
    width: 70px;
    height: 70px;
}
.info_panel_circle_litle{
    display: inline-block;
    position: relative;
    top:-7px;
    height: 70px;
    width: 35px;
    left: -15px;
    padding-top: 10px;
}
.info_panel_circle ._left{
    border-radius: 50px 0 0 50px;
}
.info_panel_circle ._rigth{
    border-radius: 0 50px 50px 0;
}
.info_panel_circle span{
    font-size: 35px
}

.info_panel_circle_litle span{
    font-size: 15px;
    font-weight: bold;
    margin-left: -2px;
    position: relative;
    top: -2px;
}
.info_panel_circle_litle label{
    position: absolute;
    color: #000;
    top: 24px;
    left: 13px;
    font-size: 8px;
}
.lv-progress progress{
    width: 100%
}
.lv-progress .info{
    position: absolute;
    font-size: 10px;
    text-align: center;
    width: 100%;
}
.lv-header-section{
    background: #fff;
    border:1px #00a300 solid;
}
.lv-header-section-info{
    background: #fff;
    border:1px #2980b9  solid;
}
.wh70{
    width: 70px;
    height: 70px;
}
.huge {
    font-size: 25px;
}
.foot_a:hover{
    color: orange !important;
}

/*=================TICKET====================*/
.ticket_fae{
    background: #333;
    padding: 10px;
    border:2px solid #000;
}
.ticket_fae .ticket_body{
    margin: auto;
    padding: 20px;
}
.ticket_body{
    background: #fff;
}
.ticket_body table{
    width: 100%;
}
.ticket_divider{
    width:100%;
    height: 5px;
    border-top:1px dashed #000;
    border-bottom:1px dashed #000;
    border-right:0px dashed #000;
    border-left:0px dashed #000;
}
/* Nueva cotizacion: formulario en pestana */
.cotizacion-new .cotizacion-field {
    margin-bottom: 0;
}
.cotizacion-new .cotizacion-second-row {
    padding-top: 0 !important;
}
.cotizacion-new .cotizacion-new-detail {
    width: 100%;
    min-width: 760px;
    table-layout: fixed;
}
.cotizacion-new .cotizacion-new-detail input.input-xs {
    width: 100%;
    height: 35px !important;
    font-size: 16px !important;
}
.cotizacion-new .cotizacion-new-detail td {
    vertical-align: middle !important;
}
.cotizacion-new .cotizacion-new-detail .cotizacion-col-producto {
    width: 38%;
}
.cotizacion-new .cotizacion-new-detail .cotizacion-col-unidad,
.cotizacion-new .cotizacion-new-detail .cotizacion-col-cantidad {
    width: 13%;
}
.cotizacion-new .cotizacion-new-detail .cotizacion-col-precio,
.cotizacion-new .cotizacion-new-detail .cotizacion-col-total {
    width: 15%;
}
.cotizacion-new .cotizacion-new-detail .cotizacion-col-accion,
.cotizacion-new .cotizacion-new-detail th:last-child,
.cotizacion-new .cotizacion-new-detail td:last-child {
    width: 52px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center;
}
.cotizacion-new .cotizacion-new-detail .btn-danger {
    min-width: 30px;
    height: 30px;
}
.cotizacion-new .cotizacion-observaciones {
    margin-bottom: 0;
}
.cotizacion-new .cotizacion-resumen-body {
    padding: 20px;
}
.cotizacion-new .cotizacion-resumen-descuento {
    width: 90%;
    margin-bottom: 10px;
}
.cotizacion-new .cotizacion-resumen-total {
    width: 90%;
}

.cotizacion-new .cotizacion-payment-row {
    padding-top: 0 !important;
}
.cotizacion-new .cotizacion-payment-options {
    padding-top: 6px;
    white-space: nowrap;
}
.cotizacion-cuotas {
    margin-bottom: 8px;
    table-layout: fixed;
}
.cotizacion-cuotas th,
.cotizacion-cuotas td {
    vertical-align: middle !important;
    text-align: center;
}
.cotizacion-cuotas th:first-child,
.cotizacion-cuotas th:last-child {
    width: 80px;
}
.cotizacion-cuotas ._cuota_monto {
    text-align: right;
}

/* Logo empresarial: conserva el espacio del encabezado al cambiar la imagen. */
#logo .app-company-header-logo {
    box-sizing: content-box;
    width: 110px;
    height: 31px;
    padding-left: 3px;
    object-fit: contain;
    object-position: left center;
}

/* Panel: usa el logo empresarial sin alterar el alto del bloque de bienvenida. */
.app-company-dashboard-logo {
    display: block;
    width: 276px;
    max-width: 100%;
    height: 78px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.empresa-logo-preview-frame {
    border: 3px solid #ddd;
}

.empresa-logo-preview {
    display: block;
    width: 100%;
    height: auto;
}

/* Empresa: mantiene resumen y configuraciones dentro de la misma cuadricula. */
.empresa-settings-view,
.empresa-settings-view .empresa-content {
    width: 100%;
    max-width: 100%;
}

.empresa-settings-view .empresa-content {
    float: none;
}

.empresa-settings-view .empresa-company-summary-shell {
    padding-right: 10px;
    padding-left: 10px;
}

.empresa-settings-view .empresa-company-summary {
    min-width: 0;
}

.empresa-settings-view .empresa-company-summary > [class*="col-"],
.empresa-settings-view .empresa-company-details {
    min-width: 0;
}

.empresa-settings-view .empresa-company-details p,
.empresa-settings-view .empresa-company-details ._view {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Configuraciones avanzadas de Empresa: lista compacta y extensible. */
.empresa-advanced-settings {
    width: 100%;
}

.empresa-advanced-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fafafa;
    margin-bottom: 10px;
}

.empresa-advanced-setting-copy {
    min-width: 0;
}

.empresa-advanced-setting-title {
    display: block;
    margin-bottom: 2px;
    color: #333;
}

.empresa-advanced-setting .help-block {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

.empresa-advanced-setting-control {
    flex: 0 0 auto;
}

.empresa-advanced-setting-control--select {
    width: min(430px, 48%);
}

.empresa-advanced-setting-control--select select {
    width: 100%;
}

@media (max-width: 480px) {
    .empresa-advanced-setting {
        align-items: flex-start;
        flex-direction: column;
    }

    .empresa-advanced-setting-control--select {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .empresa-settings-view .empresa-company-summary > .empresa-company-logo-column,
    .empresa-settings-view .empresa-company-summary > .empresa-company-details {
        float: none;
        width: 100%;
    }

    .empresa-settings-view .empresa-company-logo-column {
        max-width: 320px;
        margin: 0 auto 15px;
    }

    .empresa-settings-view .empresa-company-spacer {
        display: none;
    }
}

@media (max-width: 880px) {
    #logo .app-company-header-logo {
        width: 127px;
    }
}
