body {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	color: #000;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	}
.hidden {
	display: none;
	}
.highlight {
	font-weight: bold;
	}
#header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background: rgb(15, 94, 173);
	z-index: 100;
	display: grid;
	grid-template-columns: 1fr 1.3fr 1fr;
	padding: 1em 0 1em 0;
	}
#header {
	color: #fff;
	}
.logo {
	position: relative;
    top: 5px;
	}


#links {
	display: grid;
	grid-template-columns: 5fr 1fr;
	}
#commands * {
	margin-right: 1em;
	}
#commands > div {
	display: inline;
	}
#login {
	text-align: right;
	cursor: pointer;
	}
.icon {
	width: 1.5em;
	}

#bottom {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background: rgb(15, 94, 173);
    padding: 1em;
    text-align: center;
    font-size: 0.7em;
    color: #eee;
	}

#formElements {
	color: #000;
	position: absolute;
	padding: 10px;
	background: lightgray;
	margin-top: 1em;
    margin-left: -180px;
	}

div.inputElement {
	display: grid;
	grid-template-columns: 100px 200px;
	}
.error {
	display: block;
	width: 100%;
	color: red;
	font-weight: bold;
	text-align: center;
	}
#uploadOutcome {
	color: red;
	font-weight: bold;
	margin-bottom: 1em;
	}

#main {
	margin-top: 1em;
	width: 100%;
	border: 0;
	left: 0;
	display: grid;
	grid-template-columns: 1fr 1.3fr 1fr;
	}
#center {
	margin: auto;
    max-height: 80vh;
	width: 100%;
	}
#center > div {
	max-width: 100%;
	}

.grid3 {
	display: grid;
	margin: auto;
	max-height: 65vh;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid grey;
	}
.row3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 0.5em;
	}
.row3 * {
	text-align: center;
	}
.span-two {
	grid-column: span 2;
	}
.span-three {
	grid-column: span 3;
	}
	
.row3:first-child {
	padding: 5px;
	background: lightgray;
	font-weight: bold;
	}

.row3:nth-child(odd) {
	background: #eee;
	}

.files img.file-icon {
	border: 2px solid brown;
	width: 50px;
	}
.download {
	width: 1.5em;
	margin-left: -32px;
	margin-bottom: 2px;
	background: #fff;
	}
.seq_date {
	font-size: 0.8em;
	}
.file {
	align-self: center;
	}
.hx {
	cursor: pointer;
	}

.filename {
	white-space: nowrap;
	}
.upload-form {
	margin: 1em auto;
	width: auto;
	}

#previewContainer {
	position: fixed;
	width: 100%;
	top: 4em;
	min-height: 50vh;
	z-index: 1000;
	background: #fff;
	}
#previewWindow {
    z-index: 1000;
	padding: 1em;
	font-family: monospace;
    background: #fff;
    white-space: pre;
    font-size: 0.9em;
	border: 10px solid brown;
	overflow: hidden;
	margin: auto;
	width: 40%;
	height: 80vh;
	cursor: move;
	}
#preview {
	display: block;
	}
#pdfViewer {
	height: 75vh;
	}
#ascii-close {
	cursor: pointer;
    z-index: 2000;
    position: relative;
    width: 4em;
    background: #fff;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
	user-select: none;
	}
.noselect, label, .link, .hk {
	user-select: none;
	}
.line_highlight {
	border: 1px solid grey;
	}

@keyframes hshake {
	25% { transform: translate(5px, 0) }
	50% { transform: translate(-5px, 0) }
	75% { transform: translate(5px, 0) }
	100% { transform: translate(0) }
	}
.hshake {
	animation: hshake 0.25s ease-in-out 1;
	}

h1, h2, h3, h4, h5, h6 {
	color: rgb(15, 94, 173);
	}
li {
	margin-top: 0.5em;
	}
ul {
	margin-left: -1.2em;
	}

@media only screen and (max-width: 600px) {
	#header, #main {
		grid-template-columns: 10px auto 10px;
		}
	#center {
		width: 90%;
		}
	#previewWindow {
		width: initial;
		}
	#preview {
		width: initial;
		}
	.formDynamic {
		right: 10px;
		}
	#formElements {
		margin-left: -250px;
		}
	#ascii-close {
		margin-left: -5em;
		}
	input[type='file'] {
		margin-top: 1em;
		}
	}