body {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 14px;
	background-color: #f8f8f8;
	margin: 0;
	padding: 0;
    -webkit-tap-highlight-color: transparent;
}

header
{
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	height: 70px;
	vertical-align: top;
	z-index: 100;
}
#header_content
{
	width: 940px;
	margin: 4px auto 0 auto;
	padding: 0;
	position: relative;
	max-width: 100%;
	height: 65px;
	border-bottom: 1px #eee solid;
}
a#site_logo #slogoCircle
{
	fill: #f73d44;
	-webkit-transition: fill 0.33s ease;
	-moz-transition: fill 0.33s ease;
	transition: fill 0.33s ease;
}
a#site_logo:hover #slogoCircle { fill: #ff454b; }

#gradient
{
	position: absolute;
	display: block;
	left: 0;
	top: 70px;
	width: 100%;
	margin: 0;
	padding: 0;
	height: 5px;
	background: -moz-linear-gradient(top, rgba(248,248,248,0.5) 0%, rgba(248,248,248,0) 100%);
	background: -webkit-linear-gradient(top, rgba(248,248,248,0.5) 0%,rgba(248,248,248,0) 100%);
	background: linear-gradient(to bottom, rgba(248,248,248,0.5) 0%,rgba(248,248,248,0) 100%);
	pointer-events: none;
}

main
{
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 826px;
	min-height: 100vh;
	margin: 0 auto;
	padding: 90px 20px 160px 20px;
	vertical-align: top;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 15px;
	line-height: 22.5px;
	color: #000;
	letter-spacing: 0.002em;
	-webkit-font-smoothing: antialiased;
}

footer
{
	display: block;
	width: 100%;
	height: 120px;
	margin: -120px 0 0 0;
	padding: 0;
	background-color: #d3eef4; /*rgba(155,224,239,0.4);*/
	vertical-align: top;
}
#footer_content
{
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	width: 940px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	border-top: 1px rgba(0,0,0,0.066) solid;
	position: relative;
}
#siteinfo
{
	position: absolute;
	top: 37px;
	left: 20px;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 11px;
	color: #8da0a4; /*rgba(0,0,0, 0.33);*/
	margin: 0;
	padding: 0;
}
#siteinfo a {
	color: inherit;
	white-space: nowrap;
	text-decoration: none;
	-webkit-transition: color 0.33s ease;
	-moz-transition: color 0.33s ease;
	transition: color 0.33s ease;
}
#siteinfo a:hover { color: #416870; /*rgba(40,80,89,0.85);*/ }
#siteinfo a:active { color: #f73d44; /*rgba(247,61,68,1);*/ }

section { margin: 0; padding: 0; }

main h1
{
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 30px;
	margin: 27px 0 15px 0;
	line-height: 32px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#pageNav
{
	display: none;
	position: absolute;
	top: 103px;
	right: 0;
}

#pageNav ul
{
	display: block;
	list-style: none;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#pageNav ul li
{
	display: block;
	float: left;
	position: relative;
	box-sizing: border-box;
	width: 50px;
	height: 50px;
	margin: 0 0 0 3px;
	padding: 7px 9px 11px 9px;
	border-radius: 50%;
	cursor: pointer;
}

#pageNav ul li:after
{
	content: '';
	width: 100%;
	height: 100%;
	display: block;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 1;
}

#pageNav ul li:active { background-color: #a0a1a2; }

#pageNav_front { background-color: #bcbdbf; }
#pageNav_front:after { background-image: url(images/btn-front.png); }
#pageNav_punch { background-color: #97dc92; }
#pageNav_punch:after { background-image: url(images/btn-punch.png); }
#pageNav_reader { background-color: #9bd1de; }
#pageNav_reader:after { background-image: url(images/btn-read.png); }
#pageNav_execute { background-color: #f84f55; }
#pageNav_execute:after { background-image: url(images/btn-execute.png); }

#pageNav_front:hover,#pageNav_front:focus { background-color: #b4b5b6; }
#pageNav_punch:hover,#pageNav_punch:focus { background-color: #7fda77; }
#pageNav_reader:hover,#pageNav_reader:focus { background-color: #86cedc; }
#pageNav_execute:hover,#pageNav_execute:focus { background-color: #f83539; }


#pageNav ul li:before
{
	display: none;
	content: attr(aria-label);
	position: absolute;
	width: 50px;
	top: -24px;
	left: 0;
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
	color: #444;
	letter-spacing: 0.003em;
	z-index: 2;
}

#pageNav ul li:hover:before,
#pageNav ul li:focus:before {
	display: block;
	-webkit-animation: warning_fadein 0.2s ease-in normal forwards;
	animation: warning_fadein 0.2s ease-in normal forwards;
}

main a
{
	color: #d2383d;
	text-decoration: underline;
	-webkit-text-decoration-color: #ec3b42;
	-moz-text-decoration-color: #ec3b42;
	text-decoration-color: #ec3b42;
	transition: all 0.25s ease;
}
main a:visited
{
	-webkit-text-decoration-color: #8f5658;
	-moz-text-decoration-color: #8f5658;
	text-decoration-color: #8f5658;
}
main a:hover,
main a:focus
{
	-webkit-text-decoration-color: #62a9b9;
	-moz-text-decoration-color: #62a9b9;
	text-decoration-color: #62a9b9;
}
main a:active
{
	color: #f73d44;
	-webkit-text-decoration-color: #f79d3d;
	-moz-text-decoration-color: #f79d3d;
	text-decoration-color: #f79d3d;
}


#front
{
	margin: 0 auto;
}

#frontSelector
{
	display: flex;
	margin: 5em 0 3em 0;
	width: 100%;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: nowrap;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	box-sizing: content-box;
	height: 237px;
}

#frontSelector button
{
	display: block;
	border: none;
	margin: 0;
	padding: 88px 0 0 0;
	width: 237px;
	height: 237px;
	box-sizing: border-box;
	border-radius: 50%;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 0;
	letter-spacing: 0.003em;
	color: #f8f8f8;
	text-align: center;
	vertical-align: top;
	background-position: center 5px;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
	position: relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#frontSelector button:hover,#frontSelector button:focus { color: #fbfbfb; }
#frontSelector button:active { background-color: #a0a1a2; color: #f8f8f8; }
/* #frontSelector button:active { background-color: #f79e1e; color: #f8f8f8; } */

#btnGoPunch { background-color: #97dc92; background-image: url(images/btn-punch.png); }
#btnGoRead { background-color: #9bd1de; background-image: url(images/btn-read.png); }
#btnGoExecute { background-color: #f84f55; background-image: url(images/btn-execute.png); }

#btnGoPunch:hover,#btnGoPunch:focus { background-color: #7fda77; }
#btnGoRead:hover,#btnGoRead:focus { background-color: #86cedc; }
#btnGoExecute:hover,#btnGoExecute:focus { background-color: #f83539; }

#btnGoExecute.noStack:after
{
	content: 'No card stack loaded!';
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: 0;
	padding: 4px 9px;
	color: #f83539;
	background-color: #f8f8f8;
	border-radius: 13px;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	line-height: normal;
	letter-spacing: 0.002em;
	box-sizing: border-box;
	width: 75%;
	transform: translate(-50%, -50%);
	opacity: 0.95;
	-webkit-animation: warning_fadein 0.15s ease-in normal forwards;
	animation: warning_fadein 0.15s ease-in normal forwards;
	pointer-events: none;
}

@keyframes warning_fadein
{
	0% { opacity: 0; }
	100% { opacity: 0.95; }
}

figure#frontornament { margin: 10em 0 4em 0; padding: 0; }

figure#frontornament img
{
	display: block;
	width: 184px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

#ga_advert { margin: 0; padding: 0; background-color: #f8f8f8; text-align: center; overflow: hidden; }


/* info */


div.info { margin: 4em 0 4em 0; color: #232425; }

div.info h2
{
	font-size: 20px;
	font-weight: 400;
	margin: 0 0 0.5rem 1rem;
}

div.info h3
{
	font-size: 17px;
	font-weight: 400;
	margin: 1rem 0 0.5rem 1rem;
}
div.info p { margin: 0 0 0.5em 0; }
div.info figure { margin: 2em 0; text-align: center; }
div.info figure { display: block; max-width: 100%; }
div.info figcaption { font-size: 14px; color: #444546; margin: 0.5em 0 0 0; }
div.info figcaption cite { font-style: normal; font-size: 12px; }

div.info img.ornament
{
	display: block;
	width: 190px;
	height: auto;
	max-width: 70%;
	margin: 0 auto 2em auto;
}

#frontillustration
{
	display: block;
	width: 460px;
	max-width: 100%;
	height: auto;
	margin: 5em auto;
}

div.columns
{
	-webkit-columns: 2 250px;
	-moz-columns: 2 250px;
	columns: 2 250px;
	-webkit-column-gap: 2.5rem;
	-moz-column-gap: 2.5rem;
	column-gap: 2.5rem;
	margin: 0 0 0.75em 0;
}


figure#tresckow1976 { margin: 7.5em 0 5em 0; text-align: center; }
figure#tresckow1976 img
{
	width: 521px;
	height: auto;
	max-width: 80%;
}
figure#tresckow1976 figcaption { font-size: 14px; color: #444546; margin: 1em 0 0 0; }


/* punch */

#punchPane {
	max-width: 668px;
	margin: 0 auto;
}

#punch h1:before
{
	content: '';
	background-image: url(images/punch.png);
	width: 55px;
	height: 62px;
	background-repeat: no-repeat;
	display: inline-block;
	margin: -30px 18px 0 0;
	vertical-align: top;
}

#execute h1:before
{
	content: '';
	background-image: url(images/execute.png);
	width: 63px;
	height: 62px;
	background-repeat: no-repeat;
	display: inline-block;
	margin: -30px 18px 0 0;
	vertical-align: top;
}

#reader h1:before
{
	content: '';
	background-image: url(images/read.png);
	width: 54px;
	height: 62px;
	background-repeat: no-repeat;
	display: inline-block;
	margin: -30px 18px 0 0;
	vertical-align: top;
}

#cardSample
{
	color: #555;
	display: block;
	margin: 1em 0;
	padding: 0;
	text-align: center;
	overflow: hidden;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#cardSample img
{
	width: 590px;
	max-width: 100%;
	height: auto;
}

#cardCntrl { margin: 2em 0 0 0; }

#cardCntrl > * { vertical-align: middle; }
#cardCntrl label { margin-right: 0.1em; }

#cardDescription
{
	margin: 2em 0.5em 2em 0.5em;
	font-size: 14px;
}

#cardDescription dt
{
	float: left;
	font-weight: normal;
	font-style: normal;
	vertical-align: top;
	color: #555;
}
#cardDescription dd {
	display: block;
	margin: 0 0 0.2em 94px;
	vertical-align: top;
	color: #333;
}

#punch code,
#execute code
{
	font-family: 'Inconsolata', monospace;
	font-style: normal;
	font-weight: 400;
	white-space: pre-wrap;
}
#punch label, #punch button { letter-spacing: 0.002em; }

#textInput
{
	box-sizing: content-box;
	width: 660px;
	height: 300px;
	color: #36363c;
	font-size: 16px;
	line-height: 18px;
	text-align: left;
	font-family: 'Inconsolata', monospace;
	font-style: normal;
	font-weight: 400;
	background-color: white;
	padding: 4px;
	margin: 0;
	border: 1px #ccc solid;
	border-radius: 2px;
	background-repeat: repeat-y;
	background-image: url(images/bg-default.png);
	-moz-tab-size: 10;
	tab-size: 10;
	max-width: 100%;
	text-transform: uppercase;
}
#textInput.python,
#textInput.perl,
#textInput.javascript,
#textInput.message { text-transform: none;}

#textInput.python
{
	background-image: url(images/bg-python.png);
	-moz-tab-size: 4;
	tab-size: 4;
}
#textInput.cobol,
#textInput.fortran
{
	padding-top: 33px;
	-moz-tab-size: 6;
	tab-size: 6;
	background-repeat: no-repeat, repeat-y;
	background-position: 0 0, 0 0;
	background-attachment: local, local;
}
#textInput.fortran
{
	background-image: url(images/bg-fortran-head.png), url(images/bg-fortran-sheet.png);
}
#textInput.cobol
{
	background-image: url(images/bg-cobol-head.png), url(images/bg-cobol-sheet.png);
},
#textInput.message
{
	-moz-tab-size: 4;
	tab-size: 4;
}

#textInput::-webkit-input-placeholder { color: #ccc; text-transform: none; }
#textInput::-moz-placeholder { color: #ccc; text-transform: none; }
#textInput:-ms-input-placeholder { color: #ccc; text-transform: none; }
#textInput:-moz-placeholder { color: #ccc; text-transform: none; }
#textInput::placeholder { color: #ccc; text-transform: none; }

#textInput.dragdrop { border: 1px #f84f55 solid; }

#punch input[type='text'],
#punch input[type='number']
{
	border: 1px #ccc solid;
	border-radius: 3px;
	padding: 4px;
	box-sizing: border-box;
	text-transform: uppercase;
}

#sequenceStart { width: 100px; }

div.ctrl
{
	box-sizing: border-box;
	width: 670px;
	margin: 0 0 6px 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	max-width: 100%;
}
#punch #ctrl1
{
	padding: 4px 8px 3px 8px;
	background-color: #f2f2f2;
	border-radius: 6px;
	color: #444;
}
#punch #ctrl2
{
	margin: 1em 0;
	padding: 0 8px;
}

#punch #ctrl2 button,
#punchCardListMore
{
	font-size: 15px;
	line-height: 100%;
	padding: 6px 16px;
	border: none;
	border-radius: 14px;
	/*background-color: #70cbe3;*/
	background-color: #88c8d7;
	cursor: pointer;
	color: #fff;
	min-width: 100px;
}
#punch #ctrl2 button:hover,
#punch #ctrl2 button:focus,
#punchCardListMore:hover,
#punchCardListMore:focus
{ background-color: #8cd9eb; }
#punch #ctrl2 button:active,
#punchCardListMore:active
{ background-color: #e45439; }

#punchCardListMore { display: block; margin: 2em 0 1em 25%; }

#punch ul#punchErrorList.message { margin: 1em 0 2em 0; }
#punchErrorList:before
{
	content: 'Errors:';
	display: block;
	color: #000;
	margin: 0 0 0 -1em;
}

#punch #ctrl2 button:disabled
{
	background-color: #cdcdcd;
	color: #eee;
	cursor: not-allowed;
}
#punch #ctrl2 button#batchStop { display: none; }

#punch #cardPane
{
	margin: 2em 0 2em 0.5em;
}

#punch #cardPane a {
	display: inline-block;
	margin: 2px 0 0 0;
}
#punch #cardPane img {
	box-sizing: content-box;
	width: 383.5px;
	max-width: 100%;
	height: auto;
	padding: 4px;
	background-color: #fff;
	border-radius: 14px;
}

#punch ol li { margin-bottom: 0.5em; }

#punch li p { margin: 0.25em 0 0.25em 0.4em; }
#punch li code
{
	color: #36363c;
	font-size: 12px;
	background-color: #f2f2f2;
}
#punch ul li code { font-size: 15px; }
#punch li code:before,
#punch li code:after
{
	content: '"';
	background-color: #f8f8f8;
}

main ul.message
{
	margin: 1em 0;
	list-style: none;
	padding-left: 1em;
}

#punch ul.message { margin: 0; }
main ul.message > li
{
	padding: 0 0 0 0.5em;
	margin: 0;
	color: #800000;
}
main ul.message > li:before
{
	display: inline-block;
	content: '\002022';
	vertical-align: text-bottom;
	margin-left: -1em;
	width: 1em;
	color: #800000;
}

main ul.message > li span.item { color: #400000; }


/* reader */

#readerRailWrapper
{
	display: block;
	position: relative;
	margin: 3em 0 0 0;
	padding: 0;
	width: 786px;
	height: 348px;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}

#readerRail
{
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	width: 786px;
	height: 348px;
}

#readerRail.ready:after,
#readerRail.dragdrop:after,
#readerRail.busy:after
{
	content: 'DROP FILES HERE';
	position: absolute;
	top: 23px;
	left: 32px;
	width: 300px;
	height: 300px;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 0;
	letter-spacing: 0.003em;
	color: #9bd1de;
	border: 1px #9bd1de solid;
	text-align: center;
	border-radius: 50%;
	box-sizing: border-box;
	margin: 0;
	padding: 150px 0 0 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	transition: color 0.33s ease, background-color 0.33s ease,  border 0.33s ease;
	z-index: 100;
	pointer-events: none;
}
#readerRail.ready:after { border: 1px #9bd1de solid; color: #9bd1de; background-color: #f8f8f8; }
#readerRail.ready:hover:after,
#readerRail.ready:focus:after { background-color: #86cedc; color: #f8f8f8; }
#readerRail.dragdrop:after { background-color: #f84f55; border-color: #f84f55; color: #f8f8f8; }
/* #readerRail.busy:after { content: 'PROCESSING'; background-color: #a0a1a2; border-color: #a0a1a2; color: #f8f8f8; } */
#readerRail.busy:after { content: 'PROCESSING'; background-color: #f79e1e; border-color: #f79e1e; color: #f8f8f8; }

#readerRail.ready, #readerRail.dragdrop { cursor: copy; }

#readerRailOverlay
{
	position: absolute;
	left: 0;
	top: 0;
	width: 786px;
	height: 347px;
	transform: translateZ(0);
	z-index: 2;
	pointer-events: none;
}

#readerRail #readerCardSlide
{
	position: absolute;
	width: 786px;
	height: 345px;
	overflow: hidden;
	left: 0;
	top: 1px;
	transform: translateZ(0);
	z-index: 1;
	pointer-events: none;
}

#readerCardSlide img
{
	position: absolute;
	left: 0;
	top: 0;
	width: 767px;
	height: 345px;
	transform: translateX(786px);
}

#readerRail img.phase0
{
	-webkit-animation: card-slide-0 0.262s 0.395s 1 linear normal forwards;
	animation: card-slide-0 0.262s 0.395s 1 linear normal forwards;
}
#readerRail img.phase1
{
	-webkit-animation: card-slide-1 1.037s 1 linear normal forwards;
	animation: card-slide-1 1.037s 1 linear normal forwards;
}

#readerRail #readerCardSlide.fast img.phase0
{
	-webkit-animation: card-slide-0 0.131s 0.19728s 1 linear normal forwards;
	animation: card-slide-0 0.131s 0.19728s 1 linear normal forwards;
}
#readerRail #readerCardSlide.fast img.phase1
{
	-webkit-animation: card-slide-1 0.5185s 1 linear normal forwards;
	animation: card-slide-1 0.5185s 1 linear normal forwards;
}

#readerRail #readerCardSlide.faster img.phase0
{
	-webkit-animation: card-slide-0 0.0873s 0.13133s 1 linear normal forwards;
	animation: card-slide-0 0.0873s 0.13133s 1 linear normal forwards;
}
#readerRail #readerCardSlide.faster img.phase1
{
	-webkit-animation: card-slide-1 0.3456s 1 linear normal forwards;
	animation: card-slide-1 0.3456s 1 linear normal forwards;
}

#readerRail #readerCardSlide.fastest img.phase0
{
	-webkit-animation: card-slide-0 0.0655s 0.09839s 1 linear normal forwards;
	animation: card-slide-0 0.0655s 0.09839s 1 linear normal forwards;
}
#readerRail #readerCardSlide.fastest img.phase1
{
	-webkit-animation: card-slide-1 0.25925s 1 linear normal forwards;
	animation: card-slide-1 0.25925s 1 linear normal forwards;
}

@keyframes card-slide-0
{
	from { transform: translateX(786px); }
	to { transform: translateX(473px); }
}

@keyframes card-slide-1
{
	from { transform: translateX(473px); }
	to { transform: translateX(-767px); }
}

#readerLoader { margin-top: 1.5em; transition: opacity 0.4s ease; }
#readerLoader.busy { opacity: 0.2; }
#readerResults { visibility: hidden; opacity: 0; transition: visibility 0s, opacity 0.4s ease; }
#readerResults.visible { visibility: visible; opacity: 1 }
#readerStatus { border-collapse: collapse; }
#readerStatus td:last-child { padding-left: 1em; text-align: right; }
#readerErrors { visibility: hidden; opacity: 0; transition: visibility 0s, opacity 0.4s ease; }
#readerErrors.visible { visibility: visible; opacity: 1; }

#readerErrors > li { padding: 0 0 0 0.1em; }

#readerLoader, #readerStatus td { color: #555; }

#readerOutput {
	margin: 0 0 2em 0;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.4s ease;
}
#readerOutput.visible { visibility: visible; opacity: 1; }

#readerOutput p { color: #555; }

#reader #ctrl3
{
	margin: 0 auto 6px auto;
	padding: 4px 8px 3px 8px;
	background-color: #f2f2f2;
	border-radius: 6px;
	color: #444;
}

#reader #ctrl3 label + input { margin-left: 0.5em; }

#textOutput
{
	box-sizing: content-box;
	width: 660px;
	height: 300px;
	color: #36363c;
	font-size: 16px;
	line-height: 18px;
	text-align: left;
	font-family: 'Inconsolata', monospace;
	font-style: normal;
	font-weight: 400;
	text-shadow: 0 0 1px rgba(54,54,54, 0.5), 0 0 2px rgba(54,54,54, 0.05);
	background-color: white;
	padding: 4px;
	display: block;
	margin: 0 auto;
	border: 1px #f1f2f1 solid;
	border-radius: 2px;
	background-repeat: repeat;
	background-image: url(images/bg-reader.png);
	background-attachment: local;
	background-position: 0 -6px;
	max-width: 100%;
	white-space: pre;
	resize: vertical;
	-moz-tab-size: 4;
	tab-size: 4;
}

#ctrl4 { margin: 10px auto;  padding: 0 24px 0 4px; }
@media screen and (max-width: 720px) {
	#ctrl4 { padding-right: 0; }
}

#ctrl4 label { white-space: nowrap; }

#btnLaunchRuntime
{
	display: inline-block;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 50px;
	height: 50px;
	vertical-align: top;
	text-align: center;
	font-size: 15px;
	line-height: 0 !important;
	background-color: #f84f55;
	color: #f8f8f8;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
#btnLaunchRuntime:hover,#btnLaunchRuntime:focus { background-color: #f83539; }
#btnLaunchRuntime:active { background-color: #a0a1a2; }

#btnLaunchRuntime:disabled
{
	background-color: #cdcdcd;
	color: #eee;
	cursor: not-allowed;
}

#makeOutputEditable
{
	display: block;
	width: 17px;
	height: 17px;
	margin: 4px 0 -21px 0;
}
#makeOutputEditable svg { fill: #454647; }
#makeOutputEditable:hover svg,
#makeOutputEditable:focus svg { fill: #F2890A; }
#makeOutputEditable:active svg { fill: #f73d44; }


/* runtime */

#noExecutable { margin: 2em 0; padding: 0; }
#executable { margin: 0; padding: 0; }

#runtimeLights
{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 2.5em 0;
}

#runtimeLights span
{
	display: inline-block;
	position: relative;
	width: 180px;
	height: 60px;
	color: #cdcecf;
	border: 3px #e8e9ea solid;
	border-radius: 14px;
	padding: 0;
	margin: 0.5em 0.4em;
	transition: all 0.5s ease;
}
#runtimeLights span:after
{
	position: absolute;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 0;
	width: 100%;
	text-align: center;
	left: 0;
	top: 50%;
}
#runtimeLights #runtimeLightStandby:after { content: 'STAND BY'; }
#runtimeLights #runtimeLightOperate:after { content: 'OPERATE'; }
#runtimeLights #runtimeLightIdle:after { content: 'IDLE'; }

#runtimeLights.standby #runtimeLightStandby { color: #86cedc; border-color: #9bd1de; box-shadow: 0 0 5px rgb(123,216,220) inset; text-shadow: 0 1px 4px rgba(134,206,220, 0.55); }
#runtimeLights.executing #runtimeLightOperate { color: #f79e1e; border-color: #f7a52e; box-shadow: 0 0 5px rgb(247,165,46) inset; text-shadow: 0 1px 4px rgba(247,158,30, 0.55); }
#runtimeLights.finished #runtimeLightIdle { color: #7fda77; border-color: #97dc92; box-shadow: 0 0 5px rgb(151,220,146) inset; text-shadow: 0 1px 4px rgba(127,218,119, 0.55); }
#runtimeLights.error #runtimeLightIdle { color: #f83539; border-color: #f84f55; box-shadow: 0 0 5px rgb(248,79,85) inset; text-shadow: 0 1px 4px rgba(248,53,57, 0.55); }
#runtimeLights.error #runtimeLightIdle:after { content: 'ERROR'; }

#runtimeDescription, #runtimeStatus, #runtimeEnvNote { font-size: 14px; margin: 0.5em 0; }

#runtimeLoading, #runtimeExecuting, #runtimeFinished, #runtimeUnknown, #runtimeError, #runtimeInput { display: none; }
#runtimeStatus.loading #runtimeLoading { display: inline-block; }
#runtimeStatus.executing #runtimeExecuting { display: inline-block; }
#runtimeStatus.finished #runtimeFinished { display: inline-block; }
#runtimeStatus.unknown #runtimeUnknown { display: inline-block; }
#runtimeStatus.error #runtimeError { display: inline-block; }
#runtimeStatus.input #runtimeInput { display: inline-block; }

#runtimeInput em { font-style: normal; }
#runtimeStatus.input #runtimeInput em {	animation: pulse 1.4s infinite cubic-bezier(0.785, 0.135, 0.150, 0.860) normal forwards; }

#runtimeLoadIndicator
{
	display: inline-block;
	width: 1em;
	text-align: center;
	margin-left: 0.5em;
}
#runtimeStatus.loading #runtimeLoadIndicator:after
{
	content: '|';
	-webkit-animation: loading 1.2s infinite linear normal forwards;
	animation: loading 1.2s infinite linear normal forwards;
}

@keyframes loading
{
	0% { content: '|'; }
	12.5% { content: '/'; }
	25% { content: ''; }
	37.5% { content: '\\'; }
	50% { content: '|'; }
	62.5% { content: '/'; }
	75% { content: ''; }
	87.5% { content: '\\'; }
	100% { content: '|'; }
}

@keyframes pulse
{
	0% { color: #000; }
	50% { color: #f79e1e; }
	100% {color: #000; }
}

#runtime { margin: 0.75em 0; }


#runtime iframe
{
	margin: 0;
	border: none;
	width: 100%;
	height: auto;
	min-height: 360px;
}

#runtime iframe.extended { height: 780px; }

button { outline: none; }
#punch, #reader, #execute { display: none; }


/* === zip dialog === */

body.zipping header, body.zipping main, body.zipping footer,
body.hacking header, body.hacking main, body.hacking footer
{
	-webkit-filter: blur(1px);
	filter: blur(1px);
}

#zipDialog,
#hackDialog
{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 12px;
	box-sizing: border-box;
	background-color: rgba(80,82,84, 0.55);
	z-index: 1000;
}
body.zipping #zipDialog,
body.hacking #hackDialog
{
	position: fixed;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
body.zipping #zipDialog h1,
body.hacking #hackDialog h1
{
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 0.75em 0;
	text-align: center;
	color: #7ac3d1; /*#57a3b2;*/
}
#zipDialogContent,
#hackDialogContent
{
	margin: 0 0 20px 0;
	padding: 28px 32px 38px 32px;
	background-color: #f8f8f8;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 15px;
	line-height: 22.5px;
	color: #000;
	letter-spacing: 0.002em;
	border-radius: 6px;
	box-shadow: 0 1px 6px rgba(0,0,0, 0.25);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	width: 540px;
	max-width: 100%;
}
#zipDialogContent p { margin: 0; }
#zipNoteText
{
	display: block;
	box-sizing: border-box;
	margin: 0.4em 0 0.65em 0;
	width: 100%;
	height: 68px;
	font-size: 16px;
	line-height: 18px;
	text-align: left;
	font-family: 'Inconsolata', monospace;
	font-style: normal;
	font-weight: 400;
	background-color: white;
	padding: 4px;
	border: 1px #ccc solid;
	border-radius: 2px;
}
#zipCtrls,
#hackDialogCtrls
{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	font-size: 13px;
	padding: 0;
}
#zipDialog button,
#hackDialog button
{
	font-size: 15px;
	line-height: 100%;
	padding: 6px 16px;
	border: none;
	border-radius: 14px;
	background-color: #88c8d7;
	cursor: pointer;
	color: #fff;
	min-width: 100px;
}
#zipDialog button:hover,
#zipDialog button:focus,
#hackDialog button:hover,
#hackDialog button:focus
{ background-color: #8cd9eb; }
#zipDialog button:active,
#hackDialog button:active
{ background-color: #e45439; }

#zipCancel, #hackCancel { margin-right: 0.8em; }

#zipDialogContentWrapper
{
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
}
#zipDialogInputPane
{
	display: block;
	margin: 0;
	padding: 0;
}
#zipPending,
#zipError
{
	display: none;
	position: absolute;
	width: 100%;
	left: 0;
	top: 1em;
	text-align: center;
}
#zipError { text-align: left;  color: #400000; }
#zipDialog.processing #zipPending { display: block; }
#zipDialog.error #zipError { display: block; }
#zipDialog.processing #zipDialogInputPane,
#zipDialog.error #zipDialogInputPane{ visibility: hidden; }

#zipCloseCtrls { margin: 1em 0 1em 0; text-align: right; }

svg.zipLinkIcon
{
	display: inline-block;
	margin: 0 0.1em;
	vertical-align: bottom;
	width: 24px;
	height: 24px;
	transition: fill 0.25s ease;
}
a svg.zipLinkIcon { fill: #f79d3d; }
a:hover svg.zipLinkIcon,
a:focus svg.zipLinkIcon { fill: #F2890A; }
a:active svg.zipLinkIcon { fill: #e45439; }

img { color: #a0a1a3 !important; }
