.block {
	width: calc(100% - 25.5em);
	margin: 0.5em;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 2em - 80px);
}

.block-container {
	overflow-y: auto;
}

.block.side[data-role="fixed"] .block-container {
	height: 100%;
}

canvas {
	position: absolute;
	left: 0;
	top: 0;
	z-index: -2;
}

#sidebar-block {
	display: flex;
	flex-direction: column;
}

#sidebar {
	height: 100%;
}

.planet-overlay {
	left: 1%;
	bottom: -32px;
	overflow: hidden !important;
}

.planet {
	opacity: 0.3;
}

.sect-header {
	position: relative;
}

#project-logo {
	position: absolute;
	width: 8em;
	margin: 0.5em 0 0 calc(50% - 4em);
	mix-blend-mode: screen;
	filter: brightness(0.5) sepia(1) saturate(200%) hue-rotate(-160deg) opacity(0.2);
}

h4 {
	font-family: "Bold";
	font-size: 3em;
	text-align: center;
	padding: 0.8em 0 1em 0;
	color: var(--blue-text-dark);
	text-shadow: 0px 0px 6px var(--blue-text-dark);
}

hr {
	margin: 1em 4em;
}

.q {
	margin: 0 0.5em 0 0.5em;
}

.desc {
	margin: 0 0.5em 1em 0.5em;
}

.a {
	color: var(--blue-text-dark);

	margin: 0 1em 1em 1.5em;
}

.ar {
	color: var(--error-color);

	margin: 0 0.5em 0 0.5em;
}

.info {
	color: #5974CC;
	text-align: center;

	margin: 1em 2em 0.5em 2em;
}

.navblock {
	position: absolute;
	left: 1.625em;
	max-height: 100%;
	width: calc(100% - 1.75em);
}

#compendium-index {
	padding-left: 0.125em;
}

.tabblock {
	position: absolute;
	width: 2em;

	font-family: "Header";
	font-size: 1em;
}

.tab {
	writing-mode: vertical-rl;
	text-orientation: upright;

	cursor: pointer;
	background-color: rgba(3, 4, 15, 0.4);
	opacity: 0.5;
	padding: 0.5em 0.25em;
	border-bottom: 1px solid #444;
	border-right: 1px solid #444;

	transition: 0.3s background-color, 0.3s color, 0.3s opacity;
}

.tab.active {
	opacity: 1;
	background-color: rgba(3, 4, 15, 1);
	color: #EFF2FA;
}

.tab:hover {
	opacity: 1;
}

.mitem {
	font-family: "Bold";
	font-size: 1em;
	cursor: pointer;

	margin-left: 0.5em;

	transition: 0.3s text-shadow;
}

.mitem:not(.msub) {
	margin-top: 0.55em;
	text-shadow: 0px 0px 6px #04070E;
}

.mitem:first-child {
	margin-top: 0.25em;
}

.mitem:not(.msub):hover {
	text-shadow: 0px 0px 6px var(--blue-text-dark);
}

.mitem.msub {
	color: var(--blue-text-dark);

	margin: 0.25em 0 0 1.5em;

	transition: 0.6s color;
}

.mitem.msub:hover {
	color: var(--blue-text);

	transition: none;
}

#compendium-search .input-wrapper {
	width: 320px;
	margin-top: 0.75em;
	margin-left: 16px;
}

#compendium-stars .empty {
	position: absolute;
	top: 0;
	left: 0;
}

#compendium-stars .starslist {
	height: 100%;
}

#compendium-stars .starswrapper {
	height: 100%;
	overflow-y: auto;
}

#compendium-stars .empty,
#compendium-stars .starslist {
	opacity: 0;
	pointer-events: none;

	transition: 0.15s opacity;
}

#compendium-stars .empty.visible,
#compendium-stars .starslist.visible {
	opacity: 1;
	pointer-events: all;

	transition: 0.3s opacity;
}

.clear-starslist-button {
	position: absolute;
	left: calc(50% - 7.5em - 1.625em);
	bottom: 0;
	width: 15em;

	font-family: "Header";
	text-align: center;
	cursor: pointer;
	padding: 0.25em 0.5em;

	background-color: rgba(4.5, 6, 22.5, 1);
	color: #EFF2FA;
	border-top: 1px solid #444;
	border-left: 1px solid #444;
	border-right: 1px solid #444;

	transition: 0.3s background-color, 0.6s opacity;
}

.clear-starslist-button:hover {
	background-color: rgba(3, 4, 15, 1);
}

.clear-starslist-button.vanish {
	opacity: 0;
}

.nostars {
	font-family: "Bold";
	font-size: 1em;
	margin: 0 3em 0 3em;

	color: rgba(164, 180, 227, 0.6);
}

.nairlain-big {
	position: relative;

	margin: 1em 0 0 calc(50% - 100px);

	filter: grayscale(50%) opacity(0.75);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
	-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(0, 0, 0, 1)), color-stop(100%, rgba(0, 0, 0, 0)));
}

.star {
	background-color: rgba(3, 4, 15, 0.6);
	border-bottom: 2px solid rgba(221, 223, 248, 0.3);
	border-left: 1px solid rgba(221, 223, 248, 0.2);

	transition: 1s opacity;
}

.star:nth-child(odd) {
	background-color: rgba(3, 4, 15, 0.3);
}

.star.delete {
	opacity: 0;
}

.star.notified {
	animation: 2s brightnotify;
}

.star[data-startype="topic"] .starcontent-inner {
	color: var(--blue-text-dark);
}

.starslist .startype {
	display: inline-block;
	width: 3em;

	text-align: center;
	vertical-align: top;
	padding-top: 0.25em;
	font-family: "Bold";
	font-weight: normal;
	color: rgba(209, 217, 241, 0.6);
}

.starslist .starcontent {
	display: inline-block;
	width: calc(100% - 3.0625em);

	cursor: pointer;
	padding: 0.25em 0;
	border-left: 1px solid rgba(221, 223, 248, 0.2);

	transition: 0.3s background-color;
}

.starslist .starcontent:hover {
	background-color: rgba(255, 255, 255, 0.0625);
}

.starslist .starcontent-inner {
	margin: 0 0.25em;
	vertical-align: top;
}

.navblock.nav-stars {
	max-height: none;
	height: 100%;
	overflow-y: hidden;
}
