html, body {
	height: 100%
}

.container {
	margin-top: 20px
}

.content {
	text-align: center;
	position: relative;
	padding: 60px;
	height: 820px;
}

@media screen and (max-width: 1270px) {
	.content {
		padding: 40px;
	}
}

@media screen and (max-width: 1024px) {
	.content {
		padding: 0;
	}
}

/* portrait */
@media screen and (max-width: 1270px) and (orientation: portrait) {
	.content {
		height: 800px;
	}
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
	.content {
		height: 800px;
	}
}

@media screen and (max-width: 900px) and (orientation: portrait) {
	.content {
		height: 700px;
	}
}

@media screen and (max-width: 700px) and (orientation: portrait) {
	.content {
		height: 600px;
	}
}

@media screen and (max-width: 400px) and (orientation: portrait) {
	.content {
		height: 550px;
	}
}

@media screen and (max-width: 350px) and (orientation: portrait) {
	.content {
		height: 485px;
	}
}

/* landscape */
@media screen and (max-width: 1270px) and (orientation: landscape) {
	.content {
		height: 800px;
	}
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
	.content {
		height: 700px;
	}
}

@media screen and (max-width: 900px) and (orientation: landscape) {
	.content {
		height: 500px;
	}
}

@media screen and (max-width: 800px) and (orientation: landscape) {
	.content {
		height: 350px;
	}
}

@media screen and (max-width: 700px) and (orientation: landscape) {
	.content {
		height: 300px;
	}
}


.inner {
	max-width: 1270px;
	margin: 0 auto;
	height: 100%;
}

@media screen and (max-width: 1270px) {
	.inner {
		width: 100%;
		padding: 0 20px;
	}
}

.container {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.inner-container {
	display: flex;
	flex: 1;
}

@media screen and (max-width: 1270px) {
	.inner-container {
		flex-direction: column;
	}
}

.inner-container #viewer {
	min-width: 905px;
}

@media screen and (max-width: 1270px) {
	.inner-container #viewer {
		min-width: 100%;
		margin-bottom: 20px;
		flex: 1;
	}
}

.row.buttons {
	margin: 15px;
}

th {
	background-color: #CCCCCC
}

tr {
	border-bottom: solid 1px black;
}

h1.title {
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 4.5rem
}

.col-centered {
	float: none;
	margin: 0 auto;
}

hr {
	border: 0;
	clear: both;
	display: block;
	width: 96%;
	background-color: black;
	height: 1px;
}

.signature {
	height: 220px;
}

#canvasDiv {
	border: dotted 1px black;
}

#content {
	background-color: white;
	padding: 20px 0px 20px 0px;
}

#print_container {
	padding: 30px 40px 0 20px;
}

@page {
	size: A4;
	margin: 0;
}

@media print {
	html, body {
		width: 210mm;
		height: 297mm;
	}
}

.code {
	display: inline-block;
	width: 90px;
}

.connected {
	color: green;
	font-weight: bold;
}

.notConnected {
	color: red;
	font-weight: bold;
}

/*
.no-sign {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
}
*/