html, body {background:#362a1c url('../img/bg_2.jpg') 0px 0px repeat scroll;font-family:Verdana,Tahoma,Arial,Helvetica,sans-serif;font-size:9pt;color:#46230d;border:0px;width:100%;height:100%;}
html, body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, input, select, form {margin:0px;padding:0px;}
/*body {behavior:url('csshover.htc');}*/
ol, ul {list-style-image:none;list-style-position:outside;list-style-type:none;}
table {border-collapse:collapse;border-spacing:0pt;border:0px;}
th, td {text-align:left;vertical-align:top;}
input, select {font-family:Arial;}
img {border:0px none;}
a, a:visited {text-decoration:underline;color:#46230d;cursor:pointer;}
a:active, a:hover {text-decoration:none;}
a:active, a:focus {outline:none;}

h1 {font:16.5pt arial;color:#7c3e1c;}
h2 {background:transparent url('../img/border_x_1.gif') 0px bottom repeat-x scroll;font:9pt verdana;color:#46230d;height:26px;padding:0px 3px 4px;}
h2 a.link, h2 strong {color:#ffffff;margin:0px 3px;margin-top:0px!important;}
h2 a {background:transparent none;padding:0px;margin:0px;float:none;}
h2 span {float:left;padding:6px;}

.clear {clear:both;float:none;font-size:0pt;height:0px;line-height:0px;}

#wrapper {background:#18a2ff url('../img/bg_1.jpg') 0px -29px repeat-y scroll;height:auto!important;min-height:100%;width:979px;margin:0px auto;}
#header {background:transparent url('../img/bg_header_1.jpg') 0px 0px no-repeat scroll;width:100%;height:378px;position:relative;/*z-index:1000;*/}
#logo {background:transparent url('../img/logo_1.png') 0px 0px no-repeat scroll;font-size:0pt;text-indent:-9999px;text-decoration:none;width:134px;height:84px;position:absolute;top:3px;left:217px;cursor:pointer;}
#logo span {visibility:hidden;}
#languages {position:absolute;top:55px;right:17px;font:0pt verdana;}
#languages li {background-position:0px 0px;background-repeat:no-repeat;background-attachment:scroll;width:57px;height:95px;margin-left:25px;float:left;}
#languages li#lv {background-image:url('../img/lng_lv_1.png');}
#languages li#ru {background-image:url('../img/lng_ru_1.png');}
#languages li#en {background-image:url('../img/lng_en_1.png');}
#languages a {position:relative;top:40px;left:22px;font:7.5pt verdana;color:#0c70a9;}
#body {background:transparent url('../img/bg_body.jpg') 0px 0px no-repeat scroll;min-height:322px;}
#content {width:840px;margin-left:70px;padding-bottom:35px;}
#menux {background-color:#9db401;font:9pt arial;height:32px;padding-left:41px;display:block;}
#menux li {margin-top:4px;float:left;}
#menux a {color:#ffffff;padding-left:12px;float:left;}
#menux span {padding-right:12px;float:left;}
#menux b {font-weight:normal;height:21px;padding:7px 4px 0px;float:left;}
#menux a.active {background:transparent url('../img/menu_9_left.jpg') 0px 0px no-repeat scroll;text-decoration:none;}
#menux a.active span {background:transparent url('../img/menu_9_right.jpg') right 0px no-repeat scroll;}
#menux a.active b {background-color:#bad218;}
#menu {background:transparent url('../img/page_header.jpg') 0px 0px no-repeat scroll;height:105px;}
#menu table {width:auto;}
#menu ul {margin-top:15px;}
#menu li {background:transparent url('../img/line_1.png') 0px 0px no-repeat scroll;height:47px;padding:20px 9px 0px 11px;float:left;}
#menu li.first {background:transparent none;}
#menu a, h2 a.link, h2 strong {font:9pt verdana;color:#46230d;/*margin-top:20px;*/float:left;}
#menu span, h2 a.link span, h2 strong span {position:relative;padding:0px;margin-left:-3px;float:left;}
#menu b, h2 b {position:relative;font-weight:normal;padding:6px 13px;margin-right:-3px;float:left;}
#menu a.active, h2 a.link, h2 strong {background:transparent url('../img/block_1_bg.gif') 0px 0px repeat-x scroll;color:#ffffff;text-decoration:none!important;}
#menu a.active span, h2 a.link span, h2 strong span {background:transparent url('../img/block_1_left.gif') 0px 0px no-repeat scroll;}
#menu a.active b, h2 b {background:transparent url('../img/block_1_right.gif') right 0px no-repeat scroll;}
#pagecontent {background:transparent url('../img/page_bg_mid.jpg') 0px 0px repeat-y scroll;width:832px;margin-left:4px;}
.pagetop {background:transparent url('../img/page_bg_top.jpg') 0px top no-repeat scroll;}
.pagebot {background:transparent url('../img/page_bg_bot.jpg') 0px bottom no-repeat scroll;min-height:270px;padding:5px 23px 8px;}
.page {line-height:1.505em;margin:4px 4px 17px;}
#gallery {padding:1px 0px 7px;margin:0px -27px;clear:both;}
#gallery ul {background:transparent url('../img/border_x_2.gif') center 0px no-repeat scroll;padding-top:12px;margin-bottom:35px;float:left;width:100%;}
#gallery ul.first {background:transparent none;}
#gallery li {border-left:1px solid #d8c8a4;float:left;margin-top:7px;}
#gallery li.first {border:0px;}
#gallery img {background:transparent url('../img/img_scope.gif') 0px 0px no-repeat scroll;width:109px;height:84px;padding:10px 15px;margin:5px 35px;}
div#gallery img {background:transparent none;padding:0px;margin:15px 50px 2px;}
div#gallery p {margin:0px 45px 0px 50px;}

#newsopen {background:transparent url('../img/border_x_1.gif') 0px bottom repeat-x scroll;font:10.5pt arial;color:#504a41;line-height:1.43em;padding-bottom:18px;margin:10px 4px 32px;}
#newsopen img {background:transparent url('../img/img_scope_3.gif') 0px 0px no-repeat scroll;width:268px;height:194px;padding:16px 18px;margin:4px 13px 10px 0px;float:left;}

#pagination {background:transparent url('../img/border_x_2.gif') center 0px no-repeat scroll;text-align:center;padding:13px 50px 0px;clear:both;}
#pagination table {width:auto;margin:0px auto;}
#pagination strong {font-weight:normal;position:relative;top:0px;float:left;margin:0px auto;}
#pagination a, #pagination span {margin:0px 3px;}
#pagination .prev {background:transparent url('../img/arrow_4l.gif') 0px 7px no-repeat scroll;padding-left:22px;margin:0px;margin-right:17px;position:absolute;top:0px;right:100%;}
#pagination .next {background:transparent url('../img/arrow_4r.gif') right 7px no-repeat scroll;padding-right:22px;margin:0px;margin-left:17px;position:absolute;top:0px;left:100%;;}

#footer {background:transparent url('../img/page_footer.png') 0px bottom no-repeat scroll;height:106px;font-size:0px;text-indent:-9999px;}

.qform input, .qform textarea { width: 290px;border:1px solid #B2A175; }
.qform textarea { overflow: hidden;height: 110px; }
.qform .ltd { text-align: right;padding-right: 5px; }
.qform .std { text-align: right;padding-right: 40px; }
