.dialogoBackground {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 5;
}

.dialogoBackgroundAlwaysVisible {
    visibility: visible;
}

    .dialogoBackground > div {
        background-color: white;
        box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
        padding: 20px;
        border-radius: 10px;
        max-height: 95%;
    }

    .dialogoBackground header {
        color: var(--color-highlight);
        font-size: 1.2em;
        margin-bottom: 15px;
    }

.dialogoBackground footer {
    margin-top: 20px;
    text-align: right;
}

.dialogoBackground p {
    margin-top: 5px;
}

    .dialogoBackground .listaSimple {
        overflow-y: auto;
        margin-top: 10px;
        background-color: var(--color-fondo);
        padding: 5px 10px;
        border-radius: 5px;
        height: 400px;
    }

    .dialogoBackground .listaSimpleImputaciones {
        height: 298px;
    }

    .dialogoBackground .listaSimpleUsuarios .elementoUsuario::before {
        background-image: url(../images/user.png);
        background-size: 16px 16px;
        width: 16px;
        height: 16px;
        content: "";
        align-self: flex-start;
        background-repeat: no-repeat;
        filter: invert(98%) sepia(23%) saturate(7409%) hue-rotate(163deg) brightness(85%) contrast(96%);
    }

    .dialogoBackground .listaSimpleActividades .elementoActividad::before {
        background-image: url(../images/user.png);
        background-size: 16px 16px;
        width: 16px;
        height: 16px;
        content: "";
        align-self: flex-start;
        background-repeat: no-repeat;
        filter: invert(98%) sepia(23%) saturate(7409%) hue-rotate(163deg) brightness(85%) contrast(96%);
    }

    .dialogoBackground .listaSimpleArticulos .elementoArticulo::before {
        background-image: url(../images/item.png);
        background-size: 16px 16px;
        width: 16px;
        height: 16px;
        content: "";
        align-self: flex-start;
        background-repeat: no-repeat;
        filter: brightness(0) saturate(100%) invert(98%) sepia(23%) saturate(7409%) hue-rotate(163deg) brightness(85%) contrast(96%);
    }

    .dialogoBackground .listaSimpleImputaciones .elementoImputacionParte::before {
        background-image: url(../images/item.png);
        background-size: 16px 16px;
        width: 16px;
        height: 16px;
        content: "";
        align-self: flex-start;
        background-repeat: no-repeat;
        filter: brightness(0) saturate(100%) invert(98%) sepia(23%) saturate(7409%) hue-rotate(163deg) brightness(85%) contrast(96%);
    } 

        .dialogoBackground .listaSimple > div {
            display: flex;
            flex-flow: row nowrap;
            margin: 10px 0px;
        }

        .dialogoBackground .listaSimple label:first-of-type {
            color: var(--color-highlight);
            margin-left: 10px;
        }

        .dialogoBackground .listaSimple label {
            font-size: 0.9em;
            color: var(--color-textonormal);
            flex: 1;
        }

    .dialogoBackground .listaSimple img {
        filter: invert(56%) sepia(68%) saturate(1469%) hue-rotate(320deg) brightness(96%) contrast(102%);
        width: 20px;
        height: 20px;
        cursor: pointer;
        margin-right: 6px;
    }

    .dialogoBackground .listaSimple .elementoImputacionParte {
        display: flex;
        flex-direction: row;
    }

        .dialogoBackground .listaSimple .elementoImputacionParte > div {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

            .dialogoBackground .listaSimple .elementoImputacionParte > div > div {
                display: flex;
                flex-direction: row;
                gap: 10px;
            }

                .dialogoBackground .listaSimple .elementoImputacionParte > div > div > label:first-of-type {
                    flex: 1;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }

                .dialogoBackground .listaSimple .elementoImputacionParte > div > div > label {
                    flex: 2;
                    font-size: 0.8em;
                }

                    .dialogoBackground .listaSimple .elementoImputacionParte > div > div > label:last-of-type {
                        flex: 0.7;
                        color: var(--color-highlight);
                        text-align: right;
                        font-size: 0.9em;
                    }

            .dialogoBackground .listaSimple .elementoImputacionParte > div > label {
                color: var(--color-textonormal);
                font-size: 0.9em;
                flex: 1;
            }

.dialogoBackground button {
    margin-top: 10px;
}

    .dialogoBackground footer > button {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    } 

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .dialogoBackground > div {
        width: 90%;
    }
}

/*#region DialogoMensajes*/
.dialogoMensajes {
    width: 450px;
    display: flex;
    flex-flow: row nowrap;
}

.dialogoMensajes > div {
    flex: 1;
    margin-left: 20px;
}

.dialogoMensajes img {
    width: 64px;
    height: 64px;
}
/*#endregion DialogoMensajes*/

/*#region DialogoUsuarioEdicion*/
.dialogoUsuarioEdicion {
    width: 500px;
    display: flex;
    flex-flow: column nowrap;
}

    .dialogoUsuarioEdicion label {
        color: var(--color-textonormal);
    } 

    .dialogoUsuarioEdicion > div:first-of-type {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
    }

    .dialogoUsuarioEdicion figure {
        margin: 0;
        position: relative;
    }

        .dialogoUsuarioEdicion figure > label {
            position: relative;
            cursor: pointer;
            display: block;
        }

            .dialogoUsuarioEdicion figure > label:hover::after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100px;
                height: 100px;
                border-radius: 50%;
                background-image: url('../images/camera_darkening.png');
                background-size: contain;
            }

            .dialogoUsuarioEdicion figure > label > img {
                width: 100px;
                height: 100px;
                border-radius: 50%;
                position: relative;
            }

        .dialogoUsuarioEdicion figure > img {
            position: absolute;
            top: -3px;
            right: -8px;
            width: 32px;
            height: 32px;
            filter: brightness(0) saturate(100%) invert(49%) sepia(2%) saturate(866%) hue-rotate(131deg) brightness(95%) contrast(83%);
            cursor: pointer;
        }

    .dialogoUsuarioEdicion > div:first-of-type > div {
        margin-left: 20px;
        flex: 1;
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
    }

    .dialogoUsuarioEdicion h2 {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .dialogoUsuarioEdicion #usuarioTechService {
        background-color: var(--color-fondo);
        border-radius: 5px;
        padding: 10px;
        flex: 1;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
    }

        .dialogoUsuarioEdicion #usuarioTechService > div:first-of-type {
            display: flex;
            flex: 1;
            flex-direction: column;
            margin-left: 10px;
        }

        .dialogoUsuarioEdicion #usuarioTechService h1 {
            color: var(--color-textonormal);
            font-size: 0.9em;
            font-weight: normal;
            margin: 0;
        }

        .dialogoUsuarioEdicion #usuarioTechService h2 {
            color: var(--color-textonormal);
            font-size: 0.7em;
            font-weight: normal;
            margin: 0;
        }

        .dialogoUsuarioEdicion #usuarioTechService img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
        }

        .dialogoUsuarioEdicion #usuarioTechService > div:last-of-type {
            display: flex;
            flex-direction: row;
            margin-left: 10px;
            justify-content: flex-end;
        }

            .dialogoUsuarioEdicion #usuarioTechService > div:last-of-type > img {
                width: 32px;
                height: 32px;
                filter: invert(50%) sepia(9%) saturate(220%) hue-rotate(131deg) brightness(91%) contrast(89%);
            }

    .dialogoUsuarioEdicion > div:last-of-type {
        overflow-y: auto;
    }

    .dialogoUsuarioEdicion .contadorParteTrabajo {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        gap: 10px;
    }

    .dialogoUsuarioEdicion .firmaClienteObligatoria, .firmaTecnicoRequerida {
        margin-top: 20px;
    }

        .dialogoUsuarioEdicion .firmaClienteObligatoria > label, .firmaTecnicoRequerida > label {
            margin-left: 10px;
        }

    .dialogoUsuarioEdicion .infoFirma {
        font-size: 0.7em;
        margin-left: 50px;
        display: block;
    } 

    .dialogoUsuarioEdicion > footer {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        text-align: left;
    }

        .dialogoUsuarioEdicion > footer > div {
            flex: 1;
            display: flex;
            align-items: center;
            margin-top: 10px;
        }

            .dialogoUsuarioEdicion > footer > div > img {
                width: 40px;
                height: 40px;
                cursor: pointer;
                padding: 5px;
                filter: invert(50%) sepia(9%) saturate(220%) hue-rotate(131deg) brightness(91%) contrast(89%);
            }

                .dialogoUsuarioEdicion > footer > div > img:hover {
                    background-color: rgba(0, 0, 0, 0.2);
                    border-radius: 50%;
                }
/*#endregion DialogoUsuarioEdicion*/

/*#region DialogoCropImage*/
.dialogoCropImage {
    width: 500px;
    display: flex;
    flex-flow: column nowrap;
}

.dialogoCropImage #contenedorImagen {
    position: relative;
    margin-top: 15px;
}

.dialogoCropImage #imagenCrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/*#region DialogoCropImage*/

/*#region DialogoPrimerLogin*/
.dialogoPrimerLogin {
    width: 400px;
}

    .dialogoPrimerLogin > label {
        color: var(--color-coral);
        font-size: 0.9em;
        height: 0.9em;
    }
/*#endregion DialogoPrimerLogin*/

/*#region DialogoVisorImagen*/
.dialogoVisorImagen {
    width: 400px;
}

    .dialogoVisorImagen > div {
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        border-radius: 5px;
        width: 360px;
        height: 360px;
        max-width: 100%;
        background-color: var(--color-fondobotones);
    }
/*#endregion DialogoVisorImagen*/

/*#region DialogoUsuariosTechService*/
.dialogoUsuariosTechService {
    width: 500px;
    display: flex;
    flex-flow: column nowrap;
}
/*#endregion DialogoUsuariosTechService*/

/*#region DialogoActividades*/
.dialogoActividades {
    width: 500px;
    display: flex;
    flex-flow: column nowrap;
}
/*#endregion DialogoActividades*/

/*#region DialogoAccionSolicitud*/
.tabOpcionesAccion {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    flex-flow: row wrap;
}

    .tabOpcionesAccion > button {
        flex: 1 1 50px;
        background-color: white;
        color: var(--color-textonormal);
        height: 60px;
        font-size: 0.9em;
        border: 0px;
        border-radius: 10px;
        transition: none;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3px;
        padding: 5px;
        overflow-x: hidden;
    }

        .tabOpcionesAccion > button > span {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .tabOpcionesAccion > button:hover {
            background-color: var(--color-fondo);
        }

        .tabOpcionesAccion > button.activa {
            background-color: var(--color-verde);
            color: white;
        }

            .tabOpcionesAccion > button.activa:before {
                filter: invert(100%) sepia(2%) saturate(2%) hue-rotate(320deg) brightness(109%) contrast(101%);
            }

        .tabOpcionesAccion > button:disabled {
            opacity: 0.4;
        }

        .tabOpcionesAccion > button:before {
            filter: invert(49%) sepia(7%) saturate(281%) hue-rotate(131deg) brightness(94%) contrast(88%);
            background-size: contain;
            display: inline-block;
            width: 40px;
            height: 40px;
            content: "";
        }

    .tabOpcionesAccion > .desplazamiento:before {
        background-image: url('../images/action_travel.png');
    }

    .tabOpcionesAccion > .intervencion:before {
        background-image: url('../images/action_intervention.png');
    }

    .tabOpcionesAccion > .material:before {
        background-image: url('../images/action_item.png');
    }

    .tabOpcionesAccion > .comentario:before {
        background-image: url('../images/action_comments.png');
    }

.dialogoAccionSolicitud {
    width: 400px;
    display: flex;
    flex-flow: column nowrap;
}

.contenidoDialogoAccionSolicitud {
    overflow-x: auto;
} 

    .dialogoAccionSolicitud h1 {
        color: var(--color-highlight);
        font-size: 1.1em;
        margin-bottom: 10px;
    } 

    .dialogoAccionSolicitud label {
        color: var(--color-textonormal);
    }

    .dialogoAccionSolicitud #horamanual {
        margin-bottom: 20px;
    }

    .dialogoAccionSolicitud #sinDesplazamiento {
        margin-bottom: 20px;
    }

    .dialogoAccionSolicitud #articulo {
        background-color: var(--color-fondo);
        margin-bottom: 20px;
        border-radius: 5px;
        padding: 10px;
        flex: 1;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
    }

        .dialogoAccionSolicitud #articulo > img {
            width: 30px;
            height: 30px;
            filter: brightness(0) saturate(100%) invert(78%) sepia(52%) saturate(323%) hue-rotate(154deg) brightness(87%) contrast(91%);
            margin-right: 10px;
        }

        .dialogoAccionSolicitud #articulo > div:first-of-type {
            flex: 1;
        }

        .dialogoAccionSolicitud #articulo h1 {
            color: var(--color-highlight);
            font-size: 1em;
            font-weight: normal;
            margin: 0;
        }

        .dialogoAccionSolicitud #articulo h2 {
            color: var(--color-textonormal);
            font-size: 1em;
            font-weight: normal;
            margin: 0;
        }

        .dialogoAccionSolicitud #articulo > div:last-of-type > img {
            width: 32px;
            height: 32px;
            filter: invert(50%) sepia(9%) saturate(220%) hue-rotate(131deg) brightness(91%) contrast(89%);
            cursor: pointer;
        }

    .dialogoAccionSolicitud #actividad {
        margin-bottom: 10px;
    }

        .dialogoAccionSolicitud #actividad > div {
            display: flex;
            flex-direction: row;
            align-items: center;
        }

            .dialogoAccionSolicitud #actividad > div > div {
                display: flex;
                flex-direction: row;
                align-items: center;
                position: relative;
            }

                .dialogoAccionSolicitud #actividad > div > div > input {
                    width: 120px;
                    padding-right: 30px;
                }

                .dialogoAccionSolicitud #actividad > div > div > img {
                    width: 25px;
                    height: 25px;
                    position: absolute;
                    right: 5px;
                    filter: brightness(0) saturate(100%) invert(78%) sepia(52%) saturate(323%) hue-rotate(154deg) brightness(87%) contrast(91%);
                }

            .dialogoAccionSolicitud #actividad > div > label {
                margin-left: 10px;
                font-size: 0.9em;
            }

    .dialogoAccionSolicitud #partida {
        width: 120px;
        margin-bottom: 10px;
    }

    .dialogoAccionSolicitud #cantidad {
        width: 120px;
        margin-bottom: 10px;
    }

    .dialogoAccionSolicitud div > div:first-of-type {
        margin-top: 0px;
    }

    .dialogoAccionSolicitud #checklistpendiente {
        margin-top: 20px;
        font-size: 0.8em;
        color: var(--color-coral);
    }

.dialogoAccionSolicitud .listaImagenes {
    display: flex;
    border: 1px solid var(--color-fondobotones);
    border-radius: 5px;
    padding: 5px;
    height: 78px;
    width: 100%;
    overflow: scroll;
    overflow-y: hidden !important;
    white-space: nowrap;
    margin-bottom: 10px;
}

        .dialogoAccionSolicitud .listaImagenes > div {
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            width: 48px;
            height: 48px;
            min-width: 48px;
            margin-right: 5px;
            border-radius: 5px;
            background-color: var(--color-fondobotones);
        }

            .dialogoAccionSolicitud .listaImagenes > div:first-of-type {
                background-image: none;
            }

                .dialogoAccionSolicitud .listaImagenes > div:first-of-type img {
                    background-color: var(--color-fondobotones);
                    height: 48px;
                    width: 48px;
                    padding: 10px;
                    border-radius: 5px;
                    margin-right: 5px;
                } 

/*#endregion DialogoAccionSolicitud*/

/*#region DialogoListaArticulos*/
.dialogoListaArticulos {
    width: 500px;
    display: flex;
    flex-flow: column nowrap;
}

    .dialogoListaArticulos > footer {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        text-align: left;
        align-items: center;
    }

        .dialogoListaArticulos > footer > div {
            flex: 1;
            display: flex;
            margin-top: 5px;
            color: var(--color-textonormal);
        }

            .dialogoListaArticulos > footer > div > div {
                margin-right: 5px;
            } 
/*#endregion DialogoListaArticulos*/

/*#region DialogoListaCheckList*/
.dialogoListaCheckList {
    width: 500px;
    display: flex;
    flex-flow: column nowrap;
}

    .dialogoListaCheckList .listaCheckList {
        height: 400px;
    } 
/*#endregion DialogoListaCheckList*/

/*#region DialogoParteTrabajo*/
.dialogoParteTrabajo {
    width: 400px;
    height: 562px;
    display: flex;
    flex-direction: column;
}

    .dialogoParteTrabajo > div:first-of-type {
        background-color: white;
        display: flex;
        flex-flow: column nowrap;
    }

    .dialogoParteTrabajo > div:last-of-type {
        flex: 1;
        overflow-y: auto;
    }

.tabOpciones > .info:before {
    background-image: url('../images/info.png');
}

.tabOpciones > .tecnico:before {
    background-image: url('../images/technical.png');
}

.tabOpciones > .cliente:before {
    background-image: url('../images/contact.png');
}

.dialogoParteTrabajo > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
} 

    .dialogoParteTrabajo h1 {
        font-size: 0.8em;
        color: var(--color-coral);
    }

    .dialogoParteTrabajo > div > div > div {
        position: relative;
    }

    .dialogoParteTrabajo > div > div > div > img {
        position: absolute;
        cursor: pointer;
        filter: brightness(0) saturate(100%) invert(49%) sepia(2%) saturate(866%) hue-rotate(131deg) brightness(95%) contrast(83%);
        width: 24px;
        height: 24px;
        bottom: 15px;
        right: 5px;
    }

/*#endregion DialogoParteTrabajo*/

/*#region DialogoReagendar*/
.dialogoReagendar {
    width: 400px;
}

    .dialogoReagendar label {
        color: var(--color-textonormal);
    }

    .dialogoReagendar > div {
        margin-top: 10px;
    }

        .dialogoReagendar > div input {
            width: 120px;
            display: flex;
            flex-flow: column nowrap;
        }
/*#endregion DialogoReagendar*/

/*#region DialogoImagenes*/
.dialogoImagenes {
    width: 400px;
}

    .dialogoImagenes .listaImagenes {
        display: flex;
        width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        flex-flow: row wrap;
        gap: 5px
    }

        .dialogoImagenes .listaImagenes > div {
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            width: 48px;
            height: 48px;
            min-width: 48px;
            margin-right: 5px;
            border-radius: 5px;
            background-color: var(--color-fondobotones);
        }

/*#endregion DialogoImagenes*/

/*#region DialogoCargando*/
.dialogoCargando {
    width: 90px;
}

    .dialogoCargando > label {
        color: var(--color-coral);
        font-size: 0.9em;
        height: 0.9em;
    }
/*#endregion DialogoCargando*/