﻿/* 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. */

h2 {
    margin-bottom: .5em;
}

.index-header {
    align-items: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: right;
    height: 48px;
}

.logout-link {
    background-color: #f8d7da;
    color: #842029;
}

.login-link {
    background-color: #d1e7dd;
    color: #0f5132;
}

.login-link,
.logout-link {
    border: none;
    border-radius: 4px;
    margin-right: 48px;
    padding: 5px 10px;
}

.login-title {
    background-color: #d1e7dd;
    color: #0f5132;
    margin-bottom: .5em;
    padding: .5em 0;
}

.login-title-error {
    background-color: #f8d7da;
    color: #721c24;
    margin-bottom: .5em;
    padding: .5em 0;
}

.login-subtitle {
    font-size: 1.6em;
}

.login-wrapper {
    background-color: #f8f9fa;
    border: 2px solid #0f5132;
    border-radius: 8px;
    margin: 50px auto 0;
    max-width: 480px;
    overflow: hidden;
    text-align: center;
    width: 90%;
}

.login-button {
    background-color: #E4E7EB;
    border: none;
    border-radius: 8px;
    height: 60px;
    margin-bottom: 1em;
    width: 120px;
}

.login-button:hover {
    background-color: #d1e7dd;
}

.signin-div {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
}

.button-link {
    background-color: #E4E7EB;
    border-radius: 5px;
    color: #000;
    padding: 1em 2em;
}

.k-grid-content {
    height: auto !important; 
}

.k-grid tbody tr {
    line-height: 1em;
}

.div-signup {
    margin-top: 5em;
}

.main-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 2em;
}

.employee-table {
    width: 55%;
}

.visitor-table {
    width: 35%;
}

.main-form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 40%;
}

.header-link {
    color: #000;
    display: block;
}

.label {
    font-weight: bold;
}

.div-input {
    margin-bottom: 2em;
}

    .div-input input {
        height: 3em;
        text-indent: 1em;
        width: 100%;
    }

.button {
    background-color: #E4E7EB;
    border: none;
    border-radius: 5px;
    height: 3em;
    margin: 3em auto 0;
    text-align: center;
    width: 50%;
}

/* 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;
  left: 0;
  height: 120px;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* @media */

@media (max-width: 1300px)
{
    .main-wrapper {
        flex-direction: column-reverse;
        justify-content: normal;
        text-align: center;
    }

    .employee-table {
        margin: 0 auto;
        width: 100%;
    }

    .visitor-table {
        margin: 0 auto 3em;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 800px)
{
    .hide-on-mobile {
        display: none;
    }

    .main-form {
        width: 90%;
    }

    .button {
        width: 80%;
    }

}