body {
	background-color: #f8f8ff;
	overflow-y: scroll;
}

div#content {
	position: relative;
	padding-top: 77px;
	padding-bottom: 34px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 1200px;
	min-width: 370px;
	font-family: 'Tahoma';
	font-size: 16px;
}

span#langbutton {
	float: left;
}

button#langbutton1 {
	z-index: 200;
	position: fixed;
	margin-top: -2px;
	margin-left: 7px;
	width: 24px;
	height: 24px;
	border: 0;
	background-repeat: no-repeat;
	background-color: #f8f8ff;
	background-size: 22px;
}

button#langbutton2 {
	z-index: 200;
	position: fixed;
	margin-top: -2px;
	margin-left: 35px;
	width: 24px;
	height: 24px;
	border: 0;
	background-repeat: no-repeat;
	background-color: #f8f8ff;
	background-size: 22px;
}

span#button {
	float: right;
}

button#styles {
	z-index: 200;
	position: fixed;
	overflow: auto;
	margin-top: -2px;
	margin-left: -62px;
	border-radius: 5px;
	border: 2px gray solid;
	background-color: #fff8dc;
	color: #4b0082;
	font-weight: bold;
}

h1#header {
	z-index: 100;
	position: fixed;
	margin: 0 auto;
	top: 0;
	width: calc(100% - 16px);
	max-width: 1200px;
	min-width: 370px;
	height: 60px;
	padding-top: 20px;
	border: 1px gray solid;
	border-radius: 5px;
	border-bottom: 0;
	background-color: color-mix(in srgb, #d3d3d3 15%, #f8f8ff);
	color: #000;
    font-size: 2em;    
	text-align: center;
}

/*<pre> */
p.code {
	overflow-x: auto;
	margin-left: 20px;
	margin-bottom: 10px;
	white-space: pre-wrap;
	font-family: 'Courier';
}

/*параграф*/
p {
	margin-top: 6px;
	margin-left: 0;
	margin-bottom: 0;
	padding-left: 6px;
	padding-right: 10px;
	text-indent: 20px;
}

p.null {
	margin-top: 0;
	margin-left: 0;
	margin-bottom: 0;
	padding-left: 8px;
	padding-right: 10px;
	text-indent: 0px;
}

p.subtitle {
	margin-top: 6px;
	margin-left: 0;
	margin-bottom: 0;
	text-indent: 0;
	padding-left: 22px;
	padding-right: 10px;
}

p.sub_subtitle {
	margin-top: 0;
	margin-left: 40px;
	padding-right: 10px;
	margin-bottom: 0;
	text-indent: 0;
}

p.note {
	color: #4b0082;    
	font-size: 0.8em;
	font-weight: bold;
	padding-right: 40px;
}

p.quote {
	margin-top: 6px;
	margin-left: 0;
	margin-bottom: 0;
	text-indent: 0;
	text-align: justify;
	color: #800080; 
	font-family: "Segoe Script", "Comic Sans", "Courier"; 
	font-size: 16px; 
	font-weight: bold; 
	line-height: 1.3em; 
	padding-left:200px;
}

p.h4 {
	margin: 10px 0 -5px 20px;
	padding-right: 10px;
	text-indent: 0;
	font-size: 1.1em;
	font-weight: bold;
}

ul {
	margin-top: 0;
	margin-bottom: 0;
	padding-right: 10px;
}

ul.top10 {
	margin-top: 5px;
	margin-bottom: 0;
	padding-right: 10px;
}

ul.none_dot {
	list-style: none;
	padding-right: 10px;
}

ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-right: 10px;
}

ol.top10 {
	margin-top: 5px;
	margin-bottom: 0;
	padding-right: 10px;
}

/*заголовок*/
details>summary {
	margin-left: 2px;
	margin-bottom: 3px;
	background-color: color-mix(in srgb, #d3d3d3 15%, #f8f8ff);
	color: #000;
	font-size: 125%;
	font-weight: bold;
	border: 1px gray solid;
	padding-left: 20px;
	border-radius: 5px;
	cursor: pointer;
}

details[open]>summary {
	font-size: 1.2em;
	background-color: #f8f8ff;
	color: navy;    
	border: 1px gray solid;
	border-radius: 5px 5px 0 0;
	border-bottom: 0;
	text-shadow: none;
}

details>summary.subtitle {
	background-color: #f8f8ff;
	margin-top: 7px;
	padding-left: 20px;
	color: navy;
	font-size: 1.1em;
	font-weight: bold;
	border: none;
	list-style: none;
}

details>summary.subtitle:before {
	content: "\25C6";
	padding-right: 10px;
}

details[open]>summary.subtitle:before {
	content: "\25C7";
	padding-right: 10px;
}

details>summary.sub_subtitle {
	background-color: #f8f8ff;
	margin-top: 2px;
	padding-left: 45px;
	color: navy;
	font-size: 1em;
	font-weight: bold;
	border: none;
	list-style: none;
}

details>summary.sub_subtitle:after {
	content: "\21D2";
	padding-left: 5px;
}

details[open]>summary.sub_subtitle:after {
	content: "\21D3";
	padding-left: 5px;
}

/*Картинки*/
p.img {
	margin-top: 10px;
	overflow: auto;
	padding-left: 0;
	padding-right: 20px;
}

img.img400 {
	height: auto;
	width: 100%;
	max-width: 390px;
	min-width: 370px;
}

img.img500 {
	height: auto;
	width: 100%;
	max-width: 490px;
	min-width: 370px;
}

img.img600 {
	height: auto;
	width: 100%;
	max-width: 590px;
	min-width: 450px;
}

img.img700 {
	height: auto;
	width: 100%;
	max-width: 690px;
	min-width: 550px;
}

img.img800 {
	height: auto;
	width: 100%;
	max-width: 780px;
	min-width: 600px;
}

img.img900 {
	height: auto;
	width: 100%;
	max-width: 880px;
	min-width: 650px;
}

img.img1000 {
	height: auto;
	width: 100%;
	max-width: 980px;
	min-width: 700px;
}

img.img1100 {
	height: auto;
	width: 100%;
	max-width: 1080px;
	min-width: 750px;
}

img.img1200 {
	height: auto;
	width: 100%;
	max-width: 1150px;
	min-width: 800px;
}


a {
	text-decoration: none;
	font-family: 'Arial';
	font-size: 105%;
	font-weight: bold;
}

a::after {
	content: "";
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	margin-left: 0.25em;
	margin-right: 0.25em;
	background-size: 100%;
	background-image: url(link-icon.png);
}

a:link,
a:visited,
a:focus {
	color: navy;
	cursor: pointer;
}

a:hover {
	color: gray;
	outline: thick double #4682b4;
	cursor: grab;
}

a:active {
	color: indigo;
	outline: thick double #4682b4;
	cursor: grabbing;
}


hr {
	border: none;
	border-top: 3px dotted #9370db;
	border-bottom: 2px solid #4B0082;
	margin-top: 15px;
	margin-bottom: 15px;
}

hr.lite {
	border: 1px solid green;
	margin-left: 200px;
	margin-right: 200px;
}


h2#footer {
	z-index: 200;
	position: fixed;
	margin: 0 auto;
	bottom: 0;
	width: calc(100% - 16px);
	max-width: 1200px;
	min-width: 370px;
	height: 24px;
	border: 1px gray solid;
	border-radius: 5px;
	border-top: 0;
	padding-top: 10px;
	background-color: color-mix(in srgb, #d3d3d3 15%, #f8f8ff);
	color: navy;
	font-size: 0.7em;
	font-weight: bold;
	text-align: center;
}
