.page-controls,
.editor-section-toolbar {
	position: fixed;
	z-index: 1;
	left: 0;
	right: 0;
	background: white;
}

.page-controls {
	bottom: 0;
	border-top: 1pt solid #EEE;
}

.editor-section-toolbar {
	top: 3.5rem;
	border-bottom: 1pt solid #EEE;
}

.page-controls p,
.editor-section-toolbar p {
	margin: auto;
	max-width: 50em;
	padding: 0 1.5em;
}

.editor-section {
	margin: auto;
	max-width: 50em;
	padding: 7rem 1.5em 8rem 1.5em;
}

.editor-section  .buttons:not(:last-child) {
	margin-bottom: 0;
}

.editor-section .doc-info > * {
	font-size: 0.85em;
	text-align: right;
	font-weight: bold;
	padding: 1pt;
	margin-right: 1em;
}

.editor-section .document h1 {
	font-size: 28pt;
}

.editor-section .document h2 {
	font-size: 20pt;
	font-weight: bold;
}

.editor-section .document label {
	display: block;
}

@media screen and (min-width: 600px) {
	.editor-section .document label {
		display: inline-block;
		width: 10em;
	}
}

.editor-section .document p {
	margin: 1em 0;
}

.editor-section .document table {
	margin: -0.5em -0.75em;
}

.editor-section .document *[readonly],
.editor-section .document *[disabled] {
	background: #EEE;
	color: black;
}

.editor-section .document *[required] {
	background: lightgoldenrodyellow;
}

.editor-section .notation .global-comment-for-student,
.editor-section .document textarea.coach-comment {
	color: blue;
	font-style: italic;
}

.editor-section .notation .global-comment-for-student,
.editor-section .document input,
.editor-section .document textarea {
	-webkit-appearance: none;
	padding: 0.5em;
	font-size: 12pt;
	border: 2pt solid #EEE;
	border-radius: 2pt;
	font-family: "CourierPrime";
}

.editor-section .document input:focus,
.editor-section .document textarea:focus {
	border-color: #3273DC;
}

.editor-section .document input {
	width: 14em;
}

.editor-section .document input[type=checkbox] {
	width: initial;
	-webkit-appearance: checkbox;
}

.editor-section .document input[type=number] {
	width: 5em;
}

.editor-section .document input[type=date] {
	min-height: 2.4em;
}

.editor-section .document textarea {
	width: 100%;
	height: 9em;
}

.editor-section .document textarea.big {
	height: calc(100vh - 25em);
}

@media screen and (max-width: 1199px) {
	.editor-section .notation {
		background: #F7F7F7;
		padding: 1em;
		padding-top: 0.5em;
		margin-top: 2em;
		border: solid 1pt #EEE;
		border-radius: 2pt;
	}
}

@media screen and (min-width: 1200px) {
	.editor-section .notation {
		z-index: 2;
		position: fixed;
		right: 0;
		top: 3.5rem;
		bottom: 0;
		background: #F7F7F7;
		border-left: solid 1pt #EEE;
		width: calc(100% - 50em);
		max-width: 35em;
	}

	.editor-section .notation .media-content,
	.editor-section .notation form {
		height: 100%;
	}

	.editor-section .notation form {
		padding: 1em;
		padding-top: 0;
		overflow: auto;
	}

	.go-left {
		margin: 0;
	}
}

@media screen and (min-width: 1450px) {
	.go-left {
		margin-left: 5em;
	}
}

@media screen and (min-width: 1550px) {
	.editor-section .notation {
		max-width: 40em;
	}
}

@media screen and (min-width: 1850px) {
	.editor-section .notation {
		max-width: 50em;
	}
}

.editor-section .notation table {
	margin-top: 1em;
}

.editor-section .notation table td {
	padding-bottom: 0.5em;
}

.editor-section .notation table td:nth-child(2n+1) {
	width: 100%;
}

.editor-section .notation .field .control:last-child a {
	width: 4em;
}

.editor-section .notation input[type="number"] {
	width: 6em;
}

.editor-section .notation input[type="text"] {
	width: 4em;
}

.editor-section .notation table label {
	line-height: 2.5em;
}

.editor-section .notation .checkfield {
	display: inline-block;
	min-width: 6em;
}

.editor-section .notation input[type=checkbox] {
	width: 2em;
	transform: scale(1.5);
}

@media screen and (max-width: 599px) {
	.page-controls,
	.editor-section-toolbar {
		padding: 0.5rem;
	}

	.editor-section {
		padding-top: 5rem;
	}
}