html {
    -webkit-text-size-adjust: none;
}

.fg-default-reversed {
    color: white;
}

.bg-default-reversed {
    background: #547;
}

body {
    background-color: white;
    font-family: Palatino, Georgia, serif;
    text-rendering: optimizeLegibility;
    text-align: center;
    font-size: 1.0em;
    line-height: 1.3em;
    margin-top: 0px;
    margin-bottom: 8px;
    overflow: scroll;
    overflow-x: hidden;
}

#content {
    width: 700px;
    text-align: left;
    margin: 0 auto;
    margin-top: 0px;
}

@media screen and (max-device-width: 480px) {

    #banner {
        width: 320px;
    }

    #colbanner {
        width: 320px;
    }

    #content {
        width: 320px;
    }

    #gametitle {
        text-align: left;
        padding-left: 10px;
    }

    #inlinks {
        display: none;
    }
}

.centerblock {
    text-align: center;
}

.buffered-window {
    text-align: center;
    margin: 0 auto;
    font-family: Monaco, "Andale Mono", Consolas, monospace;
    font-size: 0.9em;
    top: 0px;
    left: 0px;
    position: fixed;
    z-index: 0;
}

#top-window {
    z-index: 1;
}

.LineInput {
    display: inline;
}

.LineInput input {
    border: none;
    margin: 0px;
    padding: 0px;
    outline-width: 0px;
    outline-style: none;
    font-family: inherit;
    background: none;
    color: #070;
    font-size: 1.0em;
}

.finished-input {
    color: #070;
    font-size: 1.0em;
}

/* A generic character input */
.CharInput {
    left: -99em;
    position: absolute;
}

.z-roman {
}

.z-bold {
    font-weight: bold;
}

.z-italic {
    font-style: italic;
}

.z-fixed-pitch {
    font-family: Monaco, "Andale Mono", Consolas, monospace;
    white-space: pre;
    font-size: 10pt;
}

.z-breaking-whitespace {
    white-space: normal;
}

#top-window .z-bold {
    text-decoration: underline;
    font-variant: normal;
}

.error {
    background: red;
    color: white;
    padding: 10px;
    margin: 10px;
}

#loading-screen {
    padding: 50px;
    text-align: center;
    color: gray;
    font-size: 18pt;
}
