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

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

.bg-default-reversed {
    background: black;
}

body {
    font-family: Palatino, Georgia, serif;
    font-size: 13pt;
    line-height: 16pt;
    text-rendering: optimizeLegibility;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 8px;
    overflow: scroll;
    overflow-x: hidden;
}

#banner {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 60px;
    width: 100%;
    background: #DDD;
    border-bottom: 10px solid white;
}

#colbanner {
  position: relative;
  height: 100%;
  width: 680px;
  margin-left: auto;
  margin-right: auto;
}

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

@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;
    }
}

#gametitle {
  color: #006;
  font-size: 16pt;
  padding-top: 16px;
}

#outlinks {
  position: absolute;
  top: 10px;
  right: 20px;
  text-align: right;
}

#inlinks {
  position: absolute;
  top: 10px;
  left: 20px;
  text-align: left;
}

.HeaderTab {
  color: #777;
  font-size: 8pt;
  line-height: 11pt;
}

.HeaderTab a {
  color: #66C;
}

.centerblock {
    text-align: center;
}

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

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

#about {
    text-align: left;
    margin: 0 auto;
    margin-top: 70px;
}

.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: 13pt;
}

.finished-input {
    color: #070;
    font-size: 13pt;
}

/* 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;
}
