.elementoLista {
    background-color: white;
    display: flex;
    flex-flow: row nowrap;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    transition: box-shadow 0.5s;
    align-items: center;
    width: 100%;
}

    .elementoLista:hover {
        box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.05);
    }

    .elementoLista::after {
        align-self: center;
        background-image: url(../images/arrow_right.png);
        background-size: 32px 32px;
        width: 32px;
        height: 32px;
        content: "";
        filter: invert(47%) sepia(3%) saturate(589%) hue-rotate(131deg) brightness(99%) contrast(86%);
    }

    .elementoLista h1 {
        color: var(--color-highlight);
        font-size: 1em;
        font-weight: normal;
    }

    .elementoLista h2 {
        color: var(--color-verde);
        font-size: 0.7em;
        font-weight: normal;
    }

/*#region ElementoAlbaran*/
.elementoAlbaran > div {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    margin: 0px 10px;
}

    .elementoAlbaran > div > * {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .elementoAlbaran > div > div {
        display: flex;
        align-items: center;
    }

        .elementoAlbaran > div > div > h1:last-of-type {
            font-size: 0.8em;
            margin-left: 20px;
            color: var(--color-highlight);
        }

.elementoAlbaran p, .elementoAlbaran address {
    color: var(--color-textonormal);
    font-size: 0.9em;
    font-weight: normal;
    font-style: normal;
    align-items: center;
}

    .elementoAlbaran address::before {
        background-image: url(../images/location.png);
        background-size: 16px 16px;
        background-repeat: no-repeat;
        width: 16px;
        height: 16px;
        content: "";
        min-width: 16px;
        margin-right: 5px;
        display: inline-block;
        vertical-align: -0.2em;
    }

.elementoAlbaran a {
    color: var(--color-coral);
    font-size: 0.9em;
    margin-left: 5px;
}

.elementoAlbaran::before {
    background-image: url(../images/document.png);
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    content: "";
    align-self: flex-start;
    margin-top: 5px;
}

.elementoAlbaran > img.verde {
    filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(927%) hue-rotate(97deg) brightness(92%) contrast(88%);
    width: 32px;
    height: 32px;
}

.elementoAlbaran > img.rojo {
    filter: invert(79%) sepia(27%) saturate(7276%) hue-rotate(312deg) brightness(98%) contrast(95%);
    width: 32px;
    height: 32px;
}
/*#endregion ElementoAlbaran*/

/*#region ElementoUsuario*/
.elementoUsuario > img:first-of-type {
    width: 32px;
    height: 32px;
    align-self: flex-start;
    margin-top: 5px;
    border-radius: 50%;
}

.elementoUsuario > div {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    margin: 0px 10px;
}

.elementoUsuario p {
    color: var(--color-textonormal);
    font-size: 0.9em;
    font-weight: normal;
    font-style: normal;
}

.elementoUsuario > img:last-of-type {
    filter: invert(56%) sepia(68%) saturate(1469%) hue-rotate(320deg) brightness(96%) contrast(102%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 10px;
}
/*#endregion ElementoUsuario*/

/*#region ElementoArticulo*/
.elementoArticulo:before {
    background-image: url(../images/item.png);
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    content: "";
    margin-right: 10px;
    align-self: flex-start;
}

.elementoArticulo {
    display: flex;
    flex-flow: row nowrap;
    margin: 5px 0px;
    font-size: 0.9em;
}

    .elementoArticulo td:nth-child(1) {
        color: var(--color-highlight);
        width: 30%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .elementoArticulo td:nth-child(2) {
        color: var(--color-textonormal);
        width: 55%;
    }

    .elementoArticulo td:nth-child(3) {
        color: var(--color-textonormal);
        width: 15%;
        text-align: right;
    }
/*#endregion ElementoArticulo*/

/*#region ElementoActividad*/
.elementoActividad {
    gap: 10px;
    align-items: flex-start;
}

.elementoActividadPlaceholder {
    min-height: 170px;
}

@media (max-width: 480px) {
    .elementoActividadPlaceholder {
        min-height: 260px;
    }
}

    .elementoActividad img.verde {
        align-self: flex-start;
        filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(927%) hue-rotate(97deg) brightness(92%) contrast(88%);
        width: 24px;
        height: 24px;
    }

    .elementoActividad img.rojo {
        align-self: flex-start;
        filter: invert(79%) sepia(27%) saturate(7276%) hue-rotate(312deg) brightness(98%) contrast(95%);
        width: 24px;
        height: 24px;
    }

    .elementoActividad > div {
        flex: 1;
        display: flex;
        flex-flow: row wrap;
        gap: 10px;
    }

        .elementoActividad > div > div {
            flex: 1 0 200px;
            display: flex;
            flex-flow: column nowrap;
        }

            .elementoActividad > div > div:first-of-type > p:last-of-type {
                font-size: 0.7em;
                margin-top: 10px;
            } 

    .elementoActividad p > a {
        color: var(--color-coral);
        font-size: 0.9em;
        margin-left: 5px;
    }

.elementoActividad > div > div:last-of-type {
    border: 1px solid var(--color-fondobotones);
    border-radius: 5px;
    padding: 10px;
}

.listaCamposPersonalizados > div {
    display: flex;
}

.listaCamposPersonalizados > div > label:first-of-type {
        color: var(--color-highlight);
        flex: 1;
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        text-wrap: nowrap;
    }

.listaCamposPersonalizados .campoTexto > label:last-of-type {
    flex: 2;
}

.listaCamposPersonalizados .campoBoleano > div {
    flex: 2;
}

.listaCamposPersonalizados .campoBoleano .switch > label {
    cursor: default;
}

.elementoActividad > div > div:last-of-type > img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    margin-top: 5px;
}

.elementoActividad > div > div:last-of-type > p.centrado {
    margin: 0 auto;
}

    .elementoActividad h1 {
        font-size: 1.2em;
        color: var(--color-highlight);
    }

    .elementoActividad h2 {
        font-size: 0.8em;
        color: var(--color-verde);
    }

    .elementoActividad .listaImagenesActividad {
        display: flex;
        flex-flow: row wrap;
        gap: 5px;
        overflow: hidden;
        overflow-y: hidden;
    }

        .elementoActividad .listaImagenesActividad > a > div {
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            width: 48px;
            height: 48px;
            min-width: 48px;
            border-radius: 5px;
            margin-top: 10px;
            background-color: var(--color-fondobotones);
            cursor: pointer;
        }
/*#endregion ElementoActividad*/

/*#region ElementoUpdate*/
.elementoUpdate {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 15px;
}

#detalleAlbaran .lista > div + div {
    padding-top: 10px;
    border-top: 1px solid var(--color-fondobotones);
}

    .elementoUpdate > div {
        flex: 1;
        display: flex;
        flex-flow: row wrap;
        margin: 2px 0px 0px 10px;
    }

        .elementoUpdate > div > div:first-of-type {
            flex: 0 0 160px;
        }

            .elementoUpdate > div > div:first-of-type > p {
                font-style: italic;
                font-size: 0.7em;
            }

            .elementoUpdate > div > div:first-of-type > a {
                font-style: normal;
                font-size: 0.7em;
                color: var(--color-coral);
            }

        .elementoUpdate > div > div:last-of-type {
            font-size: 0.9em;
        }

    .elementoUpdate .nombreFirmante {
        width: 200px;
        text-align: center;
        margin-bottom: 5px;
    } 

        .elementoUpdate > div > div {
            flex: 1 0 200px;
        }

            .elementoUpdate > div > div > img {
                max-width: 200px;
            }

    .elementoUpdate img.verde {
        filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(927%) hue-rotate(97deg) brightness(92%) contrast(88%);
        width: 24px;
        height: 24px;
    }

    .elementoUpdate img.rojo {
        filter: invert(79%) sepia(27%) saturate(7276%) hue-rotate(312deg) brightness(98%) contrast(95%);
        width: 24px;
        height: 24px;
    }
/*#endregion ElementoUpdate*/

/*#region ElementoCampoPersonalizado*/
.elementoCampoPersonalizado {
    display: flex;
    width: 100%;
}

    .elementoCampoPersonalizado::before {
        background-image: url(../images/field.png);
        background-size: 20px 20px;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        content: "";
        min-width: 20px;
        margin-right: 5px;
        display: inline-block;
        vertical-align: -0.3em;
        filter: invert(82%) sepia(23%) saturate(582%) hue-rotate(149deg) brightness(87%) contrast(91%);
    }

    .elementoCampoPersonalizado label {
        flex: 1;
        font-size: 0.9em;
    }

        .elementoCampoPersonalizado label:first-of-type {
            color: var(--color-highlight);
            min-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .elementoCampoPersonalizado img:first-of-type {
        filter: invert(50%) sepia(8%) saturate(246%) hue-rotate(131deg) brightness(92%) contrast(84%);
        width: 24px;
        height: 24px;
        padding: 2px;
        cursor: pointer;
    }

    .elementoCampoPersonalizado img:last-of-type {
        filter: invert(79%) sepia(27%) saturate(7276%) hue-rotate(312deg) brightness(98%) contrast(95%);
        width: 24px;
        height: 24px;
        margin-left: 3px;
        cursor: pointer;
    }
/*#endregion ElementoCampoPersonalizado*/