/*modificar el color de fondo del menu */

.navbar-default {
    background-color: #6c757d !important;
}

@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #fff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus {
        color: #333;
        background-color: #e7e7e7;
    }
}

.navbar-default .navbar-brand {
    color: #fffcfc;
}

.navbar-default .navbar-nav>li>a {
    color: #fff;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #333;
    background-color: #e7e7e7;
}


/*inicio colores alos input*/

.has-success .input-group-addon {
    color: #3c763d;
    border-color: #3c763d;
}

.has-warning .input-group-addon {
    color: #8a6d3b;
    border-color: #8a6d3b;
}


/*inicio colores alos input*/


/*inicio controles del menu multinivel*/

.pull-right>.dropdown-menu {
    right: 0;
    left: auto;
}

.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
    border-top: 0;
    border-bottom: 4px solid #000000;
    content: "";
}

.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropup .dropdown-submenu>.dropdown-menu {
    top: auto;
    bottom: 0;
    margin-top: 0;
    margin-bottom: -2px;
    -webkit-border-radius: 5px 5px 5px 0;
    -moz-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
}

.dropdown-submenu>a:after {
    display: block;
    float: right;
    width: 0;
    height: 0;
    margin-top: 5px;
    margin-right: -10px;
    border-color: transparent;
    border-left-color: #cccccc;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    content: " ";
}

.dropdown-submenu:hover>a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.navbar .nav li.dropdown>a:hover .caret,
.navbar .nav li.dropdown>a:focus .caret {
    border-top-color: #333333;
    border-bottom-color: #333333;
}

.navbar .nav li.dropdown.open>.dropdown-toggle,
.navbar .nav li.dropdown.active>.dropdown-toggle,
.navbar .nav li.dropdown.open.active>.dropdown-toggle {
    color: #555555;
    background-color: #e5e5e5;
}

.navbar .nav li.dropdown>.dropdown-toggle .caret {
    border-top-color: #777777;
    border-bottom-color: #777777;
}

.navbar .nav li.dropdown.open>.dropdown-toggle .caret,
.navbar .nav li.dropdown.active>.dropdown-toggle .caret,
.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret {
    border-top-color: #555555;
    border-bottom-color: #555555;
}

.navbar .pull-right>li>.dropdown-menu,
.navbar .nav>li>.dropdown-menu.pull-right {
    right: 0;
    left: auto;
}

.navbar .pull-right>li>.dropdown-menu:before,
.navbar .nav>li>.dropdown-menu.pull-right:before {
    right: 12px;
    left: auto;
}

.navbar .pull-right>li>.dropdown-menu:after,
.navbar .nav>li>.dropdown-menu.pull-right:after {
    right: 13px;
    left: auto;
}

.navbar .pull-right>li>.dropdown-menu .dropdown-menu,
.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu {
    right: 100%;
    left: auto;
    margin-right: -1px;
    margin-left: 0;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


/*inicio controles del menu multinivel*/

.alignCenter {
    text-align: center !important;
}

.alignLeft {
    text-align: left !important;
}

.alignRight {
    text-align: right !important;
}


/*para los checkbox*/

.labelCheck {
    padding: 6px 7px 6px 45px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-right-color: rgb(204, 204, 204);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    text-align: justify;
    height: auto;
    line-height: 1.9;
    width: 100%;
}

.cont-checkbox {
    height: 35px;
    width: 35px;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    position: absolute;
    z-index: 45;
    background: white;
}

.checkbox-container {
    position: relative;
    display: flex;
    background-color: white;
}

.checkbox-inline-tribute {
    position: absolute;
    top: -3px;
    left: 12px;
    width: 20px;
}


/*para las tables con boton de agregar filas */

.columna {
    padding: 6px;
}

.groupdiv {
    margin: 0;
}


/*css para que deje la cabecera de la tabla estatica y le coloque scroll al body*/

.tableFixHead {
    overflow-y: auto;
    height: 198px;
    margin-bottom: 5px;
}

.tableFixHead table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
}

.tableFixHead th,
.tableFixHead td {
    /*padding: 8px 16px;*/
}

.tableFixHead th {
    position: sticky;
    top: 0;
}

.buscarTabla {
    font-size: 9px;
}

.inputTabla {
    height: 25px !important;
    display: block;
    padding: 6px 6px;
    font-size: 10px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: initial;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}


/*css para quitar el espaciado en los rows*/

.form-group {
    margin-bottom: 5px !important;
}


/*css para quitar el espaciado en panel body */

.panel-body {
    padding: 5px !important;
}


/*css para los par?etros de informes en el modal de reportes */

.param-repo-1 {
    display: inline-block;
    height: 20px;
    width: auto;
    line-height: 0.7;
    padding: 5px;
    border: 1px solid #ddd;
    color: black;
    font-weight: bold;
    background: #ddd;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.param-repo-2 {
    display: inline-block;
    height: 20px;
    width: auto;
    line-height: 0.7;
    padding: 5px;
    border: 1px solid #ddd;
    border-top-right-radius: 5px;
    color: black;
    border-bottom-right-radius: 5px;
    margin: 0 5px 5px 0;
}

.btn-listar-venta {
    padding: 0px !important;
    height: 17px !important;
    width: 50px !important;
    line-height: 1.2 !important;
}

.cufe {
    display: inline-block;
    width: 120px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
}

.padding-cero {
    padding: 0 !important;
}

.cabecera-principal {
    padding: 2px 15px 0 15px !important;
}

.not-active {
    pointer-events: none;
    cursor: default;
}

.claseee {
    padding: 6px 12px !important;
    height: 34px !important;
    font-size: 10px !important;
    color: #555 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    line-height: 1.42857143 !important;
}

.error-message{
    color: #ff0000 !important;
}

#dt_cotizacion_compr_lis_wrapper {
    width: 100%;
    overflow: hidden;    /* Evita el desbordamiento y el scroll */
}

#dt_cotizacion_compr_lis {
    width: 100%;
    table-layout: fixed; /* Hace que las columnas tengan un ancho fijo */
    word-wrap: break-word;  /* Rompe las palabras largas que no caben en una columna */
    white-space: nowrap;    /* Evita que las palabras se rompan y asegura que el contenido no se expanda */
}

#dt_cotizacion_compr_lis td, #dt_cotizacion_compr_lis th {
    overflow: hidden;   /* Asegura que no haya desbordamiento en las celdas */
    text-overflow: ellipsis;  /* Agrega puntos suspensivos si el contenido es demasiado largo */
}

#tbContenidoDetalle th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
}  