/*** Common styles ***/
body { /* body */
	background-color: #AFEEEE;
	color: inherit;
	margin-top: 0px;
	margin-bottom: 0px;
}
table.main { /* The main table */
	background-color: #FFFFFF;
	color: inherit;
}

/*** Titles ***/
p.page_title, div.page_title, font.page_title { /* Page title */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 25px;
	text-transform: uppercase;
}
p.title, div.title, font.title { /* Ordinary title */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 20px;
}
p.import_title, div.import_title, font.import_title { /* Important block title */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 17px;
	font-weight: bold;
	font-style: italic;
	border: dashed 2px #00008B;
	padding: 2px;
	margin-top: 30px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 1px;
	text-indent: 15px;
}
p.add_title, div.add_title, font.add_title { /* Narrative title */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 17px;
	font-weight: bold;
	font-style: italic;
	border: dotted 2px #00008B;
	padding: 2px;
	margin-top: 30px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 1px;
	text-indent: 15px;
}

/*** Text ***/
p.normal, div.normal, font.normal { /* Ordinary text */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 15px;
}
p.bold, div.bold, font.bold { /* Bold text */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 15px;
	font-weight: bold;
}
p.italic, div.italic, font.italic { /* Italic text */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 15px;
	font-style: italic;
}
p.mini, div.mini, font.mini { /* Diminished text */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 12px;
}
p.import, div.import, font.import { /* Important text */
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 15px;
	border: dashed 1px #00008B;
	padding: 2px;
	margin-top: 1px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 30px;
	text-indent: 10px;
	background: #DCDCDC;
}
p.add, div.add, font.add { /* Narrative text */
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 13px;
	font-style: italic;
	border: dotted 1px #00008B;
	padding: 2px;
	margin-top: 1px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 30px;
	text-indent: 10px;
	background: #DCDCDC;
}
p.code, div.code, font.code { /* Code */
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 13px;
	font-style: italic;
	border: double 1px #00008B;
	padding: 2px;
	margin: 30px;
	background: #DCDCDC;
}
font.msg_deleted {
	background-color: #00CCFF;
	color: #FFFFFF;
}
font.action_ok {
	background-color: #00CCFF;
	color: #FFFFFF;
}
font.com_submit {
	background-color: #00CCFF;
	color: #FFFFFF;
}

/*** Links ***/
a { /* Ordinary link */
	background-color: inherit;
	color: #00008B;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
	text-decoration: underline;
}
a:hover { /* Ordinary active link */
	background-color: inherit;
	color: #0000FF;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
	font-style: italic;
	text-decoration: underline;
}
a.mini { /* Diminished link */
	background-color: inherit;
	color: #00008B;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 12px;
	text-decoration: underline;
}
a.mini:hover { /* Diminished active link */
	background-color: inherit;
	color: #0000FF;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 12px;
	font-style: italic;
	text-decoration: underline;
}

/*** Tables ***/
table.normal { /* Обычная таблица */
	width: 75%;
}
tr.title { /* Заголовок таблицы */
	background-color: #363636;
	color: #FFFFFF;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 17px;
}
tr.sent {
	background-color: #00CCFF;
	color: #FFFFFF;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 17px;
}
tr.normal { /* Обычная ячейка */
	background-color: #A9A9A9;
	color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
}
table.block { /* Таблица блока */
	width: 180px;
}
tr.block_title { /* Заголовок блока */
	text-align: center;
	font-weight: bold;
	background-color: #87CEEB;
	color: inherit;
}
tr.block_item { /* Ячейка пункта блока */
	text-align: left;
	background-color: #ADD8E6;
	color: inherit;
}
td.blocks { /* Ячейка для блоков */
	width: 180px;
}
td.border { /* Ячейка для разделительной линии */
    width: 3px;
    background-image: url('images/vert_line.gif');
    background-repeat: repeat-y;
    background-position: top;
}
td.normal { /* Обычная ячейка */
	background-color: #A9A9A9;
	color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
}
td.state_nan {
    background-color: #3399FF;
    color: #FFFFFF;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
}
td.state_handed {
    background-color: #FFFF66;
    color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
}
td.state_declined {
    background-color: #FF3333;
    color: #FFFFFF;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
}
td.state_accepted {
    background-color: #33FF33;
    color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-size: 15px;
}

/*** Элементы формы ***/
label { /* Пордпись к элементу формы */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #000000;
	font-size: 15px;
}
input.short { /* Короткое текстовое поле */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	padding-left: 3px;
	color: #00008B;
	width: 50px;
}
input.normal { /* Обычное текстовое поле */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	padding-left: 3px;
	color: #00008B;
	width: 150px;
}
input.long { /* Длинное текстовое поле */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	padding-left: 3px;
	color: #00008B;
	width: 300px;
}
input.very_long { /* Очень длинное текстовое поле */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	padding-left: 3px;
	color: #00008B;
	width: 600px;
}
input.password { /* Поле для ввода пароля */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	padding-left: 3px;
	color: #00008B;
	width: 150px;
}
input.browse_text { /* Поле для выбора файла */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	padding-left: 3px;
	color: #00008B;
	width: 400px;
}
textarea.small { /* Маленькая область теста */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	color: #00008B;
	width: 300px;
	height: 40px;
}
textarea.normal { /* Обычная область теста */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	color: #00008B;
	width: 500px;
	height: 100px;
}
textarea.big { /* Большая область теста */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	color: #00008B;
	width: 780px;
	height: 100px;
}
textarea.reg { /* Область текста с регулируемым размером */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	font-style: italic;
	color: #00008B;
}
input.cb { /* Контрольный переключатель */
	/* -------------------- */
}
input.radio { /* Селекторная кнопка */
	/* -------------------- */
}
select.list { /* Список элементов */
	background-color: #87CEEB;
	border-width: 2px;
	border-style: ridge;
	border-color: #00008B;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	padding-left: 1px;
	color: #00008B;
}
input.short_but { /* Кнопка входа/выхода */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	color: #00008B;
	width: 60px;
}
input.normal_but { /* Обычная кнопка */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	color: #00008B;
	width: 120px;
}
input.long_but { /* Кнопка меню */
	background-color: #ADD8E6;
	border-width: 2px;
	border-style: ridge;
	border-color: #87CEEB;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	color: #00008B;
	width: 180px;
}

/*** Стили ошибок ***/
p.crit_error, div.crit_error, font.crit_error { /* Критическая ошибка */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #FF0000;
	font-size: 13px;
}
p.user_error, div.user_error, font.user_error { /* Ошибка пользователя */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #006400;
	font-size: 13px;
}
p.notice_error, div.notice_error, font.notice_error { /* Уведомление */
	background-color: inherit;
	font-family: "Microsoft Sans Serif", "Times New Roman", Verdana, Arial, Sans-serif;
	line-height: normal;
	color: #0000FF;
	font-size: 13px;
}

/*** Линия ***/
hr { /* Линия */
	background-color: inherit;
	color: #000000;
}