body {
	padding: 0px;
	margin: 0px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: White;
}

/* Header */

td.header_ads {
	width: 200px;
	font-size: 10pt;
}

/*  Left bar */

td.left_bar {
	width: 240px;
	vertical-align: top;
}

div.menu {
	background-color: #00923f;
}

div.menu div {
	padding: 5px 30px;
	font-size: 90%;
}

div.menu_top {
	background-image: url(../imgs/menu_top.gif);
	background-position: top right;
	background-repeat: no-repeat;
}

div.menu_bottom {
	background-image: url(../imgs/menu_bottom.gif);
	background-position: bottom right;
	background-repeat: no-repeat;
}

div.menu a {
	color: #F0FFF0;
}

div.menu_cur {
	background-color: #33cc33;
}

div.left_bar_items {
	margin: 0px 30px;
	padding: 20px 0px;
	font-size: 90%;
	border-bottom: 1px dashed #708F8F;
}
div.left_bar_items p {
	margin: 0px;
	padding: 5px 0px;
}

div.left_bar_separator {
	margin: 0px 30px;
	height: 20px;
	border-bottom: 1px dashed #708F8F;
}

/* Персональное меню */
div.personal_menu {
	padding: 20px 30px 0px 0px;
	font-size: 90%;
}
div.personal_menu div {
	padding: 5px 0px 5px 30px;
}
div.pers_menu_cur {
	background-color: #F5F5DC;
}

/* Общее меню */
div.general_menu {
	padding: 20px 30px 20px 0px;
	font-size: 90%;
}
div.general_menu div {
	padding: 5px 0px 5px 30px;
}
div.gen_menu_cur {
	background-color: #F5F5DC;
}

/* Footer */

table.footer {
	width: 100%;
	border-top: 2px solid #00923f;
}

table.footer td {
	padding: 20px;
	vertical-align: top;
	font-size: 80%;
}

/* Content */

td.content {
	vertical-align: top;
	padding: 20px 40px;
	font-size: 90%;
}

.comment {
	font-size: 90%;
	color: Gray;
}

.comment a {
	color: Gray;
}

a {
	color: #336699;
}
a:hover {
	color: Red;
}

a.inner {
	text-decoration: none;
	border-bottom: 1px dashed #336699;
}
a.inner:hover {
	text-decoration: none;
	border-bottom: 1px dashed Red;
}

h1 {
	color: #da771c;
	font-weight: normal;
	font-size: 20pt;
}

span.sort_type {
	padding: 2px 5px 3px;
}

span.sort_type_cur {
	background-color: #FFEBCD;
	padding: 2px 5px 3px;
}

div.code {
	background-color: #F5F5DC;
	padding: 5px 10px;
	margin-bottom: 10px;
}

/* Подсказка */

div.hint {
	background-color: #F5F5DC;
	margin-bottom: 10px;
	line-height: 1.4em;
	overflow: hidden;
}

div.hint_body {
	padding: 0px 20px;
	overflow: hidden;
}

div.hint_edge {
	overflow: hidden;
	height: 10px;
}

div.hint_lt {
	background: url(/imgs/question_lt.gif) no-repeat left top;
	height: 10px;
	width: 10px;
	float: left;
}

div.hint_rt {
	background: url(/imgs/question_rt.gif) no-repeat right top;
	height: 10px;
	width: 10px;
	float: right;
}

div.hint_lb {
	background: url(/imgs/question_lb.gif) no-repeat left top;
	height: 10px;
	width: 10px;
	float: left;
}

div.hint_rb {
	background: url(/imgs/question_rb.gif) no-repeat right top;
	height: 10px;
	width: 10px;
	float: right;
}

div.hint p {
	margin: 0px 0px;
}
div.hint ul {
	margin-top: 8px;
	margin-bottom: 5px;
}

/* Tests */
table.question {
	width: 100%;
	background-color: #F5F5DC;
}

td.question_number {
	width: 70px;
	color: #da771c;
	font-size: 300%;
	vertical-align: top;
	text-align: right;
}

td.question_content {
	vertical-align: top;
	padding: 10px 15px;
}

div.question_text {
	font-size: 150%;
}
div.question_text p {
	margin-top: 0px;
	margin-bottom: 5px;
}

div.question_answers {
	padding-left: 24px;
	text-indent: -24px;
	font-size: 80%;
}
div.question_answers p {
	margin: 5px;
}
div.question_answers input {
	position: relative;
	top: 2px;
}

/* smalldata используется в некотрых тестах */

table.smalldata {
	border-collapse: collapse;
}

table.smalldata th {
	border: 1px solid Gray;
	font-size: 90%;
}

table.smalldata td {
	border: 1px solid Gray;
	font-size: 80%;
}

/* Списки тестов */

table.tests_list {
	margin: 30px 0px 10px 0px;;
}

table.tests_list td {
	font-size: 90%;
	padding: 0px 10px 0px 0px;
	vertical-align: top;
}

table.tests_list td ol {
	margin-top: 0px;
}

table.tests_list td p {
	margin-top: 0px;
}

div.nav {
}

/* Комментарии и пояснения */

div.fieldset {
	padding: 10px;
	font-size: 10pt;
}

div.fieldset ul {
	margin-top: 10px;
	margin-bottom: 0px;
}

legend {
	color: #da771c;
}

/* Data forms */

table.data_form {
	border-collapse: collapse;
}
table.data_form td, table.data_form th {
	border: 1px solid #DAA520;
	padding: 5px 10px;
}
table.data_form th {
	background-color: #F0E68C;
	color: #A0522D;
}

table.data_form td {
	font-size: 80%;
}

table.data_form td.fname {
	text-align: right;
}

.required {
	color: Red;
}

.errors {
	color: Red;
}

.notes {
	color: Green;
}

