* {
    margin: 0;
    padding: 0;
}

html, body {
    background: #000;
    color: #fff;
    font-size: 16px;
}


h1 {
    margin-top: 12px;
    font-size: 24px;
    text-align: center;
    line-height: 32px;
}

h1 a {
    font-size: 18px;
}

a {
    color: #fff;
    text-decoration: none;
}


/* --> */

header {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

header ol {
 display: inline-table;
}

header ol li {
    display: table-cell;
    padding: 0 20px;
}

header ol li a {
    display: block;
    color: #fff;
    text-decoration: none;
    line-height: 32px;
}

/* --> */

dl {
    max-width: 480px;
    margin: auto;
    padding: 20px;
}

dl dt {
    font-weight: bold;
    line-height: 32px;
    text-align: center;
}


/* --> */

.button {
    display: block;
    border: 2px dashed #000;
    border-radius: 12px;
    color: #fff;
    font-size: 34px;
    line-height: 90px;
    text-align: center;
    text-decoration: none;
}

.button.attendan {
    border-color: rgba(0, 255, 0, 0.35);
    color: rgba(0, 255, 0, 0.35);
}

.button.away {
   border-color: rgba(255, 0, 0, 0.35);
   color: rgba(255, 0, 0, 0.35);
}

/* --> */

#calendar {
    position: absolute;
    top: 64px;
    left: 50%;
    display: grid;
    margin: auto;
    grid-template-columns: 50px 50px 50px 50px 50px 50px 50px;
    column-gap: 2px;
    row-gap: 2px;
    transform: translateX(-50%);
}

#calendar a {
    position: relative;
    display: block;
    border: 1px solid #fff;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
}

#calendar a.empty {
    border-color: #666;
    color: #666;
}

#calendar a.open {
    border-color: #990000;
    color: #990000;
}

#calendar a.ok {
    border-color: green;
    color: green;
}

#calendar a.plus {
    border-color: rgb(1, 71, 1);
    background-color: rgb(1, 71, 1);
}

#calendar a.error {
    border-color: #666;
    color: #666;
}

#calendar a.vacation {
    background-color: purple;
}

#calendar a.sick {
    background-color: orange;
    border-color: orange;
    color: #000;
}

#calendar .tooltip {
    position: absolute;
    z-index: 99;
    top: 120%;
    left: 0px;
    width: 160px;
    padding: 0 12px;
    border: none;
    border-radius: 12px;
    background-color: #333;
    color: #fff;
    line-height: 24px;
    text-align: left;
}

/*
#calendar div:hover::after, #calendar div:focus::after, */