﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* face */

.face-container {
    width: 100%;
    height: 480px;
    position: relative;
}

    .face-container #face_canvas {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: border-box;
        border: 5px solid silver;
    }

    .face-container #face_canvas_detection {
        z-index: 9;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        border: 5px solid silver;
        opacity: 0.9;
    }

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Custom */


.login-avatar {
    height: 70%;
}

.log-image {
    max-width: 100px;
    max-height: 100px;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.table-list-employees {
    position: relative;
    height: calc(50vh);
    overflow: auto;
}

.webcam-to-click {
    box-sizing: border-box;
    border: 5px solid silver;
}

.webcam-clicked {
    box-sizing: border-box;
    border: 5px solid blue;
    opacity: 0.6;
}

.img-person {
    width: 100%;
}

.btn-action {
    font-size: 4em;
}

.collapsing {
    x-transition: none;
}

.window-width {
    max-width: 1200px;
}

.webcam-hide {
    height: 0px;
    overflow: hidden;
}

.webcam-col {
    width: calc(60vw);
    max-width: 640px;
}

.webcam-col-home {
    max-width: 320px;
}

.webcam-container {
    width: 100%;
}
    /*
    .webcam-container .video {
        position: relative;
        width: 100%;
        padding-top: 75.00%;
    }

    .webcam-container .canvas {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        text-align: center;
        font-size: 20px;
        color: white;
    }
    */

    .webcam-container canvas,
    .webcam-container img {
        width: 100%;
        height: 100%;
    }

    .webcam-container canvas {
        background-color: lightgray;
    }

    .webcam-container img {
        object-fit: cover;
        border: 1px solid lightgray;
    }


.blockMsg {
    font-size: 2em;
    padding: 1em !important;
    color: mediumvioletred !important;
}
