h1 {
	text-wrap: balance;
}

h2, h3, h4, h5 {
	text-wrap: balance;
	text-align: left;
}

div.math-highlight {
	border-left: 5px solid;
	background: #eee;
	border-color: #00d;
}

span.math-highlight-title {
	display: inline-block;
	color: #fff;
	background: #00d;
	font-size: 16px;
	padding: 3px 7px 5px 5px;
}

div.math-statement {
	margin-left: 1em!important;
	margin-right: 2em!important;
	margin-top: 5px;
	margin-bottom: 1em;
	padding-top: 3px;
	padding-bottom: 5px;
	text-align: left;
}

span.math-end-of-line {
	float: right;
}

span.math-end-of-proof {
	content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNi44NDlwdCIgaGVpZ2h0PSI2LjEyMnB0IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgLTYuMTIyIDYuODQ5IDYuMTIyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48ZGVmcz48cGF0aCBpZD0iYSIgZD0ibTYuODQ5IDB2LTYuMTIyaC02LjEyMnY2LjEyMmg2LjEyMnptLTAuNjY3LTAuNjY3aC00Ljc4OHYtNC43ODhoNC43ODh2NC43ODh6Ii8+PC9kZWZzPjxnIGlkPSJiIj48dXNlIHhsaW5rOmhyZWY9IiNhIi8+PC9nPjwvc3ZnPgo=);
	vertical-align: -0.000000em;
	display: inline-block;
	width: fit-content;
	/*height: fit-content;*/
	height: 0.68em; /* I want it a little bit bigger */
}

.math-svg-invert {
	-webkit-filter:invert(1);
	filter:invert(1);
}

div.math-definition {
	border-color: #070;
}

span.math-definition {
	background: #070;
}

div.math-example {
	border-color: #c0c;
}

span.math-example {
	background: #c0c;
}

div.math-warning {
	border-color: #f00;
}

span.math-warning {
	background: #f00;
}

a[id]::before {
  content: '';
  display: block;
  height: 55px;
  margin-top: -55px;
  visibility: hidden;
}
