body {
    background-color: #555555;
    font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #efefef;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
header {
    background-color: #222222;
    border-bottom: groove 3px #888888;
    margin-bottom: 1.5rem;
}
.brand {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
    margin: 1rem 0;
}
.brand a {
    display: flex;
    justify-content: start;
    align-items: start;
}
#site-logo {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: .5rem;
    background-image: url(/img/android-icon-96x96.png);
    background-size: contain;
    background-repeat: no-repeat;
}
#site-name {
    line-height: 1em;
    padding-top: 0.6rem;
}
#main-nav {
    padding: 1.25rem 0 0 0;
}
#main-nav .nav-item a {
    font-weight: 600;
    padding: 0 0 0 1rem;
}
.table {
    color: #222222;
}
#app {
    position: relative;
}
#app-header {
    position: absolute;
    display: block;
    height: 50px;
    background-color: #22222255;
}
#app-header.fix-top {
    position: fixed;
    top: 0;
}
#app-header .arrow-back {
    display: inline-block;
    background-image: url(../img/arrow-back.svg);
    background-size: contain;
    background-position: 3px 3px;
    background-repeat: no-repeat;
    width: 44px;
    height: 44px;
    color: white;
}
#tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    gap: 1.5rem;
}
a.tile {
    display: block;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: #999999;
    width: 100%;
    max-width: 500px;
    height: 100px;
    text-align: center;
}
.admin-tile {
    display: block;
    width: 50%;
    max-width: 400px;
    min-height: 200px;
    text-align: center;
    border-radius: 5px;
    border: solid 1px #aaaaaa;
    padding: 2rem
}
.admin-tile:hover {
    text-decoration: none;
    box-shadow: 2px 2px #aaaaaa;
}
.admin-tile .icon::before {
    display: block;
    font-family: bootstrap-icons !important;
    font-size: 4rem;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    content: "\f392";
    margin: 2rem;
}
#schedule.admin-tile .icon::before {
    content: "\f1f6";
}
#template.admin-tile .icon::before {
    content: "\f38b";
}
.admin-tile label {
    display: inline-block;
    color: #efefef;
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}
.tile .label {
    padding-top: 20px;
    display: inline-block;
    color: #efefef;
    font-size: 3rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    /*
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #333333;
    */
}
#morning.tile {
    background-image: url(/img/tile-morning-1.png);
}
#midday.tile {
    background-image: url(/img/tile-midday-1.png);
}
#afternoon.tile {
    background-image: url(/img/tile-afternoon-1.png);
}
#evening.tile {
    background-image: url(/img/tile-evening-1.png);
}
#lectio.tile {
    background-image: url(/img/tile-lectio-1.png);
}
#settings.tile {
    background-image: url(/img/tile-settings-1.png);
}
/* Result Control */
@keyframes slidedown {
    from { top: -5rem; }
    to { top: 1rem; }
}
@keyframes slideup {
    animation-delay: 5s;
    from { top: 1rem; }
    to { top: -5rem; }
}
.result {
    position: fixed;
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 1rem;
    margin: 1rem;
    top: 1rem;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 5px;
    min-width: 15rem;
    text-align: center;
    border: solid 2px #555555;
    z-index: 1000;
    animation-name: slidedown, slideup;
    animation-duration: 800ms, 800ms;
    animation-delay: 0s, 3s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}
.result-warning {
    background-color: #fff3cd;
    color: #664d03;
}
.result-failure {
    background-color: #f8d7da;
    color: #842029;
}

@media all and (max-width: 900px) {
    header, footer {
        display: none;
    }
    .app {
        min-height: 100vh;
    }
    #tiles {
        padding-top: .5rem;
        gap: .25em;
    }
}