.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;
}

.dialogoBackground > div {
    background-color: white;
    box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
}

    .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: white;
        padding: 5px 10px;
        border-radius: 5px;
        height: 100px;
    }

        .dialogoBackground .listaSimple > div {
            display: flex;
            flex-flow: row nowrap;
            margin: 5px 0px;
        }

        .dialogoBackground .listaSimple label:first-of-type {
            color: var(--color-highlight);
        }

        .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;
        }

.dialogoBackground button {
    margin-top: 10px;
}

@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 > 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 #asignacionTransportistas {
        background-color: var(--color-fondo);
        border-radius: 5px;
        padding: 10px;
    }

        .dialogoUsuarioEdicion #asignacionTransportistas > div:first-of-type {
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
        }

            .dialogoUsuarioEdicion #asignacionTransportistas > div:first-of-type > div {
                flex: 1;
            }

            .dialogoUsuarioEdicion #asignacionTransportistas > div:first-of-type > img {
                width: 32px;
                height: 32px;
                filter: brightness(0) saturate(100%) invert(90%) sepia(12%) saturate(1167%) hue-rotate(88deg) brightness(89%) contrast(89%);
                margin-left: 10px;
                margin-top: 5px;
                cursor: pointer;
                align-self: flex-start;
            }

    .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 DialogoEntrega*/
.dialogoEntrega {
    width: 400px;
}

    .campoLibreBoleano {
        color: var(--color-textonormal);
        margin-top: 5px;
        margin-bottom: 10px;
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .dialogoEntrega > div {
        height: 500px;
        overflow-y: auto;
    }

        .dialogoEntrega > div > div {
            position: relative;
        } 

/*    .dialogoEntrega canvas {
        width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: white;
        border: 1px solid var(--color-fondobotones);
        border-radius: 5px;
        padding: 5px;
        color: var(--color-textonormal);
    }*/

    .dialogoEntrega > 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;
    }

    .dialogoEntrega .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;
    }

        .dialogoEntrega .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);
        }

            .dialogoEntrega .listaImagenes > div:first-of-type {
                background-image: none;
            }

                .dialogoEntrega .listaImagenes > div:first-of-type img {
                    background-color: var(--color-fondobotones);
                    height: 48px;
                    width: 48px;
                    padding: 10px;
                    border-radius: 5px;
                    margin-right: 5px;
                }
/*#endregion DialogoEntrega*/

/*#region DialogoDatosEntrega*/
.dialogoDatosEntrega {
    width: 400px;
}

    .dialogoDatosEntrega > div {
        max-height: 300px;
        overflow-y: auto;
    }
/*#endregion DialogoDatosEntrega*/ 

/*#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 DialogoCampoPersonalizado*/
.dialogoCampoPersonalizado {
    width: 400px;
    color: var(--color-textonormal);
}

    .dialogoCampoPersonalizado > label {
        margin-top: 10px;
    }
/*#endregion DialogoCampoPersonalizado*/