HTML { height: 100%; background: #f0f0f0 url(bg16.png) repeat-y 50% 0; }
BODY { min-height: 100%; background: url(bg01.png) repeat-x; text-align: center; }

IMG.right,
IMG.left { padding: 5px; background: #fff; border: 1px solid #e5e5e5; }
IMG.left { float: left; margin: 1em 1em 1em 0; }
IMG.right { float: right; margin: 1em 0 1em 1em; }

/* =main framework
-------------------------------------------------- */
#wrap { width: 987px; margin: auto; text-align: left; }
#container { padding: 10px 10px 20px 10px; background: #fff; }
#forumcontainer { width: 100%; }

/* =header
-------------------------------------------------- */
#header { background: #ed1d24 url(bg033.jpg) no-repeat  0; }
#header DIV.a { position: relative; height: 100px; overflow: hidden; background: url(bg27.gif) repeat-x 0 100%; }

#logo { position: absolute; top: 14px; left: 23px; z-index: 3; width: 152px; height: 65px; margin: 0; background: url(logo.png) no-repeat top right; overflow: hidden; }
#logo A { display: block; height: 0 !important; height /**/: 65px; padding: 65px 0 0 0; background: url(logo.png) no-repeat top right; overflow: hidden; }

#lang { position: absolute; top: 10px; left: 210px; z-index: 3; margin: 0; line-height: 16px; }
#lang A.active { font-weight: bold; }
#lang SPAN { margin: 0 3px; color: #e5e5e5; }

/*
#date { position: absolute; top: 10px; right: 10px; margin: 0; font-weight: bold; color: #8c8c8c; font-size: 10px; text-transform: uppercase; }
#date SPAN { margin: 0 3px; color: #e5e5e5; font-weight: normal; }
*/

DIV.loginbox { position: absolute; top: 9px; right: 10px; z-index: 2; }
DIV.loginbox DIV.loginbox-inner { float: right; width: auto !important; margin-left: 1em; }
DIV.loginbox DIV.loginbox-inner DIV { float: left; }
DIV.loginbox DIV INPUT { float: left; vertical-align: middle; }
DIV.loginbox DIV INPUT.text { width: 80px; margin: 1px 5px 0 0; border-color: #555 #aaa #aaa #555; }
DIV.loginbox DIV INPUT.text:focus { border-color: #900 #d77 #d77 #900; }
DIV.loginbox P.info { clear: both; margin: 0; padding-top: .5em; text-align: right; }
DIV.loginbox P.info A { color: #666; border: none; text-decoration: underline; }
DIV.loginbox P.info SPAN { margin: 0 3px; color: #e5e5e5; }
DIV.loginbox P.button,
DIV.loginbox P.button INPUT { margin: 0 !important; }

DIV.error {
	float: right;
	margin-top: 1px;
	padding-right: 7px;
	background: url(bg_error.gif) no-repeat 100% 0;
}
DIV.error P {
	margin: 0;
	padding: .5em 1em .5em 1em;
	border: 1px solid;
	border-color: #8c0104 #8c0104 #8c0104 #8c0104;
	border-right: none;
	background: #fff;
	color: #333;
	white-space: nowrap;
}

DIV.userbar { position: absolute; top: 9px; right: 10px; z-index: 1; }
DIV.userbar P { float: right; }
DIV.userbar P.user { margin: 0; padding-top: 2px; font-weight: bold; }
DIV.userbar P.button { margin: 0 0 0 10px !important; }

#tools { position: absolute; right: 0; bottom: 2px; }
#tools DIV { float: right; margin: 0; padding: 9px 10px 8px 10px; background: url(bg29.png) no-repeat 100% 0; }
#tools DIV P { float: left; margin: 0 15px 0 0; }
#tools INPUT { float: left; vertical-align: middle; }
#tools INPUT.text { width: 96px; margin: 1px 5px 0 0; }
#tools P.button2 { float: left; margin: 0 !important; }

#nav { position: absolute; left: 210px; bottom: 0; z-index: 3; margin: 0; padding: 0; list-style: none; line-height: normal; }
#nav LI { float: left; margin: 5px 0 0 0; height: 24px; overflow: hidden; }
#nav LI A { float: left; background: #fff url(bg28.gif) no-repeat 10px 10px; border: none; text-transform: uppercase; font-weight: bold; color: #d81921; }
#nav LI A SPAN { float: left; padding: 5px 10px 7px 20px; cursor: pointer; }
#nav LI A:hover { color: #d81921; text-decoration: underline; }
#nav LI.active { height: 31px; margin-top: 0; }
#nav LI.active A,
#nav LI.active A SPAN { background-color: transparent; background-image: url(bg05.gif); background-repeat: no-repeat; }
#nav LI.active A { padding-right: 15px; color: #333; background-position: 100% 0; }
#nav LI.active A SPAN { padding: 10px 0 9px 25px; background-position: 0 0; }
#nav LI.active A:hover { color: #e11f2a; }

/* =leftside
-------------------------------------------------- */
#leftside { float: left; width: 180px; margin: 0 20px 0 0; overflow: hidden; }

#leftside UL { margin: 10px 0 0 0; padding: 0; list-style: none; border-top: 1px solid #e5e5e5; }
#leftside UL LI { display: inline; }
#leftside UL LI A { display: block; padding: 4px 10px 5px 18px; background: url(bg33.gif) no-repeat 8px 8px; border: 1px solid #e5e5e5; border-top: none; font-weight: bold; line-height: normal; }
#leftside UL LI A:hover { background-color: #fcf0f0; color: #d81921; }
#leftside UL LI UL LI UL { border: none; }
#leftside UL LI UL LI UL LI A { padding: 5px 10px 6px 33px !important; font-size: 10px; }
#leftside UL LI UL LI UL LI UL LI A { padding: 5px 10px 6px 41px !important; }

#leftside UL LI.open A { padding: 5px 10px 6px 18px; border: 1px solid #d81921; border-bottom: none; color: #d81921; background: url(bg32.gif) no-repeat 7px 10px; }
#leftside UL LI.open A:hover { background-color: #fcf0f0; }
#leftside UL LI.active A { background-color: #fcf0f0; color: #d81921; }
#leftside UL LI.openactive A { padding: 5px 10px 6px 19px; border: 1px solid #d81921; border-bottom: none; background-color: #fcf0f0; color: #d81921; }

#leftside UL LI A IMG { margin: .3em 0 0 .1em; vertical-align: top; }

#leftside UL LI UL { margin: 0; border: 1px solid #d81921; border-top: none; min-height: 1px; }
#leftside UL LI UL LI A { padding: 5px 10px 6px 25px !important; border: none !important; margin-bottom: 1px; background: url(bg09.gif) no-repeat 18px 9px !important; font-weight: normal; color: #252525 !important; }
#leftside UL LI UL LI A:hover { background-color: #fcf0f0 !important; color: #d81921 !important; }
#leftside UL LI UL LI.open A { background: url(bg10.gif) no-repeat 17px 10px !important; color: #d81921 !important; }
#leftside UL LI UL LI.open A:hover { background-color: #fcf0f0 !important; }
#leftside UL LI UL LI.active A,
#leftside UL LI UL LI.openactive A { background-color: #fcf0f0 !important; color: #d81921 !important; }

#leftside UL LI UL LI.open UL LI A,
#leftside UL LI UL LI.active UL LI A,
#leftside UL LI UL LI.openactive UL LI A { background: url(bg31.gif) no-repeat 25px 9px !important; color: #252525 !important; }
#leftside UL LI UL LI UL LI.open A { color: #d81921 !important; }
#leftside UL LI UL LI UL LI.open UL LI A { background: #fff !important; color: #252525 !important; }
#leftside UL LI UL LI.open UL LI A:hover,
#leftside UL LI UL LI.active UL LI A:hover,
#leftside UL LI UL LI.openactive UL LI A:hover,
#leftside UL LI UL LI.open UL LI.open UL LI A:hover { background-color: #fcf0f0 !important; color: #d81921 !important; }
#leftside UL LI UL LI.open UL LI.active A,
#leftside UL LI UL LI.open UL LI.open UL LI.active A { background-color: #fcf0f0 !important; color: #d81921 !important; }

#leftside UL LI.law A,
#leftside UL LI.lawopen A,
#leftside UL LI.lawopenactive A { background-image: url(bg33_law.gif); }
#leftside UL LI.law A:hover { background-color: #f0f4fc; color: #1f6ae1; }

#leftside UL LI.lawopen A { padding: 5px 10px 6px 18px; color: #1961d8; background: url(bg32_law.gif) no-repeat 7px 10px; border: 1px solid #1961d8; border-bottom: none; }
#leftside UL LI.lawopen A:hover { background-color: #f0f4fc; color: #1f6ae1; }
#leftside UL LI.lawactive A { background-color: #f0f4fc !important; color: #1f6ae1; }
#leftside UL LI.lawopenactive A { padding: 5px 10px 6px 19px; border: 1px solid #1f6ae1; border-bottom: none; background-color: #f0f4fc; color: #1f6ae1; }

#leftside UL LI.lawopen UL,
#leftside UL LI.lawopenactive UL { border-color: #1961d8; }
#leftside UL LI.lawopen UL LI A,
#leftside UL LI.lawopenactive UL LI A { background: url(bg09_law.gif) no-repeat 18px 9px !important; }
#leftside UL LI.lawopen UL LI.lawopen A,
#leftside UL LI.lawopenactive UL LI.lawopen A { background: url(bg10_law.gif) no-repeat 17px 10px !important; color: #1961d8 !important; }

#leftside UL LI.lawopen UL LI.lawopen UL LI A,
#leftside UL LI.lawopenactive UL LI.lawopen UL LI A,
#leftside UL LI.lawopen UL LI.lawopenactive UL LI A { color: #252525 !important; background: url(bg31_law.gif) no-repeat 25px 9px !important; }

#leftside UL LI.lawopen UL LI UL LI.lawopen A { color: #1961d8 !important; }
#leftside UL LI.lawopen UL LI UL LI.lawopen UL LI A { background: #fff !important; color: #252525 !important; }

#leftside UL LI.lawopen UL LI A:hover,
#leftside UL LI.lawopenactive UL LI A:hover,
#leftside UL LI.lawopen UL LI.lawopen A:hover,
#leftside UL LI.lawopen UL LI.lawopenactive A,
#leftside UL LI.lawopenactive UL LI.lawopen A:hover
#leftside UL LI.lawopen UL LI.lawopen UL LI A:hover,
#leftside UL LI.lawopen UL LI.lawopen UL LI.lawactive A,
#leftside UL LI.lawopenactive UL LI.lawopen UL LI A:hover,
#leftside UL LI.lawopen UL LI.lawopenactive UL LI A:hover { background-color: #f0f4fc !important; color: #1f6ae1 !important; }

/* =content
-------------------------------------------------- */
#content { float: left; width: 567px; margin: 10px 20px 0 0; background: url(bg08.gif) repeat-y 0 0; line-height: 16px; }
#content-inner1 { background: url(bg07.png) no-repeat 0 100%; }
#content-inner2 { min-height: 1px; padding: 15px; background: url(bg06.png) no-repeat 0 0; }

#content UL { margin: 1em 0 0 1em; padding: 0; list-style: none; line-height: normal; }
#content UL LI { padding: .2em 0 .2em 15px; background: url(bg17.gif) no-repeat 0 6px; }
#content UL UL { margin: .5em 0 .2em 1em; }
#content UL UL LI { padding-left: 13px; background: url(bg18.gif) no-repeat 0 7px; }
#content UL UL UL LI { padding-left: 12px; background: url(bg19.gif) no-repeat 0 7px; }

UL.data { margin: 1em 0 0 1em; padding: 0; list-style: none; line-height: normal; }
UL.data LI { padding: .2em 0 .2em 15px; background: url(bg17.gif) no-repeat 0 6px; }
UL.data UL { margin: .5em 0 .2em 1em; }
UL.data UL LI { padding-left: 13px; background: url(bg18.gif) no-repeat 0 7px; }
UL.data UL UL LI { padding-left: 12px; background: url(bg19.gif) no-repeat 0 7px; }

#content OL { margin: 1em 0 0 2em; }
#content OL OL { margin: .5em 0 .5em 2em; }

#content DL { margin: 1em 0 0 0; }
#content DL DT { margin: 1em 0 0 0; padding: 0; font-weight: bold; }
#content DL DD { margin: .5em 0 0 2em; padding: 0; }

#content OL.type1 { margin: 1em 0 0 1em; list-style: none; }
#content OL.type1 LI { padding: 0 0 2px 0; color: #808080; }
#content OL.type1 LI A { margin-right: .2em; font-size: 13px; font-weight: bold; }
#content OL.type1 LI A:hover,
#content OL.type1 LI A:hover * { color: #d81921; }
#content OL.type1 LI EM { margin-right: .3em; font-style: normal; text-transform: uppercase; font-size: 10px; color: #666; }
#content OL.type1 LI A EM { margin: 0; color: #252525; font-size: 13px; text-transform: none; }
#content OL.type1 LI IMG { vertical-align: top; margin: .4em .3em 0 0; }
#content OL.type1 LI SPAN { margin: 0 .2em; color: #e5e5e5; }
#content OL.type1 OL { margin: .5em 0 .5em 1.5em; list-style: none; }
#content OL.type1 OL LI A { font-size: 11px; }
#content OL.type1 OL LI A EM { font-size: 11px; }
#content OL.type1 OL LI IMG { margin: .35em .3em 0 0; }
#content OL.type1 OL LI OL LI A { font-weight: normal; }
#content OL.type1 OL LI OL LI IMG { margin: .4em .3em 0 0; }

#page-header { margin-bottom: 15px; padding-bottom: 10px; background: url(bg11.gif) repeat-x 0 100%; }

#page-tools { float: right; margin: 0 !important; padding: 0 !important; list-style: none; }
#page-tools LI { float: left; padding: 0 !important; background: none !important; }
#page-tools LI A { float: left; color: #999; line-height: 16px; }
#page-tools LI.print A { padding-left: 16px; border: none; text-decoration: underline; background: url(ico03.gif) no-repeat 0 4px; }

#path { float: left; margin: 0; }
#path A { color: #999; border: none; }
#path A:hover { text-decoration: underline; }
#path SPAN { margin: 0 3px; }

DIV.results {
	margin: 15px 0 0 0;
	background: #fff;
}
DIV.results DIV.content {
	padding: 0 10px;
}
DIV.results DIV.content DIV.resultbox P,
DIV.results DIV.content DIV.resultbox UL,
DIV.results DIV.content DIV.resultbox OL {
	clear: both;
	margin: 0 !important;
	padding: .5em 0 0 0 !important;
}
DIV.results DIV.content DIV.resultbox P.info,
DIV.results DIV.content DIV.resultbox P.info2 {
	clear: none;
	float: left;
	padding: 1.1em 0 0 0 !important;
	font-size: 10px;
	font-weight: normal;
	color: #999;
	white-space: nowrap;
}
DIV.results DIV.content DIV.resultbox P.info2 {
	clear: both;
	float: none;
	padding-top: 1em !important;
	line-height: normal;
}
DIV.results DIV.content DIV.resultbox P.info SPAN,
DIV.results DIV.content DIV.resultbox P.info2 SPAN {
	margin: 0 .2em;
	color: #ccc;
}
DIV.results DIV.content DIV.resultbox P.info STRONG,
DIV.results DIV.content DIV.resultbox P.info2 STRONG {
	margin-left: 1em;
	color: #666;
	font-weight: normal;
}
DIV.results DIV.result-title {
	padding: 5px 10px;
	border: solid #eee;
	border-width: 1px 0;
	background: #f6f6f6;
	cursor: pointer;
}
DIV.results DIV.result-title P {
	float: right;
	margin: 3px 0 0 0;
	white-space: nowrap;
}
DIV.results DIV.result-title H2 {
	float: left;
	margin: 0;
	padding-left: 20px;
	background: url(toggle01.gif) no-repeat 0 50%;
}
DIV.results DIV.result-title H2.closed {
	background-image: url(toggle02.gif);
}
DIV.results DIV.resultbox {
	padding: 0 0 1em 0;
	border-bottom: 1px solid #e5e5e5;
}
DIV.results DIV.resultinfo {
	padding: 1em 0 .5em 0;
	border-top: 1px solid #e5e5e5;
}
DIV.results DIV.resultinfo P {
	float: left;
	margin: 0 1.5em 0 0;
	color: #808080;
	font-weight: bold;
}
DIV.results DIV.resultinfo P A {
	color: #808080;
	border: none;
	text-decoration: underline;
}
DIV.results DIV.resultinfo P A:hover {
	color: #d81921;
}
DIV.results DIV.resultinfo P SPAN {
	margin: 0 .2em;
	color: #ccc;
	font-weight: normal;
}
DIV.results H3 {
	float: left;
	margin: .75em 1em 0 0;
}
DIV.results H3 A {
	border: none;
}
DIV.results H3 A:hover {
	text-decoration: underline;
}


DIV.message { margin: 1em 0 0 0; padding: .5em 1em 1em 1em; border: 1px solid #787878; }
DIV.message P,
DIV.message UL,
DIV.message OL { margin: .5em 0 0 0; padding: 0; }
DIV.msg-ok { border-color: #65b43c; background: #f5fbf2; }
DIV.msg-error { border-color: #d81921; background: #fcf0f0; }

DIV.price { float: right; width: 180px; margin: 1em 0 1em 2em; background: url(bg14.gif) repeat-y 0 0; min-height: 1px; }
DIV.price DIV.a { background: url(bg13.png) no-repeat 0 100%; }
DIV.price DIV.a DIV.b { padding: 10px 15px; background: url(bg12.gif) no-repeat 0 0; }
DIV.price H2 { margin: 0 0 5px 0; padding-bottom: 5px; font-size: 16px; color: #d81921; background: url(bg11.gif) repeat-x 0 100%; }
DIV.price P STRONG { display: block; color: #d81921; }
DIV.price P SPAN { font-weight: bold; color: #090; }
DIV.price DIV.action { margin: 1em 0 0 0 !important; padding: 1em 0 0 0 !important; background: none; background: url(bg11.gif) repeat-x 0 0; border: none; }
DIV.price DIV.action P.button { margin: 0 0 0 5px !important; }

DIV.price2 { margin: 1em 0 0 0; padding: 7px 10px 10px 10px; border: 1px solid #e5e5e5; background: #f6f6f6; }
DIV.price2 DIV.info { float: left; }
DIV.price2 DIV.info P { margin: 3px 10px 0 0; }
DIV.price2 DIV.info SPAN { font-weight: bold; color: #090; }
DIV.price2 DIV.info STRONG { margin-right: 3px; }
DIV.price2 DIV.info P.soodus STRONG { color: #d81921; }
DIV.price2 P.button { float: right; margin: 2px 0 0 0 !important; }

DIV.archive {
	margin: 1em 0 0 0;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}
DIV.archive P {
	float: left;
	width: 268px;
	min-height: 1px;
	margin: 0;
}
DIV.archive A {
	padding: 2px 0;
	border: none;
	font-size: 1.1em;
	line-height: normal;
}
DIV.archive A:hover {
	text-decoration: underline;
}
DIV.archive P.prev {
	margin-right: 1px;
}
DIV.archive P.prev A {
	float: left;
	padding-left: 20px;
	background: url(bg_archive_prev.png) no-repeat 0 3px;
}
DIV.archive P.prev A:hover {
	background-position: 0 -184px;
}
DIV.archive P.next A {
	float: right;
	padding-right: 20px;
	background: url(bg_archive_next.png) no-repeat 100% 3px;
}
DIV.archive P.next A:hover {
	background-position: 100% -184px;
}

DIV.pagefooter {
	margin-top: 3em;
	padding-top: 5px;
	border-top: 3px double #e5e5e5;
}
DIV.pagefooter DIV.news {
	padding-bottom: 1em;
	border-bottom: 1px solid #e5e5e5;
}
DIV.pagefooter DIV.news TABLE.news H2 {
	font-size: 1em;
	line-height: normal;
	font-weight: normal;
}

/* =rightside
-------------------------------------------------- */
#rightside { float: left; width: 180px; }
#rightside H1 { font-size: 10px; color: #b2b2b2; }
#rightside H1 A { color: #b2b2b2; border: none; }

#rightside UL { margin: 1em 0 0 0; padding: 0; list-style: none; line-height: 1.5em; }
#rightside UL LI { padding-left: 12px; background: url(bg19.gif) no-repeat 0 7px; }
#rightside UL UL { margin: .5em 0 .5em 1em; }

#rightside DIV.box01 { width: 180px; margin: 10px 0 0 0; background: url(bg14.gif) repeat-y 0 0; min-height: 1px; }
#rightside DIV.box01 DIV.a { background: url(bg13.png) no-repeat 0 100%; }
#rightside DIV.box01 DIV.a DIV.b { padding: 10px 15px; background: url(bg12.gif) no-repeat 0 0; }
#rightside DIV.box01 H2 { margin: 0 0 5px 0; padding-bottom: 1px; font-size: 16px; color: #a5a5a5; background: url(bg11.gif) repeat-x 0 100%; }
#rightside DIV.box01 A { border: none; text-decoration: underline; }
#rightside DIV.box01 A:hover { color: #d81921; }
#rightside DIV.box01 IMG.left { margin: 1em .75em .75em 0; }
#rightside DIV.box01 IMG.right { margin: 1em 0 .75em .75em; }

#rightside DIV.box01 P.button { float: left; margin: .5em .5em 0 0 !important; }

/*
#rightside DIV.loginbox {  }
#rightside DIV.loginbox P { margin: 0; padding: 5px 0 0 0; }
#rightside DIV.loginbox P INPUT { vertical-align: middle; }
#rightside DIV.loginbox P INPUT.submit { margin-left: 2px; }
#rightside DIV.loginbox P.row1 INPUT.text { width: 142px; }
#rightside DIV.loginbox P.row2 INPUT.text { width: 120px; }
#rightside DIV.loginbox P.action { margin-top: 10px; padding-top: 5px; background: url(bg15.gif) repeat-x 0 0; font-size: 10px; }
#rightside DIV.loginbox P.action SPAN { margin: 0 2px; color: #e5e5e5; }
*/

#rightside DIV.box01 DL { margin: .8em 0 0 0; padding: 0; line-height: normal; }
#rightside DIV.box01 DL DT { margin: 0; padding: 0; }
#rightside DIV.box01 DL DT A { color: #252525; text-decoration: none; }
#rightside DIV.box01 DL DT A:hover { color: #d81921; text-decoration: underline; }
#rightside DIV.box01 DL DD { margin: 0; padding: 0; font-size: 10px; }
#rightside DIV.box01 DL DD.datum { margin-top: 3px; }
#rightside DIV.box01 DL DD.datum SPAN { float: left; padding-left: 12px; color: #999; }
#rightside DIV.box01 DL DD.datum SPAN.date { background: url(ico05.gif) no-repeat 0 3px; margin-right: 5px; }
#rightside DIV.box01 DL DD.datum SPAN.clock { padding-left: 10px; background: url(ico06.gif) no-repeat 0 3px; }
#rightside DIV.box01 DL DD.forum { padding-left: 12px; background: url(ico04.gif) no-repeat 0 3px; }
#rightside DIV.box01 DL DD.forum A { color: #999; }

/* =tables
-------------------------------------------------- */
#calendar { width: 180px; margin: 10px 0 0 0; overflow: hidden; text-align: center; }
#calendar TABLE { width: 181px; margin: 0; }
#calendar TABLE TH,
#calendar TABLE TD { padding: 5px; font-family: Verdana, Tahoma, Helvetica, sans-serif; font-size: 10px; border: 1px solid #fff; vertical-align: middle; text-align: center; line-height: normal; color: #999; }
#calendar TABLE THEAD TH { background: #f0f0f0; font-weight: bold; font-size: 11px; }
#calendar TABLE THEAD TD { padding: 0; background: #f0f0f0; }
#calendar TABLE THEAD TD A { padding: 0 3px; border: none; }
#calendar TABLE THEAD TD A IMG { vertical-align: middle; }
#calendar TABLE TBODY TH { background: #cacacb; color: #fff; }
#calendar TABLE TBODY TD { background: #f0f0f0; }
#calendar TABLE TBODY TD.today { background: #d81921; color: #fff; font-weight: bold; }
#calendar TABLE TBODY TD.weekend { background: #f7e9ea; }
#calendar TABLE TBODY TD.disabled { padding: 0; background: #fff; color: #ccc; }
#calendar TABLE TBODY TD.disabled SPAN { display: block; padding: 4px; border: 1px solid #f0f0f0; color: #ccc; }

DIV.scrollwrap {
	width: 535px;
	min-height: 1px;
	margin-top: 1em;
	padding: 0;
	border: 1px solid #cecece;
	background: #f9f9f9;
	overflow: auto;
	overflow-x: auto;
}
DIV.scrollwrap TABLE {
	width: 100%;
	margin: 0;
}
DIV.scrollwrap TABLE DIV.nowrap {
	display: block;
	white-space: nowrap;
}

P.table-popup {
	margin: 0.5em 0 -0.5em;
	font-size: 11px;
	text-align: right;
}
TABLE.data { clear: both; width: 100%; }
TABLE.data TH,
TABLE.data TD { padding: 4px 8px; border: 1px solid #e5e5e5; }
TABLE.data TH P,
TABLE.data TD P { margin: 0; padding: 0; }
TABLE.data TH { font-weight: bold; background: #f2f2f2; }
TABLE.data TD { background: #fff; }
TABLE.data TD STRONG.price { display: block; }
TABLE.data TD STRONG.price SPAN { color: #090; }
TABLE.data TD.input { padding: 3px 8px 0 4px; }
TABLE.data TD.input INPUT,
TABLE.data TD.input SELECT { width: 100px; margin: 0 0 3px 4px; vertical-align: middle; }
TABLE.data TD.check { width: 1%; padding: 3px 4px 0 4px; }
TABLE.data TD.action { white-space: nowrap; text-align: right; padding: 2px 8px 0 8px; }
TABLE.data TD.action P { float: right; margin: 0 0 0 4px !important; }
TABLE.data TD.action A { color: #d81921; border-color: #f2b2b5; line-height: 19px; }
TABLE.data TD.action A:hover { border-color: #d81921; }
TABLE.data TD.action SPAN { margin: 0 3px; color: #e5e5e5; }
TABLE.data TR.even TD.action SPAN { margin: 0 3px; color: #d6d6d6; }
TABLE.data THEAD TH,
TABLE.data THEAD TD { font-weight: bold; background: #f2f2f2 !important; }
TABLE.data TFOOT TH,
TABLE.data TFOOT TD { background: #ffe !important; border: solid #e6e6c4 !important; border-width: 1px 0 !important; font-weight: bold; color: #808033; }

TABLE.data2 {  }
TABLE.data2 TH,
TABLE.data2 TD { border-width: 1px 0; }
TABLE.data2 TD { background: #fff !important; }

TABLE.data TR.even TD { background: #f9f9f9; }
TABLE.data TR.filter TD { padding: 6px 8px 1px 4px; white-space: nowrap; background: #eee url(bg24.gif) repeat-x 0 0; }
TABLE.data TR.title TH { padding: 5px 8px; background: #fff url(bg23.png) repeat-x 0 100%; }
TABLE.data TR.marked TD { background: #ffc; }

DIV.pages {  }
DIV.pages UL { clear: both; display: block; margin: .75em 0 0 0 !important; padding: 0; list-style: none; }
DIV.pages UL LI { float: left; margin: 0 1px 0 0; padding: 0 !important; background: none !important; }
DIV.pages UL LI A { float: left; line-height: normal; padding: 2px 6px; border: 1px solid #e5e5e5; background: #fff; }
DIV.pages UL LI A:hover { color: #d81921; border-color: #d81921; }
DIV.pages UL LI.active A { border-color: #d81921; background: #fcf0f0; color: #d81921; font-weight: bold; }
DIV.pages P { margin: 0; padding: .75em 0 0 0; }
DIV.pages P SPAN { margin: 0 3px; color: #e5e5e5; }

TABLE.form { clear: both; width: 100%; border: 1px solid #e5e5e5; }
TABLE.form TH,
TABLE.form TD { padding: 4px 8px; border: solid #e5e5e5; border-width: 1px 0; }
TABLE.form TH { width: 25%; text-align: right; background: #f6f6f6; }
TABLE.form TH STRONG { color: #d81921; font-weight: normal; font-family: Verdana, Tahoma, Helvetica, sans-serif; }
TABLE.form TD { width: 75%; }
TABLE.form TH.check,
TABLE.form TD.check { width: 1%; padding: 3px 4px 0 4px; }
TABLE.form TD SPAN.info { margin: 1px 0 0 3px; }
TABLE.form TD INPUT.text { width: 150px; }
TABLE.form TD INPUT.button { padding: 0 4px; border: 1px solid; border-color: #b2b6ba #73797f #73797f #b2b6ba; background: #92989d; overflow: visible; color: #fff; cursor: pointer; line-height: normal; }
TABLE.form TD INPUT.button:active { border-color: #545b61; }
TABLE.form TD SELECT { width: 158px; }
TABLE.form TD INPUT,
TABLE.form TD SELECT,
TABLE.form TD TEXTAREA { vertical-align: middle; }
TABLE.form TD.action { padding: 8px; }
TABLE.form TD.action P.right { float: right; margin: .25em 0 0 0; text-align: left; }
TABLE.form TR.title TH { padding: 8px 8px 5px 8px; text-align: left; font-weight: bold; background: #fff url(bg26.png) repeat-x 0 100%; }

TABLE.wrap {  }
TABLE.wrap TH { padding: 0 8px 4px 0; color: #888; white-space: nowrap; }
TABLE.wrap TD { padding: 0 0 4px 8px; }

TABLE.news { width: 100%; margin: 1em 0 0 0; }
TABLE.news TD,
TABLE.news TH { padding: 0 5px 5px 5px; }
TABLE.news TD { width: 1%; white-space: nowrap; padding-right: 10px; color: #808080; }
TABLE.news TH {  }
TABLE.news TH H2 { margin: 0; font-size: 1.1em; }
TABLE.news TH H2 SPAN { margin: 0; font-weight: normal; font-size: 1em; }
TABLE.news TH P { margin: .25em 0 .25em 0; }
TABLE.news TR.title TH { padding: 5px 0; }
TABLE.news TR.title TH H2 { padding: 0 5px 3px 5px; border-bottom: 1px solid #e5e5e5; }
TABLE.news TR.title TH H2 A { color: #d81921; border: none; }
TABLE.news TR.title TH H2 A:hover { text-decoration: underline; }

P.timeline { font-size: 10px; line-height: 1.3em; }
P.timeline STRONG { font-weight: normal; text-transform: uppercase; color: #252525; }

P.timeline2 { margin-top: 2em; font-size: 10px; line-height: normal; padding: 0 0 0 10px; background: url(bg30.gif) no-repeat 0 5px; }
P.timeline2 SPAN { color: #252525; }

UL.pages { margin: 1em 0 0 0 !important; padding: 2px !important; background: #eee; border: 1px solid #e5e5e5; }
UL.pages LI { float: left; margin: 0 2px 0 0 !important; padding: 0 !important; background: none !important; }
UL.pages LI A { float: left; padding: 4px 8px; border: 1px solid #e5e5e5; background: #fff; line-height: normal; }
UL.pages LI A:hover { background: #fcf0f0; color: #252525; border-color: #d81921; }
UL.pages LI A.active { background: #d81921; border-color: #fff; color: #fff; font-weight: bold; }

TABLE.contact { width: 100%; margin: 2em 0 0 0; }
TABLE.contact TD { width: 50%; padding: 0 10px 10px 0; }
TABLE.contact IMG { float: left; margin-right: 1em; padding: 5px; background: #fff; border: 1px solid #e5e5e5; }
TABLE.contact DL,
TABLE.contact DT,
TABLE.contact DD { margin: 0; padding: 0; }
TABLE.contact DL { float: left; }
TABLE.contact DT { font-weight: bold; }

/* =inputs & buttons
-------------------------------------------------- */
LABEL { cursor: pointer; }

INPUT.text,
INPUT.date,
SELECT,
TEXTAREA { padding: 1px 3px; background: #fff url(bg03.png) no-repeat 0 0; border: 1px solid; border-color: #777 #bbb #bbb #777; line-height: normal; }
TEXTAREA { padding: 1px 1px 1px 3px; }
SELECT { padding: 0; }

INPUT.wide,
TEXTAREA.wide { width: 200px !important; }
SELECT.wide { width: 208px !important; }

INPUT.max,
TEXTAREA.max { width: 350px !important; }
SELECT.max { width: 358px !important; }

INPUT.text:focus,
INPUT.date:focus,
SELECT:focus,
TEXTAREA:focus { border-color: #b70204 #ec8c90 #ec8c90 #b70204; background: #ffe; color: #333; }

P.button,
P.button2,
P.button SPAN,
P.button2 SPAN { float: left; height: 19px; background: url(bg21.gif) no-repeat 0 0; }
P.button,
P.button2 { margin: 0 4px 0 0 !important; }
P.button SPAN,
P.button2 SPAN { margin: 0 !important; background-position: 100% -19px; }
P.button SPAN INPUT,
P.button2 SPAN INPUT { float: left; overflow: visible; margin: 0 !important; padding: 2px 10px 3px 10px; background: transparent; border: none; color: #fff; cursor: pointer; line-height: normal; }
P.button SPAN INPUT:active,
P.button2 SPAN INPUT:active {  }
P.button:active,
P.button2:active { background-position: 0 -38px; }
P.button:active SPAN,
P.button2:active SPAN { background-position: 100% -57px; }

P.button2,
P.button2 SPAN { background-image: url(bg22.gif); }

DIV.action { margin: 1em 0 0 0; padding: 5px; background: #f6f6f6; border: 1px solid #e5e5e5; }
DIV.action P { float: right; margin: 0 0 0 5px; }
DIV.action P.left { float: left; margin: 0 5px 0 0; }

/* =footer
-------------------------------------------------- */
#footer { clear: both; padding: 0 10px; background: #fff; color: #8c8c8c; font-family: Arial, Helvetica, sans-serif; }
#footer A { color: #d81921; border: none; }
#footer A:hover { text-decoration: underline; }
#footer-inner { padding: 15px 0; border-top: 1px solid #e5e5e5; }
#footer ADDRESS { font-style: normal; text-align: center; }
#footer ADDRESS SPAN { margin: 0 3px; color: #ebebeb; }

/* =popup
-------------------------------------------------- */
#popup {
	padding: 0 25px;
	background: #fff;
}
#popup #content {
	float: none;
	width: auto;
	margin: 0;
	padding: 20px 0;
	background: #fff;
	text-align: left;
}

/* =floatmenu
-------------------------------------------------- */
#container {
	position: relative;
}
#container #floatmenu {
	position: absolute;
	top: 20px;
	left: 10px;
	width: 180px;
}
#container #floatmenu UL {
	margin: 0;
}
/*
#container #floatmenu UL UL UL A {
	background-image: none !important;
}
*/

/* =Rich Text Editor fixes
-------------------------------------------------- */
TABLE#tb1,
TABLE#tb2,
TABLE#tb3,
TABLE#tb1 TABLE,
TABLE#tb2 TABLE,
TABLE#tb3 TABLE { margin: 0; }
TABLE#tb1 TD,
TABLE#tb2 TD,
TABLE#tb3 TD,
TABLE#tb1 TD IMG,
TABLE#tb2 TD IMG,
TABLE#tb3 TD IMG,
TABLE#tb1 TD INPUT,
TABLE#tb2 TD INPUT,
TABLE#tb3 TD INPUT { vertical-align: middle; }

/* =XMB styles
-------------------------------------------------- */
P.nimed { font-size: 10px; line-height: normal; font-weight: normal; text-transform: uppercase; color: #252525; }
P.nimetekst { margin: 0; font-size: 10px; line-height: normal; }

P.indent { margin-left: 26px; }

P.allikas { color: #808080; font-style: italic; }
P.allikas SPAN { color: #252525; }

DIV.graybox {  }

P.hallikastitekst,
P.hallikastitekst_pais,
P.hallikastitekst_pealkiri {
	padding: .5em 12px;
	background: #f2f2f2;
	color: #555;
}
P.kastitekst_pais,
P.hallikastitekst_pais { color: #d81921; font-size: 11px; text-transform: uppercase; font-weight: bold; font-family: Arial, Helvetica, sans-serif; }
P.kastitekst_pealkiri,
P.hallikastitekst_pealkiri { color: #555; font-size: 13px; font-weight: bold; font-family: Arial, Helvetica, sans-serif; }
DIV.kastitekst_tabel DIV.scrollwrap { width: 500px; margin: 0; }
DIV.kastitekst_tabel TABLE { margin: 0; }

P.kastitekst_pais + P.kastitekst,
P.kastitekst_pais + P.kastitekst_pealkiri,
P.kastitekst_pealkiri + P.kastitekst,
P.kastitekst + P.kastitekst,
P.kastitekst + P.kastitekst_pealkiri,
DIV.kastitekst_tabel + P.kastitekst,
DIV.kastitekst_tabel + P.kastitekst_pealkiri,
P.hallikastitekst_pais + P.hallikastitekst,
P.hallikastitekst_pais + P.hallikastitekst_pealkiri,
P.hallikastitekst_pealkiri + P.hallikastitekst,
P.hallikastitekst + P.hallikastitekst_pealkiri,
P.hallikastitekst + P.hallikastitekst {
	margin-top: 0;
}
P[class^=kastitekst] + P[class^=kastitekst],
P[class^=hallikastitekst] + P[class^=hallikastitekst] {
	padding-top: 0;
}

P.kastitekst,
P.kastitekst_pais,
P.kastitekst_pealkiri,
DIV.kastitekst_tabel {
	margin-left: 20px;
	padding: .5em 0 .5em 10px;
	background: #fff;
	border-left: 5px solid #f2f2f2;
}

/*
DIV.graybox { min-height: 1px; margin: 1em 0 0 0; background: #f6f6f6 url(bg_graybox_03.gif) repeat-y 0 0; }
DIV.graybox DIV.a { background: url(bg_graybox_01.png) no-repeat 0 100%; }
DIV.graybox DIV.a DIV.b { padding: 1em; background: url(bg_graybox_02.png) no-repeat 0 0; }
DIV.graybox H2 { color: #555; font-size: 13px; }
DIV.graybox H2.example { margin: 0; color: #d81921; font-size: 12px; text-transform: uppercase; }
DIV.graybox P,
DIV.graybox OL,
DIV.graybox UL { margin-top: .5em !important; }

DIV.whitebox { min-height: 1px; margin: 1em 0 0 0; background: #fff url(bg_whitebox_03.gif) repeat-y 0 0; }
DIV.whitebox DIV.a { background: url(bg_whitebox_01.png) no-repeat 0 100%; }
DIV.whitebox DIV.a DIV.b { padding: 1em; background: url(bg_whitebox_02.png) no-repeat 0 0; }
DIV.whitebox H2 { margin: 0; color: #555; font-size: 13px; }
DIV.whitebox P,
DIV.whitebox OL,
DIV.whitebox UL { margin-top: .5em !important; }
*/

/* =.NET fixes
-------------------------------------------------- */
TABLE.newclass { width: 100% !important; margin: 0 !important; border: none !important; border-collapse: collapse !important; border-spacing: 0 !important; }
/*
TABLE.newclass TH,
TABLE.newclass TD { padding: 0 !important; text-align: left !important; vertical-align: top; border: none !important; }
*/

/* =Editor fixes
-------------------------------------------------- */
DIV#divFreeTextBox TABLE {
	margin: 0 !important;
}

/* =IE fixes
-------------------------------------------------- */
* HTML DIV.box01,
* HTML DIV.price,
* HTML #leftside UL LI.sub UL,
* HTML DIV.graybox,
* HTML DIV.whitebox,
* HTML #content-inner2,
* HTML #container,
* HTML DIV.archive P{ height: 1px; }

* HTML #nav { margin-bottom: -1px; }
* HTML #leftside UL LI.sub A { margin-top: 0; }

* HTML BODY { background: #f0f0f0 url(bg01.png) repeat-x 0 0; voice-family: "\"}\""; voice-family:inherit; background: url(bg01.png) repeat-x 0 0; }

* HTML BODY P.button SPAN INPUT,
* HTML BODY P.button2 SPAN INPUT { padding-bottom: 2px; }

*:first-child+html #content OL.type1 OL LI IMG { margin-top: .3em !important; }
* html #content OL.type1 OL LI IMG { margin-top: .3em !important; }
