

body {
    --sidebar-width: 1px;
    --topmenu-height: 74px;
    --label-width: 9em;
    --bgcolor: #fffd;
}

legend {
    white-space: nowrap;
    overflow-x: hidden;
}


.form-control.status {
    display: inline-block;
    width: 8em !important;
}


body {
    background-image: url( '/images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

whitewash {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--bgcolor);
}

.lib-curtain {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.for-small {
    display: none;
}

@media (max-width: 960px) {
    .for-small {
        display: unset;
    }

    tr.for-small {
        display: table-row;
    }

    .for-large {
        display: none;
    }
}



.dialog-outer {
    max-width: 100%;
    position: absolute !important;
    margin: unset;
    background-color: var(--bgcolor);
}

    .dialog-outer.dialog-outer-page {
        max-width: 100%;
        position: relative !important;
        top: unset;
        left: unset;
        transform: unset;
        margin: auto;
        z-index: 999997 !important;
        background-color: var(--bgcolor) !important;
    }

nav.navbar {
    z-index: 999
}

div.main-layout-body {
    display: block;
    width: 100%;
}

div.page.project-Translate {
    display: block !important;
}

nav {
    z-index: 999998 !important;
}

    nav.navbar.bg-white {
        background-color: var(--bgcolor) !important;
    }


div.main-layout-body:not(:has(form)) {
    width: 1024px;
    max-width: calc(100% - 2em);
    margin: auto;
    padding: 1em;
    border: 1px solid black;
    border-radius: 1em;
    box-shadow: #0002 1em 1em 1em;
    background-color: var(--bgcolor) !important;
}

.big-button {
    width: 10em;
    height: 6em;
    font-family: 'Comic Sans MS';
    font-size: 200%;
    vertical-align: middle;
    align-content: center;
    margin: 8px;
}


.big-font {
    font-family: 'Comic Sans MS';
    font-size: 200%;
}

.navbar-brand img {
    height: 50px;
}

div.month-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
}

div.month-outer {
    vertical-align: top;
    display: inline-block;
    height: 14em;
    width: 14em;
    text-align: left;
    margin: 0.5em;
    /*border: 1px solid black;*/
}

div.calendar-day {
    display: inline-block;
    height: 2em;
    width: 2em;
    text-align: center;
    margin-left: -1px;
    margin-bottom: -1px;
    padding: 2px;
    border: 1px solid black;
    color: black;
    user-select: none;

    &.daytype-off {
        background-color: #999;
        color: #eee;
    }

    &.daytype-planned {
        background-color: #999;
        color: #eee;
        cursor: pointer;
    }

    &.daytype-unplanned {
        background-color: #300;
        color: #fff;
        cursor: pointer;
    }

    &.daytype-none {
        border: 1px solid #0000;
    }

    &.daytype-on {
        cursor: pointer;
    }

    &.daytype-on-future {
        cursor: pointer;
        background-color: #ddd;
    }
}

.day-key {
    display: inline-block;
    margin-right: 1em;
}

div.week-day-outer {
    display: inline-block;
    height: 1.5em;
    width: 1.5em;
    border: 1px solid black;
    text-align: center;
}
