body {
	background-color:#ccd8cc;
	color: #2e3a38
}

header {
	border-radius: 77px/50%;
	box-shadow:#92aa94 0px 0px 0px, #92aa94 0 0 1em;

	background: -moz-linear-gradient(top,#026d77 0%,#057684 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#026d77), color-stop(100%,#057684));
	background: -webkit-linear-gradient(top,#026d77 0%,#057684 100%);
	background: -o-linear-gradient(top,#026d77 0%,#057684 100%);
	background: -ms-linear-gradient(top,#026d77 0%,#057684 100%);
	background: linear-gradient(top,#026d77 0%,#057684 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#026d77', endColorstr='#057684',GradientType=0 );
	background-color: #03717d;

	font-family: arial, verdana, sans-serif;
	margin-bottom: .5ex
}

/*Выравниваем заголово по центру от оставшегося*/
header p {color: #dfe4ea}

/* Горизонтальное меню */
.menu {border-bottom-color: #646e63}
.menu div,
.menu a, .menu label {
	color: #344437;
	font-family: arial, verdana, sans-serif
}
.menu b {
	/*color: #555;*/
	/*color: #c8491E;*/
	color: #fff7da;
	/*text-shadow: 2px 2px 10px #f00, -2px 2px 10px #f00, 2px -2px 10px #f00, -2px -2px 10px #f00;*/
	text-shadow: 0 0 3px #543;
	background: -moz-linear-gradient(top, #f37f0e 0%, #ee6d19 25%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f37f0e), color-stop(25%,#ee6d19)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f37f0e 0%,#ee6d19 25%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f37f0e 0%,#ee6d19 25%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f37f0e 0%,#ee6d19 25%); /* IE10+ */
	background: linear-gradient(top, #f37f0e 0%,#ee6d19 25%); /* W3C */
	background-color: #f07613;
	border: 1px solid #f17714;
	box-shadow: #f17714 0 0 6px;
}
.menu a:hover, .menu a.mark, .menu label:hover {
	box-shadow: inset #beccbf 0 0 6px;
	background-color: #76a837;
	color: #f1f7ed
}
.menu a:hover b, .menu a.mark b {
	color: #f1f7ed;
	background: none;
	border-color: transparent;
	box-shadow: none;
}

/* Навигация */
nav a {
	font-family: arial, verdana, sans-serif;
	font-weight: bold;
	font-size: smaller;

	border-color: #5f8031;

	outline: none;
	position: relative
}
nav a, #nextpage, #prevpage {
	border-radius: 8px;

	cursor: pointer;
	color: #f6f8f3;

	border: 1px solid #5f8031;

	background: -moz-linear-gradient(top, #9BC369 0%, #76a837 25%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9BC369), color-stop(25%,#76a837)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #9BC369 0%,#76a837 25%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #9BC369 0%,#76a837 25%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #9BC369 0%,#76a837 25%); /* IE10+ */
	background: linear-gradient(top, #9BC369 0%,#76a837 25%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9BC369', endColorstr='#76a837',GradientType=0 ); /* IE6-9 */
	background-color: #88B550
}
nav a.mark,
nav a:hover {
	background: -moz-linear-gradient(top, #99c62b 0%, #9dc24e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#99c62b), color-stop(100%,#9dc24e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #99c62b 0%,#9dc24e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #99c62b 0%,#9dc24e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #99c62b 0%,#9dc24e 100%); /* IE10+ */
	background: linear-gradient(top, #99c62b 0%,#9dc24e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99c62b', endColorstr='#9dc24e',GradientType=0 ); /* IE6-9 */
	background-color: #9bc43c
}
nav a.mark {
	background: -moz-linear-gradient(top, #3c4e42 0%, #5f802f 25%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3c4e42), color-stop(25%,#5f802f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #3c4e42 0%,#5f802f 25%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #3c4e42 0%,#5f802f 25%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #3c4e42 0%,#5f802f 25%); /* IE10+ */
	background: linear-gradient(top, #3c4e42 0%,#5f802f 25%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3c4e42', endColorstr='#5f802f',GradientType=0 ); /* IE6-9 */
	color: #e4e9e3
}

main {
	border-left: solid 3px #646e63;
	background-color: #e5eae4;
	background-image:url('/img/gui/bgpsy.gif')
}

/* Подвал */
footer {
	border-radius: 0 0 2ex 2ex;
	color:#798b7d;

	font-family: arial, verdana, sans-serif;
	font-weight: bold;
	font-size: smaller
}

#toTop {
	box-shadow: #bbb1b6 0px 0px 1ex;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .3),
		0 0 40px rgba(0, 0, 0, .1) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .3),
		0 0 40px rgba(0, 0, 0, .1) inset;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3), 0 0 40px rgba(0, 0, 0, .1) inset;

	background-color: rgba(85,87,84,.3);
	border-color: #86958e
}


.mess {
	border-color: #bbb1b6;
	border-radius:2ex;
	box-shadow:#bbb1b6 0px 0px 1ex;
}

.messhead {
	background: -moz-linear-gradient(top,#c6e5c6 0%,#b2d1b2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c6e5c6), color-stop(100%,#b2d1b2));
	background: -webkit-linear-gradient(top,#c6e5c6 0%,#b2d1b2 100%);
	background: -o-linear-gradient(top,#c6e5c6 0%,#b2d1b2 100%);
	background: -ms-linear-gradient(top,#c6e5c6 0%,#b2d1b2 100%);
	background: linear-gradient(top,#c6e5c6 0%,#b2d1b2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c6e5c6', endColorstr='#b2d1b2',GradientType=0 );
	background-color:#bcdbbc;
	color:#777766
}

main th i{color:#444}
main tr:nth-child(odd) {background-color:#f7f7f7}
main tr:nth-child(even) {background-color:#e4e9e3}
main thead td, main th {background-color:#ccd8cc}
td, th, tbody, thead, tfoot, colgroup {border-color: #8e9c8d}

main a, summary {color:#347186}
main a:hover {color:black}
main a:visited {color:#506050}

/* Макет */
/*@media (max-width: 1100px), (min-resolution: 100dpi) and (max-width: 1280px){*/
@media (max-width: 1279px){
	/* Выпадающее меню, на маленьких экранах */
	nav {
		background-color: #ccd8cc;
		border-color: #344437
	}
	main {border-left: none}
}

.red {
	font-size:larger;
	color: #dc3100
}