@import url(reset.css);

a {
    color: #00609f;
    text-decoration: none;
    font-weight: bold;
}

    a:hover {
        text-decoration: none;
    }

    a.add {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/database_add.png) no-repeat top left;
    }

    a.buscar {
        background-position: left top;
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent no-repeat left top;
        background: transparent url(../app_images/silk/find.png) no-repeat top left;
    }

    a.reporte {
        background-position: left top;
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent no-repeat left top;
        background: transparent url(../app_images/silk/report.png) no-repeat top left;
    }


    a.cancel {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/cancel.png) no-repeat top left;
    }

    a.delete {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/database_delete.png) no-repeat top left;
    }

    a.edit {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/database_edit.png) no-repeat top left;
    }

    a[href^="http:"] {
        background: url(../app_images/ico_external.png) right center no-repeat;
        padding-right: 12px;
        margin-right: 2px;
    }

    a.pdf {
        height: 18px;
        padding-left: 18px;
        font-weight: bold;
        display: inline;
        background: transparent url(../app_images/files/pdf.gif) no-repeat top left;
    }

    a.in {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/key_go.png) no-repeat top left;
    }

    a.save {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/database_save.png) no-repeat top left;
    }

    a.nreg {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/application_form_add.png) no-repeat top left;
    }

    a.calcular {
        display: block;
        height: 16px;
        padding-left: 17px;
        font-weight: bold;
        background: transparent url(../app_images/silk/calculator.png) no-repeat top left;
    }




body, html {
    background: #eeeeee;
    color: #333333;
    height: 100%;
    margin: 0px;
    width: 100%;
}

div.divider {
    background: url(../app_images/bg_10.gif) repeat-x left top;
    height: 10px;
    border: none;
    width: 100%;
    display: block;
    margin-bottom: 5px;
}

div.divider-simple {
    background: url(../app_images/bg_10.gif) repeat-x left top;
    height: 5px;
    border: none;
    width: 100%;
    display: block;
    margin: 0px;
}

/*
Títulos
*/
h1 {
    color: #00609f;
    font: bold 21px Arial, Helvetica, sans-serif;
    letter-spacing: -2px;
    text-align: left;
    margin-top: 15px;
}

h2 {
    color: #00609f;
    font: bold 13px Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    text-align: left;
    margin-top: 15px;
}

h3 {
    color: #00609f;
    font: bold 14px Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    text-align: left;
}

h4 {
    color: #00609f;
    font: bold 17px Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    text-align: left;
    margin-top: 15px;
}

h5 {
    color: #00609f;
    font: bold 11px Arial, Helvetica, sans-serif;
    text-align: left;
    margin-top: 5px;
}

/*
Campos de entrada de datos
*/
input, select, textarea {
    font: 11px Tahoma, "MS Sans Serif", Geneva, sans-serif;
    border: 1px solid #999999;
    color: #333333;
    padding: 2px;
}

    input[type=text], input[type=password], select, textarea {
        font: 11px Tahoma, "MS Sans Serif", Geneva, sans-serif;
        border: 1px solid #cccccc;
        color: #333333;
        padding: 2px;
        width: 98%;
    }

label.error {
    color: #d72000;
    float: left;
    display: block;
    height: 16px;
    padding-left: 17px;
    font-weight: bold;
    font-size: 10px;
    margin-top: 2px;
    border: 0px;
    background: transparent url(../app_images/silk/database_error.png) no-repeat top left;
}

object {
    outline: none;
}

ol {
    list-style-type: decimal;
    list-style-position: inside;
}

p {
    line-height: normal;
}

    /*
Mensajes de sistema
*/
    p.m_error {
        position: relative;
        display: block;
        background: #f6b9b9 url("../app_images/icon_error.gif") no-repeat 10px 10px;
        border: 1px solid #e18484;
        padding: 10px 10px 10px 30px;
        color: #c32727;
        font-weight: bold;
    }

        p.m_error span, p.m_info span, p.m_notice span, p.m_success span {
            position: absolute;
            right: 7px;
            top: 7px;
            display: block;
            padding: 5px;
            cursor: pointer;
            font-weight: bold;
        }

    p.m_info {
        position: relative;
        display: block;
        background: #d4ebfa url("../app_images/icon_info.gif") no-repeat 10px 10px;
        border: 1px solid #90b1c7;
        padding: 10px 10px 10px 30px;
        color: #4b6bab;
        font-weight: bold;
    }

    p.m_notice {
        position: relative;
        display: block;
        background: #fffcd3 url("../app_images/icon_notice.gif") no-repeat 10px 10px;
        border: 1px solid #c2beb1;
        padding: 10px 10px 10px 30px;
        color: #74655f;
        font-weight: bold;
    }

    p.m_success {
        position: relative;
        display: block;
        background: #e5f993 url("../app_images/icon_success.gif") no-repeat 10px 10px;
        border: 1px solid #9bac55;
        padding: 10px 10px 10px 30px;
        color: #688006;
        font-weight: bold;
    }

/*
Define el tipo de letra estándar para el sistema
*/
td {
    font: 11px Tahoma, "MS Sans Serif", Geneva, sans-serif;
    text-align: left;
}

ul.blue {
    list-style-image: url(../app_images/silk/bullet_blue_litt.png);
    list-style-position: outside;
    list-style-type: square;
    margin-left: 16px;
}

ul.green {
    list-style-image: url(../app_images/silk/bullet_green_litt.png);
    list-style-position: outside;
    list-style-type: square;
    margin-left: 16px;
}

.chart {
    padding: 5px;
    border: 1px solid #cccccc;
    border-bottom: 2px solid #cccccc;
}

.chart_title {
    color: #29a72a;
    font: bold 17px Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    text-align: left;
}

.error {
    border: 1px dotted #c32727;
    background: #ffffac;
}

.tbl_data caption {
    text-align: right;
    padding-bottom: 3px;
    font-weight: bold;
}

.tbl_data td {
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    background: #ffffff;
    padding: 6px 6px 6px 12px;
}

    .tbl_data td.alt {
        background: #e4ecf4;
    }

.tbl_data th {
    color: #ffffff;
    border-top: 1px solid #3eb1ff;
    border-left: 1px solid #3eb1ff;
    border-right: 1px solid #03405d;
    border-bottom: 1px solid #03405d;
    text-transform: uppercase;
    text-align: left;
    padding: 6px 6px 6px 12px;
    background: url(../app_ig_res/Dnp/images_dnp/bg_menu.jpg) repeat-x left top;
}

    .tbl_data th.nobg {
        border-top: 0;
        border-left: 0;
        border-bottom: 0;
        border-right: 1px solid #c1dad7;
        background: none;
        text-align: center;
        vertical-align: bottom;
        color: #333333;
    }

.tbl_data, .tbl_form {
    width: 100%;
}

.tbl_data_input {
    border: 1px solid #cccccc;
}

    .tbl_data_input input {
        width: 70%;
    }

.tbl_form td {
    padding: 2px;
}

.tbl_form_text_butt {
    text-align: center;
}

    .tbl_form_text_butt a {
        font-weight: bold;
    }

.tbl_form_text_field {
    font-weight: bold;
    text-align: right;
}

.titulo_destacado {
    font: bold 14px Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    text-align: left;
}

/*
Contenedor de toda la interfaz
Define el margen entre la interfaz y el borde
 */
#div_container {
    padding: 15px;
}

#header {
    background: url(../app_images/head_bg.jpg) repeat-x left top;
    padding-left: 40px;
    padding-right: 20px;
    padding-top: 5px;
    vertical-align: middle;
}

#lateral_contents {
    vertical-align: top;
    text-align: left;
}

    #lateral_contents a:hover, #td_footer a:hover {
        text-decoration: underline;
    }

#logo {
    padding-left: 20px;
    padding-right: 20px;
    vertical-align: middle;
}

/*
Datos
*/
#tbl_data_header, #tbl_data_header td {
    background: url(../app_images/bg_menu_1_active.gif) #4682b4;
    color: #ffffff;
    font-weight: bold;
    height: 17px;
    text-transform: uppercase;
    vertical-align: middle;
}

#tbl_data_out {
    border: 1px solid #cccccc;
    border-bottom: 2px solid #cccccc;
}

#tbl_fields tr > td {
    padding: 3px;
}

    #tbl_fields tr > td:first-child {
        text-align: right;
    }

#td_contents {
    height: 400px;
}

#td_footer {
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    color: #999999;
}

    #td_footer a {
        color: #999999;
    }

#td_logo {
    vertical-align: middle;
}

#td_main {
    padding: 5px;
}

.alineacion_derecha {
    text-align: right
}

.AutoExtender {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    color: #000 !important;
    padding: 3px 5px !important;
    border: 1px solid #999 !important;
    background: #fff !important;
    width: auto !important;
    float: left !important;
    z-index: 9999999999 !important;
    position: absolute !important;
    margin-left: 0px !important;
    list-style: none !important;
    font-weight: bold !important;
}

.radioButtonASP input {
    width: 20% !important;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .active, .accordion:hover {
        background-color: #ccc;
    }

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

/* Estilos para mostrar correctamente la pantalla con imagen de cargando*/
.overlayContent {
    z-index: 99;
    margin: 250px auto;
    width: 80px;
    height: 80px;
}

    .overlayContent h2 {
        font-size: 18px;
        font-weight: bold;
        color: #000;
    }

    .overlayContent img {
        width: 80px;
        height: 80px;
    }

.mayusculas {
    text-transform: uppercase;
}

.wrap-text {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.custom-grid {
    border-collapse: collapse;
    border-spacing: 0; /* Alternativa a cellpadding */
    font-family: Arial, sans-serif;
}

    /* Estilos para celdas */
    .custom-grid th, .custom-grid td {
        padding: 4px;
        text-align: left;
        border: 1px solid #ddd;
        vertical-align: top !important;
    }

    /* Cabecera */
    .custom-grid th {
        color: white;
        font-weight: bold;
    }

    /* Alternar colores de filas */
    .custom-grid tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    /* Hover en filas */
    .custom-grid tr:hover {
        background-color: #ddd;
    }

.align-right {
    text-align: right !important;
}

    .align-right input {
        text-align: right !important;
    }

.disabled-field {
    background-color: #e0e0e0 !important; /* Gris más oscuro */
    color: #666 !important; /* Texto más apagado */
    border: 1px solid #ccc !important; /* Borde más visible */
}

.borde-azul {
    border: 2px solid #0889ca !important;
}

.link-wrap {
    word-break: break-all;
    white-space: normal;
    display: inline-block; /* Needed to respect max-width in inline content */
}

#customOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* oscurece el fondo */
    z-index: 109999; /* debajo del modal */
    display: none;
}

.customDialog {
    display: none;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid gray;
    padding: 20px;
    z-index: 110000; /* encima del overlay */
    width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    color: white;
    border-radius: 4px;
}

.badge-danger {
    background-color: #d9534f;
}

#spinnerOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999999;
    display: none;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.radio_alineado td {
    padding-right: 30px; /* Espacio entre los radios */
    white-space: nowrap; /* Evita salto de línea entre radio y label */
}

.radio_alineado input[type="radio"] {
    vertical-align: middle;
    margin-right: 5px;
}

.radio_alineado label {
    vertical-align: middle;
}

.highlight-row {
    background-color: #faf3c0 !important; /* Color de fondo */
    font-weight: bold !important; /* Hacer el texto en negrita */
}

.green-highlight-row {
    background-color: #d4f7d2 !important; /* Color de fondo */
    font-weight: bold !important; /* Hacer el texto en negrita */
}