BODY { padding: 0px 0px 25px 0px; margin: 0px; background: url(../img/bg.png); }
IMG { border: none; }

DIV#lang_bar_outer { height: 24px; background: url(../img/bg_lang_bar.gif) repeat-x; }
DIV#lang_bar { width: 957px; height: 24px; margin: auto; text-align: right; }
DIV#lang_bar DIV.left { width: 11px; height: 24px; background: url(../img/bg_lang_bar_left.gif) no-repeat; float: right; }
DIV#lang_bar DIV.right { width: 11px; height: 24px; background: url(../img/bg_lang_bar_right.gif) no-repeat; float: right; }
DIV#lang_bar DIV.center { height: 20px; background: url(../img/bg_lang_bar_center.gif) repeat-x; float: right; padding: 4px 10px 0px 10px; font: 11px Arial, Verdana, Tahoma, sans-serif; color: #222; }
DIV#lang_bar DIV.center IMG { padding: 0px 2px 2px 2px; vertical-align: middle; }

DIV#main_outer { width: 948px; margin-left: auto; margin-right: auto; margin-top: 12px; }
DIV#main_top_bg { width: 948px; height: 5px; background: url(../img/bg_main_top.gif) no-repeat; line-height: 1px; font-size: 1px; }
DIV#main_bottom_bg { width: 948px; height: 5px; background: url(../img/bg_main_bottom.gif) no-repeat; }
DIV#main { width: 948px; background: #fff; }

DIV#top_links { float: right; height: 97px; width: 500px; background: url(../img/bg_tech.gif) top right no-repeat; text-align: right; padding: 0px 10px 0px 0px; line-height: 10px; }
DIV#top_links UL { list-style-type: none; margin: 0px; padding: 0px; }
DIV#top_links UL LI { display: inline; font: 11px Arial, Verdana, Tahoma, sans-serif; color: #adadad; }
DIV#top_links UL LI.active A { color: #555; text-decoration: underline; }
DIV#top_links UL LI A { font: 11px Arial, Verdana, Tahoma, sans-serif; color: #adadad; text-decoration: none; }
DIV#top_links UL LI A:hover { color: #555; text-decoration: underline; }
DIV#top_links UL LI.sitemap_active A { color: #9d2222; text-decoration: underline; font-weight: bold; }
DIV#top_links UL LI.sitemap A { font: bold 11px Arial, Verdana, Tahoma, sans-serif; color: #9d2222; text-decoration: none; }
DIV#top_links UL LI.sitemap A:hover { color: #9d2222; text-decoration: underline; }

DIV#head { width: 928px; margin-left: auto; margin-right: auto; margin-top: 1px; }
DIV#head UL { width: 288px; margin: 0px; padding: 0px; list-style-type: none; float: left; }
DIV#head UL LI { font: 30px Georgia, Tahoma, Arial, Verdana, sans-serif; color: #999; width: 288px; height: 60px; line-height: 60px; text-align: right; }
DIV#head UL LI A { font: 30px Georgia, Tahoma, Arial, Verdana, sans-serif; line-height: 60px; color: #999; text-decoration: none; display: block; padding-right: 26px; width: 262px; }
DIV#head UL LI A:hover { color: #caff42; text-decoration: none; }
DIV#head UL LI.varv { background: url(../img/bg_varv.gif) no-repeat; margin-bottom: 6px; }
DIV#head UL LI.tookoda { background: url(../img/bg_tookoda.gif) no-repeat; margin-bottom: 6px; }
DIV#head UL LI.diagnostika { background: url(../img/bg_diagnostika.gif) no-repeat; }
DIV#head UL LI.active { color: #caff42; text-decoration: none; padding-right: 26px; width: 262px; }
DIV#head DIV.pic { float: right; }

DIV#content_outer { width: 928px; margin-left: auto; margin-right: auto; padding-bottom: 5px; }
DIV#content_outer UL#menu { width: 288px; margin: 0px; padding: 0px; list-style-type: none; float: left; margin-top: 50px; }
DIV#content_outer UL#menu LI { width: 288px; height: 27px; margin-bottom: 2px; font: 12px Arial, Verdana, Tahoma, sans-serif; }
DIV#content_outer UL#menu LI A { font: 12px Arial, Verdana, Tahoma, sans-serif; }
DIV#content_outer UL#menu LI.level_2 { }
DIV#content_outer UL#menu LI.level_2_active { background: url(../img/bg_main_menu.gif) 0px -27px no-repeat; color: #9d2222; width: 264px; height: 27px; padding-left: 24px; line-height: 27px; }
DIV#content_outer UL#menu LI.level_2 A { color: #a8964a; text-decoration: none; display: block; width: 264px; height: 27px; padding-left: 24px; line-height: 27px; background: url(../img/bg_main_menu.gif) no-repeat; text-decoration: none; }
DIV#content_outer UL#menu LI.level_2 A:hover { color: #9d2222; text-decoration: none; background-position: 0px -27px; }
DIV#content_outer UL#menu LI.level_2 A.active { color: #9d2222; text-decoration: none; background-position: 0px -27px; }

DIV#content_outer UL#menu LI.level_3 { width: 243px; margin-left: 45px; height: 18px; }
DIV#content_outer UL#menu LI.level_3_active { width: 228px; height: 18px; margin-left: 45px; padding-left: 15px; background: url(../img/bg_menu_bullets.gif) 0px -18px no-repeat; color: #555; text-decoration: underline; line-height: 18px; }
DIV#content_outer UL#menu LI.level_3 A { width: 228px; height: 18px; line-height: 18px; padding-left: 15px; background: url(../img/bg_menu_bullets.gif) no-repeat; color: #999; text-decoration: none; display: block; }
DIV#content_outer UL#menu LI.level_3 A:hover { background-position: 0px -18px; color: #555; text-decoration: underline; }
DIV#content_outer UL#menu LI.level_3 A.active { background-position: 0px -18px; color: #555; text-decoration: underline; }

DIV#content_outer UL#menu LI.level_4 { width: 218px; margin-left: 70px; height: 18px; }
DIV#content_outer UL#menu LI.level_4_active { width: 203px; height: 18px; margin-left: 70px; padding-left: 15px; background: url(../img/bg_menu_bullets.gif) 0px -18px no-repeat; color: #555; text-decoration: underline; line-height: 18px; }
DIV#content_outer UL#menu LI.level_4 A { width: 203px; height: 18px; line-height: 18px; padding-left: 15px; background: url(../img/bg_menu_bullets.gif) no-repeat; color: #999; text-decoration: none; display: block; }
DIV#content_outer UL#menu LI.level_4 A:hover { background-position: 0px -18px; color: #555; text-decoration: underline; }
DIV#content_outer UL#menu LI.level_4 A.active { background-position: 0px -18px; color: #555; text-decoration: underline; }

DIV#content { width: 629px; float: right; }
DIV#content H1.title { border-bottom: 2px solid #9d2222; text-align: right; font: 24px Georgia, Tahoma, Arial, Verdana, sans-serif; color: #8f8f8f; padding: 16px 0px 5px 0px; margin: 0px; }

DIV#content DIV#content_main_outer { background: #f0f0f0; margin: 10px 0px 5px 0px; }
DIV#content DIV#top { background: url(../img/bg_grey_top.gif) no-repeat; height: 10px; line-height: 1px; font-size: 1px; }
DIV#content DIV#bottom { background: url(../img/bg_grey_bottom.gif) no-repeat; height: 10px; line-height: 1px; font-size: 1px; }

DIV#content_main { background: #f0f0f0; width: 609px; padding: 0px 10px 0px 10px; font: 12px Tahoma, Verdana, Arial, sans-serif; }
DIV#content_main A { font: bold 12px Tahoma, Verdana, Arial, sans-serif; color: #333; text-decoration: underline; }
DIV#content_main A:hover { text-decoration: none; }
DIV#content_main A:visited { color: #888; }
DIV#content_main P { text-align: justify; padding: 0px 0px 12px 0px; margin: 0px; }
DIV#content_main P.data { text-align: left; text-decoration: underline; font-weight: bold; padding: 5px 0px 0px 0px; }
DIV#content_main UL { margin-top: 0px; }

DIV#content_main DIV.page_top { padding-top: 15px; }
DIV#content_main DIV.page_top A { padding-right: 12px; background: url(../img/ico_top.gif) right 5px no-repeat; }

DIV#content_main DIV.pics { width: 610px; margin-left: auto; margin-right: auto; padding-bottom: 10px; }
DIV#content_main DIV.pics IMG { border: 3px solid #fff; }
DIV#content_main DIV.pics A { font-size: 0px; line-height: 0px; text-decoration: none; }
DIV#content_main DIV.pics DIV.left { float: left; width: 300px; text-align: center; }
DIV#content_main DIV.pics DIV.right { float: right; width: 300px; text-align: center; }
DIV#content_main DIV.pics DIV.code { margin-top: 10px; text-align: left; }
DIV#content_main DIV.pics DIV.code SPAN { font: bold 14px Tahoma, Verdana, Arial, sans-serif; color: #fff; padding: 1px 3px; background: #b6b6b6; }

H2 { font: bold 16px Georgia, Tahoma, Arial, Verdana, sans-serif; color: #9d2222; margin: 0px; padding-top: 5px; }
H2.unpublished { color: red; }
P.date { font-size: 10px; font-style: italic; }

DIV#contact_left { float: left; width: 350px; }
DIV#contact_right { float: right; width: 240px; }

DIV#footer { width: 928px; height: 27px; background: url(../img/bg_footer.gif) no-repeat; margin-left: auto; margin-right: auto; padding-top: 5px; text-align: center; font: bold 12px Arial, Verdana, Tahoma, sans-serif; color: #fff; }
DIV#footer A { font: bold 12px Arial, Verdana, Tahoma, sans-serif; color: #fff; text-decoration: none; }
DIV#footer A:hover { text-decoration: underline; }

.clear:after { content: "."; display: block; height: 0; font-size: 0; clear: both; visibility: hidden; }
.clear { display: inline-block; } /* Hides from IE Mac \*/
* html .clear { height: 1%; }
.clear { display:block; } /* End Hack */

DIV.info { margin: 10px; padding: 5px; line-height: normal; font: 11px Verdana, Arial, Tahoma, sans-serif; height: 300px; overflow: auto; border: solid 1px #c0b07e; text-align: left; background: #fff; color: #555; }
DIV.info P { margin: 0px; padding: 5px; }
DIV.info P.row1 { background: #eee; }
DIV.info P.row0 { background: #fff; }
PRE { font-size: 11px; }

DIV.errors { font: bold 12px Verdana, Arial, Helvetica, sans-serif; text-align: left; border: 2px solid #c32b47; background: #ffe9e9; padding: 5px; color: #c32b47; margin: 10px 0px 0px 0px; line-height: normal; }
DIV.errors P { margin: 0px; padding: 1px 0px; }
DIV.messages { font: 12px Verdana, Arial, Helvetica, sans-serif; text-align: left; border: 2px solid #ecddaf; color: #7e7044; background: #fffbee;  padding: 5px; margin: 10px 0px 0px 0px; line-height: normal; }
DIV.messages P { margin: 0px; padding: 1px 0px; }

DIV#edit_box { border: 2px solid red; position: absolute; background: #fff; font-size: 12px; padding: 3px 5px; z-index: 100; }
DIV#edit_box A { font: bold 12px Verdana, Arial, Tahoma, sans-serif; text-decoration: none; color: #555; padding: 0px 3px; }
DIV#edit_box A:hover { text-decoration: underline; }

DIV.edit_bar_link { padding: 10px 3px; text-align: right; }
DIV.edit_bar_link A { font: bold 12px Verdana, Arial, Tahoma, sans-serif; text-decoration: none !important; color: #fff !important; background: #d6a103; padding: 2px 5px; }
DIV.edit_bar_link A:hover { text-decoration: underline; }

DIV.edit_bar { border: 1px solid #d1d1d1; background: #f9f9f9; padding: 3px; text-align: right; margin: 0px 0px 5px 0px; }
DIV.edit_bar A { font: bold 12px Verdana, Arial, Tahoma, sans-serif; text-decoration: none; color: #5f5f5f; }
DIV.edit_bar A:hover { text-decoration: underline; }

FORM { padding: 0px; margin: 0px; }
INPUT { font: 12px Tahoma, Verdana, Arial, sans-serif; color: #555; padding: 2px; }
INPUT.input { width: 445px; border: 1px solid #aaa; }
INPUT.input_file { width: 200px; border: 1px solid #aaa; }
INPUT.input_title { width: 150px; border: 1px solid #aaa; }
INPUT.date { width: 65px; border: 1px solid #aaa; }
INPUT.submit { font: bold 12px Tahoma, Verdana, Arial, sans-serif; color: #fff; background: #d6a103; padding: 1px 5px; border-width: 2px; }
INPUT.reset { font: bold 12px Tahoma, Verdana, Arial, sans-serif; color: #fff; background: #9d2222; padding: 1px 5px; }
TEXTAREA.textarea { border: 1px solid #aaa; width: 445px; height: 200px; font: 12px Tahoma, Verdana, Arial, sans-serif; color: #555; padding: 2px; }
SELECT { font: 12px Tahoma, Verdana, Arial, sans-serif; color: #555; }

TABLE { border-collapse: collapse; border: none; margin-bottom: 15px; }
TABLE TH { font: bold 12px Tahoma, Verdana, Arial, sans-serif; text-align: center; color: #630; padding: 3px; background: #fcc110; border: 1px solid #fff; }
TABLE TD { font: 12px Tahoma, Verdana, Arial, sans-serif; padding: 3px; border: 1px solid #fff; }
TABLE TD A { font: bold 12px Tahoma, Verdana, Arial, sans-serif; color: #333; text-decoration: underline; }
TABLE TD A :hover { text-decoration: none; }
TABLE TD A :visited { color: #888; }
TABLE TR.row0 { background: #e8e8e8; }
TABLE TR.row1 { background: #d8d8d8; }

TABLE.details { border-collapse: collapse; width: 100%; border: none; }
TABLE.details TD { padding: 4px 0px; border: none; border-bottom: 1px solid #ddd; }
TABLE.details TD IMG { border: 3px solid #fff; }
TABLE.details TD.label { text-align: right; width: 25%; padding-right: 10px; }
TABLE.details TD.text { width: 75%; }

TABLE.contact { border-collapse: collapse; width: 100%; border: none; }
TABLE.contact TD { border: none; font: 12px Tahoma, Verdana, Arial, sans-serif; padding: 2px; }
TABLE.contact TD.label { text-align: right; width: 70px; }
TABLE.contact TD.req { font-weight: bold; }
TABLE.contact TD INPUT.input { width: 270px; }
TABLE.contact TD TEXTAREA { width: 270px; height: 130px; }

TABLE.files { border-collapse: collapse; border: none; margin: 0px; }
TABLE.files TH { border: 1px solid #fff; padding: 3px 5px; }
TABLE.files TD { border: 1px solid #fff; padding: 3px; }
TABLE.files TD.center { text-align: center; }

TABLE.file_add { border-collapse: collapse; border: none; margin: 10px 0px 0px 0px;  width: 100%; }
TABLE.file_add TD { border: 1px solid #fff; padding: 3px; }
TABLE.file_add TD.label { text-align: right; width: 70px; }

UL.sitemap { margin: 0px 0px 20px 20px; padding: 0px; list-style-type: none; }
UL.sitemap LI { font: 12px Tahoma, Arial, Verdana, sans-serif; color: #555; text-decoration: none; padding: 1px 0px; }
UL.sitemap LI.active { background: url(../img/bg_sitemap_bullets.gif) no-repeat; padding-left: 12px; color: #777; }
UL.sitemap LI A { color: #555 !important; text-decoration: underline; background: url(../img/bg_sitemap_bullets.gif) no-repeat; padding-left: 12px; font-weight: normal !important; }
UL.sitemap LI A:hover { color: #111 !important; text-decoration: none; background-position: 0px -18px; }

UL.sitemap LI.level_1 { margin-left: 0px; }
UL.sitemap LI.level_2 { margin-left: 15px; }
UL.sitemap LI.level_3 { margin-left: 30px; }
UL.sitemap LI.level_4 { margin-left: 45px; }

UL.files { margin: 0px 0px 0px 20px; padding: 0px; list-style-type: none; }
UL.files LI { padding: 3px; }
UL.files LI A { font: normal 11px Tahoma, Arial, Verdana, sans-serif !important; padding: 1px 0px 2px 20px; }
UL.files LI A.pdf { background: url(../img/ico_pdf.png) no-repeat;  }
UL.files LI A.img { background: url(../img/ico_img.png) no-repeat;}
UL.files LI A.txt { background: url(../img/ico_txt.png) no-repeat; }
UL.files LI A.doc { background: url(../img/ico_doc.png) no-repeat; }
UL.files LI A.unknown { background: url(../img/ico_unknown.png) no-repeat; }

.w35p { width: 35%; }
.w65p { width: 65%; }

#content_main .suur14 { font-size: 14px; }
#content_main .suur16 { font-size: 16px; }
#content_main .suur18 { font-size: 18px; }
#content_main .suur20 { font-size: 20px; }
#content_main .suur24 { font-size: 24px; }