﻿.page--usuarios {
    width: 1128px; min-height: 100vh;
    margin: 0 auto 0 0;

    padding: 15px;

    display: grid;
    grid-template-rows: 60px 65px 1fr;
    grid-template-columns: 100%;
    background-color: #fff;
}
.page--usuarios.inactive{display: none;}

.hide--screen {
    display: block;
    position: absolute;
    background-color: #424242;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
 .hide--screen.inactive {display: none;}

/* Contenido
-------------------------------------------------- */

    /* Action bar
    -------------------------------------------------- */
    .action--bar {
        height: 50px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-column-gap: 25px;
        margin: 5px 0;
    }

        #agregarUsuarioButton{
            width: 300px;
            margin: 0;
            margin-top: 1px;
        }

        #buscarUsuarioInput{
            min-width: 200px;
            max-width: 300px;
            margin-left: auto;
        }

    /* Table
    -------------------------------------------------- */

    .usuario--table {
        overflow: auto;
        min-height: 380px;
        max-height: 450px;
    }

        .usuario--table table {
            width: 100%;
            border-collapse: collapse;
            border-style: hidden;
        }

        .table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
            background-color: #c0d8a4;
        }

        .usuario--table table thead {
            background-color: #424242;
            height: 50px;
            padding: 0 10px;
            font-family: 'Segoe UI';
            font-size: 18px;
            font-weight: bold;
            color: white;
            text-align: center;
        }

            .usuario--table table thead th {
                border-left: 4px solid white;
                border-right: 4px solid white;
            }

        .usuario--table table td {
            color: #424242;
            font-size: 16px;
            text-align: center;
            border: 4px solid white;
            background-color: white;
            border-top: none;
            border-bottom: none;
            height: 50px;
            padding: 0;
            width: auto;
        }


    /* Controles anterior siguiente
    -------------------------------------------------- */

    .table--control {
        height: 50px;
        width: 100%;
        display: flex;
        margin: 15px 0 0px;
    }

        #anteriorUsuario, #siguienteUsuario{
            width: 300px;
            margin: 14px auto 0;
        }

/* Confirmación al eliminar un elemento
-------------------------------------------------- */

.confirmation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 100%;
    display: flex;
}
.confirmation.inactive{
    display: none;
}

    .dialog{
        height: 250px;
        width: 400px;
        background-color: white;
        margin: auto auto;
        display: block;
    }

        .dialog__title{
            display: block;
            background-color: #424242;
            padding: 6px 0;

            font-family: 'Segoe UI';
            font-size: 18px;
            font-weight: bold;
            color: white;
            text-align: center;
        }

        .dialog__description{
            margin: 5px 15px;
            display: block;
            height: 120px;
            overflow:auto;

            font-family: 'Segoe UI';
            font-size: 16px;
            font-weight: normal;
            color: #424242;
            text-align: left;
        }

       #dialog__cancelButton{
            width: 120px;
            margin: auto auto auto auto;

        }

        #dialog__AgreeButton{
            width: 120px;
            margin: auto auto auto auto;
        }



/* Administración de usuario
-------------------------------------------------- */

.page--usuarios-administrar {
    width: 1128px; min-height: 100vh;
    margin: 0 auto 0 0;
    padding: 30px;
    background-color: #fff;
}
.page--usuarios-administrar.inactive{display: none;}


/* Control al modificar usuario
-------------------------------------------------- */

.usuario--creacion--control {
    display: flex;
    height: 50px;
    width: 100%;
}
.usuario--creacion--control.inactive{
    display: none;
}

    #cancelarCreacionUsuario, #crearCreacionUsuario{
        width: 300px;
        margin: 14px auto 0;
    }



/* Confirmación al eliminar un elemento
-------------------------------------------------- */

.confirmation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 100%;
    display: flex;
}
.confirmation.inactive {
    display: none;
}

    .dialog {
        height: 250px;
        width: 400px;
        background-color: white;
        margin: auto auto;
        display: block;
    }

    .dialog__title {
        display: block;
        background-color: #424242;
        padding: 6px 0;
        font-family: 'Segoe UI';
        font-size: 18px;
        font-weight: bold;
        color: white;
        text-align: center;
    }

    .dialog__description {
        margin: 5px 15px;
        display: block;
        height: 120px;
        overflow: auto;
        font-family: 'Segoe UI';
        font-size: 16px;
        font-weight: normal;
        color: #424242;
        text-align: left;
    }

    #dialog__cancelButton {
        width: 120px;
        margin: auto auto auto auto;
    }

    #dialog__AgreeButton {
        width: 120px;
        margin: auto auto auto auto;
    }
