﻿/*TABLA DATOS*/
div.ajstdModalFondo {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1040;
    background-color: rgba(0,0,0,.5);
    padding: 0;
    margin: 0;
    /*
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1040;
    background-color: rgba(0,0,0,.5);
    */
}

div.ajstdModalVentana {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1050;
    margin: 0;
    height: 98vh;
    overflow-y: auto;
    /*
    position: fixed;
    top: 100px;
    left: 10%;
    width: 80%;
    z-index: 1050;
    */
}

    div.ajstdModalVentana input {
        height: 25px;
        border: 1px solid black;
    }

    div.ajstdModalVentana i {
        cursor: pointer;
    }

table.ajstdTablaDatos {
    /*width: 100%;*/
    /*border: 1px solid black;*/
}

    table.ajstdTablaDatos thead {
        /*border: 1px solid black;*/
    }
        table.ajstdTablaDatos thead tr:nth-child(2) + tr td:first-child {
            font-size:1.2em;
            min-width:75px;
        }


    table.ajstdTablaDatos tbody {
        border: 1px solid black;
    }

    table.ajstdTablaDatos tfoot {
        border: 1px solid black;
    }

    table.ajstdTablaDatos i {
        cursor: pointer;
    }

    table.ajstdTablaDatos tbody tr {
        border-bottom: 1px solid black;
        /*height: 25px;*/
    }

    table.ajstdTablaDatos thead input {
        height: 25px;
        border: 1px solid black;
        width: 99%;
    }

        table.ajstdTablaDatos thead input.Lista {
            height: 25px;
            border: 1px solid black;
            width: calc(100% - 20px);
        }

        table.ajstdTablaDatos thead input.datetime_date {
            height: 25px;
            width: 60%;
            padding: 0px;
            margin: 0px;
        }

        table.ajstdTablaDatos thead input.datetime_time {
            height: 25px;
            width: 40%;
            padding: 0px;
            margin: 0px;
            margin-left: -2%;
        }

        table.ajstdTablaDatos thead input.bit {
            height: 15px;
            width: 30px;
            padding-top: 5px;
            cursor: pointer;
        }

    table.ajstdTablaDatos thead td.Titulo {
        text-align: center;
        font-size: large;
        font-weight: bold;
    }

    table.ajstdTablaDatos thead td {
        font-weight: bold;
    }

    table.ajstdTablaDatos td.acciones {
        text-align: center;
        /*border: 1px solid black;*/
    }

        table.ajstdTablaDatos td.acciones i {
            margin: 0px 4px;
        }

    table.ajstdTablaDatos tbody tr.Activo {
        font-weight: bold;
        background-color: #E3E3E3;
        cursor: pointer;
    }

    table.ajstdTablaDatos tbody tr:hover {
        font-weight: bold;
        background-color: #E3E3E3;
        cursor: pointer;
    }

    table.ajstdTablaDatos tfoot select, table.ajstdTablaDatos tfoot input {
        width: 50px;
        text-align: center;
        height: 25px;
    }

    table.ajstdTablaDatos div.Lista, div.ajstdModalVentana div.Lista {
        overflow-y: auto;
        padding: 0px 5px;
        position: absolute;
        background-color: white;
        border: 1px solid black;
        height: 200px;
        font-size: medium;
        font-weight: normal;
    }

        table.ajstdTablaDatos div.Lista div:hover, div.ajstdModalVentana div.Lista div:hover {
            background-color: #E3E3E3;
            cursor: pointer;
        }

    /*SUBTABLA DATOS*/
    table.ajstdTablaDatos tbody td.Elements {
        padding: 0px;
        margin: 0px;
        background-color: black;
    }

table.ajstdSubTablaDatos {
    width: 98%;
}

    table.ajstdSubTablaDatos thead tr, table.ajstdSubTablaDatos thead td {
        font-weight: normal;
        background-color: white;
        cursor: default;
    }

        table.ajstdSubTablaDatos thead tr.Activo, table.ajstdSubTablaDatos thead tr.Activo td {
            font-weight: normal;
            background-color: #E3E3E3;
            cursor: default;
        }

    table.ajstdSubTablaDatos tbody tr {
        font-weight: normal;
        background-color: white;
        cursor: default;
    }

        table.ajstdSubTablaDatos tbody tr:hover {
            font-weight: normal;
            background-color: white;
            cursor: default;
        }

        table.ajstdSubTablaDatos tbody tr.Activo {
            font-weight: normal;
            background-color: #E3E3E3;
            cursor: default;
        }

    table.ajstdSubTablaDatos tbody {
        border: 0px;
    }

        table.ajstdSubTablaDatos tbody tr.Activo {
            font-weight: normal;
            background-color: #E3E3E3;
            cursor: default;
        }
