html {
	text-align: center;

	background: -moz-linear-gradient(top, #90c934 0%, #abd765 100%);

	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0%, #90c934),
		color-stop(100%, #abd765)
	);

	background: -webkit-linear-gradient(top, #90c934 0%, #abd765 100%);

	background: -o-linear-gradient(top, #90c934 0%, #abd765 100%);

	background: -ms-linear-gradient(top, #90c934 0%, #abd765 100%);

	background: linear-gradient(top, #90c934 0%, #abd765 100%);

	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#90c934', endColorstr='#abd765', GradientType=0);

	background-color: #abd765;
	background-repeat: no-repeat;
}

body {
	min-width: 90%;
	text-align: left;
	display: inline-block;
	background-color: #fce8c5;
	margin: 1em 2em;
	border-radius: 2ex;
	box-shadow: #c0c0c0 0px 0px 0px, #606060 0 0 1em;
}

header {
	width: 100%;
	display: inline-block;
	border-radius: 2ex 2ex 0 0; /*box-shadow:#f8dba6 0px 0px 0px, #f8eba0 0 0 1em;*/

	background: -moz-linear-gradient(top, #f8dba6 0%, #f3a842 100%);

	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0%, #f8dba6),
		color-stop(100%, #f3a842)
	);

	background: -webkit-linear-gradient(top, #f8dba6 0%, #f3a842 100%);

	background: -o-linear-gradient(top, #f8dba6 0%, #f3a842 100%);

	background: -ms-linear-gradient(top, #f8dba6 0%, #f3a842 100%);

	background: linear-gradient(top, #f8dba6 0%, #f3a842 100%);

	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8dba6', endColorstr='#f3a842', GradientType=0);

	background-color: #f5c174;
	font-family: arial, verdana, sans-serif;
}

header img {
	margin: 0px 1ex !important;
	max-width: 30%;
	border-width: 0px;
}

/* header div {position:absolute;top:100%;background-color:white} */

header h2 {
	text-align: center;
	color: #555511;
	text-shadow: #cda65b 1px 1px 2px, #cda65b 0 0 1em;
}

.nw {
	white-space: nowrap;
}

/* Список маркированный дефисами */

ul.dash {
	list-style: none;
}

ul.dash > li:before {
	content: "-";
	position: relative;
	left: -1ex;
}

/* Горизонтальное меню */

.menu {
	width: 100%;

	margin: 0;
	border: 0;
	border-bottom: 3px solid #f3a842;

	background: -moz-linear-gradient(top, #fefefe 0%, #cbcfc3 100%);

	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0%, #fefefe),
		color-stop(100%, #cbcfc3)
	);

	background: -webkit-linear-gradient(top, #fefefe 0%, #cbcfc3 100%);

	background: -o-linear-gradient(top, #fefefe 0%, #cbcfc3 100%);

	background: -ms-linear-gradient(top, #fefefe 0%, #cbcfc3 100%);

	background: linear-gradient(top, #fefefe 0%, #cbcfc3 100%);

	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#cbcfc3', GradientType=0);

	background-color: #e4e6e0;
}

.menu td,
.menu tbody {
	border-collapse: collapse;
	border-width: 0;
	padding: 2px 1ex;
	vertical-align: middle;
}

.menu div,
.menu a {
	display: inline-block;
	padding: 1ex;
	border-radius: 1ex;
	color: #404040;
	text-decoration: none;
	text-shadow: #afafaf 1px 1px 2px, #afafaf 0 0 1em;

	font-family: arial, verdana, sans-serif;

	font-style: normal;

	font-weight: bold;

	cursor: pointer;
}

.menu div:hover,
.menu a:hover {
	color: #000000;
	box-shadow: inset #c0c0c0 0 0 6px;
	background-color: #e4e6e0;
}

/* Контент */

article h2 {
	text-align: center;
}

.mess {
	border-radius: 2ex;
	box-shadow: #bbb1b6 0px 0px 1ex;
	border: 1px solid #bbb1b6;
	margin: 0em 0em 1em 0em;
	padding-bottom: 2em;

	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(0, 0, 0, 0.1) inset;

	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(0, 0, 0, 0.1) inset;

	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;

	border: 1px solid #efefef;

	-moz-border-radius: 2ex 2ex 120px 120px / 2ex 2ex 6px 6px;

	border-radius: 2ex 2ex 120px 120px / 2ex 2ex 6px 6px;
}

.messhead {
	width: 100%;
	text-indent: 3ex;

	background: -moz-linear-gradient(top, #eeeeee 0%, #d0d0d0 100%);

	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0%, #eeeeee),
		color-stop(100%, #d0d0d0)
	);

	background: -webkit-linear-gradient(top, #eeeeee 0%, #d0d0d0 100%);

	background: -o-linear-gradient(top, #eeeeee 0%, #d0d0d0 100%);

	background: -ms-linear-gradient(top, #eeeeee 0%, #d0d0d0 100%);

	background: linear-gradient(top, #eeeeee 0%, #d0d0d0 100%);

	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#d0d0d0', GradientType=0);

	background-color: #dfdfdf;

	color: #777766;
	border-radius: 2ex 2ex 0 0;
}

.post {
	display: table-cell;
	width: 100%;
	padding: 1em 2em 1em 2em;
}

blockquote {
	border-radius: 2ex;
	box-shadow: #c0d1d6 0px 0px 1ex;
	border: 1px solid #b0c1c6;
	padding: 1em;
	background-image: url("img/bgw.gif");
	background-color: #f4f4d9;
}

blockquote > div.q {
	border-radius: 2ex;
	border: 1px solid #b0c1c6;
	padding: 0 1em 0 1em;
	margin-top: -1.9em;
	background-color: #f9f9db;
	float: left;
	font-size: smaller;
}

article {
	background-color: #f4e8d2;
	padding: 1em;
	width: 100%;
	display: table-cell;
	text-indent: 3ex;
	text-align: justify; /*background-image:url('img/bg.gif');*/
	border-left: solid 3px #f9bdbd;
}

footer {
	text-align: center;
	width: 100%;
	border-radius: 0 0 2ex 2ex;
	padding: 1ex 0;
	margin-top: 1em;
	color: #707070;

	background-color: #9dd04c;

	background: -moz-linear-gradient(top, #fce0af 0%, #f9cb7b 50%, #fce0af 100%);

	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0%, #fce0af),
		color-stop(50%, #f9cb7b),
		color-stop(100%, #fce0af)
	);

	background: -webkit-linear-gradient(
		top,
		#fce0af 0%,
		#f9cb7b 50%,
		#fce0af 100%
	);

	background: -o-linear-gradient(top, #fce0af 0%, #f9cb7b 50%, #fce0af 100%);
	background: -ms-linear-gradient(top, #fce0af 0%, #f9cb7b 50%, #fce0af 100%);
	background: linear-gradient(top, #fce0af 0%, #f9cb7b 50%, #fce0af 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fce0af', endColorstr='#f9cb7b', GradientType=0);
	font-family: arial, verdana, sans-serif;
	font-weight: bold;
	font-size: smaller;
}
p {
	margin: 0px;
}
.epil {
	padding: 1em 0 1em 50%;
}
.left {float: left}
.right {float: right}
.note {
	border-bottom: 1px dashed grey;
	padding-bottom: 0.8px;
	cursor: help;
}
article span>ul, article span>ol {
	padding-top: 0;
	margin-top: 0
}
article img {
	max-width: 100%;
	display: block;
	margin: 2em auto;
}

figure {
	max-width: 100%;
	text-align: center;
	padding: 0px;
	text-indent: 0;
}
figure img {
	display: inline;
	margin: 0.5em;
}

figcaption {
	font-weight: bold;
	margin-bottom: 1ex;
	text-indent: 0px;
}
table {
	margin: 2em auto;
}
button {
	padding: 0px;
	border-width: 0px;
	background-color: #e4e6e0;
}
button img {
	margin: 0px;
}
table {
	text-indent: 0px;
	border-collapse: collapse;
}

td,
th {
	border: 1px solid black;
	padding: 1ex;
}
tbody,
thead,
tfoot,
colgroup {
	border: 2px solid black;
	padding: 1ex;
}
/* Навигация */
nav {
	display: table-cell;
	vertical-align: top;
	padding: 1ex;

	width: 30%;
}
nav a {
	display: block;
	border-radius: 8px;
	padding: 0.5ex 1em;
	margin: 1ex;
	text-decoration: none;
}
nav a {
	margin: 5px;
	outline: none;
	position: relative;
	cursor: pointer;

	color: #565d4b;
	text-shadow: 1px 1px #c0c0c0;
	border: 1px solid #f7b748;
	background: -moz-linear-gradient(top, #fcdda9 0%, #f8c367 100%);

	/* FF3.6+ */
	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0%, #fcdda9),
		color-stop(100%, #f8c367)
	); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(
		top,
		#fcdda9 0%,
		#f8c367 100%
	); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(
		top,
		#fcdda9 0%,
		#f8c367 100%
	); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #fcdda9 0%, #f8c367 100%); /* IE10+ */
	background: linear-gradient(top, #fcdda9 0%, #f8c367 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcdda9', endColorstr='#f8c367', GradientType=0);
	/* IE6-9 */
	background-color: #fad088;
	font-family: arial, verdana, sans-serif;
	font-weight: bold;
	font-size: smaller;
	white-space: nowrap;
}
nav a::-moz-focus-inner {
	border: 0;
}
nav a:hover {
	background: -moz-linear-gradient(top, #bcdf83 0%, #a0c934 100%); /* FF3.6+ */
	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0%, #bcdf83),
		color-stop(100%, #a0c934)
	); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(
		top,
		#bcdf83 0%,
		#a0c934 100%
	); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(
		top,
		#bcdf83 0%,
		#a0c934 100%
	); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #bcdf83 0%, #a0c934 100%);
	/* IE10+ */
	background: linear-gradient(top, #bcdf83 0%, #a0c934 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bcdf83', endColorstr='#a0c934', GradientType=0); /* IE6-9 */
	background-color: #aed86a;
}
nav a:active {
	top: 3px;
	left: 2px;
}
