* { padding: 0; margin: 0; font-family: Arial, sans-serif; }

body {
    
}

h1 {
    text-align: center;
    width: 100%;
    color: #666;
    margin: 5px auto;
    font-size: 1.2em;
}

h2 {
    text-align: center;
    width: 100%;
    color: #666;
    margin: 5px auto;
    font-size: 1.1em;
}

header {
    position: relative;
    width: 1024px;
    margin: 0 auto;
    height: 60px;
    box-shadow: 0 3px 4px #888;
}

#nom {
    color: #ccc;
    margin-left: 10px;
    line-height: 60px;
    vertical-align: middle;
}

nav {    
    float: right;
}

nav ul {
    margin-right: 10px;
}

nav li {
    float: left;
    list-style: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    margin: 22px 5px;
    padding: 4px;
}

nav li:hover {
    background-color: #ccc;
}

aside {
    float: left;
    width: 200px;
    box-shadow: inset 3px 3px 3px #ccc;
}

article {
    clear: right;
    width: 1024px;
    margin: 0 auto;
}

nav li.active {
    border-bottom: 2px solid #444;
}

table {
    margin: 5px auto;
}

td.th {
    font-color: #fff;
    text-align: right;
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 3px;
    font-size: .8em;
    font-weight: bold;
    border-radius: 3px;
}

table.dades {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 2px 2px 3px #888;
    border-collapse: collapse;
    background: white;
}

table.stock {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 2px 2px 3px #888;
    border-collapse: collapse;
    background: white;
    font-size: 12px;
    cursor: pointer;
    color: #444;
}

table.stock tr:nth-child(even) {
    background-color: #ddd;    
}

table.stock td:hover {
    color: black;
}

.datos, input, select, ui-widget input, ui-widget select {
    font-family: monospace !important;
}

#autocompleta {    
    display: none;
    position: absolute;
    background-color: #ccc;
    /*width: 700px;*/
    margin-left: 30px;
    border: 1px solid #888;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 3px solid #888;
}

#editaAlbara {
    overflow: visible;
}

.articulo {
    width: 90px;
    align: right;
}

.entero {
    width: 40px;
    align: right;
}

.precio {
    width: 60px;
    align: right;
}

.porcentaje {
    width: 50px;
    align: right;
}

.inputNombre {
    align: left;
    width: 400px;
}

.inputEAN {
    text-align: right;
    width: 90px;
}

.inputNumero {
    text-align: right;
    width: 60px;
}

.dades th, .th {
    font-color: #fff;
    background-color: #ccc;
    border: 1px solid #888;
    padding: 3px;
    font-size: .8em;
    font-weight: bold;
    border-radius: 3px;
}

.dades td {
    padding: 3px;
    font-size: .8em;
    font-weight: light;    
}

.dades tr:nth-child(odd) {
    background-color: #eee;
}

@media print {
    .noprint {
        display: none;
    }
}
.boto {
    cursor: pointer;
}

table.decorada {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 2px 2px 3px #888;
}

.decorada th {
    font-color: #fff;
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 3px;
    font-size: .8em;
    font-weight: bold;
    border-radius: 3px;
}

input:focus {
    background: lightyellow;
}

ul.llista {
    width: 100%;
}

ul.llista li {
    list-style-type: none;
    font-size: .9em;
    cursor: pointer;
    padding: 5px 3px;
}

ul.llista li:nth-child(odd) {
    background: #ccc;
}

/* LOADER */

#loader {
    position: fixed;
    display: none;
    top: 50%;
    margin-top: -50px;
    height: 100px;
    left: 50%;
    margin-left: -50px;
    width: 100px;
    border-top: 12px groove #ddd;
    border-bottom: 12px groove #ccc;
    border-left: 12px groove #444;
    border-right: 12px groove #222;
    border-radius: 50%;
    z-index: 9999;
    opacity: .5;
    animation: spin 2s linear infinite;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.blink {
    color: red !important;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; color: black; }
}
