BODY { background: url(../images/bg_top.gif) top repeat-x #fffffd; width: 100%; height: 100%; font-family: Tahoma; } /* 11px - default font size; */
BODY * { font-size: 100%; }
BODY, P, TD, TH { color: #515151; }
BODY, P, FORM, H1, H2, H3 { padding: 0; margin: 0; }

P, TD, TH, A, FONT, LI, INPUT, TEXTAREA { font-family: Tahoma; }

A { color: #262626; text-decoration: none; }
A:hover { color: #cc1f24; text-decoration: underline; }
A IMG { border: none; }

INPUT.curs { cursor: pointer; cursor: hand; }

.high { height: 100%; }
.wide { width: 100%; }
.big { width: 1000px; height: 100%; }

/*
H1 { font: normal 18px Tahoma; color: #562317; }
H2 { font: bold 14px Tahoma; color: #333333; }
*/
H1 { font-size: 164%; font-weight: normal; color: #562317; }
H1.red { color: #ad002b; }
H2 { font: normal 164% "Times New Roman"; }

DIV.top { width: 993px; height: 200px; clear: both; }
DIV.top #logo { float: left; margin: 13px 0 0 17px; }

DIV.top DIV.sargs { float: right; width: 497px; height: 200px; background: url(../images/bg_top_apsitis.png) bottom right no-repeat; position: relative; }
	BODY.index DIV.top DIV.sargs { float: right; width: 497px; height: 200px; background: url(../images/bg_top_apsitis_index.png) bottom right no-repeat; position: relative; }

DIV.top DIV.sargs DIV.quote { position: absolute; top: 100px; left: 10px; width: 200px; }
DIV.top DIV.sargs DIV.quote, DIV.top DIV.sargs DIV.quote * { color: #7c7c7c; font: normal 100% Tahoma; }

TD.toolbar { padding-right: 10px; }
TD.toolbar DIV { background: #fdf8e2; padding: 10px 10px 10px 0;  }
TD.toolbar DIV.lang A { display: block; padding: 2px 7px 2px 12px; text-align: center; color: #000; font-size: 11px; }
TD.toolbar DIV.lang A.act { background: url(../images/bg_lang.gif) right top no-repeat #562317; color: #fff; }

TD.navigator { padding: 0 7px 40px 0; }

FORM#qs { background: url(../images/bg_qs.gif) right top no-repeat #562317; white-space: nowrap; width: 233px; height: 33px; }
FORM#qs INPUT { vertical-align: middle; height: 17px; margin-top: 8px; }
FORM#qs INPUT#qsi { background: url(../images/bg_input_146.gif) right top no-repeat; border: none; width: 146px; margin-right: 7px; margin-left: 9px; padding: 0 5px; color: #6f6f6f; }
FORM#qs INPUT#qsi.edit { color: #000; }
FORM#qs INPUT#qsb { background: url(../images/bg_bttn_61.gif) right top no-repeat; border: none; width: 61px; font-size: 11px; }

DIV#nav1 { border-left: 1px solid #5b5b5b; margin: 13px 27px 13px 10px; padding: 0 0 0 0; }
DIV#nav1 A { display: block; color: #5b5b5b; padding: 5px 9px 3px 9px; font-size: 110%; }
DIV#nav1 A.act { background: url(../images/blt_nav1_act.gif) left top no-repeat #f9f2d5; color: #000; margin-left: -1px; padding: 0; }
DIV#nav1 A.act B { display: block; padding: 5px 9px 4px 19px; background: url(../images/bg_nav2_top.gif) right top no-repeat; }
DIV#nav2 { background: url(../images/bg_nav2_end.gif) right bottom no-repeat #f9f2d5; padding: 0 9px 5px 9px; }
DIV#nav1 DIV#nav2 A { padding: 5px 9px 3px 9px; margin-left: 0; }
DIV#nav2 A.act { background: none; color: #000; }
DIV#nav3 A.act { background: none; color: #562317; }

DIV.panel { background-color: #fdf8e3; }

DIV.panel TD.l { vertical-align: bottom; background: url(../images/bg_panel2_l.gif) right top repeat-y; }
DIV.panel TD.r { vertical-align: top; background: url(../images/bg_panel2_r.gif) left top repeat-y; }

DIV.panel.left { width: 345px; }
DIV.panel.right { width: 356px; }
DIV.panel.calendar { width: 220px; }
DIV.panel.calendar TD.r { vertical-align: top; background: url(../images/bg_panel3_r.gif) left top repeat-y; }

DIV.panel H2 { text-transform: uppercase; padding: 1px 9px 2px 9px; border-bottom: 1px solid #5b5b5b; }
DIV.panel DIV.list { border-top: 1px solid #fff; padding: 3px 14px 40px 14px; color: #515151; }
DIV.panel DIV.list DIV.item H3 { font: bold 128% Tahoma; color: #943c27; }
DIV.panel DIV.list DIV.item H3 I { display: block; font: normal 72% Tahoma; color: #b2b2b2; margin: 2px 0 13px 0; }
DIV.panel DIV.list DIV.item A.pic { float: left; margin: 2px 10px 5px 0; }
DIV.panel DIV.list DIV.item A.more { 
	background: url(../images/bg_more.gif) right bottom no-repeat; 
	display: block; height: 13px; text-align: right; margin-top: 10px;
	text-decoration: none; font: normal 91% Tahoma; color: #943c27; padding-right: 15px; }

DIV.poll {  margin: 2px 3px 8px 9px; }
DIV.poll DIV.body { border-top: 1px solid #fff; padding: 3px 14px 10px 14px; color: #515151; }
DIV.poll DIV.body H3 { font: bold 128% Tahoma; color: #943c27; margin: 0 0 13px 0; }
DIV.poll DIV.body, DIV.poll DIV.body * { font: normal 100% Tahoma; color: #943c27; }
DIV.poll DIV.body A { text-decoration: underline; }

DIV.panel.calendar H2 { background: url(../images/bg_panel3_t.gif) 169px top no-repeat; }
DIV.panel.calendar DIV.body { border-top: 1px solid #fff; padding: 9px 0 0 0; }
DIV.panel.calendar DIV.body DIV.month { background: url(../images/bg_month.gif) left top no-repeat; height: 22px; margin: 0 0 0 6px; padding: 0 12px 0 8px; }
DIV.panel.calendar DIV.body DIV.month A { width: 11px; display: inline; height: 22px; line-height: 22px; float: left; 
	background: url(../images/bg_month_act.gif) bottom; color: #5b5b5b; font-weight: normal; }
DIV.panel.calendar DIV.body DIV.month SPAN { }
DIV.panel.calendar DIV.body DIV.month SPAN A { width: 47px; text-align: center; margin: 0 3px; font-weight: bold; }
DIV.panel.calendar DIV.body DIV.month SPAN A:hover { background: url(../images/bg_month_act.gif) top; color: #fff; }
DIV.panel.calendar DIV.body DIV.month SPAN A.act { background: url(../images/bg_month_act.gif) top; color: #fff; }

DIV.panel.calendar DIV.body DIV.dates { padding: 0 5px 0 6px; }
DIV.panel.calendar DIV.body DIV.dates I, DIV.panel.calendar DIV.body DIV.dates B, DIV.panel.calendar DIV.body DIV.dates U, 
	DIV.panel.calendar DIV.body DIV.dates SPAN { 
	margin: 0 2px 0 0; text-decoration: none; text-align: center; border-collapse: collapse; 
	display: block; width: 26px; float: left; line-height: 21px; height: 21px; font-weight: bold; font-style: normal; }
DIV.panel.calendar DIV.body DIV.dates I { color: #888888; }
DIV.panel.calendar DIV.body DIV.dates U { color: #515151; }
DIV.panel.calendar DIV.body DIV.dates B { background: #f5dfd1; color: #a9001c; }
DIV.panel.calendar DIV.body DIV.dates SPAN { background: url(../images/bg_today.gif) center center no-repeat; color: #fff; }
DIV.panel.calendar DIV.body DIV.dates A U { color: #943c27; }
DIV.panel.calendar DIV.body DIV.dates A B { color: #542216; }
DIV.panel.calendar DIV.body DIV.dates A:hover { text-decoration: none; }
DIV.panel.calendar DIV.body DIV.dates I B { color: #888888; }

DIV.footer { }
DIV.footer DIV.owner { background: #562317; color: #f9f1d2; }
DIV.footer DIV.info { background: #fdf8e2; }
DIV.footer DIV.fixed { width: 993px; position: relative; }
DIV.footer DIV.fixed DIV.developed { padding: 13px 20px 10px 0; color: #5b5b5b; text-align: right; }
DIV.footer DIV.fixed DIV.contacts { 
	position: absolute; top: -26px; left: 40px; width: 250px; 
	background: url(../images/bg_contacts.gif) top center no-repeat #fdf8e2; }
DIV.footer DIV.fixed DIV.contacts DIV { padding: 10px 30px; color: #5b5b5b; }
DIV.footer DIV.fixed DIV.contacts * { color: #5b5b5b;  }
DIV.footer DIV.fixed DIV.contacts A { color: #000; text-decoration: underline; }

DIV.footer DIV.owner DIV.fixed { padding: 6px 0 4px 0; font-size: 92%; text-align: center; }

/* [ MAIN CONTENT AREA ] */
/* [ BARS ]*/
DIV.bar { position: relative; }
DIV.bar .absr { position: absolute; right: 0; }
DIV.bar .absl { position: absolute; left: 0; }

TABLE.main { background: #fdf8e3; }
TABLE.main .fl { float: left; border: none; }
TABLE.main .fr { float: right; border: none; }

TABLE.main DIV.topline { background: url(../images/bg_panel4_t.gif) top left repeat-x; height: 11px; clear: both; }
TABLE.main DIV.endline { background: #fdf8e3; height: 15px; clear: both; }
TABLE.main DIV.content H2 { text-transform: uppercase; padding: 1px 9px 2px 9px; border-bottom: 1px solid #5b5b5b; margin: 0; }
TABLE.main DIV.locationbar { border-top: 1px solid #fff; padding: 8px 7px 0 7px; margin: 0; }
TABLE.main DIV.locationbar * { font: normal 92% Tahoma; color: #b2b2b2; }
TABLE.main DIV.locationbar A { text-decoration: none; margin: 0 7px; }

TABLE.main DIV.content DIV.body { padding: 0 14px; position: relative; }

/* [ DOCUMENT LIST ]*/
TABLE.main DIV.content DIV.list { padding: 12px 14px; clear: both; font-size: 110%; }
TABLE.main DIV.content DIV.list DIV.item { padding-bottom: 10px; }
TABLE.main DIV.content DIV.list SPAN.files { color: #b2b2b2; margin: 0 5px; }
TABLE.main DIV.content DIV.list SPAN.files A { color: #b2b2b2; font-size: 92%; }
TABLE.main DIV.content DIV.list SPAN.files A IMG { margin: 0 3px; vertical-align: middle; }
TABLE.main DIV.content DIV.list SPAN.date { color: #b2b2b2; font-size: 84%; }

/* [ PEOPLE LIST ] */
TABLE.main DIV.content DIV.people { padding: 0 0 0 12px; clear: both; font-size: 100%; }
TABLE.main DIV.content DIV.people DIV.item { padding: 0 0 7px 0; line-height: 150%; }
TABLE.main DIV.content DIV.people DIV.item H1 { } /* color: #ad002b; */
TABLE.main DIV.content DIV.people DIV.item DIV { padding: 0 12px 0 0; }
TABLE.main DIV.content DIV.people DIV.item SPAN { margin-bottom: 5px; color: #b2b2b2; font-size: 84%; display: block; }
TABLE.main DIV.content DIV.people DIV.item DIV.pic { float: left; margin: 2px 10px 5px 0; padding: 0; }
TABLE.main DIV.content DIV.people DIV.item DIV.sep { border-top: 1px solid #ddd9c7; margin: 8px 0; padding: 0; }


/* [ DOCUMENT ] */
TABLE.main DIV.content DIV.text { padding: 12px 0; clear: both; }
TABLE.main DIV.content DIV.text DIV.pic { margin: 2px 10px 5px 0; float: left; } 

TABLE.main DIV.content DIV.text UL { padding: 5px 0; margin: 0 0 0 0; }
TABLE.main DIV.content DIV.text UL LI { list-style: none; padding: 0 0 0 35px; background: url(../images/bg_ul_li.gif) 1px 5px no-repeat; }

TABLE.main TABLE.related { margin-top: 30px; }

TABLE.main TABLE.related A { display: block; text-decoration: underline; margin-bottom: 7px; }
TABLE.main TABLE.related DIV { border-top: 1px solid #fff; padding: 11px 14px; }
TABLE.main TABLE.related DIV#files A { position: relative; margin-left: 27px; }
TABLE.main TABLE.related DIV#files IMG.icon { position: absolute; left: -27px; vertical-align: top; }

DIV#comments DIV.list { font-size: 92%; color: #b2b2b2; padding: 12px 0 12px 0; }
DIV#comments DIV.list A { font-weight: bold; margin: 0 5px 0 14px; }
DIV#comments DIV.list SPAN { 
	padding: 8px 14px; line-height: 125%;
	display: block; background: #eee3bb; color: #515151; margin: 6px 0; }

DIV#questions DIV.list { font-size: 100%; color: #000; padding: 0; }
DIV#questions DIV.list DIV { padding: 12px; }
DIV#questions DIV.list DIV A { font-size: 92%; color: #ad002b; font-weight: bold; margin: 0 0 5px 0; display: block; }
DIV#questions DIV.list DIV SPAN { padding: 6px 0 10px 0; line-height: 125%; display: block; }
DIV#questions DIV.list DIV SPAN B { font-size: 92%; display: block; margin: 10px 0 3px 0; }
DIV#questions DIV.list DIV.sep { border-top: 1px solid #000; border-bottom: 1px solid #fff; height: 0; padding: 0; }

DIV#vacancies DIV.list { 
	border-top: 1px solid #ddd9c7; border-bottom: 1px solid #ddd9c7; color: #000; 
	padding: 0; margin: 14px; padding: 10px 0; }

DIV#vacancies DIV.list DIV.item { margin: 2px 0; padding: 0; font-size: 92%; }
DIV#vacancies DIV.list DIV.item SPAN { display: block; line-height: 125%; margin-top: 8px; }
DIV#vacancies DIV.list DIV.item A { margin: 3px 0; text-decoration: underline; }
DIV#vacancies DIV.list DIV.item A.title { margin: 0; color: #ad002b; font-weight: bold; text-decoration: none; }

DIV#vacancies DIV.list DIV.item.act { margin: 2px -14px; padding: 14px; background: #efe3bb; }
DIV#vacancies DIV.list DIV.item.act A { margin: 0; }
DIV#vacancies DIV.list DIV.item.act A.reg { color: #000; text-decoration: underline; margin-left: 12px; }



/* [ PARSED CONTENT ] */
TABLE.insTable { border-collapse: collapse; }
TABLE.insTable TD, TABLE.insTable TH { border: 1px solid #b2b2b2; padding: 4px 8px; }
TABLE.insTable * { color: #515151; background: #fdf8e3; }
TABLE.insTable TR.insFirstRow * { color: #000; background: #eee3bb; }

DIV.content H1 { padding: 0 150px 0 0; }
DIV.content H1 A.print { 
	display: block; position: absolute; right: 15px; top: 2px; 
	font-size: 11px; text-decoration: underline; }

DIV.content DIV.arrows { height: 15px; margin-top: 20px; padding: 0 12px; }
DIV.content DIV.arrows A.a1 { float: left; }
DIV.content DIV.arrows A.a2 { float: right; }


/* [ PRINT VERSION ] */
BODY.print { background: #fff; margin: 30px 5%; font-size: 69%; }
BODY.print H1 { font: normal 26px Arial; color: #ad002b; margin:0; padding: 15px 0 45px 0; }
BODY.print DIV.logo { text-align: center; padding: 0px 0 40px 0; }
BODY.print DIV.text { padding: 0 0 60px 0; border-bottom: 2px solid #000; line-height: }
BODY.print DIV.text, 
	BODY.print DIV.text * { font-size: 14px; font-family: Arial; color: #515151; }
BODY.print DIV.category { 
	font: normal 22px "Times New Roman";
	color: #000; border-top: 2px solid #000; text-transform: uppercase; 
	padding: 8px 0; margin: 4px 0; border-bottom: 2px solid #000; }
BODY.print TD.contacts { 
	padding: 15px 0 0 0;
	color: #6f6f6f; line-height: 150%; }
BODY.print TD.contacts * { color: #6f6f6f; }
BODY.print TD.contacts A { text-decoration: underline; }
BODY.print TD.copyright { color: #000; padding: 15px 0 0 0;line-height: 150%; }

DIV.found U { color: #ad002b; text-decoration: none; }
DIV.found I { font-size: 92%; font-style: normal; }
DIV.found FORM#fSearch { padding: 3px 14px; }

DIV.pages { background: #efe3bb; border-top: 1px solid #5b5b5b; }
DIV.pages DIV { border-top: 1px solid #fff; padding: 7px 3px; color: #b2b2b2; }
DIV.pages DIV A { font-size: 100%; color: #000; text-decoration: underline; margin: 0 5px; }
DIV.pages DIV SPAN { margin: 0 10px; }
DIV.pages DIV SPAN A { color: #b2b2b2; text-decoration: none; margin: 0 0 0 3px; }
DIV.pages DIV A.act { font-size: 110%; color: #ad002b; font-weight: bold; }

DIV.found DIV.status { padding: 3px 14px; color: #000; line-height: 150%;  }
DIV.found DIV.status B { color: #ad002b; }

FORM FIELDSET { border: none; padding: 0; margin: 0; }
FORM TEXTAREA, FORM INPUT.text { display: block; margin: 2px 0 5px 0; border: 1px solid #ddd9c7; overflow: auto; }
FORM .err { color: #a9001c; }
FORM DIV.error { 
	margin: 10px 0 1px 0; padding: 10px 12px; clear: both; 
	border: 1px solid #bd0810; background: #f5dfd1; color: #a9001c; } 
FORM DIV.error * { color: #a9001c; }
FORM DIV.error UL { margin: 0; padding: 0 18px; }
FORM DIV.error UL LI { background: none; list-style: disc; padding: 0; }

FORM FIELDSET UL { padding: 0; margin: 0; }
FORM FIELDSET UL LI { padding: 0; margin: 0; list-style: none; background: none; color: #515151; }
FORM FIELDSET UL LI B { color: #bd0810; margin: 0 3px; }

FORM FIELDSET UL LI INPUT.send { display: inline; overflow: visible; }

FORM.question { padding: 12px 14px; font-size: 92%; }
FORM.question * { font-style: normal; font-size: 100%; }
FORM.question TEXTAREA { width: 100%; }
FORM.question INPUT.send { 
	margin: 10px 0; padding: 0 25px; 
	background: url(../images/bg_bttn_form.gif) top repeat-x #512517; color: #fff; height: 26px; border: none; line-height: 26px; }

FORM.vacancy { padding: 12px 14px; font-size: 92%; }
FORM.vacancy * { font-style: normal; font-size: 100%; }

FORM.vacancy FIELDSET UL LI { position: relative; height: 35px; }
FORM.vacancy FIELDSET UL LI I { display: block; top: 3px; left: -90px; position: absolute; text-align: right; width: 85px; }
FORM.vacancy FIELDSET UL LI INPUT.send { 
	margin: 10px 0; padding: 0 25px; 
	background: url(../images/bg_bttn_form.gif) top repeat-x #512517; color: #fff; height: 26px; border: none; line-height: 26px; }
FORM.vacancy FIELDSET UL LI INPUT.text { position: absolute; left: 0; }



DIV.sitemap { padding: 12px 0 0 14px; clear: both; }
DIV.sitemap DIV { float: left; }
DIV.sitemap DIV DIV { background: #efe3bb; padding: 10px; margin: 0 10% 10% 0; float: none; }
DIV.sitemap DIV DIV A { font-size: 128%; font-weight: bold; color: #000; }
DIV.sitemap DIV DIV UL { padding: 0; margin: 4px 0 0 0; }
DIV.sitemap DIV DIV UL LI { padding: 1px 0; margin: 0; list-style: none; }
DIV.sitemap DIV DIV UL LI A { font-size: 100%; font-weight: normal; color: #515151; }
DIV.sitemap DIV DIV UL LI UL LI { padding-left: 10px; }
DIV.sitemap DIV DIV UL LI UL LI A { color: #908f8f; }

DIV.icon A { display: block; padding: 6px 0 6px 8px; text-align: center; }
DIV.zoom A { font-weight: bold; display: block; padding: 3px 0 3px 8px; text-align: center; text-decoration: none; }
DIV.zoom A:hover { color: #943c27; }

DIV.zoom A.z1 { font-size: 11px; } /* 69% */
DIV.zoom A.z2 { font-size: 12px; } /* 75% */
DIV.zoom A.z3 { font-size: 14px; } /* 88% */

DIV#bannerright { padding: 0 0 8px 9px; }
DIV#bannerright A { display: block; margin-top: 8px; }

/* Added 27.08.08, Kārlis */
.lastmodified, .counter {
	margin: 20px 0 0 15px;
	padding: 1px 0;
	color: #929292;
	font: normal 11px/14px tahoma, sans-serif;
}

.counter { margin-top: 0; }


