* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	background: #ffffff;
	color: #000000;
	font: 1em/1.4 SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

a { color: #006666; }
a:visited,
a:active { color: #008080; }
a[href^="http"]::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 4px;
	background-image: url('external.svg');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}
a[href^="https://bromeliaceae.su"]::after { content: none; }

a[href$=".jpg"]::before,
a[href$=".zip"]::before,
a[href$=".pdf"]::before {
	content: url('file.svg');
	display: inline-block;
	vertical-align: middle;
	margin-right: 4px;
}

h1,
h2,
h3 {
	color: #7e8bb8;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	font-weight: bold;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}
h1 { 
	font-size: 1.6em; 
	line-height: 1.2; 
	margin: 1.5em 0 0.6em 0;
}
h2 { 
	font-size: 1.3em; 
	line-height: 1.25; 
	margin: 1.4em 0 0.5em 0; 
}
h3 { 
	font-size: 1.0em; 
	line-height: 1.3; 
	margin: 1.3em 0 0.4em 0; 
}

p { margin: 0.8em 0; }
img + p { font-size: 0.9em; }

img {
	display: block;
	max-width: 100%;
	height: auto;
}

ul,
ol {
	display: block;
	margin: 1em 0;
	padding-left: 40px;
}
ul ul,
ol ol { margin: 0; }
ul {
	list-style-type: disc;
}
ol {
	counter-reset: item;
	list-style-type: none;
}
ol li::before {
	content: counters(item, ".") ". ";
	counter-increment: item;
}
li { display: list-item; }

dl,
dt,
dd { display: block; }
dl { margin: 10px 0; }
dt {
	margin: 10px 0 10px 40px;
	font-weight: bold;
}

hr {
	display: block;
	margin: 0.5em auto;
	color: gray;
	overflow: hidden;
	border: 1px inset;
}

table {
	width: 100%;
/*
	max-width: 768px;
*/
    margin: 20px 0;
	font-size: 0.9em;
    border-collapse: collapse;
}
thead tr { border-bottom: 1px solid #000000; }
th, td {
    vertical-align: top;
    border-right: 1px solid #000000;
}
th:last-child, td:last-child { border-right: none; }
th {
    padding: 15px 10px;
    font-weight: bold;
    text-align: center;
    border-top: 2px solid #000000;
}
td {
	padding: 5px 10px;
    text-align: center;
}
td:nth-child(2) { text-align: left; }

form {
	display: block;
	width: 100%;
	margin: 0 0 20px 0;
}
form span {
	display: block;
	margin: 5px 0 0 0;
	font-size: 0.9em;
}
form span img {
	display: inline;
	vertical-align: top;
}
fieldset p,
label,
input,
textarea {
	font-size: 0.9em;
	font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
fieldset {
	margin: 0 0 20px 0;
	padding: 5px;
	background: #eeeeee;
	border: none;
}
fieldset p { margin: 0 0 0.8em 0; }
label {
	display: block;
	width: auto;
	margin: 5px 0 0 0;
}
input:-webkit-autofill,
input:-webkit-autofill:hover {
	-webkit-box-shadow: 0 0 0px 1000px #eeeeee inset !important;
	box-shadow: 0 0 0px 1000px #eeeeee inset !important;
	-webkit-text-fill-color: #000000 !important;
}
input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0px 1000px #ccccff inset !important;
	box-shadow: 0 0 0px 1000px #ccccff inset !important;
	-webkit-text-fill-color: #000000 !important;
}
[type=text],
[type=password],
textarea {
	display: block;
	width: 100%;
	padding: 0;
	background: #eeeeee;
	border-top: 2px solid #676b63;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	border-left: 2px solid #676b63;
}
[type=text]:focus,
[type=password]:focus,
textarea:focus {
	outline: 2px solid #000000;
	background: #ccccff;
}
[type=text],
[type=password] {
	max-width: 500px;
	height: 25px;
	margin: 0;
}
[type=submit],
[type=reset],
button {
	width: auto;
	padding: 3px;
	background: #eeeeee;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #676b63;
	border-bottom: 2px solid #676b63;
	border-left: 2px solid #ffffff;
	outline: 0;
	outline-offset: 0;
	cursor: pointer;
}
[type=submit]:active,
[type=reset]:active,
button:active {
	outline: none;
	border-top: 2px solid #676b63;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	border-left: 2px solid #676b63;
}
[type=submit]:focus,
[type=reset]:focus,
button:focus { outline: 2px solid #000000; }
textarea {
	max-width: none;
	min-height: 150px;
	resize: vertical;
}

code {
    display: block;
    background-color: #000d00;
    color: #4af626;
    padding: 2px;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1.1em;
    position: relative;
    overflow: hidden;
    border: 10px solid #1a1a1a;
    white-space: pre-wrap;
    word-break: break-all;
    text-shadow: 0 0 5px rgba(74, 246, 38, 0.7), 
				 0 0 10px rgba(74, 246, 38, 0.3);
    background-image: radial-gradient(circle at 50% 50%, rgba(74, 246, 38, 0.05) 0%, transparent 80%),
					  repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0 1px, transparent 1px 2px);
    animation: flicker 0.15s infinite;
    filter: blur(0.55px); 
    transition: filter 0.3s ease;
}
@keyframes flicker {
    0% { opacity: 0.98; }
    50% { opacity: 1; }
    100% { opacity: 0.99; }
}
code::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 0%, rgba(74, 246, 38, 0.1) 50%, rgba(18, 16, 16, 0) 100%);
    opacity: 0.1;
    pointer-events: none;
    animation: scanline 6s linear infinite;
}
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.header,
.wrapper {
	max-width: 1200px;
	padding: 10px;
	overflow: hidden;
}

.wrapper {
	display: table;
	width: 100%;
}

.sidebar, .content {
	display: table-cell;
	vertical-align: top;
}

#trigger,
#visible { display: none; }

.sidebar {
	width: 200px;
	background: #ccffee;
	padding: 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
.sidebar h2 {
	font-size: 0.9em;
	margin: 0 0 0.4em 0;
	color: #000000;
}
.sidebar ul { margin: 0 0 0.5em 0; }
.sidebar li {
	margin: 0.3em 0;
	font-size: 0.8em;
}

.content { padding: 0 0 0 10px; }

.breadcrumbs { font-size: 0.9em; }

.toc {  }

.print { font-size: 0.9em; }

.pagination {
	display: block;
	list-style: none;
	overflow: hidden;
	padding: 0;
}
.pagination li {
	float: left;
	margin: 0 10px 0 0;
}

.red { color: #ff0000; }

.footer {
	margin-top: 1.2em;
	font-size: 0.9em;
}

@media screen and (max-width: 768px) {
	h1 { 
		font-size: 1.4em; 
		margin: 1.2em 0 0.5em 0; 
	}
	h2 { 
		font-size: 1.2em; 
		margin: 1.1em 0 0.4em 0; 
	}
	h3 { 
		font-size: 1.0em; 
		margin: 1.0em 0 0.3em 0; 
	}

	table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	
	[type=text],
	[type=password],
	textarea { max-width: none; }

	.wrapper { display: block; }

	label#trigger {
		display: block;
		width: 100%;
		max-width: none;
		background: #ccffee;
		margin: 0;
		padding: 10px;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
		font-size: 0.9em;
	}
	label#trigger::after {
		content: '+';
		margin: 0 0 0 5px;
	}
	label#trigger span {
		color: #006666;
		text-decoration: underline;
	}
	input#visible:checked + label#trigger::after { content: '–'; }
	input#visible:checked ~ .sidebar {
		width: 100%;
		display: block; 
	}

	.sidebar { display: none; }

	.content {
		display: block;
		margin-left: 0;
		padding: 0;
	}
}
