body {
    font-size: .875rem;
}

.bg-main {
    background-color: #2b3843;
}

.es6object #browser-info {
    display: none;
}

.spacer {
    height: 1px;
    width: 80%;
    transform: translateX(10%);
    border-bottom: 1px #e5e5e5 solid;
}

/*
* Header
*/

.app-headline {
    color: white;
}

#header a img {
    width: 200px;
}

#userinfo_dropdown {
    display: none;
    margin-right: 2rem;
}

#userinfo_dropdown.show {
    display: block;
}

#userinfo_menu.show {
    display: block;
    transform: translateX(-115px);
}

/*
* Sidebar
*/

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    padding: 48px 0 0;
    /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.nav-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-sublist > li {
   margin-left: 15px;
}

.nav {
    flex-direction: column;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather, .sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
* Navbar
*/

#header-logo {
    cursor: pointer;
}

.navbar-brand {
    padding-top: .5rem;
    padding-bottom: .5rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
* Main
*/

main {
    padding: 2rem;
}

.main {
    margin-bottom: 2rem;
}

/*
* Popup
*/

.popup-frame {
    position: fixed;
    padding-top: 100px;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-container {
    margin: auto;
    padding: 2rem;
    width: 80%;
    background-color: #fefefe;
    border: 1px solid #888;
    max-width: 35rem;
}

input#login_password, input#forgot_personid {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

input#login_personId {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

button#login_button {
    margin-bottom: 0.5rem;
}

div#login_links {
    margin-bottom: 0.5rem;
}

.popup-container div#alertBox {
    margin-bottom: 0rem;
}

p#login_info {
    margin-bottom: 0rem;
}

/*
* Calendar
*/
.calendar {
    width: 100%;
}

.calendar th {
    text-align: center;
    line-height: 2rem;
    background-color: var(--blue);
    color: white;
}

.calendar th, .calendar td {
    border: 1px solid #e5e5e5;
}

.calendar td {
    padding: 0;
}

.day-cell {
    min-width: 4rem;
    min-height: 4rem;
    padding: 0.25rem;
}

.day-number, .month-name {
    float: right;
    font-size: 1rem;
    width: 2rem;
    height: 2rem;
    text-align: center;
    color: #333
}

.month-name {
    float: left;
    font-weight: 500;
}

/* Hightlight current Day */
.day-current .day-number {
    background-color: var(--blue);
    color: white !important;
    border-radius: 50%;
    font-weight: 500;
    width: 1.5rem;
    height: 1.5rem;
}

.day-current .month-name {
    color: white !important;
}

/* Disabled day */
.day-cell.day-disabled .day-number {
    color: lightgray;
}

.day-cell.day-clickable {
    cursor: pointer;
}

.day-cell.day-active {
    background-color: lightBlue;
}

.day-cell.day-exchange {
    background-color: lightYellow;
}

.day-cell.day-active .day-number,
.day-cell.day-active .month-name {
    color: black;
}

/*
* Canteen Entry
*/

.canteenentry_info_name{
    font-size: xx-large;
    font-family: helvetica;
    text-align: center;
}

.canteenentry_info_container{
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: xxx-large;
    font-family: helvetica;
}

.canteenentry_info_text{
    vertical-align: middle;
    display: inline-block;
    line-height: normal;
}

.inp-person-search {
    max-width: 29rem;
    width: 100% !important;
}

.btn-person-search {
    margin-left: 1rem;
}

.personTable tr td {
    cursor: pointer;
}

/*
* Canteen Booking
*/

.day-entry {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
}

.day-entry .bubble {
    content: ' ';
    width: 0;
    height: 0;
    /* border: 4px solid var(--<color>); */
    border-radius: 8px;
    margin: 0.35rem 0.5rem 0 0.25rem;
    font-size: 0px;
}

.day-cell.day-active .day-entry {
    color: black;
}

.day-warning {
    background-color: var(--warning);
}

.day-select option:disabled {
    color: lightgray;
}

.person-selection input {
    width: 70% !important;
}

/*
* Icons (https://fonts.google.com/icons)
*/

.material-symbols-outlined {
  font-size: 14px;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 12
}