html {
    min-height: 100%;
    position: relative;
}
body {
    margin-bottom: 60px;
}
.footer {
    background-color: #f5f5f5;
    bottom: 0;
    height: 60px;
    position: absolute;
    width: 100%;
    padding-top: 10px;
    border: 1px solid transparent;
    border-color: #E7E7E7;
    border-width: 1px 0px 0px;
}
.container {
    max-width: 1200px;
    padding: 0 15px;
    width: auto;
}
.container .text-muted {
    margin: 20px 0;
}
body > .container {
    padding: 60px 15px 0;
}


/* Logo header ajustes*/
.navbar-brand {
    padding: 2px 15px;
}
.navbar-brand .logo {
    max-width: 60px;
}


/* Estilo manual del ui autocomplete */
.ui-autocomplete {
     position: absolute;
     z-index: 1000;
     cursor: default;
     padding: 0;
     margin-top: 2px;
     list-style: none;
     background-color: #ffffff;
     border: 1px solid #ccc;
     -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
     border-radius: 5px;
     -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
     box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 }
.ui-autocomplete > li {
    padding: 3px 20px;
}
.ui-autocomplete > li.ui-state-focus {
    background-color: #DDD;
}
.ui-helper-hidden-accessible {
    display: none;
}
/* Sobreescribe width de auto a 100% para filtros dataTables*/
input.form-control.input-sm.datatables-pie {
    width: 100%;
}

/* Estilo para prosesando de dataTables */
.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 40px;
    margin-left: -50%;
    margin-top: -25px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.2em;
    background-color: white;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
}

.pedidos .entregado {
    color: green;
    font-weight: bold;
}
.pedidos .incidencia {
    color: darkred;
    font-weight: bold;
}
.pedidos .linea-cancelado {
    color: grey;
}
.pedidos .reparto {
    color: forestgreen;
}
.pedidos .pendiente {
    color: darkred;
}
.pedidos .recogido, .pedidos .planificado, .pedidos .preparado {
    color: #045f99;
}
/* Estilo para informes de pedido*/
.pedidos-full > thead > tr > th {
    border-bottom: 2px solid #000;
}
.pedidos-full > tbody > tr.active > td {
    border-top: 1px solid #000;
}
.pedidos-full .fecha {
    width: 7em;
}
.pedidos-full .entrega {
    width: 7em;
}
.lineas-pedido {
    margin-bottom: 0px;
}
.lineas-pedido > tbody > tr > td {
    border-bottom: 1px solid #ddd;
}
.lineas-pedido tr:nth-child(1) td {
    border-top: 1px solid #fff;
}
.lineas-pedido td.codigo {
    width: 8em;
}
.lineas-pedido td.unidades {
    width: 4em;
}
.td-compacto > tbody > tr > td {
    padding: 0 8px;
}
.hr-compacto {
    margin-bottom: 2px;
    margin-top: 2px;
}
tbody > tr.sinborde > td {
    border: 0;
}
.row.fila {
    border-top:1px solid lightgray;
    margin-top: 1em;
    padding-top: 1em;
}

/* impresion */
@media print
{
    body {
        font-size: 11px;
    }

    .no-print, .no-print *
    {
        display: none !important;
    }

    /* Anula margenes en impresion */
    .container {
        width: auto;
    }

    body > .container {
        padding: 0px 15px 0;
    }
    /* fin */

    /* Estilo para imprimir los dl */
    .dl-horizontal dt {
             clear: left;
             float: left;
             overflow: hidden;
             text-align: right;
             text-overflow: ellipsis;
             white-space: nowrap;
             width: 160px;
         }
    dt {
        font-weight: 700;
    }
    dt, dd {
        line-height: 1.42857;
    }
    .dl-horizontal dd {
        margin-left: 180px;
    }
    /* fin */
    /* impresion de las url */
    a[href]:after {

        content: "";

    }

    /* Impresion de tablas */
    .table>thead>tr>td.active,
    .table>tbody>tr>td.active,
    .table>tfoot>tr>td.active,
    .table>thead>tr>th.active,
    .table>tbody>tr>th.active,
    .table>tfoot>tr>th.active,
    .table>thead>tr.active>td,
    .table>tbody>tr.active>td,
    .table>tfoot>tr.active>td,
    .table>thead>tr.active>th,
    .table>tbody>tr.active>th,
    .table>tfoot>tr.active>th {
        background-color: #C1C1C1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .table > thead > tr > th,
    .table > tbody > tr > th,
    .table > tfoot > tr > th,
    .table > thead > tr > td,
    .table > tbody > tr > td,
    .table > tfoot > tr > td {
        border-top: 1px solid darkgrey;
    }
    .table>thead>tr>th {
        border-bottom: 2px solid darkgrey;
    }
}

