@import url('https://fonts.googleapis.com/css2?family=Work+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: white;
}

header {
    height: 90px;
    background-color: #757575;
    z-index: 1;
    box-shadow: inset 0 -10px 1px -8px #D52B1E;
}

nav {
    display: flex;
    justify-content: space-between;
    box-shadow: inset 0 -10px 1px -8px #D52B1E;
    
}

img {
    float: right;
    margin: 20px;
    width: 250px;
    height: 50px;
}

header h1 {
    float: left;
    margin: 30px 15px 10px;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.container {
    background: #f2f4f8;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    width: 80%;
    height: auto;
    margin-top: 80px;
}


/** CARD **/

.card {
    width: 220px;
    height: 320px;
    background: #fff;
    border-top-right-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-out;
    text-decoration: none;
    border-radius: 5px;
}

.entrada:hover,
.salida:hover,
.pre_registro:hover,
.reporte:hover {
    transform: translateY(-20px) scale(1.005) translateZ(0);
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11),
        0 24px 46px rgba(220, 233, 255, 0.48);
}

.entrada:hover .overlay_entrada,
.salida:hover .overlay_salida,
.pre_registro:hover .overlay_pre_registro,
.reporte:hover .overlay_reporte {
    transform: scale(4) translateZ(0);
}

.entrada:hover .circle_entrada:after {
    background: #B8F9D3;
    border-color: #e2fced;
}

.salida:hover .circle_salida:after {
    background: #FCE4EC;
    border-color: #f1f7ff;
}

.pre_registro:hover .circle_pre_registro:after {
    background: #D8F0F8;
    border-color: #f1f7ff;
}

.reporte:hover .circle_reporte:after {
    background: #FFF2D2;
    border-color: #f1f7ff;
}

.card:hover p #entrada,
.card:hover p #salida,
.card:hover p #pre_registro,
.card:hover p #reporte {
    color: #4C5656;
}

.entrada:active,
.salida:active,
.pre_registro:active,
.reporte:active {
    transform: scale(1) translateZ(0);
    box-shadow: 0 15px 24px rgba(0, 0, 0, 0.11),
        0 15px 24px rgba(220, 233, 255, 0.48);
}

.card p {
    font-size: 17px;
    color: #4C5656;
    margin-top: 30px;
    z-index: 1000;
    transition: color 0.3s ease-out;
}

.img_entrada {
    width: 71px;
    height: 76px;
}

.img_salida {
    width: 80px;
    height: 77px;
}

.img_pre_registro {
    width: 78px;
    height: 84px;
}

.img_reporte {
    width: 78px;
    height: 83px;
}

.circle_entrada {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #B8F9D3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.circle_salida {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #FCE4EC;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.circle_pre_registro {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #D8F0F8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.circle_reporte {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #FFF2D2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.circle_entrada:after {
    content: "";
    width: 118px;
    height: 118px;
    display: block;
    position: absolute;
    background: #B8F9D3;
    border-radius: 50%;
    top: 7px;
    left: 7px;
    transition: opacity 0.3s ease-out;
}

.circle_salida:after {
    content: "";
    width: 118px;
    height: 118px;
    display: block;
    position: absolute;
    background: #FCE4EC;
    border-radius: 50%;
    top: 7px;
    left: 7px;
    transition: opacity 0.3s ease-out;
}

.circle_pre_registro:after {
    content: "";
    width: 118px;
    height: 118px;
    display: block;
    position: absolute;
    background: #D8F0F8;
    border-radius: 50%;
    top: 7px;
    left: 7px;
    transition: opacity 0.3s ease-out;
}

.circle_reporte:after {
    content: "";
    width: 118px;
    height: 118px;
    display: block;
    position: absolute;
    background: #FFF2D2;
    border-radius: 50%;
    top: 7px;
    left: 7px;
    transition: opacity 0.3s ease-out;
}

.img_entrada,
.img_salida,
.img_pre_registro,
.img_reporte {
    z-index: 10000;
    transform: translateZ(0);
}

.overlay_entrada {
    width: 118px;
    position: absolute;
    height: 118px;
    border-radius: 50%;
    background: #B8F9D3;
    top: 70px;
    left: 50px;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.overlay_salida {
    width: 118px;
    position: absolute;
    height: 118px;
    border-radius: 50%;
    background: #FCE4EC;
    top: 70px;
    left: 50px;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.overlay_pre_registro {
    width: 118px;
    position: absolute;
    height: 118px;
    border-radius: 50%;
    background:#D8F0F8;
    top: 70px;
    left: 50px;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.overlay_reporte {
    width: 118px;
    position: absolute;
    height: 118px;
    border-radius: 50%;
    background: #FFF2D2;
    top: 70px;
    left: 50px;
    z-index: 0;
    transition: transform 0.3s ease-out;
}
/** FIN CARD **/

/** FORM ENTRADA **/
.container_form {
    height: 100%;
    margin: auto;
    margin-left: auto;
    margin-right: auto;
}

.encabezado {
    width: 100%;
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.encabezado h3 {
    font-size: 30px;
    margin: 8px 0px 5px;
}

.content_1 {
    float: left;
    margin: auto;
    margin-top: 0;
    margin-right: 0px;
    padding: 5px;
    margin-bottom: 30px;
}

form label {
    margin-bottom: 5px;
}


.content_2 {
    float: left;
    margin: auto;
    margin-left: 150px;
    padding: 5px;
    margin-bottom: 30px;
}

.content_1 div,
.content_2 div {
    margin-top: 15px;
}

.content_1 div label,
.content_2 div label {
    font-weight: bold;
}

.video {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.content_pre {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: auto;
    margin-top: 0;
    margin-right: 0px;
    padding: 5px;
    margin-bottom: 30px;
    font-weight: bold;
    float: top;
}

.opts {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.cancelar {
    text-decoration: none;
    width: 150px;
    height: 45px;
    cursor: pointer;
    font-size: 18px;
    color: white;
    margin-right: auto;
    background-color: #dc3545;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 8px 35px;
}

.cancelar:focus,
.cancelar:active,
.cancelar:hover {
    text-decoration: none;
    background-color: #C82333;
    border-radius: 5px;
    box-shadow: 0 0 11px rgba(220, 20, 60, .5);
    color: white;    
}

.registrar {
    width: 150px;
    height: 45px;
    cursor: pointer;
    font-size: 18px;
    float: right;
    color: white;
    background-color: #4CAF50;
    border-radius: 5px;
    border: none;
    outline: none;
}

.registrar:hover {
    background-color: #46A049;
    border-radius: 5px;
    outline: none;
    box-shadow: 0 0 11px rgba(40, 167, 69, .5);
}

.elemento {
    width: 450px;
    height: 30px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    outline: none;
    padding: 7px;
    margin-top: 5px;
    text-transform: uppercase;
}

.elemento:focus,
.elemeto:active {
    border-bottom: 2px solid #FF5353;
}

.elemento_num {
    width: 200px;
    height: 30px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    outline: none;
    margin-left: 130px;
    margin-top: 5px;
}

.elemento_num:focus,
.elemeto_num:active {
    border-bottom: 2px solid blue;
}

.no_mood {
    width: 450px;
    height: 30px;
    font-size: 16px;
    text-align: center;
    border: none;
    padding: 5px;
    margin-bottom: 10px;
    cursor: not-allowed;
    outline: none;
    background-color: rgba(128, 128, 128, 0.1);
    margin-top: 5px;
    border-radius: 5px;
}

/** CONTENIDO DE TOMAR FOTO **/

.hr {
    width: 100%;
    border-top: 1px solid #fff;
    height: 10px;
    margin-bottom: 15px;
    margin-top: 20px;
}

.foto {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 340px;
    margin-bottom: 20px;
    /**border: 1px solid #CECECE;**/
    padding: 20px;    
}

.elementos_foto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 55%;
    height: 100%;
    border-right: .5px solid #CECECE;
}

.video_estilo {
    width: 60%;
    margin-left: auto;
}

.btn_capturar {
    width: 130px;
    height: 50px;
    cursor: pointer;
    border-radius: 50px;
    background-color: #067BF9;
    color: white;
    font-size: 16px;
    border: 1px solid #067BF9;
    box-shadow: 5px 5px 5px rgba(0,0,0,.5);
    outline: none;
}

.btn_capturar:hover,
.btn:active {
    background-color: #0069D9;
    outline: none;
}

.open_cap,
.open_cap:active,
.open_cap:visited {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 18px;
}

.open_cap:hover {
    color: #0069d9;
    text-decoration: none;
}

.txt_cam {
    font-size: 16px;
    color: black;
}
/** FIN CONTENIDO DE TOMAR FOTO **/

/** FORM ETIQUETA **/
.opciones_etiqueta {
    widows: 100%;
    margin-top: 40px;
}

.imprimir {
    height: 220px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    

}

.print {
    font-size: 20px;
    text-decoration: none;
    color: black;
    background-color: #FFEAEA;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #FF7373;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    transition: 1s;
}

.print:visited, .print:active {
    text-decoration: none;
}

.print:hover {
    font-size: 20px;
    text-decoration: none;
    color: white;
    background-color: #FF7373;
    padding: 20px;
    border-radius: 10px;
    transform: scale(1.2);
    font-weight: bold;
}

.img_imp {
    width: 150px;
    height: 150px;
}

.fin {
    width: 100%;
    height: 100px;
    text-align: center;
    margin-top: 80px;
}

.finalizar {
    font-size: 20px;
    text-decoration: none;
    color: white;
    background-color: #28A745;
    padding: 15px 60px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.finalizar:hover {
    font-size: 20px;
    text-decoration: none;
    background-color: #0B610B;
    padding: 15px 60px;
    border-radius: 10px;
}

/** FIN FORM ETIQUETA **/
/** FIN FORM ENTRADA **/

/** FORM SALIDA**/

.container_form_salida {
    padding: 10px;
    width: 100%;
}

.encabezado2 {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.encabezado2 h3 {
    font-size: 30px;
    margin: 0px 0px 5px;
    font-weight: bold;
}

.inicio {
    width: 140px;
    height: 40px;
    color: white;
    background-color: #28a745;
    border: 1px solid #28a745;
    border-radius: 5px;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 10px;
    outline: none;
    font-size: 16px;
}

.inicio:focus,
.inicio:active,
.inicio:hover {
    outline: none;
    box-shadow: 0 0 11px rgba(40, 167, 69, .5);
}

.tabla {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    width: 95%;
    margin-bottom: 15px;
}

#tablax {
    width: 95%;
}

.tabla table {
    width: 95%;
    height: auto;
}

thead {
    width: 95%;
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
    height: 45px;
    text-align: center;
    padding: 10px;
}

thead th {
    padding: 5px;
}


tbody {
    font-size: 13px;
}

td {
    text-align: center;
    padding: 10px;
    width: 20px;
    border: 2px solid black;
}

table.display tbody tr:hover {
    background-color: #E3F2FD;
    cursor: pointer;
}

.out {
    background-color: #007bff;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    outline: none;
}

.out:hover {
    text-decoration:none;
    outline: none;
    background-color: #0069d9;
    border-radius: 5px;
    box-shadow:  0 0 10px rgba(0, 0, 205, 0.5);
    color: white;
}

.in {
    width: 20px;
    background-color: #007bff;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    outline: none;
}


.in:hover {
    text-decoration: none;
    outline: none;
    background-color: #0069d9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 205, 0.5);
    color: white;
}

/** FIN FORM SALIDA**/

/** OPEN MODAL **/
.inp {
    width: 100%;
    text-align: center;
    cursor: no-drop;
    outline: none;
    border: none;
}

.no_mood2 {
    width: 100%;
    font-size: 16px;
    text-align: center;
    border: none;
    padding: 5px;
    margin-bottom: 10px;
    cursor: not-allowed;
    outline: none;
    background-color: rgba(128, 128, 128, 0.1);
    margin-top: 5px;
    border-radius: 5px;
}

.modalDialogo {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: -60px;
    right: 0;
    bottom: auto;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
}

.modalDialogo:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialogo > div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 30px 30px 20px 40px;
    border-radius: 10px;
    background: white;
}

.modalDialogo label {
    font-weight: bold;
    margin-bottom: 5px;
}

.cerrar {
    text-decoration: none;
    cursor: pointer;
    background: red;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 1px 1px 3px #000;
}

.cerrar:hover {
    text-decoration: none;
    background: #A93226;
    color: black;
}

.btTxt {
    cursor: pointer;
    color: #1c464e;
    text-shadow: 1px 1px 0 #aaeaf7;
    border: 1px solid #289cb8;
    border-radius: 3px;
    background: #67bbcf;
    font-size: 16px;
    padding: 5px 20px;
    font-weight: bold;
    float: right;
    top: 170px;
    left: 1040px;
    position: absolute;
}

.btTxt:hover {
    background: #51b1c7;
}

/*/cuerpo*/
.sub {
    color: darkblue;
    font-weight: bold;
    font-size: 23px;
}


.form .namebox input[type="submit"] {
    width: 120px;
    height: 40px;
    cursor: pointer;
    color: white;
    border: 1px solid #28A745;
    border-radius: 3px;
    background-color: #28A745;
    font-size: 16px;
    padding: 5px 20px;
    border-radius: 5px;
}

.form .namebox input[type="submit"]:hover {
    background-color: #46A049;
    border-radius: 5px;
    outline: none;
    box-shadow: 0 0 14px rgba(40, 167, 69, .6);
}

/** MODAL 2 **/
.modalDialogo2 {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: -110px;
    right: 0;
    bottom: auto;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
}

.modalDialogo2:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialogo2 > div {
    width: 1000px;
    height: 600px;
    position: relative;
    margin: 10% auto;
    padding: 30px 30px 20px 40px;
    border-radius: 10px;
    background: white;
}

.modalDialogo2 label {
    font-weight: bold;
    margin-bottom: 5px;
}

.no_mood3 {
    width: 30%;
    font-size: 16px;
    text-align: center;
    border: none;
    padding: 5px;
    margin-bottom: 10px;
    cursor: not-allowed;
    outline: none;
    background-color: rgba(128, 128, 128, 0.1);
    margin-top: 5px;
    border-radius: 5px;
}

/** FIN MODAL 2 **/
/** FIN OPEN MODAL **/

/** INICIO VISTA REPORTES **/
.cont_rep {
    margin: auto;
    width: 600px;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 120px;
}

.cont_rep a{
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    color: black;
    font-weight: bold;
    border: 1px solid #091A33;
    padding: 10px;    
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    border-radius: 5px;
}

.cont_rep a:hover{
    background-color: #B32328;
    color: white;
    border: 1px solid #B32328;
    box-shadow: 0 0 11px rgba(20, 30, 69, .5);
}
/** FIN VISTA REPORTES **/

/** FOOTER **/

footer {
    width: 100%;
    height: 50px;
    background-color: #757575;
    z-index: 1;
    /*border-top: 2px solid #D52B1E;*/
    box-shadow: inset 0 2px 0 0 #D52B1E;
    display: flex;
    color: #fff;
    justify-content: space-between;
    margin-top: auto;    
}

.pie_pagina1 {
    float: left;
    width: 30%;
    margin-top: 15px;
    margin-left: 15px;
    font-size: 14px;
}

.pie_pagina2 {
    float: right;
    margin-top: 15px;
    margin-right: 15px;
    font-size: 14px;
}
