body {
	font-family: 'Montserrat', sans-serif;
	background: #f9f9f9;
	-webkit-text-size-adjust: 100%;
	font-size: 16px;
	line-height: 1.4;
}

h1 {
	font-size: 32px;
	font-weight: bold;
	margin-bottom: 20px;
	margin-top: 20px;
}

h2 {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 15px;
}

p {
	margin-top: 10px;
	padding-top: 10px;
}

ul {
	list-style: circle;
}

li {
	margin-left: 20px;
}

.center {
	text-align: center;
}

.mainContent {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}


.logo {
	height: 130px;
	vertical-align: middle;
	margin-right: 20px;
}

.sourceCode {
	font-family: Inconsolata, monospace;
	line-height: 1.4;
	font-size: 19px;
}

.sourceTab {
	padding-left: 30px;
}

.colorArgument {
	color: #267d2a;
}

.colorText {
	color: #4caf50;
}

.colorVar {
	color: #9c27b0;
}

.colorVarNew {
	color: #c54cda;
}

.colorComment {
	color: #bbbbbb;
}

.buclSource {
	tab-size: 4;
	white-space: pre-wrap;
	white-space: pre;
	border: 1px solid #cacaca;
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	font-family: Inconsolata, monospace;
	line-height: 1.4;
	font-size: 19px;
	background: #fbfbfb;
	color: #bbbbbb;
}

.codeElement {
	tab-size: 4;
	white-space: pre-wrap;
	white-space: pre;
	border: 1px solid #cacaca;
	border-radius: 2px;
	/*min-height: 50px;*/
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	padding-left: calc(5px + 2em + 5px);
	font-family: Inconsolata, monospace;
	line-height: 1.4;
	font-size: 19px;
	overflow: auto;
}

.codeView {
	position: absolute;
	background: #fbfbfb;
	counter-reset: codeLineNumber;
	border-color: transparent;
}

.codeView div::before {
	position: absolute;
	counter-increment: codeLineNumber;
	content: counter(codeLineNumber);
	display: inline-block;
	background: #eeeeee;
	color: #bbbbbb;
	text-align: right;
	width: 2em; /* TODO: js-auto-widther */
	padding-right: 5px;
	margin-right: 5px;
	margin-left: calc(-5px - 2em - 5px);
}

.codeView div:first-child::before {
	margin-top: -5px;
	padding-top: 5px;
}

.codeView div:last-child::before {
	margin-bottom: -5px;
	padding-bottom: 5px;
}

.codeElement div:empty::after { /* add invisible character to have empty lines remain valid line height */
    content: " ";
}

.codeEntry {
	background: transparent;
	position: relative;
	z-index: 2;
	color: transparent;
	caret-color: black;
	outline: 0px;
}

.codeEntry:focus {
	border: 1px solid #5785ff;
}

.centerButton {
	font-size: 35px;
	width: 35px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	color: #4485ff;
	cursor: pointer;
}

.codeErrorResult {
	margin-top: 20px;
	tab-size: 4;
	white-space: pre-wrap;
	border: 1px dotted red;
	color: red;
	padding: 5px;
	display: none;
	background: #fbfbfb;
}

.codeResult {
	margin-top: 20px;
	tab-size: 4;
	white-space: pre-wrap;
	border: 1px dotted #cacaca;
	padding: 5px;
	display: none;
	background: #fbfbfb;
}

.codeResult .private {
	opacity: 0.7;
}

.leftColumn {
	position: fixed;
	top: 0px;
	left: 0px;
	box-sizing: border-box;
	width: 300px;
	height: 100vh;
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 20px;
	font-size: 14px;
}

.centerColumn {
	margin-left: 300px;
	padding: 20px;
}

@media screen and (max-width: 1000px) { /* new ipad is 1024 so it will get desktop-site */
	.centerColumn {
		margin-left: 0px;
	}

	.leftColumn {
		position: static;
		width: 100%;
		height: auto;
		overflow: hidden;
	}
}
