﻿/* GENERAL */
.clear {
    width: 100%;
    height: 0;
    padding: 0;
    margin: 0;
    clear: both;
}

textarea {
    resize: none;
}

.navbar-brand {
    min-width: 150px;
}
.foot {
    width: 100%;
    display: block;
    clear: both;
    margin: 0;
    padding: 0;
    vertical-align: top;
    text-align:center;
}
.foot > div {
    margin: 0 !important;
    padding: 0 !important;
}
/* MOBIL */
@media only screen and (max-width: 600px) {
    .foot div {
        display:block !important;
        width:99% !important;
    }
}
/*required*/
*:required, .required {
    border-color: red;
    border-style: solid;
    box-shadow: 4px 4px 20px rgba(200, 0, 0, 0.85);
}

    *:required:after, .required:after {
        content: 'Required!';
    }

    .required:after {
        padding: 0.2em;
        display: none;
        position: absolute;
        bottom: -1.6em;
        left: calc(100%/4);
        width: 150px;
        text-align: center;
        background-color: #b00;
        color: #fff;
        border: 1px solid #b00;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        -ms-border-radius: 5px;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        -moz-box-shadow: 0px 0px 4px #222;
        -webkit-box-shadow: 0px 0px 4px #222;
        box-shadow: 0px 0px 4px #222;
        background-image: -moz-linear-gradient(top, #DD0000, #BB0000);
        background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #DD0000),color-stop(1, #BB0000));
        background-image: -webkit-linear-gradient(top, #DD0000, #BB0000);
        background-image: -moz-linear-gradient(top, #DD0000, #BB0000);
        background-image: -ms-linear-gradient(top, #DD0000, #BB0000);
        background-image: -o-linear-gradient(top, #DD0000, #BB0000);
    }

    .required:hover:after {
        display: block;
    }

/* TABLADATOS - OVERWRITE */
.ajstd{
}
table.ajstdTablaDatos {
    margin: 0;
    padding: 0;
    margin-bottom: 0.5em;
    width: 80%;
    margin-left: 10%;
}
    /* HEAD */
    table.ajstdTablaDatos > thead {
        font-weight: 600;
    }
    /* Titulo d ela tabla */
    table.ajstdTablaDatos thead td.Titulo {
        font-size: 1.2em;
    }
    table.ajstdTablaDatos thead .Cabeceras {
        font-size: 0.8em;
    }
    /* Botones de las acciones para filtrar o nuevo y limpiar filtro */
    table.ajstdTablaDatos thead td.acciones {
        padding: 0 0.01em;
        font-size: 1.5em;
        width: 60px;
        text-align: left;
        letter-spacing: 0;
    }

    table.ajstdTablaDatos thead tr {
        font-size: 0.75em;
        height: 2em;
    }

        table.ajstdTablaDatos thead tr, table.ajstdTablaDatos thead tr td {
            vertical-align: middle;
            font-size: 1em;
        }

            table.ajstdTablaDatos thead tr input, table.ajstdTablaDatos thead tr td input {
                font-size: 0.75em;
            }

            table.ajstdTablaDatos thead tr .fa, table.ajstdTablaDatos thead tr td .fa, table.ajstdTablaDatos thead tr .fas, table.ajstdTablaDatos thead tr td .fas {
                font-size: 0.7em;
                vertical-align: top;
            }

            table.ajstdTablaDatos thead tr.accionesSup button {
                /*background: #7F7F7F;*/
                padding: 0.5em;
                margin: 0;
            }

                table.ajstdTablaDatos thead tr.accionesSup button:hover {
                }

    table.ajstdTablaDatos thead tr {
        padding: 0.8em 0;
    }
        /* Celdas cabecera */
        table.ajstdTablaDatos thead tr td {
            vertical-align: top;
            vertical-align: text-bottom;
        }
            /* campos de filtros */
            table.ajstdTablaDatos thead tr td input, table.ajstdTablaDatos thead tr td textarea, table.ajstdTablaDatos thead tr td p, table.ajstdTablaDatos thead tr td select,
            table.ajstdTablaDatos thead input.datetime_date, table.ajstdTablaDatos thead input.datetime_time {
                height: auto;
            }
        /*table.ajstdTablaDatos thead tr:nth-child(odd) { display: none; }/* Oculatamos el Title */
        table.ajstdTablaDatos thead tr:nth-child(odd) {
        }
        /* cambiamos color de la cabecera*/
        table.ajstdTablaDatos thead tr:nth-child(even) {
            font-size: 1.1em;
        }
        /* cambiamos tamaño de los iconos del menu superior */
        table.ajstdTablaDatos thead tr.accionesSup {
            font-size: 0.7em;
        }
        /* cambiamos tamaño de los campos del filtro*/
        table.ajstdTablaDatos thead tr input, table.ajstdTablaDatos thead tr textarea, table.ajstdTablaDatos thead tr select {
            height: 1.7em;
        }
    /* BODY */
    /* Diseño body */
    table.ajstdTablaDatos tbody {
    }

        table.ajstdTablaDatos, table.ajstdTablaDatos tbody, table.ajstdTablaDatos tbody tr {
            border: none;
        }
            /* Diseño fila */
            table.ajstdTablaDatos tbody tr {
                font-size: 0.81em;
            }
                table.ajstdTablaDatos tbody tr .acciones {
                    font-size: 1.1em;
                }
                /* Lineas pares */
                table.ajstdTablaDatos tbody tr:nth-child(even) {
                }
                /* primera columna HOVER */
                table.ajstdTablaDatos tbody tr:hover td:first-of-type {
                }
                /* linea activa u hover */
                table.ajstdTablaDatos tbody tr:hover, table.ajstdTablaDatos tbody tr.Activo {
                    font-weight: normal;
                }
            /* FOOT */
            table.ajstdTablaDatos > tfoot {
                font-size: 0.7em;
            }
            /* tamañao de selects e inputs */
            table.ajstdTablaDatos tfoot input, table.ajstdTablaDatos tfoot select {
                height: 2em;
            }
            /* Todo el pie de pagina */
            table.ajstdTablaDatos tfoot {
                border: none;
            }
                /* lineas impares del pie de pagina */
                table.ajstdTablaDatos tfoot tr, table.ajstdTablaDatos tfoot tr:nth-child(odd) {
                    border: none;
                    font-size: 0.9em;
                    padding: 0.5em;
                    margin: 0;
                    text-align: center;
                }
                    /* todas las lineas de pie de pagina */
                    table.ajstdTablaDatos tfoot tr td {
                        cursor: pointer;
                    }
                    
/* Oculatamos el Foot */

/* SUBTABLA*/

table.ajstdSubTablaDatos {
    width: 100%;
}

table.ajstdTablaDatos tbody td.Elements {
}

table.ajstdSubTablaDatos:hover, table.ajstdSubTablaDatos tbody:hover, table.ajstdSubTablaDatos tbody tr:hover, table.ajstdSubTablaDatos tbody tr td:hover, table.ajstdSubTablaDatos tbody tr.Activo:hover, table.ajstdSubTablaDatos tbody tr.Activo td:hover {
    text-decoration: none !important;
}

table.ajstdSubTablaDatos thead {
    display: none;
}

table .ajstdSubTablaDatos tbody tr, table.ajstdSubTablaDatos tbody td, table.ajstdSubTablaDatos tbody tr.Activo, table.ajstdSubTablaDatos tbody tr.Activo td {
    font-weight: 300 !important;
    border: none;
}

table.ajstdTablaDatos table.ajstdSubTablaDatos tbody tr:hover td:first-of-type {
    text-decoration: none;
}

table.ajstdSubTablaDatos tbody td {
    /*border-right:red 1em solid !important;*/
}
/* MODAL */
div.ModalVentana .modal-header, .ajstdModalVentana .modal-header {
    background-color: #C49F0F !important;
    color: #FFF !important;
    /*border-bottom: 1px solid #eee !important;*/
    border-bottom: 4px solid #C49F0F !important;
}

.modal-content .modal-header .close, .ajstdModalVentana .modal-content .modal-header .close {
    border-top-right-radius: 8px;
}

.modal-content .modal-title, .ajstdModalVentana .modal-content .modal-title {
    float: left;
    margin-top: -5px;
}

div.ModalVentana .modal-body, .ajstdModalVentana .modal-body {
    background-color: #F8E69E !important;
    color: #000 !important;
    border-bottom: 4px solid #C49F0F !important;
}

div.ModalVentana .modal-footer, .ajstdModalVentana .modal-footer {
    background-color: #FAEDBC !important;
    color: #FFF !important;
}

div.ModalVentana .modal-btn-no, div.ModalVentana .modal-btn-si, div.ModalVentana .modal-btn
, .ajstdModalVentana .modal-btn-no, .ajstdModalVentana .modal-btn-si, .ajstdModalVentana .modal-btn {
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 5px;
    border: solid 1px #e2e2e2;
}

div.ModalVentana .modal-btn, .ajstdModalVentana .modal-btn {
    color: #000 !important;
    background-color: #f1f1f1 !important
}

div.ModalVentana .modal-btn-si, .ajstdModalVentana .modal-btn-si {
    color: #fff !important;
    background: #4CAF50 !important
}

div.ModalVentana .modal-btn-no, .ajstdModalVentana .modal-btn-no {
    color: #fff !important;
    background: #f44336 !important
}

    div.ModalVentana .modal-btn-no:hover, div.ModalVentana .modal-btn-si:hover, div.ModalVentana .modal-btn:hover
    , .ajstdModalVentana .modal-btn-no:hover, .ajstdModalVentana .modal-btn-si:hover, .ajstdModalVentana .modal-btn:hover {
        border: solid 1px #222;
    }

/* UPLOAD IMAGE */

.image-dropping,
.image-upload-wrap:hover {
    background-color: #FAEDBC;
}

/* TABLAS */
.ajstd {
}
table.ajstdTablaDatos {
    /*border: 1px solid #FFFFCC;*/
    border: 1px solid #CFCFCF;
    border-collapse: collapse;
}

    table.ajstdTablaDatos td, table.ajstdTablaDatos th {
        /*border: 1px solid #AAAAAA;*/
        border: 1px solid #CFCFCF;
        border: none;
        padding: 4px 3px;
    }

    table.ajstdTablaDatos tbody td {
        font-size: 13px;
        /*border: 1px solid #AAAAAA;*/
        border: 1px solid #CFCFCF
    }

    table.ajstdTablaDatos tr:nth-child(even) {
        /*background: #FFFFDD;*/
        /*background:#333*/
        background: #CFCFCF
    }

    table.ajstdTablaDatos thead {
        /*background: #FFFFCC;*/
        /*border-bottom: 2px solid #444444;*/
        /*color: #EABE3F;*/
        color: #222;
        /*background:#333*/
        background: #CFCFCF;
        /*border-bottom: 2px solid #EABE3F;*/
        border-bottom: 2px solid #222;
    }

    table.ajstdTablaDatos thead {
        font-weight: bold;
        /*border-left: 2px solid #FFB007;*/
        /*border: 1px solid #333;*/
        border: 1px solid #CFCFCF;
    }
            table.ajstdTablaDatos thead .BotonesAccion{
                font-size:1.5em !important;
                float:right;
            }

            table.ajstdTablaDatos thead th:first-child {
                border-left: none;
            }

    table.ajstdTablaDatos tfoot {
        font-weight: bold;
        /*color: #4E4E4E;*/
        /*color: #EABE3F;*/
        color: #222;
        /*
        background: #FFFFDD;
        background: -moz-linear-gradient(top, #ffffe5 0%, #ffffe0 66%, #FFFFDD 100%);
        background: -webkit-linear-gradient(top, #ffffe5 0%, #ffffe0 66%, #FFFFDD 100%);
        background: linear-gradient(to bottom, #ffffe5 0%, #ffffe0 66%, #FFFFDD 100%);
        */
        /*background: #333;*/
        background: #CFCFCF;
        border-top: 2px solid #444444;
    }

        table.ajstdTablaDatos tfoot .links {
            text-align: right;
        }

            table.ajstdTablaDatos tfoot .links a {
            }

    /* TABLADATOS CSS AÑADIDO */
    table.ajstdTablaDatos thead .filtro {
        text-align: center;
    }

        table.ajstdTablaDatos thead .filtro input {
            width: 85%;
            height: auto;
            font-weight: normal;
            /*color:#1C6EA4;*/
            /*color: #b79014;*/
            color: #222
        }
        table.ajstdTablaDatos thead .filtro .Lista {
            /*color: #EABE3F*/
            color: #222
        }

        table.ajstdTablaDatos thead .filtro .filtroDateTime input {
            width: 48%;
        }
    table.ajstdTablaDatos thead {
        /*color: #fff !important;*/
    }
        table.ajstdTablaDatos thead div {
            /*color: #1C6EA4 !important;*/
            /*color: #EABE3F !important;*/
            color: #222 !important;
        }

/* MODAL FULLSCREEN */
.modalFull .modalFull-header {
    background: #888B41;
}

.modalFull .modalFull-body {
}

.modalFull .modalFull-footer {
    background: #F3F5CF;
    text-align: right;
}

