/* Resetear las propiedades CSS */
*{margin: 0; padding: 0; box-sizing: border-box;}
body { min-height: 100vh;}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, table, th, td {margin: 0; padding: 0; font-family: "Lucida Grande", Verdana,Arial,sans-serif; }
.salto{clear: both;}
.derecha{float:right;}
.izquierda{float:left;}
.centrado{float:none; width: 100%; margin: 0px auto; text-align:center !important;}
.puntero:hover {cursor:pointer;}
*:focus {outline: none;}
.rojo{color:#FF0000 !important;}
.azul{color:#0000FF !important;}
.negro{color:#000 !important;}
.verde{color:#008000 !important;}

:root{
    --base-color: hsl(223, 80%, 58%);
    --primary-color: hsl(from var(--base-color)h s calc(1 + 10));
    --secondary-color:hsl(from var(--base-color)h s calc(1 + 20));
    --base-darker: hsl(from var(--base-color)h s calc(1 -5));
    --base-black: hsl(from var(--base-color)h s calc(1 -10));
    --text-color:#fff;
    --secondary-text-color:#c7cfdb;
    --accent-color: #5fffb2;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --danger-color: #dc3545;
    --success-color: #28a745;
    --light-gray-color: #e9ecef;
}


.puntero:hover {cursor:pointer;}

.ico-loading
{
    display:inline-block;
    width:32px; 
    height: 32px;
    background: url(ico-loading.svg) no-repeat center center; 
    background-size: 32px 32px; 
    margin:0px 2px;
}

.ico-loading2x
{
    display:inline-block;
    width:64px; 
    height: 64px;
    background: url(ico-loading.svg) no-repeat center center; 
    background-size: 64px 64px; 
    margin:0px 2px;
}

#msMover
{
    position: absolute;
    z-index:999999; 
    display:grid;
    border: 1px solid #EEE;
    border-radius: 5px;
    background:#fff;
    text-align: center;
    box-sizing: border-box;
    min-height: 200px;
    margin-right: auto; 
    margin-left: auto;
    box-shadow: 0px 0px 1px 0 rgb(113, 113, 113);
}

/*------------------ Contenedor de Mensajes ------------------*/
.content-msModal
{
    position: absolute;
    display: grid; 
    align-content:space-between; 
    grid-template-columns: 1fr;
    width: 100%; 
    height: 100vh;
    position: fixed; 
    left: 0px; 
    top:0px;
    bottom: 0px; 
    z-index:888888; 
    background: rgba(0,0,0,0.6);
    overflow-x: auto;
}
/*------------------ Contenedor de Mensajes ------------------*/

/*------------------ Contenedor de Canvas ------------------*/
.content-msModal .canvas-msModal{
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    /*background: rgba(0,0,0,0.7);*/
    background: #fff;
}

.content-msModal .canvas-msModal .canvas{
    margin:0 auto;
    width: 100%;
}

.content-msModal .canvas-msModal .barra_cerrar
{
    display: flex;
    width: 100%;
    /*height: 70px;*/
    justify-content: flex-end;
    align-items: center;
    padding-right: 5px;
    padding-top: 5px;
}

.content-msModal .canvas-msModal .BotonCerrar
{
    width: 18px; 
    height: 18px; 
    background: url(notificacion_cerrar.svg) no-repeat center center; 
    background-size: 18px 18px; 
    margin-left:100%;
    /*margin-top: -60px;*/
    padding:20px;
    border: solid 1px #fff; 
    border-radius: 50%; 
    cursor: pointer; 
    text-align: center;
}

.content-msModal .canvas-msModal .BotonCerrar:hover 
{
    border: solid 1px #a6201c; 
}
/*------------------ Contenedor de Canvas ------------------*/




/*------------------ Contenedor Encabezado Mensajes ------------------*/
.content-msModal .encabezado
{
    display:grid;
    grid-template-columns: auto 25px;   
    align-items: center;
    width: 100%; 
    height: 30px; 
    border-bottom: solid 1px #999999; 
    box-sizing: border-box;    
    padding: 2px;
}

.content-msModal .encabezado .titulo_modal
{
    float:left; 
    text-align: left;
    margin-left: 5px;
    font-size:18px; 
    color:#000;
    cursor: move;
}

.content-msModal .encabezado .BotonCerrar 
{
    display: inline-block; 
    width: 21px; 
    height: 21px; 
    background: url(notificacion_cerrar.svg) no-repeat center center; 
    background-size: 15px 15px; 
    margin:2px 2px;
    border: solid 1px #fff; 
    border-radius: 4px; 
    cursor: pointer; 
}

.content-msModal .encabezado .BotonCerrar:hover 
{
    border: solid 1px #FF0000; 
}
/*------------------ Contenedor Encabezado Mensajes ------------------*/

/*------------------ Cambia estilo del input con Error ------------------*/
.MsgError
{
    border: solid 1px #FF0000 !important;
    border-radius: 4px !important; 
}
/*------------------ Cambia estilo del input con Error ------------------*/

/*------------------ Mensajes en linea dentro del Formulario Modal ------------------*/
.msg_frm_error
{
    width: 100%;
    margin:5px auto;  
    padding:5px; 
    text-align:center;
    border: 1px solid #FF0000; 
    border-radius: 8px;
    font-size: 14px;
    color: #FF0000;
}
/*------------------ Mensajes en linea dentro del Formulario Modal ------------------*/

/*------------------ Estilos de los mensajes 'ok', 'error', 'alert' ------------------*/
.content-msModal .msMsg
{
    display: grid;
    width: min(95%, 450px);
    min-height: 250px;
    margin-top:10%;
    margin-right: auto;
    margin-left: auto;
    border: 2px solid #EEE;
    border-radius: 5px;
    background:#fff;
    box-sizing: border-box;
    align-items: flex-start;
    animation:scale-up-center 0.2s; 
}

.content-msModal .msMsg .mensaje
{
    display: grid; 
    width: 100%; 
    align-items: center;
    align-content:center;    
}

.content-msModal .msMsg .mensaje .icono 
{
    margin-right: auto; 
    margin-left: auto;
    background-size: 64px; 
    background-repeat: no-repeat;
    width: 64px; 
    height: 64px; 
}

.content-msModal .msMsg .mensaje p
{
    width: 99%; 
    margin-right: auto; 
    margin-left: auto;
    text-align: center;
    font-size:18px; 
    color:#000; 
    padding:10px 10px;
}

.content-msModal .msMsg .mensaje .ok
{
    background-image: url(notificacion_ok.svg) ; 
}

.content-msModal .msMsg .mensaje .error
{
    background-image: url(notificacion_error.svg); 
}

.content-msModal .msMsg .mensaje .alert
{
    background-image: url(notificacion_alert.svg); 
}

@media (max-width: 450px) 
{
    .content-msModal .msMsg
    {
        margin-top:2%;
    }
}

@keyframes scale-up-center
{
    0%{transform:scale(.4)} 
    100%{transform:scale(1)}
}
/*------------------ Estilos de los mensajes 'ok', 'error', 'alert' ------------------*/

/*------------------ Estilos de los mensajes 'sino', 'min', 'med', 'max' ------------------*/
.content-msModal .msTipo-max
{
    width: min(95%, 800px);
}

.content-msModal .msTipo-med
{
    width: min(95%, 650px);
}

.content-msModal .msTipo-min, .content-msModal .msTipo-sino
{
    width: min(95%, 450px);
}

@keyframes tracking-top
{
    0%{transform:translateZ(-200px) translateY(-50px);}
    100%{transform:translateZ(0) translateY(0);}
}

.content-msModal .msTipo-sino form ul 
{
    width:100%;
    list-style-type:none;
    min-height: 50px;
}

.content-msModal .msModalHTML
{
    display: grid;
    align-content:space-between; 
    min-height: 50px;
    margin-top:10px;
    text-align: center;
}

.content-msModal .botoneraCerrar
{
    float:right; 
    width: 100%; 
    padding: 5px 0px;
    border-bottom: solid 1px #999999; 
}

.content-msModal .botoneraCerrar .titulo_modal
{
    float:left; 
    text-align: left;
    margin-left: 5px;
    font-size:18px; 
    color:#999999;
    cursor: move;
}

.content-msModal .botoneraCerrar .BotonCerrar
{
    float:right; 
    width: 23px; 
}

.content-msModal .botoneraCerrar .BotonCerrar span 
{
    float:right; 
    width: 21px; 
    height: 21px; 
    border: solid 1px #fff; 
    border-radius: 4px; 
    background-image: url(notificacion_cerrar.svg); 
    background-repeat: no-repeat; 
    cursor: pointer; 
    margin-top:3px; 
    margin-right:3px;
    border: solid 1px #eee; 
}

.content-msModal .botoneraCerrar span:hover 
{
    border: solid 1px #FF0000; 
    border-radius: 4px;
}

.content-msModal .botonera
{
    display: inline-block; 
    width: 100%;
    margin-right: auto; 
    margin-left: auto; 
    border-top: 1px solid #999999; 
    margin-top:10px; 
    padding: 10px 0px;
    text-align:center;
    box-sizing: border-box;
}

.content-msModal .icono_sino
{
    margin-right: auto; 
    margin-left: auto;
    background-size: 64px; 
    background-repeat: no-repeat;
    width: 64px; 
    height: 64px; 
    margin-top: 70px;
    background-image: url(notificacion_question.svg); 
}

/*------------------ Estilos de elementos de Formularios ------------------*/
.content-msModal form 
{
    display: inline-block;
    width:99%;
    margin: auto; 
    text-align:left; 
    font-size:12px; 
}

.content-msModal ul
{
    width: 98%;
    list-style-type: none;
    list-style-position: outside;
    margin: auto;
}

.content-msModal li
{
    padding: 3px 0px;
    margin: 3px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.content-msModal li:last-child {
    border-bottom: 0px;
}

.content-msModal input, 
.content-msModal text, 
.content-msModal textarea, 
.content-msModal select 
{
    width: calc(100% - 170px);
    min-height: 30px;
    margin: 0;
    box-sizing: border-box;
    padding-left: 5px;
    border: solid 1px #ccc; 
    padding:5px;
}

.content-msModal label{
    display: block;
    float: left;
    width:150px;
    /*height: 30px;*/
    font-size:12px; 
    padding-top: 10px;
    font-weight: bold;
}

.content-msModal input[type="checkbox"] 
{
    display: inline-block;
    max-width: 20px;
    width: 15px;
    margin: 5px 0px;
}

.content-msModal .fecha
{
    width: 150px !important;
}

.content-msModal .hora {
    display: inline-block;
    width: 160px;
    text-align: center;
}

.content-msModal .numero
{
    width: 160px !important;
}

.content-msModal .telefono
{
    width: 160px !important;
}

.content-msModal fieldset{ 
    border: solid 1px #ccc; 
    border-radius: 4px;
    padding: 15px 10px;
    font-size: 12px;
    font-weight: bold;
    margin: 10px auto;
}

.content-msModal fieldset li{
    padding: 3px 0px;
    margin: 3px;
}

.content-msModal fieldset label{
    padding-top: 6px;
}


.content-msModal h2
{
    /*max-width:400px;*/
    text-align: center;
    clear: both; 
    font-size:18px; 
    font-weight: bold; 
    color:#000; 
    margin-bottom:10px;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-left: 10px;
}

.content-msModal h3
{
    text-align: center;
    clear: both; 
    font-size:14px; 
    font-weight: bold; 
    color:#000; 
    margin-bottom:10px;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-left: 10px;
}

.content-msModal .listados_form{
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    max-height: 500px;
    font-family: "Lucida Grande", Verdana,Arial,sans-serif;
    font-size: 14px;
    background-color: #fff;
    border:1px solid #eee; 
    border-radius: 4px;
    min-height: 20px;
}

.content-msModal .listados_form li{
    border-bottom: 1px solid #eee;
    margin-left: auto;
    margin-right: auto;
    padding: 7px 5px;    
}
  
.content-msModal .listados_form li:hover{
    background: #eee;
    user-select: none;
}

.content-msModal .msTipo-min form input, 
.content-msModal .msTipo-min form text, 
.content-msModal .msTipo-min form textarea, 
.content-msModal .msTipo-min form select 
{
    width: 99%;
}

@media (width <= 600px)
{
    .content-msModal  form input, 
    .content-msModal  form text, 
    .content-msModal  form textarea, 
    .content-msModal  form select 
    {
        width: 99%;
    }
}

@media (max-width: 310px) {

    .botonera {
        text-align: center;
    }
}
/*------------------ Estilos de elementos de Formularios ------------------*/

/*---------------- Upload con Indicador XMLHttpRequest ----------------*/
#salidamensaje {
    width: 100%;
    text-align: center;
}

#salidamensaje .error_max_file {
    width: 100%;
    background-color: #FF0000;
    border-radius: 10px;
    display: block;
    margin-top: 5px;
    padding: 5px 0;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

#salidamensaje .indicador-carga {
    background-color: #f4f4f9;
    border-radius: 5px;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, .2);
    height: 38px;
    width: 100%;
}

#salidamensaje .indicador-carga .cargando {
    background-color: #31b0d5;
    border-radius: 10px;
    display: block;
    height: 38px;
    line-height: 38px;
    text-align: center;
    width: 0%;
}

#salidamensaje .indicador-carga .exito {
    background-color: #449D44 !important;
}

#salidamensaje .indicador-carga .error {
    background-color: #FF0000 !important;
}

#salidamensaje .indicador-carga .estado {
    color: #fff;
    font-weight: bold;
}

/*---------------- Upload con Indicador XMLHttpRequest ----------------*/

/*---------------- Formulario Cargar AJAX ---------------------*/
#formuploadajax, #formuploadajaxseguimiento
{
    padding:20px;
}
/*---------------- Formulario Cargar AJAX ---------------------*/


.pre-load{padding:40px;}
.inline{display: inline-block;}

/*------------------ Contenedor de Mensajes ------------------*/
.msFormSend
{
    position: absolute;
    display: flex;
    place-content: center; 
    align-items: center;
    align-content:space-between; 
    width: 100%; 
    height: 100vh;
    position: fixed; 
    left: 0px; 
    top:0px;
    bottom: 0px; 
    z-index:888888; 
    background: rgba(0,0,0,0.1);
    overflow-x: auto;
}
/*------------------ Contenedor de Mensajes ------------------*/

.ico_finalizado{
    background: url(session_end.svg) no-repeat center center;
}

.img404{
    background: url(error_404.svg) no-repeat center center;
}


/*---------------------FORMULARIO EN LINEA-----------------------*/

.formenlinea {
    width: 100%;
    display: inline-block;
    margin: 20px auto;
    text-align: left;
    padding: 5px;
    /*margin: 5px;*/
    min-height: 100px;
    background: #f4f4f9;
    border-radius: 4px;
    box-shadow: 0 2px 5px 0 rgba(140, 136, 136, 0.6);
}

.formenlinea input,
.formenlinea text,
.formenlinea select {
    width: calc(100% - 170px);
    height: 30px;
    margin: 0;
    box-sizing: border-box;
    padding-left: 5px;
    border: solid 1px #ccc; 
    padding:5px;
}

.formenlinea textarea {
    width: calc(100% - 170px);
    margin: 0;
    box-sizing: border-box;
    border: solid 1px #ccc; 
    padding:5px;
}

.formenlinea ul {
    width: 98%;
    list-style-type: none;
    list-style-position: outside;
    padding: 10px 0px 0px 0px;
    margin: auto;
}

.formenlinea li {
    padding: 3px 0px;
    margin: 3px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.formenlinea fieldset {
  border: solid 1px #ccc; 
  border-radius: 4px;
  padding: 0px 10px;
  font-size: 12px;
  font-weight: bold;
  margin: 10px auto;
}

.formenlinea fieldset li{
  padding: 3px 0px;
    margin: 3px;
}

.formenlinea li:last-child {
    border-bottom: 0px;
}

.formenlinea label {
    display: block;
    float: left;
    width:150px;
    /*height: 30px;*/
    font-size:12px; 
    padding-top: 10px;
    font-weight: bold;
}

.formenlinea .fecha {
    width: 160px !important;
}

.formenlinea  .numero
{
    width: 160px !important;
}

.formenlinea  .telefono
{
    width: 160px !important;
}

.formenlinea .botonera
{
    display: inline-block; 
    width: 100%;
    margin-right: auto; 
    margin-left: auto; 
    border-top: 1px solid #999999; 
    margin-top:10px; 
    padding: 10px 0px;
    text-align:center;
    box-sizing: border-box;
}

.formenlinea .gpo_asunto {
    display: block;
}

.formenlinea input[type="checkbox"] {
    display: block;
    /*margin-left: 195px;*/
    width: 15px;
}

.formenlinea .hora {
    display: inline-block;
    width: 70px;
    text-align: center;
}

.formenlinea .listados_form{
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    max-height: 500px;
    font-family: "Lucida Grande", Verdana,Arial,sans-serif;
    font-size: 14px;
    background-color: #fff;
    border:1px solid #eee; 
    border-radius: 4px;
    padding: 0px;
}

.formenlinea .listados_form li{
    border-bottom: 1px solid #eee;
    margin-left: auto;
    margin-right: auto;
    padding: 7px 5px;
}
  
.formenlinea .listados_form li:hover{
    background: #eee;
    user-select: none;
}

@media (max-width: 800px) {

    .formenlinea  {
        width: 95%;
        /*display: block;*/
    }

    .formenlinea  ul {
        width: 99%;
        list-style-type: none;
        list-style-position: outside;
        margin: 3px;
        padding: 3px;
    }

    .formenlinea  input,
    .formenlinea  text,
    .formenlinea  select,
    .formenlinea  textarea {
        width: 99%;
    }

    #ContenedorBuscadorIconos input {
        width: 160px
    }
}

/*---------------------FORMULARIO EN LINEA-----------------------*/

/*--------------------- FULL Modal -----------------------*/
.full-msModal {
    background: #fff;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.full-msModal .header {
    background: #f2f2f2;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
}

.full-msModal .msModalHTML {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    margin-bottom: 50px; /* espacio para la botonera */
}

.full-msModal .botonera
{
    background: #f2f2f2;
    position: fixed;
    bottom: 0;
    text-align: center;
    margin-left: -19px;
    padding: 10px;
    /*z-index: 1;*/
}
/*--------------------- FULL Modal -----------------------*/

/*--------------------- Formato basico de tabla -----------------------*/
/*
.table {width:100%; margin: auto; border-collapse: collapse; border-spacing: 0; border: solid #ccc 1px; -webkit-box-shadow: 0 1px 1px #ccc; -moz-box-shadow: 0 1px 1px #ccc; box-shadow: 0 1px 1px #ccc; font-size:12px; color:#000; }
.table thead th{border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 1px solid #ccc; padding: 5px; text-align: center;}
.table th {padding: 5px; text-align: center; height: 30px; font-weight: bold; }
.table td{border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 1px solid #ccc; padding: 5px; text-align: center;}
.table td:first-child, .table th:first-child {border-left: none; }
.margen{width: 98%; margin: auto; margin-bottom: 20px; clear: both;}
*/


.table {
    width: 100%;
    border-collapse: collapse;
    font-size:12px; 
    color:#000;
}

.table th {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;

}

.table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}

.bordered {
    background-color: #F4F4F9;
}

.bordered td {
    padding: 6px;
}



.bordered thead th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    height: 35px;
}

.bordered tr:nth-child(even) {
    background-color: #f2f2f2;
}

.bordered tr:hover {
    background-color: #e0e0e0;
}


.table_responsive {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.table_responsive th,
.table_responsive td {
    /*padding: 10px 14px;*/
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    /*word-break: break-word;*/
}

.table_responsive td {
    word-break: break-word;
}

@media (max-width: 768px) {

    
    .table_responsive {
        display: block;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        overflow-x: visible;
        border: 0;
    }

    .table_responsive thead {
        display: none;
    }

    .table_responsive tbody,
    .table_responsive th,
    .table_responsive tr {
        display: block;
        width: 100%;
        word-break: break-word;
    }

    .table_responsive tr {
        margin-bottom: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: #fff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    }

    .table_responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px;
        border: 0;
        border-bottom: 1px solid #eee;
        text-align: left;
        white-space: normal;
    }

    .table_responsive td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 16px;
        text-transform: uppercase;
        color: #555;
        flex: 0 0 45%;
    }

    .table_responsive td:last-child {
        border-bottom: 0;
    }

    .table_responsive tr:nth-child(even) {
        background-color: transparent;
    }
}

/*--------------------- Formato basico de tabla -----------------------*/


/*--------------------- Estilo de los Botones -----------------------*/
.boton {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    margin: 5px;
    height: auto;
    max-width: 220px;
    min-width: 130px;
    box-sizing: border-box;
    border-radius: 4px;
    background: #EDE8E8;
    border: solid 1px #999999;
}

.boton:hover {
    background: #999999;
    color: #fff !important;
}

.btn-primary {
    color: #fff;
    background: #286090;
    border: solid 1px #123e64;
}

.btn-primary:hover {
    background: #11416b;
}

.btn-success {
    color: #fff;
    background: #449D44;
    border: solid 1px #033d03;
}

.btn-success:hover {
    background: #227122;
}

.btn-info {
    color: #fff;
    background: #31b0d5;
    border: solid 1px #269abc;
}

.btn-info:hover {
    background: #1a87a8;
}

.btn-warning {
    color: #fff;
    background: #ec971f;
    border: solid 1px #d58512;
}

.btn-warning:hover {
    background: #d8840e;
}

.btn-danger {
    color: #fff !important;
    background: #c9302c;
    border: solid 1px #ac2925;
}

.btn-danger:hover {
    background: #a6201c !important;
}

.element_disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.element_disabled:hover {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.content-msModal .botonera .boton
{
    padding:5px; 
    margin:5px;
    max-width: 26%;
    min-width: 130px;
}

@media (max-width: 800px) {
    .formenlinea .botonera .boton{
        margin: 5px;
    }
}

@media (max-width: 310px) {
    .formenlinea .botonera .boton{
        max-width: 100%;
        margin: auto;         
        margin: 5px;
    }
}

@media (width < 310px) {
    .formenlinea .boton{
    width: 99%;
    margin: auto;         
    }
}
/*--------------------- Estilo de los Botones -----------------------*/
