* {margin: 0; padding: 0;}
.clear {clear:both;}
/* Template */
body {background: rgb(254,252,243);}
#bg {background: 50% 0% url('./img/bg.jpg') repeat-y rgb(69,160,0); margin: 0 auto; max-width:1700px;}
#bottom_bg {background: 50% 100% url('./img/bottom_bg.jpg') no-repeat;}
#top_bg {position:relative; z-index:4; background: 50% 0% url('./img/top_bg.jpg') no-repeat;}
#logo {position:absolute; top:16px; left:78px;}
#wrapper {position:relative; margin: 0 auto; width: 1004px;}
#container {position: relative;	padding: 129px 48px 0 48px; min-height: 480px;}
#footer {min-height:142px; clear:both;}
#faq {position:absolute; bottom: 180px; left: 3px; z-index:7; width: 45px; height: 50px;}
/* Lang */
#lang {position:absolute; top:0; right:48px; z-index:5; margin:0; padding:0; width:100px; list-style-type: none;}
#lang li {position:absolute; margin:0; padding:0;}
#lang li.n1 {top:11px; right:60px;}
#lang li.n2 {top:4px; right:15px;}
#lang a {font-size: 10px; color:white; text-decoration:none;}
#lang a:hover {text-decoration:underline;}
/* Navigation */
#grey_color {position:absolute; left:0; top: 35px; z-index:3; width:100%; height:60px; background: rgb(254,252,243);}
#nav {position:absolute; left:278px; top: 33px; z-index:5; margin:0; padding:0; list-style-type: none;}
#nav li {float: left; width:117px; height: 67px; margin:0 0 0 40px; padding: 20px 0 0 0; text-align: center; font-size: 17px;}
#nav a {padding-left: 19px; background: 0% 5px url('./img/button.jpg') no-repeat; color: rgb(87,148,1); text-decoration:none;}
#nav a:hover {background: 0% 5px url('./img/button_hover.png') no-repeat;}

#nav li.current1 {background: 50% 0 url('./img/nav_current1.jpg') no-repeat rgb(69,160,0); color: white;}
#nav li.current2 {background: 50% 0 url('./img/nav_current2.jpg') no-repeat rgb(69,160,0); color: white;}
#nav li.current3 {background: 50% 0 url('./img/nav_current3.jpg') no-repeat rgb(69,160,0); color: white;}
#nav li.current4 {background: 50% 0 url('./img/nav_current4.jpg') no-repeat rgb(69,160,0); color: white;}
/* About Us */
.logos {height:75px;}
.logos a {display:block; float:left;}
.logos a:hover {text-decoration:none;}
.logo1 {height:50px; width:124px; background: url('./logos/1.jpg');}
.logo1:hover {background: url('./logos/1-hover.jpg');}
.logo2 {height:50px; width:126px; background: url('./logos/2.jpg');}
.logo2:hover {background: url('./logos/2-hover.jpg');}
.logo3 {height:50px; width:91px; background: url('./logos/3.jpg');}
.logo3:hover {background: url('./logos/3-hover.jpg');}
.logo4 {height:50px; width:90px; background: url('./logos/4.jpg');}
.logo4:hover {background: url('./logos/4-hover.jpg');}
.logo5 {height:50px; width:62px; background: url('./logos/5.jpg');}
.logo5:hover {background: url('./logos/5-hover.jpg');}
.logo6 {height:50px; width:143px; background: url('./logos/6.jpg');}
.logo6:hover {background: url('./logos/6-hover.jpg');}
.logo7 {height:50px; width:114px; background: url('./logos/7.jpg');}
.logo7:hover {background: url('./logos/7-hover.jpg');}
.logo8 {height:50px; width:95px; background: url('./logos/8.jpg');}
.logo8:hover {background: url('./logos/8-hover.jpg');}
/* News */
.prods {margin-top: 15px;}
.prod {float:left; width:33%; height:400px; text-align:center;}
.prod img {margin: 10px 0 10px;}
.prod p {margin: 0; padding: 0 20px; text-align:left;}
/* Contacts */
.contact {float:left; width:50%; padding:10px 0 0 0; color:white;}
.contact .zavitok {float:left; height:76px; width:45px; background: url('./img/zavitok.png');}
.contact img {float:left; margin: 10px 0 0 0;}
.contact .name {margin:34px 0 0 160px;}
.contact .phone {margin:3px 0 0 160px; height:20px; padding:0 0 0 22px; background: url('./img/phone.jpg') no-repeat;}

.message {text-align:center; color:white;}
#contacts_form {position:relative; margin: 30px auto 10px auto; width:296px; height:206px; background: url('./img/form.jpg');}
#contacts_email {display:block; margin: 0 0 5px 4px; padding: 1px 0 0 3px; height: 27px; width: 286px; background: none; border:0;}
#contacts_message{display:block; margin: 0 3px 0 4px; padding: 1px 0 1px 3px; height: 116px; width: 283px; background: none; border:0;}
#contacts_submit{display:block; position:absolute; left:10px; bottom:6px; width: 67px; height: 23px;}

#map {display:block; position:absolute; left:90px; bottom:10px; width:249px; height:183px; background: url('./img/map.jpg');}
#map:hover {background: url('./img/map_full.jpg'); text-decoration:none;}
/* Gallery */
#gtext {width:300px; margin: 0 auto; padding: 1px 0 1px 0; color: white;}
#close_ru {margin: 0 auto; height:21px; width:62px; background: url('./img/close_ru.jpg'); cursor:pointer;}
#close_lv {margin: 0 auto; height:21px; width:62px; background: url('./img/close_lv.jpg'); cursor:pointer;}
#close_eng {margin: 0 auto; height:21px; width:62px; background: url('./img/close_eng.jpg'); cursor:pointer;}
/* Container styling */
#pt_article {position: relative; margin: 1px 25px 1px 35px;}
/* Content styling */
html {font-family: verdana, arial, helvetica, sans-serif; font-style: normal; font-size: 76%; color: black; }
img {margin: 5px 15px 5px 15px; padding: 3px 10px 10px 3px; border: none; background: url('./img/shadow.png') no-repeat bottom right;}
img.noborder{margin: 5px 15px 5px 15px; padding: 0; border: none; background: none;}
/* Typography */
a {color: white; text-decoration:none;}
a:hover {color: white; text-decoration:underline;}

p {	font-size: 1.0em; line-height: 1.3em; margin: 1.2em 0em 1.2em 0em; }
h1 { font-size: 16pt; margin: 0 0 0 -34px; font-weight: normal; color: white; background: url('./img/h1.jpg') no-repeat bottom left; padding:0 0 12px 15px;}
h2 { font-size: 1.5em; margin: 0.8em 0em 0.8em 0em;	font-weight: normal; color: white; }
h3 { font-size: 1.4em; margin: 1.2em 0em 1.2em 0em;	font-weight: normal; }
h4 { font-size: 1.2em; margin: 1.2em 0em 1.2em 0em;	font-weight: bold; }
h5 { font-size: 1.0em; margin: 1.2em 0em 1.2em 0em;	font-weight: bold; }
h6 { font-size: 0.8em; margin: 1.2em 0em 1.2em 0em; font-weight: bold; }
ul, ol, li { font-size: 1.0em; line-height: 1.3em; margin: 0.4em 0 0.2em 2em; }
ul { list-style: circle inside; }
ol { list-style: decimal inside; }
strong{color:white;}
div.hr {height: 3px; width:910px; margin: 1.2em 0em 1.2em -34px; background: url('./img/hr.png') no-repeat;}
hr {display:none;}
blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
pre, code { font: 1.2em/1.8 "Courier New", Courier, monospace; border: 1px dashed #aaa; padding: 1em; background: #eee; }
code { padding: .2em .5em; }
textarea,input {font-family: verdana, arial, helvetica, sans-serif;}
/* TinyMCE styling */
body.mceContentBody {
    background: 50% -103px url('./img/bg.jpg') repeat rgb(138,188,41);
}
body.mceForceColors {background:#FFF; color:#000;}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px; background:url(img/items.gif) no-repeat bottom left;}
img.mceItemAnchor {width:12px; height:12px; background:url(img/items.gif) no-repeat;}
table {cursor:default}
table td, table th {cursor:text}