html {
    font-family:'Calibri', Verdana, Arial, 'Lucida Console', Courier, sans-serif;
    background-image:url('/images/background.png');
}
a {
    color:inherit;
    text-decoration:inherit;
}
footer a {
    text-decoration:underline;
}
section a:hover {
    text-decoration:underline;
}
.header {
    height:50px;
    background-color:darkgray;
    padding:5px;
    position:relative;
    width: calc(100% - 10px);
    margin-bottom:5px;
    z-index: 200;
}
.header-logo {
    background-image:url('/images/favicon.png');
    background-size:48.5px;
    width:48.5px;
    height:48px;
    float:left;
    margin:1px 4px;
}
.header-text {
    float:left;
    font-family:'Quantico', 'Miriam Libre', Verdana, Arial, 'Lucida Console', Courier, sans-serif;
    height:100%;
    margin:1px 7px;
    line-height:22px;
    text-align:center;
    cursor:pointer;
}
.header-toggle {
    display:none;
    background-image:url('/images/menu.png');
    background-size: 100%;
    background-repeat: no-repeat;
    width:48px;
    height:48px;
    padding:1px;
    right:16px;
    opacity: 0.8;
    z-index: 300;
}
.header-button {
    font-family:'Quantico', 'Miriam Libre', Verdana, Arial, 'Lucida Console', Courier, sans-serif;
    padding:1px 10px;
    font-size:16px;
    line-height:48px;
    height:48px;
    float:left;
    display:block;
    background-color:lightgray;
    cursor:pointer;
}
.header-button.disabled {
    background-color:gray;
}
.header-button:hover {
    background-color:white;
    border-bottom:5px solid blue;
}
.header-button.disabled:hover {
    background-color:darkgray;
    border-bottom:5px solid silver;
}
.header-button.self-link {
    background-color:white;
    border-bottom:5px solid darkblue;
}
@media (max-width: 1000px) {
    .header-toggle {
        display:block;
        position:absolute;
    }
    nav {
        display:none;
        position:absolute;
        left:0px;
        top:0px;
        width:100%;
        z-index: 250;
    }
    .header-button {
        float:none;
        height: 58px;
        line-height: 58px;
    }
    .header-button:hover {
        border-bottom:none;
    }
    .header-button.disabled:hover {
        border-bottom:none;
    }
    .header-button.self-link {
        border-bottom:none;
    }
}

#navbg {
    position: fixed;
    inset: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.4);
    z-index: 100;
}

#sign-in-screen {
    position: fixed;
    inset: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.4);
    z-index: 100;
}

#firebaseui-auth-container {
    background-color: #FFFFFF;
}

.commentBox { 
    background-color: #FFFFFF;
    display: table;
    padding: 8px;
    border: 1px solid black;
    margin: 2px;
    border-radius: 4px;
}

.commentBox.invisible {
    background-color: #DFDFDF;
}

#comment-preview {
    background-color: rgba(255,255,255,0.6);
    border: 1px dotted black;
}

.commentTitle { 
    border-bottom: 1px solid gray;
    margin-bottom: 2px;
}

.commentTextarea { 
    /* max-height: 320px; */
    overflow-y: auto;
    scrollbar-width: none;
}

blockquote {
    border: 1px solid black;
    padding: 8px;
    background-color: #EFEFEF;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 16px;
    margin-right: 16px;
}

blockquote cite {
    font-weight: bold;
    display: block;
    font-size: 1em;
    margin: 0;
    padding: 0;
    border-bottom: none;
}

details > summary {
    cursor: pointer;
    text-align: center;
}

details[open].once > summary {
    display: none;
}