body {
	font-size: 12pt;
}
h1 {
	font-size: 13pt;
	text-align: center;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #333333;
	background:
		url("texture/h1-bot.png") center bottom no-repeat,
		url("texture/h1-top.png") center top no-repeat;
	background-origin: border-box, border-box;
	background-clip: border-box, padding-box;
	border-bottom: 5px solid transparent;
	margin: 16px 0;
	padding-top: 3px;
	height: auto;
	min-height: 29px;
	line-height: 1.1;
	overflow: visible;
	box-sizing: border-box;
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
h4 {
	font-size: 10pt;
	text-align: center;
	font-style: normal;
	font-weight: bold;
	background-image: url(texture/ContFillHD.gif);
	color: #660000;
	font-family: Georgia, "Times New Roman", Times, serif;
}
.boxLeft {
	list-style: none;
	margin: 0;
	padding: 0 0 10pt 120px;
	font-family: "Courier New", Courier, mono;
	font-size: 11pt;
	font-weight: bold;
	font-style: normal;
	line-height: normal;
	text-align: left;
}
.boxLeft li {
	list-style: none;
	margin: 0;
}
.boxLeft a {
	position: relative;
	display: block;
	padding-left: 15pt;
	background-repeat: no-repeat;
	background-position: left top;
	background-image: url(texture/sqr.gif);
}
.boxLeft a::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 4px;
	height: 8px;
	border-style: solid;
	border-width: 0 2px 2px 0;
	border-color: #d6b88d;
	transform: rotate(45deg);
}
.boxLeft a:visited::before {
	border-color: #646464;
}
.boxLeft a:hover::before,
.boxLeft a:active::before {
	border-color: transparent;
}
.boxLeft a:active {
	background-image: url(texture/active.gif);
}
.boxLeft a:hover {
	color: #000000;
	background-image: url(texture/point.gif);
}
.boxLeft a.current {
	pointer-events: none;
}
p {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}
.Quot {
	padding: 11px 12px 14px;
	margin: 18px 0 15px;
	border-radius: 4px;
	background-color: rgba(255,255,255,0.2);
	box-shadow:
		0px 0px 6px rgba(0,0,0,0.6),
		inset 0px 0px 6px rgba(255,255,255,0.6);
}
/* Quot must always contain its floated images */
.Quot::after {
	content: "";
	display: block;
	clear: both;
}
.Quot p {
	font-style: italic;
	color: #351C00;
}
p.dialogue {
	text-indent: 0;
	margin-left: 20pt;
}
.author {
	font-weight: bold;
	font-style: normal !important;
	text-indent: 0;
	text-align: left !important;
	margin-bottom: 10px;
}
.history p a:link, .history p a:visited {
	font-weight: bold !important;
	text-decoration: none !important;
	color: #660000 !important;
}
.history p a:hover {
	font-weight: bold;
	text-decoration: none !important;
	color: #CC0000 !important;
}

@media only screen and (max-width: 635px) {
	.boxLeft {
		padding-left: 0;
	}
	h1 {
		font-size: min(13pt, 4.6vw) !important;
		line-height: 1.1 !important;
		height: auto !important;
		min-height: calc(1.1em + 10px) !important; /* строка + 3px сверху + 2px снизу + 5px полоса */
		padding: 3px 8px 2px !important;
		border-bottom: 5px solid transparent !important;
		box-sizing: border-box !important;
		white-space: normal !important;
		word-wrap: break-word !important;
		overflow-wrap: break-word !important;
		overflow: visible !important;
	}
	h1 .head-line { white-space: nowrap; }
	p.dialogue { margin-left: 10pt; }
}

/* Очень узкие экраны: разрешаем переносить и внутри .head-line */
/*
@media only screen and (max-width: 400px) {
	h1 .head-line { white-space: normal; }
}*/
