/* Все элементы */
* { font-family: Tahoma, Arial, sans; font-size: 11px; }

/* Стиль тела документа */
body { margin: 0px; padding: 0px; background: #fff; color: #5D5E5C; }

p { padding-bottom: 10px; }

/* Оформление ссылок */
a, a:active, a:visited, a:link { color:Navy; text-decoration: underline; }
a:hover { text-decoration: none; }
a.bold { font-weight: bold; }

/* Оформление обычных ненумерованных списков */
ul { list-style-type: square; margin: 0px; padding: 0px; padding-left: 15px; }
li { margin-left: 0px; padding: 2px; }

img { padding: 0px; margin: 0px; border: 0px; }

/* Оформление заголовков страницы */
h1, h2, h3, h4, h5 { padding-top: 10px; padding-bottom: 10px; margin: 0px; color: #2c6f89; font-family: Arial, Tahoma, sans; }
h1 { font-size: 18px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }

/* Оформление таблицы */
table { border: 0px; }
th { text-align: left; }
td,th { margin: 0px; padding: 0px; border: 0px; border-collapse: collapse; }
td img { display: block; }

/* Форматированный текст */
pre { font-size: 11px; }

form { padding-bottom: 10px; padding-top: 10px;}

/* Элемент управления формы страницы */
.xsPageInput { width: 300px; height: auto; padding: 2px;}

/* Элемент управления формы страницы */
.xsPageSelect { width: 300px; height: auto; padding: 2px;}

/* Элемент управления типа checkbox формы страницы */
.xsPageCheckbox { margin-left: 0px; padding-left: 0px; }

/* Элемент управления типа textarea формы страницы */
.xsPageTextarea { width: 300px; height: 50px; }

/* Кнопка панели инструментов страницы */
.xsPageButton { width: 150px; height: 24px; }

/* Кнопка панели инструментов страницы */
.xsAdminButton { width: 100px; height: 24px; }

.xsTableRecordset { }

/* Заголовок в таблице списка записей */
.xsTableRecordset th { padding: 4px; text-align: left; border-bottom: 1px solid #eee; }

/* Ячейка в таблице списка записей */
.xsTableRecordset td { padding: 4px; text-align: left; border-bottom: 1px solid #eee; }

/* Четная строка в таблице списка записей */
.xsTableRowOdd { background-color: #eeeeee; }

/* Нечетная строка в таблице списка записей */
.xsTableRowEven { background-color: #ffffff; }

/* Итоговая строка в таблице списка записей */
.xsTableRowTotal { background-color: #ffffcc; font-weight: bold; }

/* Подчеркнутая строка в таблице формы */
.xsTableRowUnderlined td { border-bottom: 1px solid #eeeeee; }
.xsTableRowUnderlined th { border-bottom: 1px solid #eeeeee; }

/* Контейнер отладочных сообщений */
#xsDebugContainer { width: 100%; padding: 0px; white-space: normal; overflow: hidden; }

/* Оформление отладочного сообщения (общий вид) */
.xsDebugMessage { border: 1px solid #cccccc; border-left: 5px solid #cccccc; background-color: #eeeeee; padding: 4px; }

/* Оформление сообщения E_NOTICE */
.xsDebugNotice { border-left: 5px solid #00cc00; }

/* Оформление сообщения E_WARNING */
.xsDebugWarning { border-left: 5px solid #cc0000; }

/* Оформление сообщения E_STRICT */
.xsDebugStrict { border-left: 5px solid #cccc00; }

/* Стиль основной разметочной таблицы */
#xsMainTable { margin: 10px; }
#xsMainTable > td { padding: 0px; vertical-align: top; }

/* Стили верхнего меню */
#xsTopMenu { height: 62px; background: #2c6f89; }
#xsTopMenu table { padding: 0px; margin: 0px; height: 62px; }
#xsTopMenu td.cell { padding: 0px; margin: 0px; padding-left: 4px; padding-right: 4px; background-image: url('/images/topmenu_bg.png'); background-repeat: repeat-x; white-space: nowrap; vertical-align: middle;}
#xsTopMenu td a { color: #fff; text-decoration: none; }

/* Заголовок */
#xsHeader { height: 89px; background: #fff; padding: 6px;}
#xsHeader table { padding: 0px; margin: 0px; height: 89px; }
#xsHeader td.cell { padding-left: 4px; padding-right: 4px; background-image: url('/images/header_bg.png'); background-repeat: repeat-x; white-space: nowrap; vertical-align: middle; }
#xsHeader h1 { color: #fff; font-size: 15px; text-transform: uppercase; padding-left: 10px; padding-right: 10px; }
#xsHeader h2 { color: #fff; font-size: 12px; padding-left: 10px; padding-right: 10px; font-weight: normal; }

.xsHeaderLeft { width: 178px; padding-bottom: 6px; padding-top: 6px; }
.xsHeaderLeft table { padding: 0px; margin: 0px; }
.xsHeaderLeft th { background-image: url('/images/left_header_top.png'); background-repeat: no-repeat; width: 178px; height: 38px; vertical-align: middle; text-transform: uppercase; font-weight: normal; padding: 0px; padding-left: 8px; padding-right: 8px;}
.xsHeaderLeft td.text { background-image: url('/images/left_header_bg.png'); background-repeat: repeat-y; width: 178px; vertical-align: top; padding: 8px; }


/* Стили нижнего меню */
#xsFooter { height: 45px; background: #F7F7F7; }
#xsFooter table { padding: 0px; margin: 0px; }
#xsFooter td { color: #999; white-space: nowrap; vertical-align: middle; }
#xsFooter td.cell { padding-left: 4px; padding-right: 4px; background-image: url('/images/footer_bg.png'); background-repeat: repeat-x; white-space: nowrap; }
#xsFooter td.design { padding-left: 30px; padding-right: 10px; background-image: url('/images/footer_right.png'); background-repeat: no-repeat; background-position: right; white-space: nowrap; color: #999; }
#xsFooter td.design a { color: #999; text-decoration: none; white-space: nowrap; }
#xsFooter td a { color: #999; text-decoration: none; }

#xsFooterCopy { width: 178px; height: 45px; background: #F7F7F7 url('/images/footer_left_back.jpeg') no-repeat; }
#xsFooterCopy table { table-layout: fixed; width: 100%; height: 100%; }
#xsFooterCopy table td { width: 100%; text-align: left; padding-left: 10px; vertical-align: middle; }
#xsFooterCopy a { color: #999; text-decoration: none; }

#xsBody { padding: 26px; }

.xsFormTable td { padding-right: 4px; padding-bottom: 2px; vartical-align: middle; }
.xsFormTable th { padding-right: 4px; padding-bottom: 2px; vertical-align: middle; }

.xsFormViewTable td, th { padding: 4px; vartical-align: middle; }

/* Стили отчета */
.xsTableReport { border: 1px solid #ddd; border-collapse: collapse; }

/* Заголовок в таблице отчета */
.xsTableReport th { padding: 4px; text-align: center; border: 1px solid #ddd; background: #eee;}

/* Ячейка в таблице отчета */
.xsTableReport td { padding: 4px; text-align: center; border: 1px solid #ddd; }

.xsTableReport td.noborder { border-left: 1px solid #fff !important; border-right: 1px solid #fff !important; }

/* Стили отчета в столбик */
.xsTableReportLine { border: 0px; border-collapse: collapse; }

/* Заголовок в таблице отчета */
.xsTableReportLine th { padding: 4px; text-align: left; }

/* Ячейка в таблице отчета */
.xsTableReportLine td { padding: 4px; text-align: left; }
