/* Fonts */
@font-face {
    font-family: 'Times New Roman';
}
@font-face {
    font-family: 'Arial';
}

/* Overall */
html, body { 
    width:100%; 
    height:100%; 
    margin:0; 
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #FFFFFF;
    font-size: 16px;
    font-smooth: never;
    -webkit-font-smoothing : none;
}

/* Windows */
.window {
    padding: 4px;
    background-color: white;
    box-shadow:
        inset 0 0 0 1px black,
        inset 0 0 0 3px lightgrey,
        inset 0 0 0 4px black;
}

.windowheader {
    background-color: lightgrey;
    color: black;
    border-bottom: 1px solid black;
    font-size: 14px;
    height: 20px; 
}

.selectedwindow .windowheader {
    background-color: lightgreen;
    color: black;
}

.windowtitle {
    padding: 2px;
    line-height: 16px;
    text-align: center;
    cursor: default;
}

.windowclose {
    float: left;
    display: inline-block;
    width: 50px;
    height: 19px;
    padding: 0 0 0px 0px;
    background-color: lightgrey;
    border-right: 0px solid black;
    font-size: 20px;
    color: black;
    font-weight: none;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: black;
    text-shadow: 0px 0px darkgrey;
    cursor: default;
}

.windowmenubar {
    background-color: white;
    border-bottom: 1px solid black;
    font-size: 14px;
    height: 12px;
    padding: 4px;
    line-height: 16px;
    cursor: default;
}

.windowclose::before {
    content: 'Exit';
}

.ui-icon-gripsmall-diagonal-se {
    background-image: none !important;
}

/* Window contents */
.windowinner {
    height: calc(100% - 21px);
    width: 100%;
    overflow: hidden;
}
.windowmenubar + .windowinner {
    height: calc(100% - 42px) !important;
}

.fullwindowhtml {
    padding: 0px 8px;
}

textarea.fullwindowtextarea {
    padding: 5px;
    width: 100%;
    height: 100%;
    resize: none;
    border: none;
    outline: none;
    font-family: 'WinThreeOne', sans-serif;
    font-size: 12px;
}

textarea.fullwindowdosprompt {
    padding: 5px;
    width: 100%;
    height: 100%;
    resize: none;
    border: none;
    outline: none;
    background-color: black;
    color: lightgrey;
    font-family: 'DOS', monospace;
    font-size: 16px;
}

/* Icons */
.icon {
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.icon p {
    display: block;
    margin: 5px auto 0 auto;
    padding: 2px;
    cursor: default;
}

.icon p.highlight {
    background-color: darkblue;
    color: white;
}

/* DOOM */
#doomcanvas {
    background-color: black;
    width: 640px;
    height: 480px;
}