@font-face {       
    font-family: "Cent";
    src: url(fonts/century.ttf) format("truetype");
}

*{
    font-family: Cent;
    font-size: 14px;
}
/* Chrome*/
::-webkit-input-placeholder { 
    color:rgb(150,150,150); 
    font-size: 0.9em; 
    padding: 10px 5px;
    font-family: Cent;
} 
/* firefox 19+ */
::-moz-input-placeholder { 
    color:rgb(150,150,150); 
    font-size: 0.9em; 
    padding: 10px 5px;
    font-family: Cent;
} 
/* ie */
:-ms-input-placeholder { 
    color:rgb(150,150,150); 
    font-size: 0.9em; 
    padding: 10px 5px;
    font-family: Cent;
} 

body{
    box-sizing:border-box;
}
/*-------------ESTILOS DEL HEADER DEL INDEX-----------------*/   
header{
    width: 100%;
    height: auto;
    background-color: rgb(40,40,40);
    color: #f2f2f2;
    text-align: center;
    padding: .2em;
}
    .andalucia,.registro{
        font-family: cent;
        display: inline-block;
        vertical-align: top;
        
    }
    .andalucia{
        font-size: 2em;
       
    }
    .registro{
        width: 100%;
        font-size: 2.7em;
        font-weight: bold;
    }

/*-------------ESTILOS DEL BODY DEL INDEX-----------------*/  
.cont-btn{
    width: 100%;
    height: 100%;
    background-color: rgba(26,68,90,1); 
}
a{
    text-decoration: none;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0;
}
h2{
    text-align: center;
}
.btn1,.btn2,.btn3{
    width: 160px;
    height: 160px;
    vertical-align: top;
    display: inline-block;
    margin: 140px 60px;
    border-radius:50%;
    text-align: center;
    line-height: 160px;
    font-size: 1.8em;
    color: rgb(30,30,30);
    padding:1em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
} 
.btn1{
    background-color: #f2f2f2;
}
.btn2{
    background-color: tomato;
}
.btn3{
    background-color: rgba(39,179,50,.8);
}

.celda-blanco{
    background-color: #fff;
}
.celda-gris{
    background-color: #E5E5E5;
}

/*------------ESTILOS PARA MODAL DE REGISTRO NUEVO USUARIO------------*/
input{
    font-family: cent;
}
    .modal{
        width: 50%;
        min-width: 400px;
        max-width: 650px;
        height: auto;
        font-size: 1.8em;
        border: 0;
        border-radius: 7px;
        background-color: white;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0 auto;
        padding: .5em;
    }
    .titulo-modal{
        width: 100%;
        box-sizing: border-box;
        font-size: .7em;
        color: rgb(65,65,65);
        padding: 0 0 5px 6px;
        border-bottom: 1px solid rgb(210,210,210);
        font-weight: bold;
        text-align: center;
    }
        .modal table{
            width: 100%;
            height: auto;
        }
        .subtitulo-modal{
            padding-bottom: 2px;
            font-size: .9em;
            text-align: center;
        }
            .modal table tr{
                width: 100%;
                height: auto;
            }
                .modal table tr td{
                    padding: 5px 5px;
                }
                    .modal table input{
                        width: 100%;
                        height: auto;
                        padding: 9px 0;
                    }
.ident-ingreso{
    font-size: .9em;
    color: #1174A3;
    font-weight: bold;
}                    
.btn-enviar,.btn-cancelar,.btn-alternativo{
    box-sizing: border-box;
    border-radius: 5px;
    margin-top: 20px;
    color: #f2f2f2;
    font-family: Cent;
    cursor: pointer;
    padding: 5px 15px;
    width: auto;
    min-width: 100px;
    font-size: 14px;
}
.btn-enviar{
    background-color: rgb(92,184,92);
    border: rgb(92,184,92);
}
.btn-cancelar{
    background-color: rgb(217,83,79);
    border: rgb(217,83,79);
}
.btn-enviar:hover,.btn-cancelar:hover,.btn-alternativo:hover{
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
}
.btn-enviar:hover{
    background-color: rgb(56,128,56);
}
.btn-cancelar:hover{
    background-color: rgb(230,46,42);
}
.btn-alternativo:hover{
    background-color: rgb(36,104,172);
}
.btn-alternativo{
    background-color: rgb(51, 153, 255);
    margin-top: 0px;
    border: 0px;
    padding: 7px 15px;
}
/*  ESTILOS PARA MODALES  */
.modal_width{
    width: 100%;
    height: 100%;
    background: rgba(45,45,45,.5);
    position: fixed;
    top: 0;
    text-align: center;
    overflow: auto;
    display: none;
}
    .contenedor_formulario{

        max-width: 50%;
        min-width: 50%;
        height: auto;
        background: white;
        margin: 0 auto;
        margin-top: 10%;
        padding: 3em 1em;
        border-radius: 5px;
        overflow: auto;
        margin-left: 16%;
        /*margin-right: 5%;*/
    }
        .modal_width .contenedor_formulario table{
            width: 90%;
            margin: 0 auto;
        }
        .modal_width .contenedor_formulario table tr td{
            width: 50%;
        }
            .modal_width .contenedor_formulario table tr td input{
                width: 100%;
                font-size: 1.2em;
                padding: 4px;
            }

#respuesta{ /*Estilos para las respuestas del servidor*/
    width: 100%;
}
#p-error,#p-success,#p-info{
    font-size: 1em;
    border-radius: 3px;
    padding: 10px 10px;
    margin: 15px 6px;
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
}

    #p-error{
        width: 99%;
        background-color: rgba(140,50,50,.3);
        color: rgb(140,50,50);
    }
    #p-success{
        width: 99%;
        background-color: rgba(51,106,32,.3);
        color: rgb(51,106,32);
    }
    #p-info{
        width: 99%;
        background-color: rgba(178,223,219,1);
        color: rgba(0,105,92,1);        
    }


/*-----------ESTILOS PARA MODAL DE INICIAR SESION-----------*/

.cont-modal-ingr .modal{
    width: 25%;
}
.cont-modal-ingr img{
    width: 30%;
    height: auto;
    margin-left:35% ;
}
#contrasena_log{
    display: none;
}

/*-------------ESTILOS PARA SECCION DEL MENÚ------------*/

.seccion-menu,.seccion-principal{
    display: inline-block;
    vertical-align: top;
    box-sizing:border-box;
    height: auto;
    border-radius: 5px;    

}

.seccion-menu{
    width: 15%;
    height: 100%;  
    background-color: rgb(80,80,80);
    border-radius: 5px;
    position: fixed;
    overflow-y: auto;
}
    .datos-usuario{
        box-sizing:border-box;
        padding: 20px;
        margin-top: -15px;
        width: 100%;
        height: auto;
        background-color: rgb(0,126,209);
    }
        .datos-usuario p{
            top: 0;
            color: #f2f2f2;
            text-align: center;
        }
            .titulo-datos-usuario{
                font-size: 1.4em;
            }
            .titulo-datos-usuario strong{
                font-size: 1.6em;
                font-family: cent;
            }
            .establecimiento-datos-usuario{
                margin-top: -23px;
                font-size: .7em;
            }
            .nombre-datos-usuario{
                border-top: 1px solid #f2f2f2;
                margin-top: 10px;
                padding-top: 12px;
                font-size: .7em;
            }
    .contenedor-menu{
        background-color: #fff;
    }
        .contenedor-menu div{
            width: 100%;
            border-bottom: 1px solid rgba(130, 130, 130, 1);
            background-color: rgba(80, 80, 80, .2);
            padding: 3px 0;
            box-sizing:border-box;
        }
            .contenedor-menu span{
                font-size: 15px;
            }
        .contenedor-menu div:hover {
            padding-left: 5px;
            border-left: 5px solid rgb(0,154,208);
            transition: all .2s;
            /*background-color: transparent;*/
            background-color: rgba(95,95,95,.6);
            border-top:1px solid rgb(0,154,208);
        }   
        .contenedor-menu .span_s,.contenedor-menu div img{
            vertical-align: top;
            display: inline-block;
            margin: 2px auto;
            /*border: 1px solid red;*/
        }  
        .contenedor-menu .span_s{
            padding: 9px;
            font-size: .8em;
            text-transform: uppercase;
        }
            .contenedor-menu div img,.ruta table td img{
                width: 25px;
                padding: 5px;
                margin-left: 10px;
            }
            .a-contenedor{
                text-decoration: none;
                color: #000;
                margin-left: 15px;
            }

/*------------ESTILOS PARA LA SECCION PRINCIPAL ( BANNER SUPERIOS )------------*/

.seccion-principal{
    width: 84%;
    margin-right: .5%;
    float: right;
}
.banner-superior,.contenido-principal{
    width: 100%;
    display: block;
    box-sizing:border-box;
}
.banner-superior{
    border-bottom:1px solid rgb(198,198,198);
    height: 50px;
    padding-top: 5px;
}
    .ruta,.logout{
        float: left;
        
        height: 40px;
    }
    .ruta{
        width: 95%;
    }
        .ruta table{
            width: auto;
        }
            .ruta table .td-dashboard{
                font-size: 1.3em;
                font-weight: bold;
            }
            .ruta table .td-ruta{
                color: rgb(128,128,128);
                font-weight: 600; 
                font-size: .85em;   
            }
    .logout{
        width: 3%;
    }
        .logout img{
            width: 35px;
            cursor: pointer;
        }

/*---------ESTILOS PARA LO QUE ESTA DENTRO DE LA SECCION PRINCIPAL ( CONTENIDO DE FORMULARIOS )--------*/
.contenido-principal{
    width: 100%;
    height: 100vp; 
    padding: 10px 17px;  
}   

.contenedor-consulta{
    text-align: center;
}
    .inp-consulta-inventario{
        padding: 5px;
    }

    /*---- BOTON AGREGAR ( + ) -----*/
    .btn-agregar{
        width: 40px;
        float: right;
        margin: 10px 20px;
        cursor: pointer;
    }

.imagen_accion{
    border: 1px solid gray;
    max-width: 21px;
    max-height: 21px;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    padding: 1px;

}
.imagen_accion:hover{
    background: #ffcf;

}

/*------ Modal para otros datos de emergencia -----*/



.modal-otros-datos, .modal_ver_mas{
    width: 100%;
    height: 100%;
    background: rgba(45,45,45,.7);
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    overflow: auto;
    display: none;
}
    .modal-otros-datos .contenedor_formulario{
        width: 50%;
        max-width: 750px;
        min-width: 600px;
        height: auto;
        background: #FCFCFC;
        margin: 0 auto;
        margin-top: 10%;
        padding: 3em 1em;
        border-radius: 5px;
        border: 1px solid white;
        overflow: auto;
        
    }
    .modal-otros-datos img{
        width: 40px;
        height: 40px;
        margin: 15px 95%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        cursor: pointer;
        
    }
    .modal-otros-datos table{
        background-color: #f2f2f2;
        text-align: center;
        width: 100%;
        padding: 5px;
        border: 1px solid gray;
    }

.modal_ver_mas .contenedor_formulario, .modal-editar-producto .contenedor_formulario, .modal-ayuda .contenedor_formulario{
    width: 50%;
    /*max-width: 750px;
    min-width: 600px;*/
    height: auto;
    background: #FCFCFC;
    margin: 0 auto;
    margin-top: 10%;
    padding: 3em 1em;
    border-radius: 5px;
    border: 1px solid white;
    overflow: auto;
    
}
    .contenedor_formulario table{
        width: 100%;
        text-align: center;
        background-color: #f2f2f2;
    }

/*------- ESTILOS PARA CREAR SERVICIOS --------*/

.tabla-formulario{
    background: rgba(0,0,0,.07);
    width: 100%;
}
    .tabla-formulario tr td{
        border:1px solid #5f5f5f;
        background: #fff;
    }
    .td-titulo{
        background: #5f5f5f;
        color: #000;
        padding: 3px 0px;
        text-align: center;
    }

    .input_imagen{
        width: 20px;
        max-width: 20px;
        height: 20px;
        max-height: 20px;
        border:1px solid #000;
        padding: 2px;
        background: rgba(252, 225, 126, .2);
    }
        .input_imagen:hover{
            background: #fce17e;
            cursor: pointer;
        }
.
/*------- ESTILOS PARA NUEVA EMERGENCIA --------*/

.apartados{
    color: #f2f2f2;
    padding: 5px 10px;
    font-family: cent;
    border: 0px;
    margin: 5px 3px;
    border-radius: 5px;
    float: left;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #ef6c00;
}
    .apartados:hover{
        transition: all .2s;
        background-color: #3969AA;
    }

.contenedor-tablas-emergencia{
    width: 99%;
    min-width: 700px;
    overflow: auto;
}
    .contenedor-tablas-emergencia table{
        width: 100%;
        min-width: 800px;
        background-color: rgb(248,248,248);
        margin-top: 5px;
    }
    .contenedor-tablas-emergencia table h2{
        background-color: rgb(70,70,70);
        color: #f2f2f2;
        padding: 3px 0;
        font-size: .9em;
    }

        /*--------- CONTENEDOR DE USUARIOS REGISTRADOS ------------*/
        .cont-td-chk{
            width: 100%;
            height: 20em;
            overflow-y: auto;
        }
            .contenedor-tablas-emergencia table tr td{
                border: 1px solid rgb(180,180,180);
                width: auto;
            }
                .contenedor-tablas-emergencia table tr td input[type="text"], input[type="number"]{
                    width: 100%;
                    border-radius: 3px;
                    border: 1px solid rgba(128,222,234,1);
                    outline-color: green; 
                    font-family: cent;
                    font-size: .9em;
                    padding: 1px 0;
                }   
                .contenedor-tablas-emergencia table tr td input[type="radio"]{
                    margin-left: 30px;
                    
                }
                .contenedor-tablas-emergencia table tr td input[type="number"]{
                    text-align: center;
                }    
                .contenedor-tablas-emergencia table tr td textarea{
                    width: 100%;
                    min-width: 450px;
                    max-width: 100%;
                    min-height: 5em;
                    font-family: cent;
                    font-size: .9em;
                    border:1px solid rgba(128,222,234,1);
                }  

                #seleccion_personal{
                    -webkit-transform: rotate(0deg);
                    transform: rotate(0deg);  
                    border:0;
                    font-size: 1em; 
                    margin:0;
                    padding: 0;  
                    height: 15px;
                    width: 15px;            
                }
                .formato3 table tr #personal_atendio{
                    width: 320px;
                    min-width: 310px;
                    max-width: 320px;
                }   
                
                #sel_comandante{
                     border:0;
                     width: 50px;
                     float: left;
                }
                .h2_comandante{
                    text-align: left;
                    padding-left: 5px;
                }

/*------- ESTILOS PARA INVENTARIO ---------*/

.contenedor-tablas{
    display: none;
    width: 100%;
    height: auto;
    background-color: rgb(230,230,230);
}
.h2-titulo{
    text-align: center;
    padding: 3px 0;
    color: #f2f2f2;
    background-color: rgb(70,70,70);
    font-size: .9em;
}
.h2-titulo-secundario{
    text-align: center;
    padding: 5px 0;
    color: #000;
    background-color: #900;
    background-color: #00337b;
    background-color: #d0d0d0;

}
        .contenedor-tablas table {
            width: 100%;
            text-align: center;
            padding:10px;
            border-radius: 10px;
        }
            .contenedor-tablas table td{
                background-color: white;
                border-radius: 3px;
            }
            .contenedor-tablas table tr:hover{
                background-color: gray;
            }
            .contenedor-tablas .tabla-botones td{
                width: 50%;
            }

                .contenedor-tablas table button{
                    width: 50%;
                    padding: 6px;
                    font-size: 1.2em;
                }
                    .contenedor-tablas table .btn-enviar{
                        float: right;
                    }
                    .contenedor-tablas table .btn-cancelar{
                        float: left;
                    }                
                .contenedor-tablas table input{
                    width: 100%;
                    background-color: #fff;
                    border: 1px solid gray;
                    padding: 5px;
                    text-align: center;
                }
/*------- Estilos para el contenedor de la consulta de reportes -------*/
.btn_reporte{
    margin-top: .4em;
    width: auto;
    min-width: 130px;
    margin-left: 6px;
    font-size: .9em;
    font-family: Cent;
    font-weight: 500;
    color: #f2f2f2;
    background-color: rgba(1,87,155,.7);
    border:rgba(1,87,155,.8);
    border-radius: 5px;
    padding: 3px 5px;
}
    .btn_reporte:hover{
        transition: all .2s;
        background-color: rgb(0,145,234);
        cursor: pointer;
    }
.contenedor-reportes{
    width: 100%;
    margin-top: 1em;
}   

    .tabla-busqueda-reporte, .tabla-busqueda-siniestralidad, .tabla-busqueda-reporte-usuario, .tabla-busqueda-labores-sociales{
        display: none;
        border:1px solid rgba(200,200,200,.9);
        background-color: rgb(230,230,230); 
        padding: 1px;   
        margin: 0 auto;
        left: 0;
        right: 0;     
    }
        .tabla-busqueda-reporte td, .tabla-busqueda-siniestralidad td, .tabla-busqueda-reporte-usuario td{
            width: 27%;
            text-align: center;
            
            background-color: white; 
        }    
            .tabla-busqueda-reporte input, .tabla-busqueda-siniestralidad input, .tabla-busqueda-reporte-usuario input{
                width: 160px;
            }
    .tabla-busqueda-reporte{
        width: 40%;
    }
    .tabla-busqueda-siniestralidad{
        width: 70%;
    }
    .tabla-busqueda-reporte-usuario{
        width: 40%;
    }

    /*----- RESPUESTA DE LA CONSULTA DE SINIESTRALIDAD ----*/
    .contenedor-respuesta-siniestralidad{
        width: 100%;
        height: auto;
    }
        .tabla-siniestralidad{
            width: 70%;
            background-color: rgba(170,170,170,.9);
        }
            .tabla-siniestralidad tr td{
                width: auto;
                background-color: white;
            }

.modal-editar{
    width: 100%;
    height: 100%;
    background: rgba(45,45,45,.7);
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    overflow: auto;
    display: none;
}

/*-----------ESTILOS PARA EL ARCHIVO DE ACTUALIZA DATOS DE USUARIO-----------*/
.contenedor-actualizar-usuario .modal{
    margin-top: 5px;
    border: 1px solid rgb(200,200,200);
    min-width: 60%;
}
    .contenedor-actualizar-usuario .modal table tr td{
        padding-top: 15px;
        color: rgb(128,128,128);
    }

.img_accion{
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 1px solid gray;
    padding: 3px;
}

.contenedor-formato-emergencias{
    width: 100%;
    min-width: 600px;
    height: 100vp;
    border: 0;
    border-radius: 7px;
    background-color: rgba(0,0,0,.1);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;   
}
option{
    background-color: rgba(200,200,200,.5);
    border:1px solid gray;
}
/*----------Tabla de asistencias a emergencias del personal*/
#table-usuario{
    width: 550px;
}

/*------- Encabezado de impresion ---------*/
.btn-imprimir{
    border-radius: 50%;
    width: 70px;
    height: 70px; 
    background-color: #A87BCA;
    border: 0;
    color: #f2f2f2;
    font-weight: bold;
    font-family: cent;
    position: fixed;
    margin: 8% 72%;
    cursor: pointer;
}
.btn-imprimir:hover{
    background-color: #773AA5;
}


.encabezado-impresion{
    width: 100%;
    display: none;
}
    .seccion-img, .seccion-info{
        display: inline-block;
        vertical-align: top;
    }
    .seccion-img{
        margin-left: 1%;
        width: 12%;
        float: left;
    }
        .seccion-img img{
            width: 150px;
        }    
    .seccion-info{
        width: 70%;
        margin-left: -13%;
    }
        .seccion-info h2{
            font-size: 1.4em;
            font-weight: bold;
        }
        .seccion-info h3{
            margin-top: -13px;
        }
        .seccion-info h4{
            font-size: 1.4em;
            font-weight: bold;
            margin-top: -2px;
        }

#td_imagen{
    background: rgba(128, 128, 128, .1);
    color: black;
    width: 150px;
}

#contenedor-detalle-revision table{
    width: 100%;
}


@media print{
    *{
        transform: scale(0.993);
    }
    .seccion-menu, .banner-superior, .contenedor-reportes, .btn_reporte, .btn-imprimir, #apartado1, #apartado2, #apartado3, .btn-enviar, #seleccion_personal, #cont-td-chk, #h2-titulo, #imgUserDelete, .btn-cancelar, .apartados{
        display: none;
    }
    .seccion-principal{
        margin-top: -15px;
        width: 100%;
        display: block;
    }
    .encabezado-impresion, .formato{
        display: block;
    }
    .h2-reporte-n{

    }
    #contenedor-tablas-usuario{
        background-color: white;
    }
    table{
        width: 100%;
        height: auto;
    }
    td input{
        width: 100%;
    }

    #table-usuario{
        background-color: rgb(225,225,225);
    }
        #table-usuario td{
            background-color: white;
        }
        #id_e{
            width: 88%;
        }
    #cont-td-chk-m{
        width: 100%;
        background-color: white;
       
    }
    textarea{
        width: 99%;
        max-width: 99%;
        height: 13em;
        min-height: 13em;
    }
    /*input,textarea,*/
    .h2_comandante{
        text-align: center;
    }
    #contenedor-detalle-revision{
        overflow: none;
        height: 100%;
        min-height: 100%;
        background-color: #fff;
    }
        #contenedor-detalle-revision .contenedor_formulario{
            overflow: none;
            width: 100%;
            height: 100%;
            min-width: 100%;
        }
    #tabla_historico_revisiones{
        display: none;
    }

}

