#progresoAlbaranes {
    display: flex;
    flex-flow: row nowrap;
    align-items: baseline;
}

#porcentaje {
    font-size: 3em;
    font-weight: lighter;
}

#repartido {
    flex: 1;
    font-size: 1.3em;
    margin-left: 10px;
}

#progreso {
    font-size: 1.3em;
}

.filtros {
    margin-top: 20px;
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 5px;
}

.filtroFechas {
    flex: 1 0 200px;
    display: flex;
    background-color: white;
    border-radius: 15px;
    height: 30px;
    justify-content: space-evenly;
}

    .filtroFechas input[type=date] {
        color: var(--color-textonormal);
        border: 0px;
        padding: 5px 10px;
        background-color: transparent;
        font-size: 1em;
        margin: 0px;
        text-align: center;
    }

.filtroCompletados {
    display: flex;
    margin: 0px 10px;
}

.filtroEmpresa {
    background: white;
    border-radius: 15px;
    height: 30px;
    flex: 1 0 250px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    overflow: hidden;
    padding: 0px 10px;
    gap: 5px;
}

    .filtroEmpresa select {
        margin: 0px;
        background-color: white;
        border: 0px;
        font-size: 1em;
        padding: 5px;
        color: var(--color-textonormal);
    }

    .filtroEmpresa::before {
        content: '';
        background-image: url(../images/home.png);
        background-size: 18px 18px;
        background-repeat: no-repeat;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        filter: invert(47%) sepia(3%) saturate(589%) hue-rotate(131deg) brightness(99%) contrast(86%);
    }

.filtroBusqueda {
    background: white;
    height: 30px;
    border-radius: 15px;
    flex: 1 0 250px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    overflow: hidden;
    padding-left: 5px;
}

    .filtroBusqueda::before {
        content: '';
        background-image: url(../images/search.png);
        background-size: 22px 22px;
        background-repeat: no-repeat;
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        filter: invert(47%) sepia(3%) saturate(589%) hue-rotate(131deg) brightness(99%) contrast(86%);
    }

    .filtroBusqueda input[type=text] {
        color: var(--color-textonormal);
        border: 0px;
        padding: 5px 10px;
        font-size: 1em;
        margin: 0px;
    }

.filtroCliente {
    margin: 0px 5px 0px 10px;
    flex: 1;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

    .filtroCliente::before {
        content: '';
        background-image: url(../images/user.png);
        background-size: 16px 16px;
        background-repeat: no-repeat;
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
        filter: invert(47%) sepia(3%) saturate(589%) hue-rotate(131deg) brightness(99%) contrast(86%);
    }

.filtroDocumento {
    margin: 0px 10px 0px 5px;
    flex: 1;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

    .filtroDocumento::before {
        content: '';
        background-image: url(../images/notes.png);
        background-size: 20px 20px;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        filter: brightness(0) saturate(100%) invert(47%) sepia(3%) saturate(589%) hue-rotate(131deg) brightness(99%) contrast(86%);
    }

.lista {
    padding: 0px 20px;
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
}

#tituloPaginaAlbaranes {
    margin-left: 20px;
} 

#cabeceraUsuarios > div:first-of-type {
    display: flex;
    align-items: center;
}

    #cabeceraUsuarios > div:first-of-type > h1 {
        flex: 1;
    }

#cabeceraUsuarios > div:last-of-type {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-items: flex-end;
    margin-bottom: 10px;
    margin-top: 10px;
}

    #cabeceraUsuarios > div:last-of-type > div:first-of-type {
        flex: 1;
    }

#cabeceraConfiguracion > div:first-of-type {
    display: flex;
    align-items: center;
}

    #cabeceraConfiguracion > div:first-of-type > h1 {
        flex: 1;
    }

#contenedorAlbaran {
    flex: 1;
    overflow-y: auto;
    margin: 20px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
}

#tituloAlbaran {
    display: flex;
    margin-right: 20px;
}

    #tituloAlbaran > h1 {
        flex: 1;
    }

    #tituloAlbaran > button > img {
        padding: 1px;
    } 

#cabeceraAlbaran {
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    transition: box-shadow 0.5s;
    justify-content: flex-start;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    gap: 5px;
}

    #cabeceraAlbaran h1 {
        font-size: 1.1em;
        color: var(--color-highlight);
    }

    #cabeceraAlbaran h2 {
        font-size: 0.8em;
        color: var(--color-verde);
    }

    #cabeceraAlbaran label, #cabeceraAlbaran address {
        color: var(--color-textonormal);
        font-size: 0.9em;
        font-weight: normal;
        font-style: normal;
        align-items: center;
    }

    #cabeceraAlbaran a {
        color: var(--color-coral);
        font-size: 0.8em;
        margin-left: 5px;
    }

    #cabeceraAlbaran > div {
        display: flex;
        flex-flow: row nowrap;
    }

        #cabeceraAlbaran > div > div {
            flex: 1;
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
        }

            #cabeceraAlbaran > div > div > h1:last-of-type {
                font-size: 0.8em;
                margin-left: 20px;
                color: var(--color-highlight);
            }

        #cabeceraAlbaran > div > h2 {
            color: var(--color-violeta);
            font-size: 1em;
            justify-content: right;
            font-weight: bold;
        }

            #cabeceraAlbaran > div > h2:after {
                background-image: url(../images/package.png);
                background-size: 15px 15px;
                background-repeat: no-repeat;
                width: 15px;
                height: 15px;
                content: "";
                display: inline-block;
                margin-left: 5px;
                vertical-align: -0.1em;
                filter: invert(45%) sepia(18%) saturate(7210%) hue-rotate(227deg) brightness(98%) contrast(95%);
            }

    #cabeceraAlbaran #nombre {
        font-size: 1em;
    } 

    #cabeceraAlbaran address:before {
        background-image: url(../images/location.png);
        background-size: 20px 20px;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        content: "";
        margin-right: 5px;
        display: inline-block;
        vertical-align: -0.3em;
    }

    #cabeceraAlbaran #telefono:before {
        background-image: url(../images/telephone.png);
        background-size: 20px 20px;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        content: "";
        margin-right: 5px;
        display: inline-block;
        vertical-align: -0.2em;
    }

    #cabeceraAlbaran #observaciones {
        white-space: pre-wrap;
    }

    #cabeceraAlbaran #observaciones:before {
        background-image: url(../images/notes.png);
        background-size: 20px 20px;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        content: "";
        margin-right: 5px;
        display: inline-block;
        vertical-align: -0.3em;
    }

#detalleAlbaran {
    flex: 1;
    margin-top: 20px;
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}

    #detalleAlbaran > div {
        flex: 1 0 300px;
        border: 1px solid var(--color-fondobotones);
        border-radius: 5px;
        padding: 10px;
    }

    #detalleAlbaran .lista {
        padding: 0px;
    }

        #detalleAlbaran .lista > table {
            width: 100%;
            border-collapse: collapse;
        }

    #detalleAlbaran .listaImagenes {
        display: flex;
        flex-flow: row wrap;
        gap: 5px;
        overflow: hidden;
        overflow-y: hidden;
    }

        #detalleAlbaran .listaImagenes > a > div {
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 5px;
            background-color: var(--color-fondobotones);
            cursor: pointer;
        }

#pieAlbaranes {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

    #pieAlbaranes > button {
        width: 150px;
    }

#detalleConfiguracion {
    flex: 1;
    margin: 20px;
    display: flex;
    flex-flow: column nowrap;
    overflow-y: auto;
}

    #detalleConfiguracion > label {
        color: var(--color-highlight);
        margin-bottom: 10px;
        margin-top: 30px;
    }

        #detalleConfiguracion > label:first-of-type {
            margin-top: 0px;
        }

    #detalleConfiguracion > div:first-of-type > div {
        display: flex;
        flex-flow: colum nowrap;
        align-items: center;
    }

        #detalleConfiguracion > div:first-of-type > div > label {
            flex: 1;
        }

        #detalleConfiguracion > div:first-of-type > div > input {
            flex: 3;
        }

    #detalleConfiguracion #camposPersonalizados {
        background-color: white;
        padding: 10px;
        border-radius: 5px;
        display: flex;
        flex-flow: column nowrap;
        min-width: 600px;
    }

    #detalleConfiguracion #tituloCamposPersonalizados {
        width: 100%;
        border-bottom: 1px solid var(--color-fondobotones);
        padding-bottom: 5px;
        color: var(--color-highlight);
        flex-wrap: nowrap;
        text-overflow: ellipsis;
    }

        #detalleConfiguracion #tituloCamposPersonalizados::before {
            background-image: none;
            background-size: 20px 20px;
            width: 20px;
            height: 20px;
            content: "";
            min-width: 20px;
            margin-right: 5px;
            display: inline-block;
        }

        #detalleConfiguracion #tituloCamposPersonalizados > p {
            width: 24px;
        }

        #detalleConfiguracion #tituloCamposPersonalizados > img {
            filter: brightness(0) saturate(100%) invert(86%) sepia(15%) saturate(900%) hue-rotate(94deg) brightness(92%) contrast(87%);
            width: 24px;
            height: 24px;
            margin-left: 3px;
            padding: 0px;
            cursor: pointer;
        }

    #detalleConfiguracion #listaCamposPersonalizados {
        gap: 10px;
        overflow-y: auto;
        width: 100%;
        margin-top: 10px;
    } 

#ImagenVisor {
    overflow: scroll;
}
