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

.switch-block-main {
	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;
}

.index-section {
	margin: 0.4em 0 0 0;
}

.index-section h4 {
	font-family: "Bold";
	font-weight: normal;
}

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

	width: calc(100% - 0.6em);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;

	margin: 0.35em 0 0 0.5em;

	text-shadow: 0px 0px 6px #04070E;
}

.mtitle {
	transition: 0.3s text-shadow;
}

.mdate {
	color: rgba(164, 180, 227, 0.5);
}

.mitem:hover .mtitle {
	text-shadow: 0px 0px 3px var(--blue-text-dark);
}

.dict-header {
	font-family: "Bold";
	font-weight: normal;
	font-size: 3em;

	text-align: center;
	padding: 0.05em 0 0.375em 0;
	margin: 0;

	color: var(--blue-text-dark);
	text-shadow: 0px 0px 6px rgba(164, 180, 227, 0.6);
}

.q {
	margin: 0 0.25em;
}

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

	margin: 0 1em 1em 1.25em;
}

hr {
	margin: 0.5em 8em;
}

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

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

.entry-header {
	font-family: "Bold";
	font-size: 2em;
	font-weight: normal;

	text-align: center;
	padding-top: 0.25em;

	cursor: pointer;

	transition: 0.3s text-shadow;
}

.entry-text-main {
	margin: 1em 0.5em;
}

.entry-header:hover {
	text-shadow: 0px 0px 6px var(--blue-text-dark);
}

.entry-id {
	text-transform: uppercase;
	text-align: center;
	margin-left: 1em;

	font-family: "Bold";
	font-weight: normal;
	font-size: 0.5em;

	color: rgba(89, 116, 204, 0.6);
	text-shadow: none !important;
}

#main-info .c-img:not(.fullsize-img) {
	max-height: 40vh;
	width: 430px;
	margin-left: calc(50% - 215px);
}

#main-info .block-container {
	height: 100%;
}

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

#info-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;
}

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

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

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

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

	transition: 0.15s opacity;
}

#info-stars .empty.visible,
#info-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;
}

.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;
}

.c-img.fullsize-img {
	max-height: none;
	width: auto;
	max-width: 100%;
	margin-left: 0;
}

.table-flex-wrapper {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;

	margin: 0 1em;
}
